.page-hero {
    position: relative;
    overflow: hidden;
    padding-top: 110px;
    padding-bottom: 70px;
}

.page-hero__visual {
    position: relative;
}

.page-hero__visual::after {
    content: "";
    position: absolute;
    right: -18px;
    bottom: -18px;
    width: 120px;
    height: 120px;
    border-radius: 26px;
    background: linear-gradient(135deg,
            rgba(31, 41, 51, 0.16),
            rgba(180, 110, 60, 0.22));
    z-index: -1;
}

.page-hero__visual img {
    height: 560px;
    border-radius: 34px;
    box-shadow: var(--shadow-lg);
}

.page-hero .section-copy h1 {
    font-size: clamp(2.25rem, 4.7vw, 4.15rem);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.page-hero .section-copy p {
    max-width: 62ch;
}

.services-carousel-section .section-head h2,
.services-use-cases .section-head h2 {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.services-carousel-section .section-head,
.services-use-cases .section-head {
    max-width: 820px;
}

.services-carousel-section .section-head p,
.services-use-cases .section-head p {
    max-width: 64ch;
}

.services-carousel-section .category-showcase-shell {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 28px;
    align-items: end;
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.services-use-cases.section-bg-image::before {
    background:
        linear-gradient(180deg, rgba(6, 12, 24, 0.68), rgba(6, 12, 24, 0.58)),
        linear-gradient(135deg, rgba(10, 16, 32, 0.22), rgba(180, 110, 60, 0.12));
}

.services-use-cases .section-head h2,
.services-use-cases .section-head p {
    color: #f8fafc;
}

.services-use-cases .section-head p {
    color: rgba(226, 232, 240, 0.82);
}

.use-case-card {
    min-height: 230px;
    padding: 26px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.26);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 18px 48px rgba(2, 6, 23, 0.22);
}

.use-case-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 54px rgba(2, 6, 23, 0.26);
}

.use-case-card h3 {
    margin-bottom: 10px;
    font-size: 1.28rem;
    line-height: 1.14;
}

.use-case-card p {
    max-width: 30ch;
    color: #64748b;
}

.use-case-card i {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.05);
    color: var(--color-title);
}

.services-carousel-section .showcase-swiper__topbar {
    margin-bottom: 18px;
}

.services-carousel-section .showcase-swiper__intro h3 {
    font-size: clamp(1.7rem, 2.5vw, 2.3rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.services-carousel-section .showcase-swiper__intro p {
    max-width: 48ch;
}

.services-carousel-section .showcase-swiper {
    padding-top: 6px;
    touch-action: pan-y;
}

.services-carousel-section .showcase-swiper .swiper-slide {
    height: auto;
}

.services-carousel-section .showcase-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(26, 37, 61, 0.12);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    transform: translate3d(0, 0, 0);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
    -webkit-user-select: none;
    user-select: none;
}

.services-carousel-section .showcase-card:hover {
    transform: translate3d(0, -2px, 0);
    border-color: rgba(7, 18, 37, 0.18);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.services-carousel-section .showcase-card__media {
    position: relative;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.services-carousel-section .showcase-card__media::after {
    content: none;
}

.services-carousel-section .showcase-card__media img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    transform: scale(1.001);
    transition: transform 0.3s ease;
    pointer-events: none;
    -webkit-user-drag: none;
}

.services-carousel-section .showcase-card:hover .showcase-card__media img {
    transform: scale(1.02);
}

.services-carousel-section .showcase-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 18px 18px 16px;
}

.services-carousel-section .showcase-card__body h3 {
    font-family: var(--font-body);
    font-size: 1.04rem;
    font-weight: 800;
    line-height: 1.2;
    color: #071225;
}

.services-carousel-section .showcase-card__body p {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.58;
}

.services-carousel-section .showcase-card__footer {
    margin-top: auto;
    padding-top: 6px;
}

.services-carousel-section .showcase-card__footer strong {
    font-size: 0.86rem;
}

.services-carousel-section .showcase-swiper .swiper-pagination,
.services-carousel-section .showcase-swiper__progress {
    display: none;
}

@media (max-width: 991px) {
    .services-carousel-section .category-showcase-shell {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-hero__visual img {
        height: 460px;
    }

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

    .use-case-card {
        min-height: 210px;
    }
}

@media (max-width: 767px) {
    .page-hero {
        padding-top: 90px;
        padding-bottom: 56px;
    }

    .page-hero .section-copy h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .page-hero__visual img {
        height: 320px;
    }

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

    .services-carousel-section .showcase-swiper__intro h3 {
        font-size: 1.5rem;
    }

    .services-carousel-section .showcase-card__media img {
        height: 172px;
    }

    .use-case-card {
        min-height: auto;
    }
}

.services-swiper {
    padding: 6px 6px 58px;
}

.services-swiper.showcase-swiper {
    padding: 18px 8px 42px;
}

@media (max-width: 767px) {
    .services-swiper.showcase-swiper {
        padding: 14px 8px 36px;
    }
}
