:root {
  --navy: #071d3a;
  --red: #e3262e;
  --blue: #0878d8;
  --cream: #faf8f3;
  --border: #dfe4ec;
  --muted: #697386;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--navy);
  background: var(--cream);
}

.site-header {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.brand { display: flex; gap: 12px; align-items: center; }
.barber-pole { font-size: 36px; }
.brand h1 { margin: 0; text-transform: uppercase; letter-spacing: -1px; }
.brand h1 span { color: var(--red); }
.brand h1 b { background: var(--navy); color: white; padding: 4px 8px; border-radius: 5px; font-size: 18px; }
.brand p { margin: 0; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
nav { display: flex; gap: 26px; font-weight: 800; text-transform: uppercase; }
nav a { color: var(--navy); text-decoration: none; }
.drop-btn, .primary, .secondary, form button {
  border-radius: 8px;
  padding: 14px 22px;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
}
.drop-btn, form button { background: var(--navy); color: white; }

.hero {
  display: grid;
  grid-template-columns: 360px 1fr;
  min-height: calc(100vh - 78px);
}
.intro-card {
  padding: 42px 32px;
  background: white;
  border-right: 1px solid var(--border);
}
.intro-card h2 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: .95;
  margin: 0 0 22px;
  text-transform: uppercase;
  letter-spacing: -2px;
}
.intro-card h2 span { color: var(--red); }
.intro-card p { font-size: 17px; line-height: 1.6; color: #1c2940; }
.hero-actions { display: grid; gap: 12px; margin: 28px 0; }
.primary { background: var(--red); color: white; text-align: center; }
.secondary { border: 1px solid var(--navy); color: var(--navy); text-align: center; }
.mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.mini-stats div { padding: 16px; text-align: center; }
.mini-stats div + div { border-left: 1px solid var(--border); }
.mini-stats strong:first-child { color: var(--red); }
.mini-stats div:nth-child(2) strong { color: var(--blue); }

.map-wrap { position: relative; min-height: 620px; }
#map { height: 100%; min-height: 620px; width: 100%; }
.search-box, .filter-btn {
  position: absolute;
  right: 28px;
  z-index: 500;
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(7, 29, 58, .12);
  border-radius: 8px;
}
.search-box { top: 28px; padding: 16px 24px; width: 280px; color: var(--muted); }
.filter-btn { top: 92px; padding: 14px 32px; color: var(--navy); font-weight: 900; text-transform: uppercase; }

.dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 18px 24px;
  background: white;
  border-top: 1px solid var(--border);
}
.stat-card, .add-card, .about {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 28px rgba(7, 29, 58, .05);
}
.stat-card h3, .add-card h3 { margin-top: 0; text-align: center; text-transform: uppercase; font-size: 15px; }
.stat-card p { border-bottom: 1px solid #eef1f5; padding-bottom: 10px; }
.stat-card b { font-size: 26px; display: block; }
ol { padding-left: 22px; }
li { margin: 14px 0; font-weight: 800; }
li span { float: right; color: var(--muted); font-weight: 500; }
.add-card { border-style: dashed; text-align: center; }
form { display: grid; gap: 10px; margin-top: 18px; }
input, select { padding: 13px; border: 1px solid var(--border); border-radius: 7px; font-size: 15px; }

.about { margin: 24px; text-align: center; }
.about h2 { font-size: 32px; }
.about p { max-width: 760px; margin: auto; line-height: 1.7; color: #26344d; }
footer {
  display: flex;
  gap: 44px;
  align-items: center;
  padding: 26px 42px;
  background: white;
  border-top: 1px solid var(--border);
}

.custom-pin {
  width: 38px;
  height: 38px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: grid;
  place-items: center;
  color: white;
  font-size: 20px;
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
  border: 2px solid white;
}
.custom-pin span { transform: rotate(45deg); }
.pin-barber { background: var(--red); }
.pin-vape { background: var(--blue); }

@media (max-width: 900px) {
  .site-header { height: auto; padding: 16px; flex-wrap: wrap; gap: 16px; }
  nav { order: 3; width: 100%; justify-content: space-around; gap: 10px; font-size: 13px; }
  .hero { grid-template-columns: 1fr; }
  .dashboard { grid-template-columns: 1fr; }
  .intro-card h2 { font-size: 40px; }
  footer { flex-wrap: wrap; gap: 18px; }
}
