/* Phase B - app-first phone layout for detail pages (2026-11-05). Phones only. */
@media (max-width: 767.98px) {
    html body .app-hide { display: none !important; }
    html body .app-clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
    html body .app-fold-btn { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 8px; padding: 7px 14px; border: 1px solid #D6E2F3;
        border-radius: 999px; background: #F3F7FD; color: #105BAB; font-size: 13.5px; font-weight: 600; line-height: 1.2; cursor: pointer; }
    html body .app-fold-btn::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
        transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
    html body .app-fold-btn.open::after { transform: rotate(-135deg) translate(-2px, 0); }
    html body .app-fold-btn.app-more-faq { display: flex; width: 100%; justify-content: center; margin-top: 4px; }
    html body .app-fold-btn.app-more-sm { padding: 5px 12px; font-size: 12.5px; }
    html body .text-center .app-fold-btn { margin-left: auto; margin-right: auto; }

    /* icon tiles: 3 per row + peek, 2 rows when 8+ items */
    html body .row.app-swipe.app-tiles { display: grid !important; grid-auto-flow: column; grid-template-rows: auto; grid-auto-columns: 30%;
        gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; }
    html body .row.app-swipe.app-tiles.app-tiles-2 { grid-template-rows: auto auto; }
    html body .row.app-swipe.app-tiles > * { flex: none !important; max-width: none !important; width: auto !important; scroll-snap-align: start; }
    html body .app-tiles > * > *, html body .app-tiles > * { padding: 10px 6px !important; margin: 0 !important; min-height: 0 !important; height: 100%;
        text-align: center; border-radius: 12px; }
    html body .app-tiles :is(img, svg) { width: 34px !important; height: 34px !important; object-fit: contain; margin: 0 auto 6px !important; display: block; }
    html body .app-tiles i[class*="fa"], html body .app-tiles i[class*="flaticon"] { font-size: 26px !important; margin-bottom: 6px !important; }
    html body .app-tiles :is(h3, h4, h5, h6, p, span, a) { font-size: 12.5px !important; line-height: 1.3 !important; margin: 0 !important; font-weight: 600; }

    /* client logo strip */
    html body .row.app-logos { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; gap: 18px; margin: 0 -15px !important;
        padding: 4px 15px 8px; scrollbar-width: none; justify-content: flex-start !important; }
    html body .row.app-logos::-webkit-scrollbar { display: none; }
    html body .row.app-logos > * { flex: 0 0 auto !important; max-width: none !important; width: auto !important; padding: 0 !important; margin: 0 !important; }
    html body .row.app-logos img { height: 34px !important; width: auto !important; max-width: 110px; object-fit: contain; }

    /* decorative illustrations add a screen each with no information */
    html body :is(.Mobile-Application-right-area, .Primary_shape_img1, .Primary_shape_img2, .Primary_shape_img3, .about-shape-img,
                  .about-shape-img1, .about-shape-img2, .about-shape-img3, .about-shape-img4, .about-shape-img5) { display: none !important; }

    /* promo banners: compact app cards */
    html body :is(.success-banner, .integration-banner) { padding: 22px 18px !important; border-radius: 16px; min-height: 0 !important; }
    html body :is(.success-banner, .integration-banner) :is(h2, h3, .banner-text, .banner-text span) { font-size: 19px !important; line-height: 1.35 !important; }
    html body :is(.success-banner, .integration-banner, .long_banner) img { max-height: 110px; width: auto; }

    /* case-study stories as swipe cards */
    html body .row.app-cases > .app-case { flex: 0 0 84%; max-width: 330px; background: #fff; border: 1px solid #E6EAF0; border-radius: 16px;
        padding: 16px !important; box-shadow: 0 2px 10px rgba(16, 24, 40, .05); }
    html body .app-case .case-right-text { font-size: 16px !important; line-height: 1.35 !important; margin-bottom: 8px !important; }
    html body .app-case .case-right-para { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px !important; margin-bottom: 8px; }

    /* tiles: no inherited empty space above the icon */
    html body .app-tiles * { min-height: 0 !important; }
    html body .app-tiles > * > * :is(div, span):not(:has(*)) { padding: 0 !important; }
    html body .app-tiles :is([class*="icon"], .Industries-img, [class*="img"]) { margin: 0 auto 6px !important; padding: 0 !important; height: auto !important; }
    html body .app-tiles > * > * { padding: 10px 4px !important; }
    /* why-choose pair */
    html body .app-pair { display: flex !important; flex-wrap: nowrap; overflow-x: auto; gap: 12px; margin: 0 -15px; padding: 2px 15px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
    html body .app-pair > * { flex: 0 0 86% !important; max-width: 340px !important; scroll-snap-align: start; }
    html body .row.app-pair :is(.Mobile-App-text1, .Mobile-App-text2) { margin: 0 !important; height: 100%; }
    /* "Built to Go" product teaser cards: title + first feature (full card on the product page) */
    html body .owl-item .Ready-Made-area .pro_subtitle ~ .pro_subtitle { display: none !important; }
    html body .owl-item .Ready-Made-area { padding: 16px !important; }
}
@media (max-width: 991.98px) {
    html body .app-culture { display: flex !important; flex-wrap: nowrap; overflow-x: auto; gap: 12px; margin: 0 -15px; padding: 4px 15px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
    html body .app-culture::-webkit-scrollbar { display: none; }
    html body .app-culture-card { flex: 0 0 82%; max-width: 360px; scroll-snap-align: start; background: #fff; border: 1px solid #E6EAF0; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 10px rgba(16,24,40,.05); }
    html body .app-culture-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
    html body .app-culture-body { padding: 14px 16px 16px; opacity: 1 !important; }
    html body .app-culture-body h4 { font-size: 18px !important; line-height: 1.3 !important; margin: 0 0 4px !important; color: #105BAB; }
    html body .app-culture-body h5 { font-size: 15px !important; margin: 0 0 6px !important; }
    html body .app-culture-body p { font-size: 14px !important; line-height: 1.55 !important; margin: 0 !important; }
}
@media (max-width: 767.98px) {
    html body .app-jump { display: flex; gap: 8px; overflow-x: auto; padding: 10px 15px; scrollbar-width: none; background: #fff; border-bottom: 1px solid #EEF1F5; }
    html body .app-jump::-webkit-scrollbar { display: none; }
    html body .app-jump a { flex: none; padding: 7px 14px; border-radius: 999px; background: #F3F7FD; border: 1px solid #D6E2F3; color: #105BAB; font-size: 13px; font-weight: 600; }
    /* product tabs: lighter screenshot block */
    html body .product-tap-bg img { max-height: 210px; width: auto; max-width: 100%; object-fit: contain; }
}
@media (max-width: 767.98px) {
    /* big stock photos next to text: keep, but not a full screen tall */
    html body :is(.about-right-roots, .vriksha-right-area, .about-left-img, .Roots-img) img { max-height: 220px; width: 100%; object-fit: cover; border-radius: 14px; }
}
@media (max-width: 767.98px) { html body .app-fold > :is(div, p):has(> br:only-child), html body .app-fold > p:empty { display: none !important; } }
