/* VELORIQ STUDIO / CONSOLIDATED RESPONSIVE GUARD v1.6.2
   Loaded after the CMS page styles so old page/template rules cannot shrink
   the main layout. Scopes are intentionally limited to Veloriq page roots.
   CSS only: no database, SEO, URLs, leads or publishing changes. */
:root { --vq-ink:#0d2f49; --vq-teal:#18a3a6; --vq-paper:#fff; }
html { scroll-behavior:smooth; }
body:has(.vxp-page),body:has(.vqs-service),body:has(.vqn-content) { margin:0; min-width:0; overflow-x:clip; }
body:has(.vxp-page) #main-content,
body:has(.vqs-service) #main-content,
body:has(.vqn-content) #main-content { width:100%!important; max-width:none!important; min-width:0!important; margin:0!important; padding:0!important; overflow:visible!important; display:block!important; }
.vxp-page,.vqs-service,.vqn-content { width:100%!important; min-width:0!important; max-width:none!important; overflow-x:clip; }
.vxp-page *, .vqs-service *, .vqn-content * { min-width:0; box-sizing:border-box; }
.vxp-page img,.vqs-service img,.vqn-content img { max-width:100%; height:auto; }
.vxp-page iframe,.vqs-service iframe,.vqn-content iframe { max-width:100%; }
.vxp-page :is(h1,h2,h3,h4,p,li,a),
.vqs-service :is(h1,h2,h3,h4,p,li,a),
.vqn-content :is(h1,h2,h3,h4,p,li,a) { overflow-wrap:break-word; }

/* NINE ORIGINAL PAGE TYPES */
.vxp-page .vxp-container { width:min(1300px,calc(100% - 96px))!important; max-width:1300px!important; margin-inline:auto!important; padding-inline:0!important; }
.vxp-page .vxp-hero .vxp-container { width:min(1300px,calc(100% - 96px))!important; }
.vxp-page .vxp-hero-layout { display:grid!important; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important; gap:clamp(28px,4.5vw,80px)!important; align-items:center; }
.vxp-page .vxp-hero-copy { width:100%; max-width:730px; }
.vxp-page .vxp-hero h1 { font-size:clamp(42px,4.85vw,74px)!important; line-height:1.075!important; letter-spacing:-.055em; }
.vxp-page .vxp-hero-media { width:100%; max-width:560px; justify-self:end; }
.vxp-page .vxp-hero-media img { width:100%;height:100%;object-fit:cover; }
.vxp-page .vxp-section { padding-block:clamp(65px,6vw,104px); }
.vxp-page .vxp-section-body { width:100%!important; max-width:none!important; }
.vxp-page .vxp-home-heading,.vxp-page .vxp-section-head { max-width:1100px!important; }
.vxp-page .vxp-home-heading h2,.vxp-page .vxp-section-head h2 { max-width:1050px; font-size:clamp(32px,3.4vw,54px)!important; line-height:1.12!important; }
.vxp-page .vxp-card-grid { display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:20px!important; width:100%; }
.vxp-page .vxp-card,.vxp-page .vxp-service-card,.vxp-page .vxp-step-card,.vxp-page .vxp-price-card,.vxp-page .vxp-review-card { min-width:0; height:auto; }
.vxp-home .vxp-service-grid,.vxp-home .vxp-pricing-grid,.vxp-home .vxp-testimonials-grid { display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:22px!important; width:100%; }
.vxp-home .vxp-trust-proof { display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important; }
.vxp-home .vxp-trust-bottom,.vxp-home .vxp-why-layout { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; }
.vxp-home .vxp-strength-grid { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; }
.vxp-home .vxp-steps-grid { display:grid!important; grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:16px!important; }
.vxp-page .vxp-metric-grid { display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important; }
.vxp-page .vxp-prose { max-width:1050px; width:100%; }
.vxp-page.vxp-legal .vxp-hero-layout { display:block!important; max-width:920px; }
.vxp-page.vxp-legal .vxp-prose { max-width:970px; }
.vxp-page .vxp-section-body :is(table,pre) { display:block; max-width:100%; overflow-x:auto; }
.vxp-page .vxp-section-body img { object-fit:contain; border-radius:10px; }
.vxp-page :is(.vxp-form,.vxp-form-section,.vxp-jump,.vxp-faq,.vxp-privacy-note) { max-width:100%; }
.vxp-page .vxp-form-layout { grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important; width:100%; }
.vxp-page .vxp-form input,.vxp-page .vxp-form textarea,.vxp-page .vxp-form select { max-width:100%; width:100%; }
.vxp-page .vxp-button { max-width:100%; }

/* TEN ORIGINAL SERVICE SINGLES */
.vqs-service .vqs-container { width:min(1260px,calc(100% - 88px))!important; max-width:1260px!important; margin-inline:auto!important; padding:0!important; }
.vqs-service .vqs-hero { width:100%; }
.vqs-service .vqs-hero-inner { max-width:1260px!important; }
.vqs-service .vqs-features { display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important; }
.vqs-service .vqs-detail-grid { display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important; }
.vqs-service .vqs-benefit-grid { display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important; }
.vqs-service .vqs-text-layout { display:grid!important;grid-template-columns:minmax(160px,210px) minmax(0,1fr)!important; gap:clamp(24px,5vw,78px); }
.vqs-service .vqs-rich,.vqs-service .vqs-faq-answer { max-width:100%; }
.vqs-service .vqs-hero h1 { font-size:clamp(40px,5.3vw,79px)!important; }

/* PORTFOLIO AND BLOG SINGLES */
.vqn-content .vqn-wrap { width:min(1260px,calc(100% - 88px))!important;max-width:1260px!important;margin-inline:auto!important;padding-inline:0!important; }
.vqn-content .vqn-hero h1 { font-size:clamp(40px,5vw,75px)!important; }
.vqn-content .vqn-hero .vqn-wrap { max-width:1260px!important; }
.vqn-content .vqn-cover { max-width:1260px!important; }
.vqn-content .vqn-cover img { width:100%; height:auto; object-fit:contain; }
.vqn-content .vqn-list-grid { display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important; }
.vqn-content .vqn-columns { display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:35px!important; }
.vqn-content .vqn-stats { display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important; }
.vqn-content .vqn-article-body { max-width:920px!important; }
.vqn-content .vqn-rich :is(table,pre) { display:block;max-width:100%;overflow-x:auto; }

/* MEDIUM DESKTOP/TABLET */
@media(max-width:1100px) {
  .vxp-page .vxp-container,.vxp-page .vxp-hero .vxp-container,.vqs-service .vqs-container,.vqn-content .vqn-wrap { width:calc(100% - 64px)!important; }
  .vxp-page .vxp-hero-layout { grid-template-columns:minmax(0,1fr) minmax(0,.9fr)!important;gap:36px!important; }
  .vxp-home .vxp-service-grid,.vxp-home .vxp-pricing-grid,.vxp-home .vxp-testimonials-grid,.vxp-page .vxp-card-grid,
  .vqs-service .vqs-features,.vqs-service .vqs-detail-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
  .vxp-home .vxp-steps-grid { grid-template-columns:repeat(3,minmax(0,1fr))!important; }
  .vxp-home .vxp-trust-bottom,.vxp-home .vxp-why-layout { grid-template-columns:1fr!important; }
  .vqs-service .vqs-text-layout { grid-template-columns:1fr!important; }
}
@media(max-width:800px) {
  .vxp-page .vxp-container,.vxp-page .vxp-hero .vxp-container,.vqs-service .vqs-container,.vqn-content .vqn-wrap { width:calc(100% - 44px)!important; }
  .vxp-page .vxp-hero-layout,.vxp-page .vxp-form-layout { grid-template-columns:minmax(0,1fr)!important;gap:35px!important; }
  .vxp-page .vxp-hero-layout { padding-block:60px!important; }
  .vxp-page .vxp-hero-media { max-width:100%;justify-self:stretch;aspect-ratio:1.65;max-height:450px; }
  .vxp-page .vxp-hero h1 { font-size:clamp(37px,7.1vw,60px)!important; }
  .vxp-page .vxp-card-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
  .vxp-home .vxp-strength-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
  .vxp-home .vxp-trust-proof { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
  .vxp-home .vxp-service-grid,.vxp-home .vxp-pricing-grid,.vxp-home .vxp-testimonials-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
  .vxp-home .vxp-steps-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
  .vqs-service .vqs-container { width:calc(100% - 44px)!important; }
  .vqs-service .vqs-benefit-grid { grid-template-columns:minmax(0,1fr)!important; }
  .vqn-content .vqn-list-grid,.vqn-content .vqn-columns { grid-template-columns:minmax(0,1fr)!important; }
  .vqn-content .vqn-stats { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
}
@media(max-width:560px) {
  .vxp-page .vxp-container,.vxp-page .vxp-hero .vxp-container,.vqs-service .vqs-container,.vqn-content .vqn-wrap { width:calc(100% - 32px)!important; }
  .vxp-page .vxp-hero-layout { padding-block:47px!important; }
  .vxp-page .vxp-hero h1,.vqs-service .vqs-hero h1,.vqn-content .vqn-hero h1 { font-size:clamp(34px,9vw,45px)!important;line-height:1.1!important;letter-spacing:-.045em!important; }
  .vxp-page .vxp-section,.vqs-service .vqs-section,.vqn-content .vqn-section { padding-block:52px!important; }
  .vxp-page .vxp-home-heading h2,.vxp-page .vxp-section-head h2,.vqs-service .vqs-heading,.vqn-content .vqn-section h2 { font-size:clamp(28px,7.5vw,38px)!important; }
  .vxp-page .vxp-hero-media { aspect-ratio:1.3; max-height:420px; }
  .vxp-page .vxp-hero-actions { flex-direction:column!important;align-items:stretch!important; }
  .vxp-page .vxp-hero-actions .vxp-button { width:100%; }
  .vxp-page .vxp-card-grid,.vxp-home .vxp-service-grid,.vxp-home .vxp-pricing-grid,.vxp-home .vxp-testimonials-grid,.vxp-home .vxp-steps-grid,.vxp-home .vxp-strength-grid,
  .vqs-service .vqs-features,.vqs-service .vqs-detail-grid,.vqs-service .vqs-benefit-grid,.vqn-content .vqn-list-grid,.vqn-content .vqn-columns,.vqn-content .vqn-stats { grid-template-columns:minmax(0,1fr)!important; }
  .vxp-home .vxp-trust-proof { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
  .vxp-page .vxp-form-grid { grid-template-columns:minmax(0,1fr)!important; }
  .vxp-page .vxp-form,.vxp-page .vxp-why-benefits,.vxp-page .vxp-audience-panel { padding-inline:20px!important; }
  .vxp-page .vxp-jump .vxp-container,.vxp-page .vxp-endcap-flex,.vqs-service .vqs-cta-inner,.vqn-content .vqn-cta-row { flex-direction:column!important;align-items:stretch!important; }
  .vxp-page .vxp-endcap .vxp-button,.vqs-service .vqs-cta .vqs-button,.vqn-content .vqn-cta .vqn-button { width:100%;text-align:center;justify-content:center; }
  .vxp-page .vxp-section-body :is(table,pre) { max-width:calc(100vw - 32px); }
  .vqn-content .vqn-hero { padding-block:60px!important; }
  .vqn-content .vqn-list-card { flex-wrap:wrap; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .vxp-page *, .vqs-service *, .vqn-content * { transition:none!important;animation:none!important; }
}
