/* ==========================================================
   Flyfy 产品方案 - 响应式
   只放断点内的覆盖规则，跟随 products.css 加载，避免主文件过长。
   ========================================================== */

@media (max-width: 991.98px) {
    .products-hero {
        padding: 64px 0 54px;
    }

    .products-hero__layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .products-hero__copy {
        max-width: 720px;
    }

    .products-hero__gallery {
        width: min(100%, 760px);
        min-height: 0;
        margin-inline: auto;
        grid-template-rows: repeat(2, 200px);
    }

    .products-product,
    .products-product--reverse {
        gap: clamp(32px, 8.7vw, 90px);
    }

    .products-product--reverse .products-product__visual,
    .products-product--reverse .products-product__copy {
        grid-row: 1;
    }

    .products-product__visual {
        width: 100%;
    }

    .products-product__copy {
        max-width: none;
    }

    .products-principles__list {
        gap: 20px;
    }

    .products-cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 26px;
    }
}

@media (max-width: 767.98px) {
    .products-hero {
        padding-top: 52px;
    }

    .products-hero__gallery {
        grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
        grid-template-rows: repeat(2, 100px);
        gap: 6px;
    }

    .products-hero__shot {
        padding: 0;
    }

    .products-hero__shot--stock {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .products-hero__shot--stock img {
        max-height: none;
    }

    .products-hero__shot--crm,
    .products-hero__shot--attend {
        max-height: 100px;
    }

    .products-hero__shot--crm img,
    .products-hero__shot--attend img {
        max-height: 100px;
    }

    .products-principles__list {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .products-principles__list li {
        display: grid;
        grid-template-columns: 82px minmax(0, 1fr);
        column-gap: 18px;
        padding-top: 20px;
    }

    .products-principles__list img {
        grid-row: 1 / 3;
        width: 82px;
        height: 82px;
    }

    .products-principles__list h3 {
        margin-top: 4px;
    }

    .products-principles__list p {
        grid-column: 2;
    }
}

@media (max-width: 575.98px) {
    .products-hero h1 {
        font-size: clamp(2.45rem, 11vw, 3.35rem);
        line-height: 1.08;
    }

    html[lang^="ko"] .products-hero h1,
    html[lang^="ja"] .products-hero h1 {
        font-size: clamp(2.15rem, 9.5vw, 2.9rem);
        line-height: 1.15;
    }

    .products-hero__copy > p {
        margin-top: 18px;
        font-size: .98rem;
        line-height: 1.72;
    }

    .products-hero__actions {
        gap: 9px;
        margin-top: 24px;
    }

    .products-hero__actions .btn,
    .products-product__button,
    .products-cta__button {
        min-height: 48px;
        padding-inline: 22px;
        font-size: .92rem;
    }

    .products-section-heading {
        margin-bottom: 28px;
    }

    .products-section-heading h2 {
        font-size: 1.9rem;
    }

    .products-section-heading p {
        margin-top: 9px;
        font-size: .94rem;
    }

    .products-suite {
        padding-top: 56px;
    }

    .products-product {
        gap: clamp(24px, 8.7vw, 41px);
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    }

    .products-product__copy h3 {
        font-size: 2.6rem;
    }

    .products-product__copy > p {
        margin-top: 12px;
        font-size: 1.12rem;
        line-height: 1.6;
    }

    .products-product__features {
        gap: 8px;
        margin: 14px 0 0;
    }

    .products-product__features li {
        grid-template-columns: 19px minmax(0, 1fr);
        gap: 9px;
        font-size: 1.1rem;
        line-height: 1.45;
    }

    .products-product__features i {
        width: 19px;
        height: 19px;
        margin-top: 0;
        font-size: .7rem;
    }

    .products-product__caption {
        gap: 7px;
        padding: 12px 10px 10px;
    }

    .products-product__caption strong {
        font-size: .88rem;
    }

    .products-product__caption p {
        font-size: .66rem;
        line-height: 1.4;
    }

    .products-product__button {
        width: min(100%, 112px);
        min-height: 30px;
        margin-top: 2px;
        padding-inline: 8px;
        font-size: .62rem;
    }

    .products-principles {
        padding: 56px 0 50px;
    }

    .products-principles__list li {
        grid-template-columns: 68px minmax(0, 1fr);
        column-gap: 14px;
    }

    .products-principles__list img {
        width: 68px;
        height: 68px;
    }

    .products-cta-section {
        padding-bottom: 58px;
    }

    .products-cta {
        gap: 22px;
        padding: 34px 24px 38px;
    }

    .products-cta h2 {
        font-size: 1.78rem;
    }

    .products-cta p {
        font-size: .94rem;
    }

    .products-cta__button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .products-hero__actions .btn,
    .products-hero__shot,
    .products-product__button,
    .products-cta__button,
    .products-hero__primary .bi,
    .products-product__button .bi,
    .products-cta__button .bi {
        transition: none;
    }
}
