/* =============================================
   Parser Landing — Mobile (≤767px, 360px content)
   ============================================= */

@media (max-width: 540px) {

    /* --- Контейнер блоков --- */
    .pl-blocks {
        gap: 32px;
        padding: 0 16px;
    }

    /* --- Заголовок секции --- */
    .pl-section-title {
        font-size: 28px;
        text-align: center;
    }

    /* --- Кнопки --- */
    .pl-btn--primary {
        font-size: 16px;
        padding: 20px 24px;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* =============================================
       SECTION 1 — HERO (mobile: column)
       ============================================= */

    .pl-hero {
        flex-direction: column;
        gap: 24px;
        padding-top: 16px;
    }

    .pl-hero__text {
        width: 100%;
        padding-top: 0;
        gap: 20px;
    }

    .pl-hero__title {
        font-size: 28px;
    }

    .pl-hero__subtitle {
        font-size: 16px;
    }

    .pl-hero__text .pl-btn--primary {
        width: 100%;
        text-align: center;
        justify-content: center;
        font-size: 16px;
        padding: 20px 24px;
    }

    .pl-hero__img {
        width: 100%;
        height: auto;
    }

    .pl-hero__img img {
        width: 100%;
        height: auto;
    }

    /* =============================================
       SECTION 2 — «Что такое» (mobile: column)
       ============================================= */

    .pl-whatis {
        flex-direction: column;
        border-radius: 32px;
        min-height: unset;
    }

    .pl-whatis__text {
        flex: none;
        width: 100%;
        padding: 24px 20px 24px;
        gap: 16px;
    }

    .pl-whatis__title {
        font-size: 24px;
        width: 100%;
    }

    .pl-whatis__desc {
        font-size: 16px;
        width: 100%;
    }

    .pl-whatis__img {
        flex: none;
        width: 100%;
        padding: 20px;
    }

    .pl-whatis__img img {
        width: 100%;
        aspect-ratio: 441 / 268;
        height: auto;
        border-radius: 10px;
    }

    /* =============================================
       SECTION 3 — ПРЕИМУЩЕСТВА (mobile)
       ============================================= */

    .pl-adv-grid {
        flex-direction: column;
        gap: 8px;
    }

    .pl-adv-card {
        width: 100%;
    }

    .pl-adv-card--promo {
        width: 100%;
    }

    /* =============================================
       SECTION 4 — ЧЕМ ПОЛЕЗЕН БИЗНЕСУ (mobile 360, Figma)
       ============================================= */

    .pl-usecases {
        gap: 24px;
    }

    .pl-uc-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 8px;
    }

    .pl-uc-card:not(.pl-uc-card--cta) {
        display: grid;
        height: auto;
        min-height: unset;
        padding: 24px 12px 12px 24px;
        border-width: 1px;
        border-radius: 32px;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr;
        row-gap: 12px;
        column-gap: 0;
    }

    .pl-uc-card__title {
        grid-column: 1;
        grid-row: 1;
        align-self: start;
        padding: 0;
        font-size: 24px;
        line-height: 1.2;
    }

    .pl-uc-card__text {
        grid-column: 1;
        grid-row: 2;
        max-width: 100%;
        padding: 0;
        margin-bottom: 0;
    }

    .pl-uc-card__desc {
        font-size: 16px;
        line-height: 1.4;
        max-width: 100%;
    }

    .pl-uc-card__img {
        grid-column: 1;
        grid-row: 3;
        box-sizing: border-box;
        width: max-content;
        max-width: 100%;
        padding: 0;
        overflow: hidden;
        justify-self: end;
        align-self: end;
    }

    .pl-uc-card__img img {
        width: 120px;
        height: 108px;
        max-width: 100%;
        object-fit: contain;
        object-position: center bottom;
    }

    .pl-uc-card--cta {
        min-height: 280px;
        height: auto;
        padding: 24px 12px 12px 24px;
        border-radius: 32px;
        container-type: inline-size;
        container-name: pl-uc;
    }

    .pl-uc-card__cta-title {
        padding: 0;
        font-size: 24px;
        line-height: 1.2;
        max-width: none;
    }

    .pl-uc-card__cta-desc {
        padding: 0;
        font-size: 16px;
        line-height: 1.4;
        max-width: none;
    }

    .pl-uc-card--cta .pl-btn--orange {
        margin-top: auto;
        margin-right: 0;
        margin-bottom: 0;
        margin-left: 0;
        align-self: stretch;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }

    /* =============================================
       SECTION 5 — ИНСТРУМЕНТЫ (mobile)
       ============================================= */

    .pl-tools-grid {
        grid-auto-rows: minmax(120px, auto);
        gap: 8px;
    }

    /* =============================================
       SECTION 6 — FAQ (mobile)
       ============================================= */

    .pl-faq {
        padding-bottom: 40px;
    }

    .pl-faq__list {
        gap: 8px;
    }

    .pl-faq__question {
        font-size: 16px;
    }

    .pl-faq__header {
        padding: 20px 20px 20px 24px;
    }

    .pl-faq__answer {
        padding: 0 24px 20px;
    }

}
