:root {
  --md-sys-color-primary: #3f51b5;
  --md-sys-color-secondary: #009688;
  --md-sys-color-surface: #ffffff;
  --md-sys-color-background: #f5f7fb;
  --md-sys-color-outline: #e3e7ee;
  --md-sys-color-on-surface: #0f172a;
  --md-sys-color-muted: #64748b;
  --radius-s: 10px;
  --radius-m: 14px;
  --radius-l: 20px;
  --radius-xl: 28px;
  --elev-1: 0 1px 2px rgba(2, 6, 23, 0.06), 0 1px 3px rgba(2, 6, 23, 0.1);
  --elev-2: 0 3px 6px rgba(2, 6, 23, 0.08), 0 6px 12px rgba(2, 6, 23, 0.08);
  --elev-3: 0 8px 20px rgba(2, 6, 23, 0.1), 0 12px 28px rgba(2, 6, 23, 0.1);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--md-sys-color-on-surface);
  background: var(--md-sys-color-background);
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 40px 0;
}
.h2 {
  font-size: 28px;
  margin: 0 0 14px;
  font-weight: 800;
}
.p {
  color: var(--md-sys-color-muted);
  margin: 0;
}

.appbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid var(--md-sys-color-outline);
}
.appbar-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  height: 34px;
}
.nav-links {
  display: flex;
  gap: 12px;
  align-items: center;
}
.nav-links a {
  padding: 10px 12px;
  border-radius: 12px;
}
.nav-links a:hover {
  background: #eef2ff;
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--md-sys-color-outline);
  background: var(--md-sys-color-surface);
  display: grid;
  place-items: center;
}
.material {
  font-family: 'Material Symbols Rounded';
}
.material {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.material.l {
  font-size: 24px;
  line-height: 0;
}

.drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
}
.drawer .backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}
.drawer .sheet {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(85%, 360px);
  background: var(--md-sys-color-surface);
  box-shadow: var(--elev-3);
}
.drawer .sheet .head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--md-sys-color-outline);
}
.drawer .sheet a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 0;
}
.drawer .sheet a:hover {
  background: #f8faff;
}
body.drawer-open {
  overflow: hidden;
}
body.drawer-open .drawer {
  display: block;
}

.hero {
  padding: 22px 0 10px;
}
.hero .grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
}
.hero .headline {
  font-size: 42px;
  line-height: 1.06;
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: -0.3px;
}
.hero-card {
  background: var(--md-sys-color-surface);
  border: 1px solid var(--md-sys-color-outline);
  border-radius: var(--radius-l);
  box-shadow: var(--elev-2);
  padding: 18px;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--md-sys-color-outline);
  border-radius: 999px;
  background: #fff;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--md-sys-color-outline);
  background: #fff;
  box-shadow: var(--elev-1);
  font-weight: 700;
  cursor: pointer;
}
.btn.primary {
  background: var(--md-sys-color-primary);
  border-color: var(--md-sys-color-primary);
  color: #fff;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.kpi {
  background: #fff;
  border: 1px solid var(--md-sys-color-outline);
  border-radius: 14px;
  padding: 12px;
  text-align: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.card {
  background: #fff;
  border: 1px solid var(--md-sys-color-outline);
  border-radius: var(--radius-m);
  box-shadow: var(--elev-1);
  padding: 16px;
}
.list-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}
.icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eef2ff;
  display: grid;
  place-items: center;
}
.icon .material {
  font-size: 18px;
}

.tile {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
}
.tile .avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #e6f7f4;
  display: grid;
  place-items: center;
  border: 1px solid var(--md-sys-color-outline);
}
.tile .avatar .material {
  font-size: 26px;
}
.tile .title {
  font-weight: 800;
}
.tile .muted {
  color: var(--md-sys-color-muted);
}

.expander {
  border: 1px solid var(--md-sys-color-outline);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--elev-1);
}
.expander .q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 800;
}
.expander .a {
  display: none;
  padding: 0 16px 14px;
  color: var(--md-sys-color-muted);
}
.expander.open .a {
  display: block;
}

.map {
  width: 100%;
  height: 320px;
  border: 1px solid var(--md-sys-color-outline);
  border-radius: 16px;
}

.footer {
  border-top: 1px solid var(--md-sys-color-outline);
  padding: 20px 0;
  background: #fff;
  margin-top: 20px;
}
.footer .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.fab {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 99;
  width: 56px;
  height: 56px;
  border-radius: 28px;
  background: var(--md-sys-color-secondary);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--elev-3);
}
.fab .material {
  font-size: 28px;
}

@media (max-width: 980px) {
  .hero .grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: grid;
  }
  .container {
    padding: 0 16px;
  }
  .hero .headline {
    font-size: 34px;
  }
  .kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 420px) {
  .container {
    padding: 0 12px;
  }
  .hero .headline {
    font-size: 30px;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .kpis {
    grid-template-columns: 1fr 1fr;
  }
  .tile {
    grid-template-columns: 48px 1fr;
  }
  .tile .avatar {
    width: 48px;
    height: 48px;
  }
}

.wordmark {
  font-family: 'Montserrat', Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--md-sys-color-on-surface);
}
.wordmark--sm {
  font-size: 18px;
}
@media (max-width: 420px) {
  .wordmark {
    font-size: 20px;
    letter-spacing: 0.9px;
  }
}
