.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(43, 90, 237, 0.04);
}

.nav-bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-tag {
  font-size: 0.68rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 18rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent-2);
  background: var(--accent-soft);
}

.nav-links a.active {
  color: #fff;
  background: var(--grad-btn);
  box-shadow: 0 6px 14px rgba(55, 121, 247, 0.25);
}

.nav-phone {
  white-space: nowrap;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.7rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #0f1b33;
  color: #c9d4e8;
  padding: 3.25rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.footer-grid h4 {
  font-size: 0.92rem;
  margin-bottom: 0.9rem;
  color: #fff;
}

.footer-grid a,
.footer-grid p {
  display: block;
  color: #9aacc7;
  font-size: 0.88rem;
  margin: 0.35rem 0;
}

.footer-grid a:hover { color: #fff; }

.footer-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.5rem 0;
}

.footer-cities span {
  font-size: 0.75rem;
  color: #8a9bb8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  color: #7e8fad;
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}

.floatbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(43, 90, 237, 0.08);
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
}

.floatbar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.floatbar .btn {
  width: 100%;
}

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.75rem;
  }
  .nav-toggle { display: inline-flex; }
  .nav-phone { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .floatbar { display: block; }
  body { padding-bottom: 4.5rem; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
}
