:root{--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px)}
.pwa-install{position:fixed;right:18px;bottom:78px;z-index:85;display:none;align-items:center;gap:9px;padding:12px 16px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:linear-gradient(135deg,#0876d8,#045aa9);color:#fff;box-shadow:0 16px 42px rgba(4,24,40,.32);font:800 12px/1 "Segoe UI",Arial,sans-serif;letter-spacing:.02em;cursor:pointer}.pwa-install.show{display:flex}.pwa-install:before{content:"↓";font-size:17px}.pwa-install-close{display:none}
.app-bottom-nav{display:none}.pwa-toast{position:fixed;left:50%;bottom:96px;z-index:150;max-width:min(92vw,420px);padding:13px 18px;border-radius:10px;background:#041828;color:#fff;box-shadow:0 18px 52px rgba(0,0,0,.28);font-size:13px;font-weight:700;opacity:0;transform:translate(-50%,18px);pointer-events:none;transition:.3s}.pwa-toast.show{opacity:1;transform:translate(-50%,0)}
.offline-page{min-height:100dvh;display:grid;place-items:center;padding:40px 20px;background:radial-gradient(circle at 50% 18%,#0b4778,#041828 62%);color:#fff;text-align:center}.offline-card{width:min(100%,620px);padding:42px;border:1px solid rgba(255,255,255,.16);border-radius:20px;background:rgba(255,255,255,.08);box-shadow:0 28px 80px rgba(0,0,0,.3);backdrop-filter:blur(18px)}.offline-card img{width:250px;height:auto;margin:0 auto 28px}.offline-card p{color:#cedbe5}.offline-card .btn{margin-top:16px}
@media(max-width:1040px){
  html{overscroll-behavior-y:none;-webkit-tap-highlight-color:transparent}
  body{padding-bottom:calc(72px + var(--safe-bottom));touch-action:manipulation}
  .site-header{top:var(--safe-top)}
  .app-bottom-nav{position:fixed;left:10px;right:10px;bottom:calc(8px + var(--safe-bottom));z-index:120;display:grid;grid-template-columns:repeat(5,1fr);min-height:62px;padding:6px;border:1px solid rgba(255,255,255,.32);border-radius:18px;background:rgba(4,24,40,.94);box-shadow:0 20px 55px rgba(4,24,40,.34);backdrop-filter:blur(22px) saturate(1.35);-webkit-backdrop-filter:blur(22px) saturate(1.35)}
  .app-bottom-nav a{position:relative;display:grid;place-items:center;align-content:center;gap:4px;min-width:0;border-radius:13px;color:#bfced9;font-size:10px;font-weight:800;line-height:1;text-align:center;transition:.22s}
  .app-bottom-nav a:before{content:"";width:21px;height:21px;background:currentColor;mask:var(--nav-icon) center/contain no-repeat;-webkit-mask:var(--nav-icon) center/contain no-repeat}
  .app-bottom-nav a.active{background:linear-gradient(135deg,rgba(8,118,216,.34),rgba(49,167,239,.16));color:#fff}.app-bottom-nav a.active:after{content:"";position:absolute;top:-3px;width:22px;height:3px;border-radius:999px;background:#48b3f3;box-shadow:0 0 14px #48b3f3}
  .nav-home{--nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11 12 3l9 8v10h-6v-6H9v6H3z'/%3E%3C/svg%3E")}.nav-services{--nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h7v7H4zm9 0h7v7h-7zM4 13h7v7H4zm9 0h7v7h-7z'/%3E%3C/svg%3E")}.nav-handyman{--nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m14.7 6.3 3-3a5 5 0 0 0-6.4 6.4l-7.8 7.8a2.1 2.1 0 0 0 3 3l7.8-7.8a5 5 0 0 0 6.4-6.4l-3 3z'/%3E%3C/svg%3E")}.nav-quote{--nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18v14H3zm2 2v1l7 5 7-5V7l-7 5z'/%3E%3C/svg%3E")}.nav-call{--nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.4 15.4 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.2 1.2.4 2.4.6 3.7.6.5 0 .8.4.8.9V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.5 0 .9.4.9.9 0 1.3.2 2.5.6 3.7.1.4 0 .8-.2 1.1z'/%3E%3C/svg%3E")}
  .back-top{bottom:calc(88px + var(--safe-bottom))}.cookie{bottom:calc(88px + var(--safe-bottom));max-width:calc(100vw - 36px)}.pwa-install{bottom:calc(88px + var(--safe-bottom))}
  input,select,textarea{font-size:16px!important}.btn,.quote-btn{min-height:50px}.mobile-menu{padding-top:calc(22px + var(--safe-top));padding-bottom:calc(90px + var(--safe-bottom))}
}
@media(display-mode:standalone){.top-ribbon{padding-top:var(--safe-top)}.pwa-install{display:none!important}.app-bottom-nav{bottom:max(8px,var(--safe-bottom))}}
@media(max-width:430px){.app-bottom-nav{left:7px;right:7px}.app-bottom-nav a{font-size:9px}.pwa-install{right:12px}}
@media(prefers-reduced-motion:reduce){.app-bottom-nav a,.pwa-toast{transition:none}}
