:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --primary: #7c3aed;
  --secondary: #0ea5e9;
  --line: #e5e7eb;
  --shadow-soft: 0 10px 24px rgba(17, 24, 39, 0.08);
}

html {
  font-size: 15px;
}

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(124, 58, 237, .10) 0, transparent 30%),
    radial-gradient(circle at 90% 0%, rgba(14, 165, 233, .10) 0, transparent 24%),
    var(--bg);
}

.site-header {
  z-index: 1040;
}

.header-surface {
    min-height: 70px;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(229, 231, 235, .85);
    backdrop-filter: blur(9px);
    box-shadow: var(--shadow-soft);
    padding: 10px 16px;
}

.brand-logo {
  display: block;
}

.desktop-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: transform .2s ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.mobile-phone {
  text-decoration: none;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 0.92rem;
}

.content-wrap {
  padding-top: 114px;
  padding-bottom: 118px;
}

.hero-card,
.content-card,
.grid-section article,
.district-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 16px;
}

.hero-card {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.eyebrow {
  display: inline-block;
  border-radius: 999px;
  background: rgba(124, 58, 237, .12);
  color: var(--primary);
  font-weight: 700;
  font-size: .78rem;
  padding: 7px 12px;
  margin-bottom: 8px;
}

.hero-card h1,
.content-card h1 {
  font-size: 1.55rem;
  line-height: 1.3;
  margin-bottom: 10px;
}

.hero-card p,
.content-card p,
.grid-section p,
.district-list p {
  color: var(--muted);
}

.hero-visual img {
  width: 100%;
  border-radius: 16px;
}

.grid-section {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-section article,
.district-list,
.content-card {
  padding: 18px;
}

.grid-section h2,
.district-list h2,
.content-card h2 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.district-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  border-radius: 14px;
  border: 1px solid #ddd6fe;
  color: var(--text);
  background: linear-gradient(165deg, #faf5ff, #eef2ff);
  padding: 10px;
}

.district-item small {
  color: #6366f1;
  font-weight: 600;
}

.service-bullets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 8px;
  margin: 12px 0 16px;
}

.service-bullets span {
  border: 1px solid #e0e7ff;
  background: #f8faff;
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 600;
  color: #334155;
}

.district-neighborhoods {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 8px;
}

.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}

.neighborhood-link {
  border: 1px solid #dbeafe;
  background: #f8fbff;
  color: #0f172a;
  border-radius: 10px;
  text-decoration: none;
  padding: 8px 10px;
  font-size: .9rem;
}

.same-neighborhood-box {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.same-neighborhood-box a {
  color: #2563eb;
  font-weight: 600;
}

.site-footer {
  background: #111827;
  color: #cbd5e1;
}

.mobile-bottom-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(255, 255, 255, .92);
    gap: 6px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding: 8px;
    z-index: 1045;
    box-shadow: 0 18px 38px rgba(17, 24, 39, .42);
}

.mobile-bottom-bar a {
  text-decoration: none;
  border-radius: 12px;
  min-height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.mobile-bottom-bar small {
  font-size: .73rem;
}

.contact-form .form-control {
  border-radius: 12px;
  border: 1px solid #cbd5e1;
}

@media (min-width: 768px) {
  .content-wrap {
    padding-top: 124px;
    padding-bottom: 40px;
  }

  .hero-card {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
  }
}
