/* Stage 4.4: explicit responsive structure overrides Basel and incomplete Tailwind fallback.
   Scoped to FBG only; the parent theme is unchanged. */
body#fbg-app .fbg-topbar{display:none!important;width:100%;min-height:44px;background:#0f172a!important;color:#e2e8f0!important;font-size:14px;line-height:1.45;position:relative;z-index:51}
body#fbg-app .fbg-topbar>.max-w-7xl{display:flex!important;align-items:center!important;justify-content:space-between!important;max-width:1280px;margin:auto;padding:8px 24px;gap:24px}
body#fbg-app .fbg-topbar>.max-w-7xl>div{display:flex!important;align-items:center!important;gap:16px}
body#fbg-app .fbg-topbar svg{width:15px;height:15px;flex:none;color:#22d3ee;vertical-align:middle}
body#fbg-app .fbg-topbar a{color:#e2e8f0;text-decoration:none}
body#fbg-app .fbg-topbar a:hover{color:#22d3ee}
body#fbg-app .fbg-navbar{height:auto!important;min-height:72px;background:rgba(255,255,255,.96)!important;border-bottom:1px solid #e2e8f0;z-index:50!important}
body#fbg-app .fbg-navbar>.max-w-7xl{max-width:1280px;width:100%;padding:0 24px;margin:0 auto}
body#fbg-app .fbg-navbar>.max-w-7xl>div{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:72px;height:auto!important;gap:16px}
body#fbg-app .fbg-brand{display:flex!important;flex:0 1 auto;align-items:center;min-width:0;max-width:250px;margin:0}
body#fbg-app .fbg-brand-image{width:clamp(155px,17vw,220px);max-height:64px;object-fit:contain}
body#fbg-app .fbg-desktop-links{display:none!important;align-items:center!important;gap:4px;flex-wrap:nowrap;min-width:0}
body#fbg-app .fbg-desktop-links a{display:inline-flex!important;align-items:center;justify-content:center;white-space:nowrap;padding:9px 10px!important;line-height:1.4;font-size:14px;font-weight:600;color:#475569;text-decoration:none;border-radius:8px;background:transparent}
body#fbg-app .fbg-desktop-links a:hover{color:#0891b2;background:#ecfeff}
body#fbg-app .fbg-navbar-actions{display:flex!important;align-items:center!important;gap:12px;flex:none}
body#fbg-app .fbg-nav-quote{display:none!important;align-items:center;justify-content:center!important;padding:12px 22px!important;min-height:44px;white-space:nowrap!important;background:linear-gradient(110deg,#06b6d4,#2563eb)!important;border:0!important;border-radius:12px!important;color:#fff!important;font-size:14px!important;font-weight:700!important;line-height:1.2!important;box-shadow:0 5px 16px rgba(6,182,212,.2);transition:transform .2s,box-shadow .2s!important}
body#fbg-app .fbg-nav-quote:hover{transform:translateY(-2px);box-shadow:0 9px 20px rgba(6,182,212,.3)}
body#fbg-app .fbg-mobile-menu-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:44px;height:44px;padding:8px!important;background:transparent!important;border:0!important;border-radius:8px;color:#475569}
body#fbg-app .fbg-mobile-menu-toggle svg{width:24px;height:24px}
body#fbg-app .fbg-mobile-menu[hidden]{display:none!important}
body#fbg-app .fbg-mobile-menu:not([hidden]){display:block!important;width:100%;background:#fff;border-top:1px solid #f1f5f9}
body#fbg-app .fbg-mobile-menu a{display:block;width:100%;line-height:1.5}
body#fbg-app .fbg-footer{background:#0f172a!important}
body#fbg-app .fbg-footer>div:nth-child(2)>.grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
body#fbg-app .fbg-footer .fbg-social-icons{display:flex!important;gap:12px;align-items:center;margin-top:20px}
body#fbg-app .fbg-footer .fbg-social-icons>a,body#fbg-app .fbg-footer .fbg-social-icons>span{width:44px!important;height:44px!important;min-width:44px;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:12px;color:#94a3b8!important}
body#fbg-app .fbg-footer .fbg-social-icons svg{width:20px!important;height:20px!important;stroke:currentColor!important;fill:none!important;stroke-width:2;display:block!important}
body#fbg-app .fbg-footer .fbg-social-icons>a:hover{transform:translateY(-3px);background:rgba(255,255,255,.12)!important;color:#22d3ee!important;border-color:rgba(34,211,238,.6)!important;box-shadow:0 8px 18px rgba(0,0,0,.2)}
body#fbg-app .fbg-footer .fbg-social-unconfigured{opacity:.65;cursor:not-allowed}
body#fbg-app .fbg-footer li svg{width:18px!important;height:18px!important;min-width:18px;color:#22d3ee;stroke:currentColor;fill:none;vertical-align:middle}
body#fbg-app .fbg-footer li{list-style:none}
body#fbg-app .fbg-footer li.flex{display:flex;align-items:flex-start;gap:10px}
body#fbg-app .fbg-footer h4{color:#fff;font-weight:700}
body#fbg-app .fbg-batch-a svg,body#fbg-app .fbg-footer svg{stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
body#fbg-app .fbg-why article>div:first-child{width:48px!important;height:48px!important;min-width:48px;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:12px;background:linear-gradient(135deg,#ecfeff,#eff6ff)!important;color:#0891b2!important;margin-bottom:16px}
body#fbg-app .fbg-why article>div:first-child svg{width:24px!important;height:24px!important;stroke:#0891b2!important;fill:none!important;stroke-width:2!important;display:block!important}
body#fbg-app .fbg-why article{overflow:visible;border:1px solid #e2e8f0;border-radius:16px;transition:box-shadow .25s,border-color .25s,transform .25s}
body#fbg-app .fbg-why article:hover{border-color:#a5f3fc;box-shadow:0 12px 30px rgba(8,145,178,.08);transform:translateY(-3px)}
body#fbg-app .fbg-why .grid{min-width:0}
body#fbg-app .fbg-why article p{margin:0;line-height:1.6}
body#fbg-app .fbg-why article h3{margin:0 0 8px;line-height:1.35}
body#fbg-app .fbg-why .fbg-why-feature-grid{align-items:stretch}
body#fbg-app :is(.fbg-why,.fbg-services,.fbg-pool-styles) .inline-flex>svg{width:16px;height:16px;stroke-width:2}
body#fbg-app .fbg-unconfigured-contact{opacity:.7}
@media(min-width:768px){body#fbg-app .fbg-topbar{display:block!important}}
@media(min-width:640px){body#fbg-app .fbg-nav-quote{display:inline-flex!important}}
@media(min-width:1024px){body#fbg-app .fbg-desktop-links{display:flex!important}body#fbg-app .fbg-mobile-menu-toggle{display:none!important}body#fbg-app .fbg-footer>div:nth-child(2)>.grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){body#fbg-app .fbg-desktop-links a{font-size:13px;padding:8px!important}body#fbg-app .fbg-brand-image{width:170px}}
@media(max-width:767px){body#fbg-app .fbg-navbar>.max-w-7xl{padding:0 16px}body#fbg-app .fbg-footer>div:nth-child(2)>.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:479px){body#fbg-app .fbg-footer>div:nth-child(2)>.grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){body#fbg-app .fbg-footer .fbg-social-icons>a:hover,body#fbg-app .fbg-why article:hover,body#fbg-app .fbg-nav-quote:hover{transform:none!important;transition:none!important}}
