/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:      #1a3f7a;
  --blue-dark: #102d5e;
  --white:     #ffffff;
  --header-h:  64px;
  --font:      'Inter', system-ui, sans-serif;
}

html, body {
  height: 100%;
  font-family: var(--font);
  background: #0d1b2e;
  overflow: hidden;
}

/* ── HEADER ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(13, 27, 46, 0.85);
  backdrop-filter: blur(12px) saturate(1.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(13, 27, 46, 0.85) inset;
  z-index: 100;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  width: 100%;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
}

.header-title-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.header-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.header-subtitle {
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}

.header-right {
  display: flex;
  align-items: center;
}

.header-motto {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  color: #e2e8f0;
  letter-spacing: 0.03em;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.02);
}

/* ── MAP ── */
.map-wrapper {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
}

.map-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── Responsive ── */
@media (max-width: 800px) {
  :root {
    --header-h: 70px;
  }
  .header-inner {
    padding: 0 16px;
    gap: 10px;
  }
  .header-motto {
    font-size: 11px;
    padding: 4px 12px;
  }
}

@media (max-width: 500px) {
  :root {
    --header-h: 70px;
  }
  .header-inner {
    padding: 0 12px;
  }
  .header-logo { height: 32px; }
  .header-title { font-size: 12px; letter-spacing: 0.03em; }
  .header-subtitle { font-size: 0.53em; letter-spacing: 0.04em; }
  .header-left { gap: 10px; }
  .header-title-wrap { line-height: 1.2; }
  .header-motto { 
    font-size: 10px; 
    padding: 4px 10px;
    text-align: right;
    margin-left: auto;
  }
}
