:root {
  --lavat-navy: #052c67;
  --lavat-blue: #0769c6;
  --lavat-cyan: #20c5e9;
  --lavat-pale: #edf8ff;
  --lavat-ink: #062858;
  --lavat-line: rgba(5, 77, 158, .12);
  --lavat-shadow: 0 18px 38px rgba(6, 74, 147, .13);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #eaf6ff; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--lavat-ink);
  background:
    radial-gradient(circle at 93% 14%, rgba(35, 198, 233, .19), transparent 25rem),
    linear-gradient(155deg, #f6fcff 0%, #ebf8ff 52%, #dff4fe 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.lavat-pwa-shell {
  position: relative;
  width: min(100%, 560px);
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f1faff 100%);
  box-shadow: 0 0 60px rgba(4, 59, 120, .13);
}

.lavat-pwa-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  padding: env(safe-area-inset-top) 24px 0;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(4, 62, 133, .06);
}
.lavat-pwa-brand { display: inline-flex; width: 190px; max-height: 55px; align-items: center; }
.lavat-pwa-brand img { display: block; width: 100%; height: 48px; object-fit: contain; object-position: left center; }
.lavat-menu-button {
  display: grid;
  width: 46px;
  height: 46px;
  padding: 12px 10px;
  border: 0;
  border-radius: 50%;
  place-content: center;
  gap: 5px;
  color: var(--lavat-blue);
  background: #edf8ff;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(8, 104, 194, .06);
}
.lavat-menu-button span { display: block; width: 23px; height: 3px; border-radius: 99px; background: currentColor; }
.lavat-menu-button:active { transform: scale(.95); }

.lavat-pwa-main { padding: 0 18px 28px; }
.lavat-home-hero {
  position: relative;
  min-height: 360px;
  margin: 16px 0 0;
  overflow: hidden;
  border-radius: 29px;
  background: #bde9f9;
  box-shadow: var(--lavat-shadow);
}
.lavat-home-hero > img { display: block; width: 100%; height: 360px; object-fit: cover; object-position: center 42%; transform: scale(1.008); }
.lavat-home-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 28%, rgba(255,255,255,.16) 44%, rgba(255,255,255,.94) 75%, #fff 100%);
}
.lavat-home-copy { position: absolute; z-index: 1; right: 24px; bottom: 21px; left: 24px; }
.lavat-home-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
  color: #087ac8;
  font-size: .71rem;
  font-weight: 900;
  letter-spacing: .2em;
}
.lavat-home-kicker::before { content: ""; display: block; width: 30px; height: 3px; border-radius: 99px; background: linear-gradient(90deg, var(--lavat-blue), var(--lavat-cyan)); }
.lavat-home-copy h1 { margin: 0; color: #062a5d; font-size: clamp(2.2rem, 9vw, 3.2rem); line-height: .94; letter-spacing: -.065em; }
.lavat-home-copy h1 em { color: #0872c4; font-style: normal; }
.lavat-home-copy > p:last-child { margin: 11px 0 0; color: #26557f; font-size: .98rem; font-weight: 700; }

.lavat-home-actions { padding: 19px 4px 9px; text-align: center; }
.lavat-primary-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  gap: 11px;
  padding: 10px 20px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(100deg, #0755ac 0%, #0877d4 55%, #00a6dc 100%);
  box-shadow: 0 12px 23px rgba(0, 105, 201, .24), inset 0 1px 0 rgba(255,255,255,.28);
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: -.02em;
  text-decoration: none;
}
.lavat-action-icon { display: grid; width: 29px; height: 29px; border: 2px solid currentColor; border-radius: 8px; place-items: center; font-size: 1.18rem; line-height: 1; }
.lavat-primary-action:active { transform: translateY(1px) scale(.99); }
.lavat-home-actions p { margin: 11px 9px 0; color: #6380a0; font-size: .73rem; line-height: 1.35; }

.lavat-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 9px; }
.lavat-service-card {
  display: grid;
  min-height: 144px;
  padding: 18px 13px 15px;
  border: 1px solid rgba(4, 92, 178, .10);
  border-radius: 22px;
  place-items: center;
  color: var(--lavat-navy);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 25px rgba(4, 83, 161, .07);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.lavat-service-card:active { transform: scale(.97); box-shadow: none; }
.lavat-service-card-featured { background: linear-gradient(145deg, #f6fdff, #e6f7ff); }
.lavat-service-icon { display: grid; width: 46px; height: 46px; border: 2px solid #0a66c2; border-radius: 14px; place-items: center; color: #0862bc; font-size: 2.3rem; font-weight: 500; line-height: 1; }
.service-building { border-radius: 10px; font-size: 2rem; }
.service-bed { height: 34px; margin-top: 7px; border-width: 0 0 3px; border-radius: 0; font-size: 3.35rem; line-height: .25; }
.service-wash { border-radius: 50%; font-size: 1.75rem; }
.lavat-service-card strong { display: block; margin-top: 11px; color: #063876; font-size: .94rem; line-height: 1.08; letter-spacing: -.035em; }

.lavat-access-note { display: flex; gap: 10px; margin-top: 17px; padding: 15px 16px; border: 1px solid rgba(0, 146, 212, .11); border-radius: 18px; color: #416786; background: #eaf8ff; }
.lavat-access-note > span { color: #0989d1; font-size: 1.1rem; }
.lavat-access-note p { margin: 0; font-size: .73rem; line-height: 1.45; }
.lavat-access-note strong { color: #095ca8; }

.lavat-bottom-nav {
  position: fixed;
  z-index: 10;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  width: min(100%, 560px);
  min-height: calc(78px + env(safe-area-inset-bottom));
  margin: 0 auto;
  padding: 9px 7px calc(8px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(4, 70, 140, .08);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -9px 25px rgba(4, 78, 145, .08);
  backdrop-filter: blur(14px);
}
.lavat-bottom-nav button { display: grid; gap: 3px; padding: 0 2px; border: 0; place-items: center; color: #7e9ab6; background: transparent; cursor: pointer; }
.lavat-bottom-nav span { display: grid; width: 28px; height: 28px; border-radius: 9px; place-items: center; font-size: 1.7rem; line-height: 1; }
.lavat-bottom-nav small { max-width: 80px; font-size: .57rem; font-weight: 750; line-height: 1.05; }
.lavat-bottom-nav .is-active { color: #0869c4; }
.lavat-bottom-nav .is-active span { color: #fff; background: linear-gradient(145deg, #107cd4, #0053a9); box-shadow: 0 4px 10px rgba(0,91,177,.25); }

.lavat-menu-backdrop { position: fixed; z-index: 18; inset: 0; visibility: hidden; opacity: 0; background: rgba(1, 24, 58, .38); transition: opacity .25s ease, visibility .25s ease; }
.lavat-menu-backdrop.is-open { visibility: visible; opacity: 1; }
.lavat-app-menu { position: fixed; z-index: 19; top: 0; right: 0; width: min(88vw, 390px); height: 100%; padding: calc(23px + env(safe-area-inset-top)) 24px 34px; transform: translateX(105%); color: #f6fbff; background: linear-gradient(165deg, #06336f, #075aa9 58%, #0473ba); box-shadow: -20px 0 45px rgba(0, 29, 70, .22); transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.lavat-app-menu.is-open { transform: translateX(0); }
.lavat-menu-head { display: flex; align-items: center; justify-content: space-between; }
.lavat-menu-head img { width: 176px; height: 50px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); }
.lavat-menu-head button { width: 39px; height: 39px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; color: #fff; background: rgba(255,255,255,.12); font-size: 1.6rem; cursor: pointer; }
.lavat-app-menu > p { margin: 19px 0 24px; color: rgba(255,255,255,.78); font-size: .87rem; line-height: 1.4; }
.lavat-menu-item { display: grid; width: 100%; margin: 10px 0; padding: 15px; grid-template-columns: 35px 1fr; column-gap: 10px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; color: #fff; background: rgba(255,255,255,.10); text-align: left; text-decoration: none; cursor: pointer; }
.lavat-menu-item > span { grid-row: span 2; font-size: 1.55rem; }
.lavat-menu-item strong { align-self: end; font-size: .94rem; }
.lavat-menu-item small { align-self: start; margin-top: 2px; color: rgba(255,255,255,.72); font-size: .68rem; }
.lavat-menu-item-update { border-color: rgba(128, 235, 255, .4); background: linear-gradient(110deg, rgba(26,184,240,.34), rgba(255,255,255,.12)); }
.lavat-menu-item:active { transform: scale(.98); }
.lavat-install-help { margin: 20px 0 0 !important; color: rgba(255,255,255,.66) !important; font-size: .72rem !important; }

.app-toast { position: fixed; z-index: 30; right: 18px; bottom: calc(100px + env(safe-area-inset-bottom)); left: 18px; padding: 14px 17px; transform: translateY(16px); border-radius: 15px; opacity: 0; color: #fff; background: rgba(3, 43, 94, .94); box-shadow: 0 12px 30px rgba(0, 21, 58, .25); font-size: .84rem; line-height: 1.35; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.app-toast.is-visible { transform: translateY(0); opacity: 1; }

.lavat-app-splash { position: fixed; z-index: 50; inset: 0; display: grid; overflow: hidden; place-content: center; color: #fff; background: radial-gradient(circle at 40% 28%, #28c9e7, #0767c0 45%, #04285d 100%); text-align: center; transition: opacity .42s ease, visibility .42s ease; }
.lavat-app-splash.is-hidden { visibility: hidden; opacity: 0; pointer-events: none; }
.lavat-app-splash img { position: relative; z-index: 1; width: min(70vw, 245px); height: 92px; object-fit: contain; filter: brightness(0) invert(1); }
.lavat-app-splash strong { position: relative; z-index: 1; margin-top: 5px; font-size: 1.15rem; letter-spacing: .27em; }
.lavat-app-splash > span { position: relative; z-index: 1; margin-top: 4px; color: rgba(255,255,255,.78); font-size: .58rem; font-weight: 750; letter-spacing: .28em; }
.splash-ripple { position: absolute; border: 1px solid rgba(255,255,255,.23); border-radius: 50%; animation: lavat-ripple 2.2s ease-out infinite; }
.splash-ripple-one { width: 270px; height: 270px; }
.splash-ripple-two { width: 460px; height: 460px; animation-delay: .65s; }
@keyframes lavat-ripple { 0% { transform: scale(.55); opacity: 0; } 32% { opacity: 1; } 100% { transform: scale(1.14); opacity: 0; } }

@media (min-width: 561px) { .lavat-bottom-nav { border-right: 1px solid rgba(4,70,140,.08); border-left: 1px solid rgba(4,70,140,.08); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
