/* QUARZEO V7.2 — PUBLIC ONLY
   Goal: keep the V7.1 navigation, restore the proven engine + interactive map hero,
   leave the rest of the current homepage intact. */

/* Keep the current white navigation as the single desktop header. */
html{scroll-behavior:smooth;scroll-padding-top:92px}
body.qz72-public .topbar{display:none!important}
body.qz72-public .qz71-header{display:block!important}

/* Restore the previous functional hero composition: headline above, engine left, map right. */
body.qz72-public .homeHeroV8{
  min-height:0!important;
  padding:46px 0 52px!important;
  background:
    radial-gradient(circle at 8% 8%,rgba(48,211,244,.10),transparent 28%),
    radial-gradient(circle at 92% 5%,rgba(36,113,245,.10),transparent 31%),
    linear-gradient(180deg,#fff 0%,#f6fbff 100%)!important;
  overflow:visible!important;
}
body.qz72-public .homeHeroV8>.shell{width:min(1180px,calc(100% - 48px))!important;margin:auto!important}
body.qz72-public .heroHeadlineV8{max-width:760px!important;margin:0 0 26px!important;text-align:left!important}
body.qz72-public .heroHeadlineV8 .eyebrow{
  display:inline-flex!important;
  color:#0957bc!important;background:#edf7ff!important;border:1px solid #cfe6fb!important;
  border-radius:999px!important;padding:7px 11px!important;font-size:10px!important;font-weight:900!important;letter-spacing:.075em!important
}
body.qz72-public .heroHeadlineV8 h1{font-size:clamp(48px,5vw,72px)!important;line-height:.99!important;letter-spacing:-.055em!important;margin:15px 0 17px!important;color:#061c40!important}
body.qz72-public .heroHeadlineV8 h1 span{display:block!important;color:#0968f6!important}
body.qz72-public .heroHeadlineV8 p{max-width:62ch!important;font-size:16px!important;line-height:1.62!important;color:#56708d!important}

body.qz72-public .heroWorkbenchV8{
  display:grid!important;
  grid-template-columns:minmax(0,1.08fr) minmax(380px,.92fr)!important;
  gap:28px!important;align-items:stretch!important;
  padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important
}
body.qz72-public .heroEngineV8{min-width:0!important}
body.qz72-public .searchDeckV8{height:100%;background:rgba(255,255,255,.97)!important;border:1px solid #d7e7f5!important;border-radius:25px!important;box-shadow:0 24px 68px rgba(11,50,99,.12)!important}

/* V7 hid every original map child and put a decorative photo on top. Undo only that. */
body.qz72-public .heroMapV8{
  display:block!important;position:relative!important;min-height:430px!important;
  padding:0!important;overflow:hidden!important;border-radius:28px!important;
  border:1px solid #d7e6f4!important;background:#eef7ff!important;
  box-shadow:0 26px 72px rgba(8,47,98,.15)!important
}
body.qz72-public .heroMapV8>.qz7-hero-visual{display:none!important}
body.qz72-public .heroMapV8.qz72-map-restored>*:not(.qz7-hero-visual){
  display:revert!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important
}
body.qz72-public .heroMapV8 .mapResultStack,
body.qz72-public .heroMapV8 .mapResultCard,
body.qz72-public .heroMapV8 [data-demo-map]{pointer-events:auto!important}

/* The rest of the V7/V7.1 homepage is intentionally left untouched. */
body.qz72-public #qz7-how,
body.qz72-public #qz7-choices,
body.qz72-public #qz7-network{scroll-margin-top:94px}

/* Avoid the legacy floating search bar covering content on desktop. */
@media(min-width:761px){
  body.qz72-public .qz71-mobile-cta{display:none!important}
}

/* Mobile: retain the dedicated compact experience — no hero map on the homepage. */
@media(max-width:760px){
  html{scroll-padding-top:70px}
  body.qz72-public .homeHeroV8{padding:24px 0 32px!important;overflow:hidden!important}
  body.qz72-public .homeHeroV8>.shell{width:min(100% - 28px,1180px)!important}
  body.qz72-public .heroHeadlineV8{text-align:center!important;margin-bottom:16px!important;max-width:none!important}
  body.qz72-public .heroHeadlineV8 .eyebrow{display:none!important}
  body.qz72-public .heroHeadlineV8 h1{font-size:clamp(38px,12vw,50px)!important;line-height:1!important;margin:0 0 12px!important}
  body.qz72-public .heroHeadlineV8 p{font-size:13px!important;line-height:1.55!important;max-width:35ch!important;margin:auto!important}
  body.qz72-public .heroWorkbenchV8{display:block!important}
  body.qz72-public .heroMapV8{display:none!important}
  body.qz72-public #qz7-how,body.qz72-public #qz7-choices,body.qz72-public #qz7-network{scroll-margin-top:70px}
}
