/* Phone bottom bar (Services | Call | Text) + Services sheet + accessibility button.
   Extracted from design.css so pages that don't load the homepage design layer get the same bar. */
:root { --r: 4px; }
html #aw-toggle-btn { width: 40px; height: 40px; border-radius: 6px; background: rgba(20,28,43,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 10px 30px -10px rgba(0,0,0,.5); }
html #aw-toggle-btn:hover { transform: translateY(-2px); background: rgba(20,28,43,.95); box-shadow: inset 0 0 0 1px rgba(79,216,229,.6), 0 12px 30px -10px rgba(0,151,167,.5); }
html #aw-toggle-btn svg { width: 20px; height: 20px; fill: none; stroke: #7cf0f9; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
html #aw-panel { border-radius: 10px; }
@media (max-width: 768px) {
  html #aw-toggle-btn { width: 36px; height: 36px; }
}
@media (max-width: 768px) {
  .sticky-cta { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); box-shadow: none; border-top: 1px solid var(--line); }
  .sticky-cta-row { display: contents; }
  .sticky-cta-services, .sticky-cta-row a { height: 46px; padding: 0 !important; display: flex; align-items: center; justify-content: center; border-radius: var(--r) !important; font-size: .92rem !important; font-weight: 600 !important; box-shadow: none !important; }
  .sticky-cta-services { background: #fff !important; color: var(--ink) !important; border: 1px solid rgba(20,28,43,.22) !important; }
  .sticky-cta-call { background: var(--accent) !important; color: #fff !important; border: none !important; }
  .sticky-cta-text { background: var(--ink) !important; color: #fff !important; border: none !important; }
  .svc-sheet { border-radius: 10px 10px 0 0 !important; }
}
@media (max-width: 768px) {
  .sticky-cta { grid-template-columns: 1fr 1fr 1fr !important; gap: 0 !important; padding: 0 0 env(safe-area-inset-bottom) !important; background: rgba(20,28,43,.94) !important; border-top: 1px solid rgba(255,255,255,.08) !important; }
  .sticky-cta-services, .sticky-cta-row a { height: 60px !important; flex-direction: column; gap: 5px; border: none !important; border-radius: 0 !important; background: transparent !important; color: rgba(255,255,255,.85) !important; font-size: .7rem !important; font-weight: 600 !important; letter-spacing: .6px; text-transform: uppercase; }
  .sticky-cta-row a + a, .sticky-cta-row a:first-child { box-shadow: inset 1px 0 0 rgba(255,255,255,.08) !important; }
  .sticky-cta-row a.sticky-cta-call { background: var(--accent) !important; color: #fff !important; box-shadow: none !important; }
  .sticky-cta-services::before, .sticky-cta-row a::before { content: ''; width: 20px; height: 20px; background: currentColor;
    -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
  .sticky-cta-services { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='7' height='7' rx='1'/%3E%3Crect x='13.5' y='3.5' width='7' height='7' rx='1'/%3E%3Crect x='3.5' y='13.5' width='7' height='7' rx='1'/%3E%3Crect x='13.5' y='13.5' width='7' height='7' rx='1'/%3E%3C/svg%3E"); }
  .sticky-cta-call { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
  .sticky-cta-text { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20.5l1.4-4.9A8 8 0 1 1 21 12z'/%3E%3C/svg%3E"); }
}
html #aw-toggle-btn { left: 0 !important; bottom: 28px; width: 28px !important; height: 40px !important; border-radius: 0 6px 6px 0 !important; background: rgba(20,28,43,.78) !important; box-shadow: inset -1px 0 0 rgba(255,255,255,.1), inset 0 1px 0 rgba(255,255,255,.08), inset 0 -1px 0 rgba(255,255,255,.08) !important; transition: width .2s, background .2s !important; }
html #aw-toggle-btn:hover { transform: none !important; width: 36px !important; background: var(--ink) !important; }
html #aw-toggle-btn svg { width: 16px !important; height: 16px !important; stroke: rgba(255,255,255,.85) !important; }
@media (max-width: 768px) {
  html #aw-toggle-btn { bottom: 96px !important; }
}
@media (max-width: 768px) {
  .sticky-cta { left: 10px !important; right: 10px !important; bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    grid-template-columns: 50px 1fr 1fr !important; gap: 6px !important; padding: 6px !important;
    border-radius: 10px; border: 1px solid rgba(255,255,255,.1) !important;
    background: rgba(20,28,43,.88) !important; -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
    box-shadow: 0 18px 40px -12px rgba(0,0,0,.55) !important; }
  .sticky-cta-services, .sticky-cta-row a { height: 48px !important; flex-direction: row !important; gap: 8px !important; border-radius: 6px !important;
    text-transform: none !important; letter-spacing: 0 !important; font-size: .95rem !important; font-weight: 600 !important; box-shadow: none !important; }
  .sticky-cta-services { font-size: 0 !important; background: rgba(255,255,255,.08) !important; color: #fff !important; }
  .sticky-cta-row a.sticky-cta-call { background: var(--accent) !important; color: #fff !important; }
  .sticky-cta-row a.sticky-cta-text { background: #fff !important; color: var(--ink) !important; }
  .sticky-cta-services::before, .sticky-cta-row a::before { width: 18px !important; height: 18px !important; }
}
@media (max-width: 768px) {
  body { padding-bottom: 0 !important; }
  .ft { padding-bottom: 92px !important; }
}
@media (max-width: 768px) {
  .sticky-cta { grid-template-columns: 1.25fr 1fr 1fr !important; }
  .sticky-cta-services { font-size: .9rem !important; background: rgba(255,255,255,.1) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16) !important; }
  .sticky-cta-row a { font-size: .9rem !important; }
  .sticky-cta-services::before, .sticky-cta-row a::before { width: 16px !important; height: 16px !important; }
}
@media (max-width: 768px) {
  .sticky-cta { left: 0 !important; right: 0 !important; bottom: 0 !important; border-radius: 0 !important;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)) !important;
    background: #141c2b !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
    border: none !important; border-top: 1px solid rgba(255,255,255,.08) !important; box-shadow: 0 -10px 30px -12px rgba(0,0,0,.35) !important; }
  .sticky-cta-services { background: #2a3445 !important; }
}
@media (max-width: 768px) {
  .sticky-cta { left: 0 !important; right: 0 !important; bottom: 0 !important; display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; gap: 0 !important; border-radius: 0 !important;
    padding: 6px 8px calc(8px + env(safe-area-inset-bottom)) !important;
    background: #1d2025 !important; border: none !important; border-top: 1px solid rgba(255,255,255,.07) !important;
    box-shadow: 0 -8px 24px -12px rgba(0,0,0,.4) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .sticky-cta-row { display: contents !important; }
  .sticky-cta-services, .sticky-cta-row a, .sticky-cta-row a.sticky-cta-call, .sticky-cta-row a.sticky-cta-text {
    height: 54px !important; padding: 0 !important; margin: 0 !important; border: none !important; border-radius: 0 !important; box-shadow: none !important;
    display: flex !important; flex-direction: column !important; align-items: center; justify-content: center; gap: 5px !important;
    background: transparent !important; color: #a4a8af !important;
    font-size: .72rem !important; font-weight: 500 !important; letter-spacing: .2px !important; text-transform: none !important; }
  .sticky-cta-row a.sticky-cta-call, .sticky-cta-row a.sticky-cta-text {
    background: linear-gradient(rgba(255,255,255,.09), rgba(255,255,255,.09)) left center / 1px 26px no-repeat !important; }
  .sticky-cta-row a.sticky-cta-call { color: #fff !important; font-weight: 600 !important; }
  .sticky-cta-services::before, .sticky-cta-row a::before { content: '' !important; display: block; width: 21px !important; height: 21px !important;
    background: currentColor !important; -webkit-mask: var(--ic) center / contain no-repeat !important; mask: var(--ic) center / contain no-repeat !important;
    position: static !important; }
  .sticky-cta-services:active, .sticky-cta-row a:active { color: #fff !important; }
}
@media (max-width: 768px) {
  .svc-sheet { background: #1d2025 !important; border-radius: 14px 14px 0 0 !important; border-top: 1px solid rgba(255,255,255,.07); box-shadow: 0 -20px 50px -10px rgba(0,0,0,.55) !important; }
  .svc-sheet-handle { width: 36px; height: 4px; background: rgba(255,255,255,.16); margin: 10px auto 0; }
  .svc-sheet-head { justify-content: flex-start; padding: 16px 64px 12px 22px; }
  .svc-sheet-head::after { content: none; }
  .svc-sheet-title { font-size: .72rem; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: #8d9198; text-align: left; }
  .svc-sheet-close { right: 12px; width: 36px; height: 36px; border-radius: 6px; background: transparent; color: #a4a8af; }
  .svc-sheet-close svg { width: 18px; height: 18px; }
  .svc-sheet-close:active { background: rgba(255,255,255,.06); color: #fff; }
  .svc-sheet-list { padding: 0 0 calc(12px + env(safe-area-inset-bottom)); }
  .svc-sheet-list a { gap: 16px; padding: 15px 22px; font-size: 1rem; font-weight: 500; letter-spacing: -.1px; color: #f1f2f4; border-bottom: none; position: relative; }
  .svc-sheet-list a + a::before { content: ''; position: absolute; top: 0; left: 58px; right: 22px; height: 1px; background: rgba(255,255,255,.07); }
  .svc-sheet-list a .svc-ico { width: 20px; height: 20px; border-radius: 0; background: none; color: #a4a8af; }
  .svc-sheet-list a .svc-ico svg { width: 20px; height: 20px; stroke-width: 1.6; }
  .svc-sheet-list a:active, .svc-sheet-list a:focus-visible { background: rgba(255,255,255,.05); color: #fff; }
  .svc-sheet-list a:active .svc-ico { background: none; color: #fff; }
}
@media (max-width: 768px) {
  .svc-sheet-overlay { background: rgba(8,10,14,.38) !important; }
  .svc-sheet { background: rgba(29,32,37,.78) !important; -webkit-backdrop-filter: saturate(160%) blur(22px); backdrop-filter: saturate(160%) blur(22px); overflow: hidden; isolation: isolate; }
  .svc-sheet::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
      radial-gradient(520px 220px at 50% -40px, rgba(79,216,229,.16), transparent 70%),
      radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.3px) 0 0 / 18px 18px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%); mask-image: linear-gradient(180deg, #000 0%, transparent 70%); }
  .svc-sheet-list a:active, .svc-sheet-list a:focus-visible { background: rgba(255,255,255,.07); }
}
/* Bottom bar: normal (light) mode keeps the original black bar with white/gray icons + labels.
   Dark mode flips it: white bar with black/gray icons + labels, so it still stands out. */
@media (max-width: 768px) and (prefers-color-scheme: dark) {
  html body .sticky-cta { background: #fff !important; border-top: 1px solid rgba(0,0,0,.08) !important; box-shadow: 0 -8px 24px -12px rgba(0,0,0,.35) !important; }
  html body .sticky-cta .sticky-cta-services, html body .sticky-cta .sticky-cta-row a, html body .sticky-cta .sticky-cta-row a.sticky-cta-text { color: #6b6f76 !important; }
  html body .sticky-cta .sticky-cta-row a.sticky-cta-call { color: #1d2025 !important; }
  html body .sticky-cta .sticky-cta-row a.sticky-cta-call, html body .sticky-cta .sticky-cta-row a.sticky-cta-text {
    background: linear-gradient(rgba(0,0,0,.1), rgba(0,0,0,.1)) left center / 1px 26px no-repeat !important; }
  html body .sticky-cta .sticky-cta-services:active, html body .sticky-cta .sticky-cta-row a:active { color: #000 !important; }
}
