/* ForDo IT responsive refinements
   Loaded after every page stylesheet; brand colours, content and desktop layouts remain intact. */
@media (max-width: 1199px) {
    html { -webkit-text-size-adjust: 100%; }
    main, section, header, footer, article, aside { min-width: 0; }
    img, svg, video, iframe { max-width: 100%; }
    .container { width: 100%; }
    .row > *, [class*="col-"] { min-width: 0; }
    h1, h2, h3, h4, p, a, li, dt, dd, label, button { overflow-wrap: anywhere; }
    input, select, textarea, button { max-width: 100%; }
    .fd-inner .fd-page-banner .vl-breadcrumb h1,
    .fd-inner .fd-page-hero .vl-breadcrumb h1 { text-wrap: balance; }
    .fd-page-banner .container, .fd-inner .fd-page-banner > .container { padding-inline: 20px; }
    .fd-page-banner .row { row-gap: 26px; }
    .fd-page-banner img { height: auto; }
    .fd-footer__grid > *, .fd-footer__bar > * { min-width: 0; }
    .fd-footer__list a, .fd-footer__list span { overflow-wrap: anywhere; }
    .fd-article-layout, .fd-coverage-layout { min-width: 0; }
    .fd-article-content, .fd-article-sidebar { min-width: 0; }
    .fd-article-content img, .fd-article-art, .fd-article-art__scene { max-width: 100%; }
    .fd-article-sidebar__sticky { position: static; }
    .fd-coverage-map-panel, .fd-coverage-map-panel svg { max-width: 100%; }
    .fd-pricing table, .fd-hardware table { max-width: 100%; }
    .fd-project-title, .fd-project-desc { overflow-wrap: anywhere; }
    .fd-portfolio-sidebar { position: static !important; top: auto !important; }
    .fd-portfolio-sidebar img, .fd-project-content img { display: block; width: 100%; height: auto; }
    .fd-project-sidebar a { overflow-wrap: anywhere; }
    .fd-pricing-section, .fd-hardware section { scroll-margin-top: 90px; }
    .fd-product, .fd-plan, .fd-blog-card { min-width: 0; }
    .fd-product__body { min-width: 0; }
    .fd-product__specs div { flex-wrap: wrap; }
    .fd-product__specs dd { overflow-wrap: anywhere; }
    .fd-hw-filter { padding-inline: 8px; }
    .fd-hw-chip { min-height: 42px; }
    .fd-rpos, .fd-gpos, .fd-fpos, .fd-vpos { min-width: 0; }
    .fd-rpos img, .fd-gpos img, .fd-fpos img, .fd-vpos img { max-width: 100%; height: auto; }
    .fd-rpos [class*="grid"], .fd-gpos [class*="grid"],
    .fd-fpos [class*="grid"], .fd-vpos [class*="grid"] { min-width: 0; }
    .fd-rpos table, .fd-gpos table, .fd-fpos table, .fd-vpos table { display: block; width: 100%; overflow-x: auto; }
    .fd-float { width: 50px; height: 50px; }
}

@media (max-width: 991px) {
    html.fd-menu-open, body.fd-menu-open { overflow: hidden; overscroll-behavior: none; }
    #vl-header-sticky .vl-header-bg-4,
    #vl-header-sticky.header-sticky .vl-header-bg-4 {
        width: calc(100% - 28px);
        margin: 8px auto 0;
        padding: 8px 14px;
    }
    #vl-header-sticky .vl-logo img { max-height: 42px; }
    #vl-header-sticky .vl-offcanvas-toggle { min-width: 44px; min-height: 44px; }
    .vl-offcanvas {
        width: min(380px, 92vw); max-width: 100%; height: 100dvh;
        padding: 0; z-index: 10002; overflow-y: auto; overscroll-behavior: contain;
    }
    .vl-offcanvas-overlay { z-index: 10001; }
    .vl-offcanvas-wrapper {
        min-height: 100%; padding: 20px clamp(18px, 5vw, 28px);
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }
    .vl-offcanvas-header { margin-bottom: 20px; gap: 14px; }
    .vl-offcanvas-logo { min-width: 0; }
    .vl-offcanvas-logo img { max-width: 150px; height: auto; }
    .vl-offcanvas-menu { margin-bottom: 24px; }
    .vl-offcanvas-menu nav > ul { margin: 0; padding: 0; }
    .vl-offcanvas-menu nav > ul > li > a {
        display: flex; align-items: center; min-height: 48px; padding: 10px 4px;
        line-height: 1.35; white-space: normal;
    }
    .vl-offcanvas-close-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; }
    .vl-offcanvas-overlay { touch-action: manipulation; }
    .fd-page-banner { min-height: 0; padding-top: 142px !important; padding-bottom: 52px !important; }
    .fd-inner .fd-page-banner .vl-breadcrumb h1,
    .fd-inner .fd-page-hero .vl-breadcrumb h1 { font-size: clamp(32px, 5.4vw, 48px); line-height: 1.12; }
    .fd-page-banner__intro { max-width: 62ch; }
    .fd-hero-media { width: min(76%, 440px); margin: 34px auto 0; }
    .fd-hero { height: auto; min-height: 0; padding: 132px 0 68px; }
    .fd-hero-title { font-size: clamp(40px, 6.2vw, 62px); }
    .fd-hero-social { left: 20px; }
    .fd-hero-amber { clip-path: none; opacity: .24; }
    .fd-hero-rings { width: 180px; height: 180px; }
    .fd-pricing-section { padding: 60px 0; }
    .fd-hw-group { margin-bottom: 42px; }
    .fd-article-section { padding: 42px 0 70px; }
    .fd-article-sidebar__sticky { margin-top: 18px; }
    .fd-coverage-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .fd-inner .vl-breadcrumb-bg:not(.fd-page-banner) {
        padding-top: 132px !important;
        padding-bottom: 52px !important;
    }
}

@media (max-width: 767px) {
    .container { padding-left: 18px; padding-right: 18px; }
    .fd-inner .fd-page-banner { padding-top: 120px !important; padding-bottom: 42px !important; }
    .fd-inner .vl-breadcrumb-bg:not(.fd-page-banner) {
        padding-top: 118px !important;
        padding-bottom: 42px !important;
    }
    .fd-page-banner .row { row-gap: 20px; }
    .fd-inner .fd-page-banner .vl-breadcrumb h1,
    .fd-inner .fd-page-hero .vl-breadcrumb h1 { font-size: clamp(30px, 8vw, 42px); line-height: 1.12; }
    .fd-page-banner__intro { font-size: 16px; line-height: 1.65; }
    .fd-page-banner__btn { min-height: 46px; }
    .fd-hero { padding: 112px 0 46px; }
    .fd-hero .row { row-gap: 10px; }
    .fd-hero-content { max-width: 620px; margin-inline: auto; }
    .fd-hero-title { font-size: clamp(34px, 9vw, 48px); line-height: 1.08; margin: 18px 0; }
    .fd-hero-sub { gap: 9px; font-size: 12px; letter-spacing: .22em; }
    .fd-hero-sub::before, .fd-hero-sub::after { flex-basis: 20px; }
    .fd-hero-desc { font-size: 16px; line-height: 1.6; margin-bottom: 24px; }
    .fd-hero-btns { display: flex; flex-wrap: wrap; gap: 10px; }
    .fd-btn { margin: 0; padding: 13px 18px; font-size: 15px; }
    .fd-hero-media { width: min(82%, 360px); margin: 28px auto 0; }
    .fd-hero-float-img { width: 74px; height: 56px; }
    .fd-float-1 { right: 0; left: auto; top: 0; bottom: auto; }
    .fd-float-2 { left: 0; top: 18%; right: auto; }
    .fd-float-3 { right: 0; bottom: 8%; top: auto; }
    .fd-hero-social, .fd-tech-cube-wrap, .fd-tech-diamond, .fd-data-stream { display: none; }
    .fd-hero-dots-left { margin-top: 26px; }
    .fd-footer { padding-top: 42px; }
    body:has(.fd-cta) .fd-footer { padding-top: 88px; }
    .fd-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .fd-footer__bar { align-items: flex-start; padding-right: 0; }
    .fd-footer__bar ul { flex-wrap: wrap; }
    .fd-blog-page, .fd-blog-area-new { padding-top: 48px; padding-bottom: 48px; }
    .fd-blog-card__media { aspect-ratio: 16 / 10; }
    .fd-blog-card__body { padding: 20px; }
    .fd-article-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .fd-article-sidebar { order: 2; }
    .fd-article-content { order: 1; }
    .fd-article-content h2 { font-size: clamp(24px, 6vw, 32px); line-height: 1.2; }
    .fd-article-content p, .fd-article-content li { font-size: 16px; line-height: 1.72; }
    .fd-article-reader { height: clamp(150px, 52vw, 230px); }
    .fd-pricing-section { padding: 46px 0; }
    .fd-pricing-lead { font-size: 16px; line-height: 1.65; }
    .fd-plan { padding: 24px 20px; }
    .fd-plan__list li { font-size: 15px; }
    .fd-product__media { height: clamp(190px, 55vw, 280px); }
    .fd-product__body { padding: 20px; }
    .fd-product__specs div { align-items: flex-start; }
    .fd-product__specs dt, .fd-product__specs dd { max-width: 100%; text-align: left; }
    .fd-build fieldset { padding: 8px 16px; }
    .fd-coverage-map-panel { padding: 16px 14px 12px; border-radius: 18px; }
    .fd-coverage-map-top { flex-wrap: wrap; font-size: 10px; }
    .fd-rpos-design-meta { flex-wrap: wrap; }
    .fd-rpos-design-meta > div { min-width: 0; }
    .fd-rpos-design-swatches { flex-wrap: wrap; }
    .fd-rpos, .fd-gpos, .fd-fpos, .fd-vpos { overflow-wrap: anywhere; }
    .fd-pricing table, .fd-hardware table {
        display: block;
        width: 100%;
        overflow-x: auto;
        overscroll-behavior-x: contain;
    }
    .fd-float--call { left: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
    .fd-float--whatsapp { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
    .progress-wrap { right: 12px; bottom: 76px; }
    .fd-wa__panel { right: 12px; bottom: 138px; max-height: min(70dvh, 500px); overflow-y: auto; }
}

@media (max-width: 420px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .fd-hero { padding-top: 104px; }
    .fd-hero-title { font-size: clamp(32px, 8.6vw, 38px); }
    .fd-hero-btns { align-items: stretch; flex-direction: column; }
    .fd-btn { justify-content: center; width: 100%; }
    .fd-hero-media { width: min(86%, 310px); }
    .fd-page-banner .container, .fd-inner .fd-page-banner > .container { padding-inline: 16px; }
    .fd-footer__bar { gap: 10px; }
    .fd-footer__bar p { max-width: 100%; }
    .fd-hw-filter { justify-content: flex-start; gap: 8px; }
    .fd-hw-chip { padding-inline: 12px; font-size: 14px; }
}

@media (max-width: 359px) {
    .fd-hero-title { font-size: 31px; }
    #vl-header-sticky .vl-logo img { max-width: 150px; max-height: 36px; }
    #vl-header-sticky .vl-header-bg-4,
    #vl-header-sticky.header-sticky .vl-header-bg-4 { width: calc(100% - 20px); padding-inline: 10px; }
    .fd-plan, .fd-product__body { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .fd-responsive-motion, .fd-hero-media { scroll-behavior: auto; }
}
