body {
    background-color: #0d1b2a;
}

.hero__wrapper {
    padding-top: 108.5px;
    width: 100%;
    height: 100%;
}

.hero__bg {
    position: relative;
    width: 100%;
    /* было: высота "плавала" по контенту — фиксируем через вьюпорт */
    min-height: clamp(520px, 62vh, 780px);
    display: flex;
    flex-direction: column;
}

.hero__bg--img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right; /* чтобы кейс всегда был в одной точке кадра */
    z-index: 1;
}

.hero__decor {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
    z-index: 2;
}

.hero {
    position: relative;
    z-index: 3;
    flex: 1; /* занимает всю высоту .hero__bg */
    display: flex;
    align-items: center; /* вертикальное центрирование */
}

.hero .container {
    width: 100%;
}

.hero__content {
    padding: 80px 0; /* можно оставить как отступ-ограничитель, высота больше не влияет на позицию */
    max-width: 627px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.hero__content h1 {
    font-family: var(--third-family);
    font-weight: 700;
    font-size: 39px;
    line-height: 110%;
    color: #fff;
}

.hero__desc {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    opacity: 0.92;
}

.hero__desc p {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 160%;
    color: #fff;
}

.hero__btns {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero__btn {
    position: relative;
    overflow: hidden;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #fff;
    padding: 17px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.hero__btn svg,
.hero__btn span {
    position: relative;
    z-index: 1;
    transition: transform 0.25s ease;
}

.hero__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 255, 255, 0.25);
}

.hero__btn:hover svg {
    transform: translate(2px, -2px);
}

.hero__btn span {
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 15px;
    color: #000;
}

.hero__btn--link {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 17px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    transition: border-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}

.hero__btn--link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.12);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 0;
}

.hero__btn--link svg,
.hero__btn--link span {
    position: relative;
    z-index: 1;
    transition: transform 0.25s ease;
}

.hero__btn--link:hover {
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.hero__btn--link:hover::before {
    transform: scaleX(1);
}

.hero__btn--link:hover svg {
    transform: scale(1.1);
}

.hero__btn--link span {
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 15px;
    color: #fff;
}

.hero__social {
    position: fixed;
    right: 20px;
    bottom: 18px;
    z-index: 100;
}

.hero__social--link {
    width: 64px;
    height: 64px;
    border-radius: 100%;
    display: inline-block;
    box-shadow: 
        0 4px 14px rgba(37, 211, 102, 0.35),
        0 2px 6px rgba(0, 0, 0, 0.12);
    transition: box-shadow .25s ease-in, transform .25s ease-in;
}

.hero__social--link:hover {
    box-shadow: 
        0 8px 22px rgba(37, 211, 102, 0.45),
        0 4px 10px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.hero__social--link:hover img {
    transform: scale(1.1);
}

.hero__social--link img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    transition: .2s ease-in;
}

.benefits {
    border-bottom: 1px solid #e0e2e5;
    border-top: 1px solid #e0e2e5;
    background: #f3f4f6;
    overflow: hidden;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    gap: 0;
    border-left: 1px solid #e0e2e5;
    border-right: 1px solid #e0e2e5;
}

.benefits__grid > .data-aos:last-child .benefit__card {
    border-right: none;
}

.benefit__card {
    position: relative;
    width: 100%;
    height: 100%;
    border-right: 1px solid #e0e2e5;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: default;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.benefit__card::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: #004b87;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.benefit__card:hover {
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(0, 75, 135, 0.08), 0 6px 16px rgba(0, 75, 135, 0.08);
    z-index: 1;
}

.benefit__card:hover::after {
    transform: scaleX(1);
}

.benefit__card:hover p {
    transform: scale(1.06);
}

.benefit__card p {
    font-family: var(--third-family);
    font-weight: 700;
    font-size: 32px;
    color: #004b87;
    transition: transform 0.25s ease;
}

.benefit__card span {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    color: #111827;
}

.about {
    padding: 80px 0;
    background: #fff;
}

.about__content {
    display: grid;
    grid-template-columns: max-content 1fr;
    align-items: center;
    gap: 64px;
    margin-bottom: 40px;
}

.about__info {
    max-width: 536px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}

.title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 31px;
    text-align: center;
    color: #111827;
}

.about.title {
    padding: 0;
    text-align: left;
}

.about__desc {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.about__desc p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    color: #111827;
}

.about__link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #004b87;
}

.about__link svg {
    transition: transform 0.25s ease;
}

.about__link span {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 15px;
    position: relative;
}

.about__link span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.about__link:hover span::after {
    transform: scaleX(1);
    transform-origin: left;
}

.about__link:hover svg {
    transform: translateX(4px);
}

.about__img {
    width: 100%;
    height: 360px;
    overflow: hidden;
    background: #f3f4f6;
}

.about__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about__img:hover img {
    transform: scale(1.05);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
    gap: 24px;
    align-items: stretch;
}

.about__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    position: relative;
    width: 100%;
    height: 100%;
}

.about__card--img {
    transition: transform 0.3s ease;
}

.about__card--img img {
    display: block;
}

.about__card:hover .about__card--img {
    transform: translateY(-3px);
}

.about__card h3 {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    color: #000;
    transition: color 0.25s ease;
}

.about__card:hover h3 {
    color: #004b87;
}

.about__card p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #707076;
}

.about__card--num {
    position: absolute;
    right: 5px;
    bottom: -17px;
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 128px;
    text-align: right;
    color: rgba(0, 0, 0, 0.05);
    line-height: 1;
    z-index: 0;
    transition: color 0.3s ease;
}

.about__card:hover .about__card--num {
    color: rgba(0, 75, 135, 0.08);
}

.about__divider {
    width: 1px;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
}

.solutions {
    background: #f3f4f6;
    padding: 80px 0;
}

.solutions__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.solutions__text p {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 160%;
    text-align: center;
    color: #707076;
}

.solutions__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 32px;
}

.tag__img {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.tag__img img {
    transition: filter 0.3s ease;
}

.solution__tag {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 99px;
    padding: 10px 18px 10px 14px;
    background: #fff;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    color: #111827;
    cursor: default;
    transition: background 0.3s ease-in, border-color 0.3s ease-in, color 0.3s ease, box-shadow 0.3s ease;
}

.solution__tag:hover {
    background: #004b87;
    border-color: #004b87;
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 75, 135, 0.25);
}

.solution__tag:hover .tag__img {
    transform: rotate(-8deg) scale(1.1);
}

.solution__tag:hover .tag__img img {
    filter: brightness(0) invert(1);
}

.catalog {
    background: #fff;
    padding: 80px 0;
}

.catalog__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.catalog__text p {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 160%;
    color: #707076;
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    gap: 20px;
    margin: 32px 0;
}

.catalog__card {
    position: relative;
    overflow: hidden;
    padding: 20px;
    background: rgba(0, 0, 0, 0.25), linear-gradient(180.16deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.5) 99.85%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 90px;
}

.catalog__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.catalog__card:hover::before {
    opacity: 1;
}

.catalog__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    z-index: 0;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.catalog__card:hover .catalog__bg {
    transform: scale(1.08);
}

.catalog__card span {
    border-radius: 999px;
    padding: 6px 10px;
    background: #fff;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 12px;
    color: #004b87;
    position: relative;
    z-index: 2;
    transition: background 0.3s ease, color 0.3s ease;
}

.catalog__card:hover span {
    background: #004b87;
    color: #fff;
}

.catalog__content {
    margin-top: auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.catalog__content h3 {
    font-family: var(--third-family);
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    transition: transform 0.3s ease;
}

.catalog__card:hover .catalog__content h3 {
    transform: translateX(4px);
}

.catalog__content p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    color: #fff;
    opacity: 0.9;
}

.catalog__btn {
    position: relative;
    overflow: hidden;
    border-radius: 999px;
    background: #004b87;
    padding: 17px 24px;
    border: 1px solid #004b87;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.catalog__btn svg {
    position: relative;
    z-index: 1;
    transition: transform 0.25s ease;
}

.catalog__btn span {
    position: relative;
    z-index: 1;
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 15px;
}

.catalog__btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #00396b;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 0;
}

.catalog__btn:hover::before {
    transform: translateX(0);
}

.catalog__btn:hover {
    box-shadow: 0 8px 20px rgba(0, 75, 135, 0.35);
}

.catalog__btn:hover svg {
    transform: translateX(4px);
}


@media (max-width: 1199px) {
    .hero__wrapper {
        padding-top: 96px;
    }

    .hero__content {
        padding: 64px 0;
    }

    .hero__desc p {
        width: 100%;
        max-width: 100%;
    }

    .benefit__card p {
        font-size: 26px;
    }

    .about__content {
        gap: 40px;
    }

    .about__img {
        height: 300px;
    }

    .about__card--num {
        font-size: 96px;
    }

    
}

@media (max-width: 991px) {
    .hero__wrapper {
        padding-top: 65px;
    }

    .hero__btns {
        flex-wrap: wrap;
    }

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

    .benefit__card {
        border-bottom: 1px solid #e0e2e5;
    }

    .benefits__grid > .data-aos:nth-child(2n) .benefit__card {
        border-right: none;
    }

    .benefits__grid > .data-aos:nth-child(3n) .benefit__card {
        border-bottom: none;
    }

    .benefits__grid > .data-aos:nth-child(4n) .benefit__card {
        border-bottom: none;
    }

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

    .about__info {
        max-width: 100%;
    }

    .about__img {
        height: 280px;
    }

    .solutions__text {
        text-align: center;
    }

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

@media (max-width: 767px) {

    .hero__content {
        max-width: 500px;
    }

    .hero__content h1 {
        font-size: 34px;
    }

    .hero__desc p {
        font-size: 19px;
    }

    .hero__decor {
        display: none;
    }

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

    .about {
        padding: 56px 0;
    }

    .about__content {
        gap: 32px;
        margin-bottom: 32px;
    }

    .about__img {
        height: 220px;
    }

    .about__grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 24px;
    }

    .about__divider {
        display: none;
    }

    .about__card--num {
        font-size: 72px;
        top: -10px;
    }

    .solutions {
        padding: 56px 0;
    }

    .solution__tag {
        padding: 8px 14px 8px 12px;
    }

    .catalog {
        padding: 56px 0;
    }

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

    .catalog__card {
        min-height: 250px;
        gap: 40px;
    }
}

@media (max-width: 575px) {
    .hero__bg--img {
        object-position: left;
    }

    .hero__wrapper {
        padding-top: 64px;
    }

    .hero__content {
        padding: 40px 0;
        gap: 16px;
    }

    .hero__content h1 {
        text-align: center;
        font-size: 24px;
    }

    .hero__desc p {
        text-align: center;
        font-size: 15px;
    }

    .hero__social {
        right: 12px;
        bottom: 12px;
    }

    .hero__social--link {
        width: 52px;
        height: 52px;
    }

    .hero__btns {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .hero__btn,
    .hero__btn--link {
        width: 100%;
    }

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

    .benefit__card {
        border-right: none !important;
    }

    .benefits__grid > .data-aos:nth-child(3n) .benefit__card {
        border-bottom: 1px solid #e0e2e5;
    }

    .title,
    .about.title {
        font-size: 24px;
    }

    .about__grid {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 24px;
    }

    .about__card {
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    }

    .about__grid > .data-aos:last-child .about__card {
        border-bottom: none;
        padding-bottom: 0;
    }

    .about__desc p {
        font-size: 14px;
    }

    .about__card h3 {
        font-size: 17px;
    }

    .catalog__text p,
    .solutions__text p {
        font-size: 14px;
    }

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

    .catalog__content h3 {
        font-size: 16px;
    }
}