/* Patch 49 (2026-11-08): mobile and tablet polish from the 375 / 390 / 768 / 1024px audits. Desktop is unchanged.
   1) No visible text under 11px (phones + tablets).  2) Tap targets at least 24px tall (WCAG 2.2 AA), same layout.
   3) No sideways scroll from slide-in animations at any width.  4) Floating buttons step aside for open menus. */

/* 3. slide-in blocks (e.g. the contact form column) must never widen the page */
body section[id] { overflow-x: clip; }

@media (max-width: 1024px) {
  /* 1. readable small labels */
  .srv-markets span, .vzf-chrome span, .about-badge .abl, .about-frame-label, .afb-location,
  .about-pill span, .about-pill small, .about-standard span, .about-standard strong, .about-connect-label,
  .vzw-ticks span, .stat-l small, .vzf-js small, .vzi-vh em, .route-card .resource-meta, .vzc-cell,
  .vzc-cell small, .vzc-cell span, .vzf-cmeta, .vzf-cmeta * { font-size: max(11.5px, 1em) !important; line-height: 1.35; }
  section small, main small { font-size: max(11.5px, .85em) !important; }
}

@media (max-width: 680px) {
  /* 2. bigger tap areas (padding + matching negative margin = same layout, larger finger target) */
  .vzr-link, .ind-go { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 0; }
  .breadcrumbs a { display: inline-block; padding: 7px 3px; margin: -7px -3px; }
  .faq-a a, .vzb-callout a, .about-frame a, .about-frame-bar a, .afb-name a, .about-quote cite a, .article-meta a { display: inline-block; padding: 6px 0; margin: -6px 0; }

  /* phones: the sticky consultation bar replaces the back-to-top arrow (it covered content beside the chat button) */
  .vd-btt, #btt { display: none !important; }

  /* 4. hide floating chat / WhatsApp buttons while a menu is open (they covered menu links) */
  body.vzm-menu-open .vzq, body.vzm-menu-open .wa-float,
  body:has(#mob[aria-hidden="false"]) .vzq, body:has(#mob[aria-hidden="false"]) .wa-float,
  body:has(#mob.open) .vzq, body:has(#mob.open) .wa-float { display: none !important; }
}
/* Patch 53 (PageSpeed a11y): contrast + founder name (was an out-of-order h3) */
.btn-wa{background:#0d7d3f!important;color:#fff!important}
.btn-wa:hover{background:#0a6a35!important}
.ticker .tick{color:rgba(255,255,255,.75)!important}
.working-hours-label{color:rgba(255,255,255,.62)!important}
.mobile-founder-card .mfc-name{margin:0;font-family:Sora,sans-serif;font-size:18px;font-weight:800;line-height:1.2;letter-spacing:.01em;color:#fff;text-align:center}
/* Patch 58 (desktop PageSpeed): no layout shift when vz-future.js adds the hero flag row; contrast fixes */
#hero .proof-bar:not(:has(.vzf-flags))::after{content:"";flex-basis:100%;height:29px}
@media (max-width:1024px){#hero .proof-bar:not(:has(.vzf-flags))::after{height:52px}}
@media (max-width:480px){#hero .proof-bar:not(:has(.vzf-flags))::after{height:47px}}
a.nav-cta{background:#C2410C!important;color:#fff!important}
a.nav-cta:hover{background:#9A3412!important}
.vd-site-footer .f-bottom p,.vd-site-footer button.vzc-open{color:rgba(255,255,255,.62)!important}
.vd-site-footer .f-motto{color:rgba(255,255,255,.55)!important}
/* Patch 58b: desktop hero badges + rings stay hidden until vz-future.js has placed them in orbit (no layout shift); auto-show after 4s if the script never runs */
@media (min-width:1025px){#hero:not(.vzf-orbiting) .hero-card,#hero:not(.vzf-orbiting) .vzf-orbit{visibility:hidden;animation:vzfLate 0s linear 4s forwards}}
@keyframes vzfLate{to{visibility:visible}}
/* Patch 58c: the headline font no longer swaps mid-view (the Sora swap re-wrapped the hero h1 to one line less and moved the centred hero columns = desktop CLS 0.29).
   Same file as homepage.css (preloaded); this later rule overrides font-display for Sora only. */
@font-face{font-family:'Sora';font-style:normal;font-weight:400 800;font-display:optional;src:url('../fonts/sora-latin-variable.woff2') format('woff2')}
/* Patch 58d: desktop photo column is top-aligned at its current visual position instead of vertically centred,
   so height changes in the text column (font loading, counters, flags) can never move it (Lighthouse desktop CLS 0.29). */
@media (min-width:1025px){#hero > .wrap > .hero-right{align-self:start;margin-top:clamp(40px,5.8vw,90px)}}/* Patch 58e: decorative glow anchored to the top (bottom anchor moved with the text column); footer links in text are underlined (not colour-only) */
@media (min-width:1025px){#hero .hero-orb.o2{bottom:auto;top:600px}}
.vd-site-footer .f-bottom p a{text-decoration:underline;text-underline-offset:2px}
/* Patch 59 (inner-page CLS): blog featured image keeps its 1200x630 shape before it loads; body font no longer swaps mid-view */
.vzb-featured img{aspect-ratio:1200/630;width:100%;height:auto}
@font-face{font-family:'Inter';font-style:normal;font-weight:300 800;font-display:optional;src:url('../fonts/inter-latin-variable.woff2') format('woff2')}
/* Patch 59b: desktop inner-page hero uses its final 2-column grid from the first paint (vz-inner.js adds the right-hand visual later; same rules as vz-inner.css 164-165) */
@media (min-width:1100px){
  .vzi-hv .page-hero .hero-inner{display:grid!important;grid-template-columns:minmax(0,1fr) 430px;column-gap:56px;align-items:center;max-width:1200px!important;min-height:0}
  .vzi-hv .page-hero .hero-inner>*:not(.vzi-visual){grid-column:1;max-width:none!important}
}
/* Patch 59c: below 1100px the hero visual is added under the hero text after load; it now has one fixed height on every page
   (chips in one swipeable row) and the same space is held empty until it arrives, so the page below it no longer jumps (mobile CLS 0.27) */
@media (max-width:1099px){
  .vzi .vzi-visual{box-sizing:border-box;height:316px;display:flex;flex-direction:column;overflow:hidden}
  .vzi .vzi-vh{box-sizing:border-box;height:48px;flex:none;white-space:nowrap;overflow:hidden}
  .vzi .vzi-stage{flex:1 1 auto;min-height:0;display:flex;align-items:center}
  .vzi .vzi-stage .vzi-scene{height:170px}
  .vzi .vzi-chips{flex:none;flex-wrap:nowrap;height:27px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-mask:linear-gradient(90deg,#000 85%,transparent);mask:linear-gradient(90deg,#000 85%,transparent)}
  .vzi .vzi-chips::-webkit-scrollbar{display:none}
  .vzi .vzi-chips span{flex:none;white-space:nowrap}
  .vzi-hv .page-hero .hero-inner:not(:has(.vzi-visual))::after{content:"";display:block;width:min(100%,460px);height:316px;margin-top:28px}
}
/* Patch 59d: legal pages "Back to Home" button: white on #E8601A was 3.4:1 (Lighthouse a11y 96); #C2410C is 5.2:1, same as the nav button (patch 58) */
.nav-links .home-link{background:#C2410C}
.nav-links .home-link:hover{background:#9A3412}