﻿.hero-section {
    padding-top: calc(var(--header-height) + .25rem + var(--sub-nav-height));
    background: var(--color-primary-dark);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    text-align: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .hero-section::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 200px;
        background: radial-gradient(ellipse at 50% 100%, rgba(30, 100, 180, 0.15) 0%, transparent 70%);
        pointer-events: none;
    }

.hero-section__content {
    max-width: 1122px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-section__label {
    display: inline-block;
    color: var(--color-white);
    font-size: 24px;
    line-height: 40px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 800;
}

.hero-section__title {
    font-family: var(--font-family-serif);
    color: var(--color-white);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 130%;
    margin-bottom: 32px;
}

.hero-section__desc {
    color: var(--color-white);
    font-size: 24px;
    line-height: 36px;
    font-weight: 400;
    max-width: 846px;
    margin: 0 auto;
}

.hero-section .hero__discover {
    background: #48C0FF;
    border: 1px solid #48C0FF;
    border-radius: 25px;
    padding: 12px 40px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 2.4px;
    margin-top: 135px;
    gap: 12px;
}

.ai-section {
    background: var(--color-white);
    padding-bottom: 109px;
}

.ai-section__hero {
    display: flex;
    align-items: center;
    min-height: 720px;
    background: var(--color-white);
    overflow: hidden;
    position: relative;
    padding: 0;
}

.ai-section__visual {
    position: relative;
    flex: 0 0 45%;
    min-width: 45%;
    height: 720px;
}

    .ai-section__visual img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: left center;
    }

.ai-section__hero .btn-outline-custom {
    max-width: 194px;
    width: 100%;
}

.ai-section__text {
    flex: 1;
    padding: 24px 80px 60px 60px;
    max-width: 730px;
}

    .ai-section__text .section-label {
        color: #3D3E41;
    }

    .ai-section__text .section-title,
    .ai-section__text .section-desc {
        color: var(--color-primary-dark);
    }

.section-label {
    display: block;
    color: var(--color-white);
    font-size: 24px;
    letter-spacing: 4.8px;
    text-transform: uppercase;
    margin-bottom: 0;
    font-weight: 800;
    line-height: 40px;
}

.section-title {
    font-family: var(--font-family-serif);
    color: var(--color-white);
    font-size: 48px;
    font-weight: 700;
    line-height: 130%;
    margin-bottom: 30px;
}

.section-desc {
    color: var(--color-white);
    font-weight: 400;
    font-size: 20px;
    line-height: 36px;
}

.ai-section__products {
    padding: 48px 0 12px;
    background: var(--color-white);
}

.ai-products-swiper {
    padding-left: 80px;
    overflow: visible;
}

    .ai-products-swiper .swiper-wrapper {
        justify-content: center;
    }

    .ai-products-swiper .swiper-slide {
        width: 239px;
        height: auto;
    }

.product-card {
    background: #ecf3ff;
    border-radius: 12px;
    padding: 16px 24px;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    text-decoration: none;
}

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

.product-card__icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .product-card__icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.product-card__title {
    font-size: 16px;
    font-weight: 600;
    color: #002860;
    margin: 0;
    line-height: 20px;
}

.product-card__desc {
    font-size: 14px;
    font-weight: 400;
    color: #002860;
    line-height: 20px;
    margin: 0;
}

.services-section {
    padding: 120px 0;
    overflow: hidden;
}

.services-section--dark {
    background: var(--color-dark-section);
    background-image: radial-gradient(ellipse at 30% 70%, rgba(20, 60, 120, 0.4) 0%, transparent 50%), radial-gradient(ellipse at 70% 30%, rgba(20, 60, 120, 0.3) 0%, transparent 50%);
}

.services-section--light {
    background: var(--color-white);
}

    .services-section--light .section-label {
        color: #002860;
    }

    .services-section--light .section-title {
        color: #004CC8;
    }

    .services-section--light .section-desc {
        color: rgba(13, 14, 18, 0.8);
    }

.services-section__header {
    text-align: center;
    max-width: 1060px;
    margin: 0 auto 80px;
}

.services-section__cards-centered {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.services-swiper {
    max-width: 1200px;
    margin: 40px auto 0px;
    padding: 0px 15px 88px;
}

    .services-swiper .swiper-pagination {
        line-height: 0;
        bottom: 0;
    }

    .services-swiper .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        background: rgba(0,0,0,.8);
    }

        .services-swiper .swiper-pagination-bullet.swiper-pagination-bullet-active {
            background: #48C0FF;
        }

    .services-swiper .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
        margin: 0 10px;
    }

.service-card {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    height: 249px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    background: transparent;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.service-card__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

    .service-card__bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.service-card--light {
    background: linear-gradient(180deg, rgba(20, 50, 100, 0.85) 0%, rgba(15, 40, 80, 0.95) 100%);
    border: 1px solid rgba(60, 140, 220, 0.3);
}

.service-card__content {
    padding: 24px 48px 24px 24px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-card__title {
    color: var(--color-white);
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.service-card__desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.service-card__image {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    clip-path: path('M360 0C371.046 0 380 8.954 380 20V436.077H330.614C322.625 436.077 315.403 440.831 312.244 448.169L289.931 500H20C8.954 500 0 491.046 0 480V20C0 8.954 8.954 0 20 0H360Z');
}

    .service-card__image img {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60%;
        object-fit: cover;
        opacity: 0.4;
        transition: opacity 0.3s;
    }

.service-card__arrow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

    .service-card__arrow img {
        position: absolute;
        bottom: 0;
        right: 10px;
        width: 42px;
        height: 42px;
        object-fit: contain;
        pointer-events: none;
    }

.service-card:hover .service-card__arrow {
    transform: translateX(4px);
}

.services-detail-hero {
    position: relative;
    padding: var(--header-height) 0 112px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    min-height: 900px;
}

    .services-detail-hero .logos {
        position: absolute !important;
        bottom: 32px;
        width: 1440px;
        max-width: 100%;
        z-index: 4;
        overflow: hidden;
    }

        .services-detail-hero .logos:before,
        .services-detail-hero .logos:after {
            display: none;
        }

.services-detail-hero__content {
    max-width: 844px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.services-detail-hero__label {
    display: block;
    font-family: 'Fustat', sans-serif;
    font-weight: 800;
    font-size: 24px;
    line-height: 40px;
    letter-spacing: 4.8px;
    color: var(--color-white);
    text-transform: uppercase;
    margin-top: 50px;
}

.services-detail-hero__title {
    font-family: 'PT Serif', serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 1.3;
    color: var(--color-white);
    margin: 0 0 24px;
}

.services-detail-hero__desc {
    font-family: 'Fustat', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    color: var(--color-white);
    margin: 0;
}

.services-detail-hero__brands {
    position: absolute;
    bottom: 32px;
    left: 0;
    width: 100%;
    z-index: 2;
}

.services-brands-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.services-brands-swiper .swiper-slide {
    width: 290px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    mix-blend-mode: luminosity;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

    .services-brands-swiper .swiper-slide:hover {
        opacity: 1;
    }

    .services-brands-swiper .swiper-slide img {
        max-width: 156px;
        max-height: 36px;
        object-fit: contain;
    }

.services-detail-hero .logos-wrapper {
    gap: unset;
    padding: 0;
}

.why-us-section {
    position: relative;
    padding: 180px 0;
    background-color: #031535;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.why-us-section__intro {
    text-align: center;
    margin-bottom: 64px;
}

.why-us-section__eyebrow {
    font-family: 'Fustat', sans-serif;
    font-weight: 800;
    font-size: 24px;
    line-height: 40px;
    letter-spacing: 4.8px;
    color: var(--color-white);
    opacity: 0.8;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.why-us-section__title {
    font-family: 'PT Serif', serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 1.3;
    color: var(--color-white);
    margin: 0;
}

.why-us-list {
    max-width: 1060px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.why-us-list__item {
    display: flex;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 24px;
}

    .why-us-list__item:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    }

.why-us-list__title {
    flex: 1;
    font-family: 'PT Serif', serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.5;
    color: var(--color-white);
    margin: 0;
}

.why-us-list__desc {
    flex: 1;
    font-family: 'Fustat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 36px;
    color: var(--color-white);
    margin: 0;
}

@media (max-width: 991.98px) {

    .hero-section {
        height: 100vh;
        height: 100dvh;
    }

    .hero-section__title {
        font-size: 36px;
        line-height: 150%;
        margin-bottom: 16px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .ai-section__text .btn-outline-custom {
        margin-top: 1.5rem;
    }

    .ai-section__hero {
        flex-direction: column;
        min-height: auto;
    }

    .ai-section__visual {
        width: 100%;
        padding-top: 50px;
    }

        .ai-section__visual img {
            position: unset;
            max-width: 50%;
        }

    .ai-section__text {
        padding: 32px 25px;
        max-width: 100%;
        text-align: center;
    }

    .ai-products-swiper .swiper-wrapper {
        justify-content: unset;
    }

    .services-section {
        padding-bottom: 0;
    }

    .services-swiper {
        padding-left: 20px;
    }

        .services-swiper .swiper-slide {
            width: 320px;
        }

        .services-swiper .swiper-pagination {
            display: none;
        }

    .service-card {
        width: 100%;
        height: 200px;
    }

    .service-card__arrow img {
        width: 32px;
        height: 32px;
        right: 15px;
    }

    .service-card__title {
        font-size: 18px;
    }

    .services-section__cards-centered {
        padding: 0 20px;
    }

    .services-detail-hero {
        min-height: 774px;
    }

    .why-us-section {
        padding-left: 32px;
        padding-right: 32px;
    }

    .why-us-section__title {
        font-size: 32px;
        line-height: 150%;
    }

    .why-us-section__eyebrow {
        font-size: 20px;
        letter-spacing: 4px;
        margin-bottom: 0;
    }

    .why-us-list__item {
        flex-direction: column;
        gap: 24px;
        padding: 32px 12px;
    }

    .why-us-list__title {
        font-size: 20px;
    }

    .why-us-list__desc {
        font-size: 14px;
        font-weight: 700;
        line-height: 28px;
        opacity: .8;
    }

    .services-detail-hero__content {
        padding: 0 24px;
    }

    .services-detail-hero__label {
        font-size: 20px;
        letter-spacing: 4px;
        margin-top: 0;
    }

    .services-detail-hero__title {
        font-size: 36px;
        line-height: 1.5;
    }

    .services-detail-hero__desc {
        font-size: 20px;
        line-height: 36px;
    }

    .services-brands-swiper .swiper-slide {
        width: 200px;
    }
}

@media (max-width: 767.98px) {

    .hero-section {
        height: 100vh;
        height: 100dvh;
    }

    .hero-section__label {
        font-size: 1.25rem;
        letter-spacing: 3px;
    }

    .hero-section__desc {
        color: #FFF;
        font-family: "PT Serif", sans-serif;
        font-size: 14px;
        font-weight: 700;
        line-height: 150%;
    }

    .section-label {
        font-size: 20px;
        letter-spacing: 4px;
        margin-bottom: 8px;
    }

    .section-title {
        font-size: 32px;
        line-height: 150%;
        margin-bottom: 24px;
    }

    .section-desc {
        font-size: 14px;
        line-height: 160%;
        margin-bottom: 0;
    }

    .ai-section__visual {
        height: 280px;
    }

    .ai-section__text {
        text-align: center;
    }


    .ai-section__products {
        padding-top: 0;
    }

    .ai-products-swiper {
        padding-left: 25px;
    }

        .ai-products-swiper .swiper-slide {
            width: 180px;
        }

    .services-section__header {
        margin-bottom: 32px;
    }

    .product-card {
        height: 100%;
        padding: 14px 16px;
    }

    .product-card__title {
        font-size: 14px;
    }

    .product-card__desc {
        font-size: 12px;
    }

    .services-section {
        padding: 44px 20px 60px;
    }

        .services-section:not(:has(~ .services-section)) {
            padding-bottom: 0;
        }

    .services-swiper {
        padding-left: 16px;
        padding-bottom: 0;
        margin-top: 0;
    }

        .services-swiper .swiper-slide {
            width: 280px;
        }

    .service-card__desc {
        font-size: 14px;
    }

    .services-section__cards-centered {
        padding: 0 16px;
        flex-direction: column;
        align-items: center;
    }

        .services-section__cards-centered .service-card {
            width: 100%;
            max-width: 380px;
        }

    .services-detail-hero__content {
        margin-top: 100px;
    }

    .services-detail-hero .logos {
        bottom: 83px;
    }

    .gridCards-section {
        padding: 120px 0 !important;
    }

    .why-us-section {
        padding: 80px 20px 28px;
    }

    .why-us-section__intro {
        margin-bottom: 0;
    }

    .services-detail-hero {
        padding: 0 0 85px;
    }
}
