/* Page-specific styles for index */

.page{
    padding: 26px 0 60px;
}

.placeholder{
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 1px 2px rgba(16,24,40,.04);
}

.placeholder h1{
    margin: 0 0 8px;
    font-size: 20px;
}

.placeholder p{
    margin: 0;
    color: #6b7280;
}



/* ========== HERO ========== */
.hero {
    padding: 0 0 64px;
    background: #ffffff;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 0;
    align-items: center;
}

.hero__content {
    min-width: 0;
}

.hero__title {
    margin: 0;
    font-family: var(--font-serif, "Georgia", serif);
    font-weight: 700;
    font-size: 56px;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.hero__desc {
    margin: 18px 0 0;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #64748b;
}

.hero__actions {
    margin-top: 26px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Кнопки (локально для index, чтобы не тащить в main.css) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
    user-select: none;
}

.btn--primary {
    background: #225ae3;
    color: #ffffff;
}

.btn--primary:hover {
    background: #1f4fc9;
}

.btn--secondary {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #225ae3;
}

.btn--secondary:hover {
    border-color: #94a3b8;
}

/* Правая картинка/композиция */
.hero__visual {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    min-height: 420px;
}

.hero__img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.hero__shape {
    position: absolute;
    border-radius: 28px;
    z-index: 1;
}

.hero__shape--blue {
    right: 34px;
    top: 56px;
    width: 260px;
    height: 300px;
    background: linear-gradient(180deg, rgba(34, 90, 227, 1) 0%, rgba(34, 90, 227, 0.15) 100%);
    border-radius: 32px;
}

.hero__shape--outline {
    right: 18px;
    bottom: 22px;
    width: 230px;
    height: 170px;
    border: 6px solid rgba(255, 255, 255, 0.95);
    border-radius: 28px;
    z-index: 3;
    pointer-events: none;
}

/* ========== Mobile ========== */
@media (max-width: 900px) {
    .hero {
        padding: 28px 0 40px;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .hero__title {
        font-size: 44px;
        line-height: 1.08;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn {
        height: 44px;
        width: 100%;
    }

    .hero__visual {
        max-width: 420px;
        margin: 0 auto;
        min-height: 360px;
    }

    .hero__shape--blue {
        right: 18px;
        top: 86px;
        width: 240px;
        height: 270px;
    }

    .hero__shape--outline {
        right: 8px;
        bottom: 10px;
        width: 220px;
        height: 160px;
    }
}



/* ========== FEATURES (4 cards) ========== */
.features {
    padding: 28px 0 72px;
    background: #ffffff;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #d7e0ee;
    border-radius: 18px;
    padding: 22px 22px 20px;
    min-height: 210px;
}

.feature-card__icon {
    width: 38px;
    height: 38px;
    color: #225ae3;
    margin-bottom: 14px;
}

.feature-card__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.feature-card__title {
    margin: 0;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    color: #0f172a;
}

.feature-card__text {
    margin: 10px 0 0;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.45;
    color: #64748b;
}

/* Responsive */
@media (max-width: 1100px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .features {
        padding: 18px 0 48px;
    }

    .features__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .feature-card {
        padding: 18px 18px 16px;
        border-radius: 16px;
        min-height: auto;
    }

    .feature-card__title {
        font-size: 18px;
    }
}




/* ========== APPROACH (title + accordion + image) ========== */
.approach {
    padding: 72px 0 84px;
    background: #ffffff;
}

.approach__head {
    text-align: center;
    max-width: 880px;
    margin: 0 auto 44px;
}

.approach__title {
    margin: 0;
    font-family: var(--font-serif, "Georgia", serif);
    font-weight: 700;
    font-size: 44px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.approach__subtitle {
    margin: 14px 0 0;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.55;
    color: #64748b;
}

.approach__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: start;
}

.approach__left {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Accordion item */
.acc-item {
    border: 1px solid #d7e0ee;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.acc-btn {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 18px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    text-align: left;
}

.acc-btn__left {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.acc-ic {
    width: 22px;
    height: 22px;
    color: #111827;
    flex: 0 0 auto;
}

.acc-ic svg {
    width: 100%;
    height: 100%;
    display: block;
}

.acc-title {
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    color: #0f172a;
}

.acc-chevron {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    position: relative;
    opacity: 0.75;
}

.acc-chevron::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #334155;
    border-bottom: 2px solid #334155;
    transform: translate(-50%, -55%) rotate(45deg);
    transition: transform 180ms ease;
}

/* panel (animated height) */
.acc-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 220ms ease;
}

.acc-text {
    margin: 0;
    padding: 0 18px 18px 52px; /* align under title, after icon */
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.55;
    color: #64748b;
}

/* open state */
.acc-item.is-open .acc-panel {
    max-height: 220px; /* достаточно для 2-3 строк; JS может увеличить при необходимости */
}

.acc-item.is-open .acc-chevron::before {
    transform: translate(-50%, -45%) rotate(-135deg);
}

/* Right media */
.approach__right {
    position: relative;
}

.approach__media {
    background: #f3f6fb;
    border-radius: 16px;
    padding: 18px;
}

.approach__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Responsive */
@media (max-width: 980px) {
    .approach {
        padding: 52px 0 64px;
    }

    .approach__title {
        font-size: 34px;
    }

    .approach__body {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .approach__media {
        padding: 14px;
    }
}




/* ========== SOLUTIONS GRID ========== */
.solutions{
    padding: 78px 0 92px;
    background: #ffffff;
}

.solutions__head{
    text-align: center;
    max-width: 980px;
    margin: 0 auto 34px;
}

.solutions__title{
    margin: 0;
    font-family: var(--font-serif, "Georgia", serif);
    font-weight: 700;
    font-size: 44px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.solutions__subtitle{
    margin: 14px auto 0;
    max-width: 860px;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.55;
    color: #64748b;
}

.solutions__cta{
    margin: 18px auto 0;
    height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    border-radius: 999px;
    background: #225ae3;
    color: #ffffff;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.solutions__cta-ic{
    width: 18px;
    height: 18px;
    position: relative;
    display: inline-block;
}
.solutions__cta-ic::before{
    content:"";
    position:absolute;
    left: 2px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255,255,255,.95);
    border-bottom: 2px solid rgba(255,255,255,.95);
    transform: translateY(-50%) rotate(-45deg);
}

/* GRID: desktop 2 rows (2 + 3) */
.solutions__grid{
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 22px;
}

/* Cards */
.sol-card{
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    /*grid-template-columns: 1fr 200px; !* left text, right image *!*/
    min-height: 280px;
    position: relative;
}

.sol-card__content{
    padding: 22px 22px 18px;
}

.sol-card__title{
    margin: 0;
    font-family: var(--font-serif, "Georgia", serif);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
    color: #0f172a;
}

.sol-card__lead{
    margin: 8px 0 0;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.45;
    color: #64748b;
}

/* Bullet list (только для больших карточек) */
.sol-card__list{
    margin: 12px 0 0;
    padding-left: 18px;
    color: #475569;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-size: 13px;
    line-height: 1.5;
}
.sol-card__list li{ margin: 6px 0; }

.sol-card__link{
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 600;
    font-size: 13px;
    color: #225ae3;
    text-decoration: none;
    position: absolute;
    bottom: 10px;
}

.sol-card__arrow{
    width: 16px;
    height: 16px;
    position: relative;
}
.sol-card__arrow::before{
    content:"";
    position:absolute;
    left: 2px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #225ae3;
    border-bottom: 2px solid #225ae3;
    transform: translateY(-50%) rotate(-45deg);
}

.sol-card__media{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.sol-card__media img{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.sol-card__media--tilt img{
    transform: rotate(-6deg);
}

/* Backgrounds like макет */
.sol-card--blue{ background: #eaf1ff; }
.sol-card--yellow{ background: #fbf3dd; }
.sol-card--mint{ background: #e8f7f0; }
.sol-card--gray{ background: #f1f0f7; }
.sol-card--green{ background: #f2f7e7; }

/* Placement to match desktop макет */
.sol-card:nth-child(1){ grid-column: 1 / span 6; }
.sol-card:nth-child(2){ grid-column: 7 / span 6; }

.sol-card:nth-child(3){ grid-column: 1 / span 4; }
.sol-card:nth-child(4){ grid-column: 5 / span 4; }
.sol-card:nth-child(5){ grid-column: 9 / span 4; }

/* Small cards (bottom row) look: image under content like макет */
.sol-card:nth-child(3),
.sol-card:nth-child(4),
.sol-card:nth-child(5){
    grid-template-columns: 1fr;
    min-height: 320px;
}

.sol-card:nth-child(3) .sol-card__media,
.sol-card:nth-child(4) .sol-card__media,
.sol-card:nth-child(5) .sol-card__media{
    padding: 0 18px 18px;
    align-items: flex-end;
}

.sol-card:nth-child(3) .sol-card__media img,
.sol-card:nth-child(4) .sol-card__media img,
.sol-card:nth-child(5) .sol-card__media img{
    border-radius: 12px;
}

/* Bottom row: no big bullet list in gray/green cards (как в макете) */
.sol-card:nth-child(4) .sol-card__list,
.sol-card:nth-child(5) .sol-card__list{
    /*display: none;*/
}

/* Responsive: mobile cards stack */
@media (max-width: 980px){
    .solutions{
        padding: 52px 0 64px;
    }

    .solutions__title{
        font-size: 34px;
        line-height: 1.12;
    }

    .solutions__grid{
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sol-card,
    .sol-card:nth-child(1),
    .sol-card:nth-child(2),
    .sol-card:nth-child(3),
    .sol-card:nth-child(4),
    .sol-card:nth-child(5){
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .sol-card{
        min-height: auto;
    }

    .sol-card__content{
        padding: 18px 18px 14px;
    }

    .sol-card__media{
        padding: 0 18px 18px;
        justify-content: center;
    }

    .sol-card__media img{
        border-radius: 12px;
    }

    .sol-card__list{
        font-size: 13px;
    }

    .sol-card__media--tilt img{
        transform: rotate(-4deg);
    }
}



/* ========== AI SUITE (tabs + cards) ========== */
.suite{
    padding: 78px 0 96px;
    background: #ffffff;
}

.suite__head{
    text-align: center;
    max-width: 920px;
    margin: 0 auto 22px;
}

.suite__title{
    margin: 0;
    font-family: var(--font-serif, "Georgia", serif);
    font-weight: 700;
    font-size: 44px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.suite__subtitle{
    margin: 12px auto 0;
    max-width: 760px;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.55;
    color: #64748b;
}

.suite__cta{
    margin: 16px auto 0;
    height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    border-radius: 999px;
    background: #225ae3;
    color: #ffffff;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.suite__cta-ic{
    width: 18px;
    height: 18px;
    position: relative;
    display: inline-block;
}
.suite__cta-ic::before{
    content:"";
    position:absolute;
    left: 2px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255,255,255,.95);
    border-bottom: 2px solid rgba(255,255,255,.95);
    transform: translateY(-50%) rotate(-45deg);
}

/* Tabs (desktop) */
.suite__tabs{
    margin: 26px auto 0;
    max-width: 980px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d7e0ee;
}

.suite-tab{
    border: 0;
    background: transparent;
    padding: 8px 2px;
    cursor: pointer;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 600;
    font-size: 13px;
    color: #475569;
    position: relative;
    white-space: nowrap;
}

.suite-tab.is-active{
    color: #0f172a;
}

.suite-tab.is-active::after{
    content:"";
    position:absolute;
    left: 0;
    right: 0;
    bottom: -11px;
    height: 2px;
    background: #225ae3;
    border-radius: 2px;
}

/* Grid */
.suite__grid{
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Card */
.suite-card{
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #f3f4f6;
    border: 1px solid #b8cbf0;
}

.suite-card.is-hidden{
    display: none;
}

.suite-card__media{
    position: relative;
    width: 100%;
    height: 340px; /* соответствует визуально макету */
    background: #e5e7eb;
}

.suite-card__media img{
    width: 110%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin-left: -5%;
    filter: grayscale(0.75) opacity(1.5) brightness(0.85);
}

.suite-card__panel{
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    background: #ffffff;
    border: 1px solid #d7e0ee;
    border-radius: 16px;
    text-align: center;
    padding: 16px 18px 18px;
    box-shadow: 0 8px 22px rgba(16,24,40,.10);
}

.suite-card__kicker{
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 500;
    font-size: 12px;
    color: #64748b;
}

.suite-card__name{
    margin-top: 8px;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 700;
    font-size: 18px;
    color: #0f172a;
}

.suite-card__btn{
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #225ae3;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}

/* Responsive: mobile shows all vertically (tabs hidden) */
@media (max-width: 900px){
    .suite{
        padding: 52px 0 72px;
    }

    .suite__title{
        font-size: 34px;
        line-height: 1.12;
    }

    .suite__tabs{
        display: none; /* на мобилке фильтра нет, показываем все */
    }

    .suite__grid{
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 20px;
    }

    .suite-card__media{
        height: 360px;
    }

    .suite-card__panel{
        width: calc(100% - 44px);
        bottom: 16px;
    }
}




/* ========== HOW WE DELIVER ========== */
.deliver{
    padding: 78px 0 96px;
    background: #ffffff;
}

.deliver__head{
    text-align: center;
    max-width: 920px;
    margin: 0 auto 44px;
}

.deliver__title{
    margin: 0;
    font-family: var(--font-serif, "Georgia", serif);
    font-weight: 700;
    font-size: 44px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.deliver__subtitle{
    margin: 12px auto 0;
    max-width: 780px;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.55;
    color: #64748b;
}

.deliver__steps{
    display: grid;
    gap: 44px;
}

/* Step layout */
.deliver-step{
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 54px;
    align-items: start;
}

.deliver-step__title{
    margin: 0;
    font-family: var(--font-serif, "Georgia", serif);
    font-weight: 700;
    font-size: 34px;
    line-height: 1.2;
    color: #0f172a;
}

.deliver-step__lead{
    margin: 12px 0 0;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 600;
    font-size: 14px;
    color: #475569;
}

.deliver-step__desc{
    margin: 6px 0 0;
    max-width: 520px;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.55;
    color: #64748b;
}

.deliver-step__list{
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
    max-width: 620px;
}

.deliver-step__list li{
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    align-items: start;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #64748b;
}

.deliver-step__list b{
    color: #0f172a;
    font-weight: 700;
}

.deliver-step__check{
    width: 20px;
    height: 20px;
    border-radius: 999px;
    /*border: 2px solid #0f172a;*/
    position: relative;
    margin-top: 2px;
}

.deliver-step__check::after{
    content:"";
    position:absolute;
    left: 6px;
    top: 4px;
    width: 6px;
    height: 10px;
    /*border-right: 2px solid #0f172a;*/
    /*border-bottom: 2px solid #0f172a;*/
    transform: rotate(45deg);
}

/* Media */
.deliver-step__media{
    background: #f3f4f6;
    border-radius: 18px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deliver-step__media img{
    width: 100%;
    height: 300px;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

/* Alternating layout */
.deliver-step--even{
    grid-template-columns: 0.95fr 1.05fr;
}
.deliver-step--even .deliver-step__media{
    order: 1;
}
.deliver-step--even .deliver-step__text{
    order: 2;
}

/* Responsive (mobile stack) */
@media (max-width: 980px){
    .deliver{
        padding: 52px 0 72px;
    }

    .deliver__title{
        font-size: 34px;
        line-height: 1.12;
    }

    .deliver__head{
        margin-bottom: 26px;
    }

    .deliver__steps{
        gap: 28px;
    }

    .deliver-step{
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .deliver-step__title{
        font-size: 30px;
    }

    .deliver-step__desc{
        max-width: none;
    }

    .deliver-step__media{
        padding: 14px;
    }
}




/* ========== USE CASES (desktop flex + mobile carousel via Swiper) ========== */
.usecases{
    padding: 78px 0 96px;
    background: #ffffff;
}

.usecases__head{
    text-align: center;
    max-width: 920px;
    margin: 0 auto 28px;
}

.usecases__title{
    margin: 0;
    font-family: var(--font-serif, "Georgia", serif);
    font-weight: 700;
    font-size: 44px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.usecases__subtitle{
    margin: 12px auto 0;
    max-width: 820px;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.55;
    color: #64748b;
}

.usecases__cta{
    margin: 16px auto 0;
    height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    border-radius: 999px;
    background: #225ae3;
    color: #ffffff;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.usecases__cta-ic{
    width: 18px;
    height: 18px;
    position: relative;
    display: inline-block;
}
.usecases__cta-ic::before{
    content:"";
    position:absolute;
    left: 2px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255,255,255,.95);
    border-bottom: 2px solid rgba(255,255,255,.95);
    transform: translateY(-50%) rotate(-45deg);
}

/* Slider container */
.usecases__slider{
    margin-top: 26px;
}

/* DESKTOP: пока Swiper НЕ инициализирован — показываем как центрированный flex */
.usecases__slider:not(.swiper-initialized) .swiper-wrapper{
    display: flex;
    justify-content: center;
    gap: 22px;
}
.usecases__slider:not(.swiper-initialized) .swiper-slide{
    flex: 0 0 270px;
    max-width: 270px;
}

/* Card */
.usecase-card{
    border: 1px solid #d7e0ee;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    min-height: 417px; /* как на макете */
    display: grid;
    grid-template-rows: 170px 1fr;
    position: relative;
}

.usecase-card__media{
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.usecase-card__media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.usecase-card__body{
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.usecase-card__title{
    margin: 0;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    color: #0f172a;
}

.usecase-card__text{
    margin: 12px 0 0;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.55;
    color: #64748b;
    flex: 1 1 auto;
}

.usecase-card__link{
    margin-top: auto;
    padding-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #225ae3;
    font-family: var(--font-sans, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    position: absolute;
    bottom: 16px;
}
.usecase-card__arrow{
    width: 18px;
    height: 18px;
    position: relative;
    display: inline-block;
}
.usecase-card__arrow::before{
    content:"";
    position:absolute;
    left: 2px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #225ae3;
    border-bottom: 2px solid #225ae3;
    transform: translateY(-50%) rotate(-45deg);
}

/* MOBILE: head left + Swiper, overflow visible */
@media (max-width: 900px){
    .usecases{
        padding: 52px 0 72px;
    }

    .usecases__head{
        text-align: left;
        max-width: none;
        margin: 0 0 18px;
    }

    .usecases__title{
        font-size: 34px;
        line-height: 1.12;
    }

    .usecases__cta{
        margin: 14px 0 0;
    }

    .usecases__slider{
        margin-top: 18px;
        overflow: visible;
    }

    /* Swiper mobile look: карточка фикс ширины как на макете */
    .usecases__slider .swiper-slide{
        width: 328px;
        max-width: 328px;
    }
}
