
@media (max-width:1280px){.vq-menu-toggle{ display: flex; }
.vq-menu{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-top: 1px solid var(--vq-line);
    box-shadow: 0 16px 32px -16px rgba(11, 37, 48, .18);
    max-height: 80vh;
    overflow-y: auto;
    padding: 8px;
  }
.vq-menu.is-open{ display: flex; }
.vq-menu li{ width: 100%; }
.vq-menu li a{ padding: 14px 12px; display: block; }
.vq-menu .sub-menu{
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
.vq-menu .sub-menu::before{ display: none; }
.vq-menu > li.menu-item-has-children::after,
  .vq-menu .sub-menu li.menu-item-has-children::after{ display: none; }
.vq-menu .sub-menu .sub-menu{ top: 0; left: 0; margin-left: 0; transform: none; padding-left: 16px; }
.vq-menu li.menu-item-has-children.sub-open > .sub-menu{ max-height: 600px; }
.vq-nav, .vq-hero, .vq-section, .vq-about, .vq-blog, .vq-footer, .vq-subhero, .vq-contact-wrap{padding-left:24px; padding-right:24px;}
}

@media (max-width: 1280px){.vq-menu li.menu-item-has-children:hover > .sub-menu,
  .vq-menu li.menu-item-has-children:focus-within > .sub-menu,
  .vq-menu .sub-menu:hover,
  .vq-menu .sub-menu li.menu-item-has-children:hover > .sub-menu,
  .vq-menu .sub-menu li.menu-item-has-children:focus-within > .sub-menu{
    transform: none;
  }
.vq-menu li.menu-item-has-children.sub-open > .sub-menu{ max-height: 1600px; }
}
/* Shared responsive layout; allow real page scrolling, never clip content. */
.vq-nav{gap:20px}.vq-nav .vq-menu{min-width:0}.vq-nav .vq-nav-cta{flex-shrink:0}.vq-nav .custom-logo-link{min-width:0;flex-shrink:0;max-width:100%}
.vq-nav .custom-logo,.vq-nav .vq-logo img{width:auto!important;height:70px!important;max-width:100%;object-fit:contain}
@media(max-width:1280px){.vq-nav{padding-left:24px!important;padding-right:24px!important}.vq-nav .custom-logo,.vq-nav .vq-logo img{height:50px!important}.vq-nav .vq-menu{margin:0}.vq-nav .vq-menu.is-open{display:flex}}
@media(max-width:600px){.vq-nav{padding:12px 18px!important;gap:12px;flex-wrap:wrap}.vq-nav .custom-logo-link,.vq-nav .vq-logo{max-width:145px!important;width:auto!important}.vq-nav .custom-logo,.vq-nav .vq-logo img{height:auto!important;width:145px!important;max-width:100%!important}.vq-nav .vq-nav-cta{gap:10px;max-width:100%;margin-left:auto}.vq-nav .vq-cart{margin-right:0}.vq-nav .vq-btn{white-space:nowrap}.vq-nav .vq-menu-toggle{min-width:30px;min-height:40px}.vq-footer .custom-logo-link img{height:auto!important;width:145px!important;max-width:100%!important}
input:not([type=checkbox]):not([type=radio]),select,textarea{max-width:100%;font-size:16px!important}.woocommerce .form-row{min-width:0}.woocommerce input.input-text{width:100%}.woocommerce table.shop_table{max-width:100%}.vq-plan-card{min-width:0!important}.vq-plan-card h3{overflow-wrap:normal}.vq-plan-cta{min-height:44px;display:flex;align-items:center;justify-content:center}
.price-page .vq-plan-card h3{white-space:normal!important;font-size:clamp(12px,3.5vw,19px)!important}.price-page .vq-plan-card h3 span{white-space:normal!important}.leads-new .vq-plans-grid{grid-template-columns:minmax(0,1fr)!important}.leads-new .vq-plan-card{padding:24px!important}.leads-new{padding-left:18px!important;padding-right:18px!important}}
@media(max-width:360px){.vq-nav .custom-logo-link,.vq-nav .vq-logo{max-width:120px!important}.vq-nav .custom-logo,.vq-nav .vq-logo img{width:120px!important}.vq-footer .custom-logo-link img{width:120px!important}.vq-nav{padding-left:14px!important;padding-right:14px!important}.vq-nav .vq-nav-cta{gap:8px}}
@media(max-width:760px){body:has(.login-card){height:auto!important;min-height:100dvh;overflow:auto!important}body:has(.login-card) main{width:100%;max-width:100%;height:auto!important;grid-template-columns:minmax(0,1fr)!important;padding:28px 18px!important}body:has(.login-card) .login-card{min-width:0;width:100%}body:has(.login-card) .card-content{padding:22px!important}body:has(.login-card) .card-brand{padding:20px!important}body:has(.login-card) .service-suite{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none}body:has(.login-card) .services-intro h1{font-size:34px!important}}

/* Keep header/footer branding aligned at shared breakpoints. */
@media(min-width:601px) and (max-width:1280px){body .vq-footer{padding-left:24px!important;padding-right:24px!important}body .vq-footer .custom-logo-link img,body .vq-footer>div:first-child>img{height:50px!important;width:auto!important;max-width:100%!important}}
@media(min-width:521px) and (max-width:1100px){body .vq-footer{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}body .vq-footer>div:first-child{grid-column:1 / -1}body .vq-footer p{max-width:600px}}
@media(max-width:600px){body .vq-footer{padding-left:18px!important;padding-right:18px!important}body .vq-footer .custom-logo-link img{width:145px!important;height:auto!important}}
@media(max-width:360px){body .vq-footer{padding-left:14px!important;padding-right:14px!important}body .vq-footer .custom-logo-link img{width:120px!important}}
@media(max-width:600px){.vq-footer .vq-fcol a{display:inline-block;padding-top:6px;padding-bottom:6px}.vq-footer .vq-fcol li{min-width:0}.vq-footer .vq-fbottom{row-gap:12px}}
/* Give checkout fields usable width on phones, including approved customers. */
@media(max-width:560px){
 body.woocommerce-checkout .vq-page-content{width:100%!important;max-width:100%!important;padding-left:12px!important;padding-right:12px!important}
 body.woocommerce-checkout form.checkout.woocommerce-checkout{width:100%!important;max-width:100%!important;padding:0!important;min-width:0}
 body.woocommerce-checkout #customer_details,body.woocommerce-checkout #customer_details>.col-1,body.woocommerce-checkout #customer_details>.col-2{width:100%!important;float:none!important;padding-left:0!important;padding-right:0!important;min-width:0}
 body.woocommerce-checkout .woocommerce-billing-fields:not(.vq-billing){padding:18px!important}
 body.woocommerce-checkout .woocommerce-billing-fields:not(.vq-billing) .form-row-first,body.woocommerce-checkout .woocommerce-billing-fields:not(.vq-billing) .form-row-last{width:100%!important;float:none!important}
 body.woocommerce-checkout #order_review{width:100%!important;padding:16px!important;min-width:0;box-sizing:border-box}
}
