:root {
  --white: #FFFFFF;
  --jungle: #BFC0C0;
  --orange: #EF8354;
  --slate: #4F5D75;
  --iris: #2D3142;
  --shadow: 0 18px 45px rgba(45, 49, 66, .22);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--iris);
  background: var(--white);
}

.locator {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  min-height: 720px;
  height: 100vh;
  max-height: 900px;
  background: var(--white);
}

.sidebar {
  background: linear-gradient(180deg, var(--iris), #222638);
  color: var(--white);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}

.brandline {
  width: 56px;
  height: 5px;
  border-radius: 99px;
  background: var(--orange);
  margin-bottom: 4px;
}

h1 {
  color: #eef0f2;
  font-size: 26px;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -.03em;
}

.sub {
  margin: 0;
  color: #eef0f2;
  font-size: 14px;
  line-height: 1.45;
}

.controls {
  display: grid;
  gap: 10px;
}

input,
select,
button {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
}

input,
select {
  color: var(--white);
  background: rgba(255, 255, 255, .08);
}

input::placeholder {
  color: rgba(255, 255, 255, .72);
}

select option {
  color: var(--iris);
  background: var(--white);
}

button {
  cursor: pointer;
  border: none;
  background: var(--orange);
  color: var(--iris);
  font-weight: 800;
  transition: .18s ease;
}

button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.stat {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: 10px;
}

.stat b {
  display: block;
  font-size: 20px;
  color: var(--orange);
}

.stat span {
  font-size: 11px;
  color: #eef0f2;
}

.list {
  overflow: auto;
  padding-right: 4px;
  display: grid;
  gap: 10px;
}

.card {
  background: var(--white);
  color: var(--iris);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .14);
  border-left: 5px solid var(--orange);
}

.card h2 {
  margin: 0 0 4px;
  font-size: 15px;
  letter-spacing: -.01em;
}

.tier {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--slate);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
}

.meta {
  margin: 9px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: #4d5364;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  color: var(--iris);
  background: #f2f3f4;
  border: 1px solid #e5e7ea;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.contact-btn:hover {
  background: #eceef0;
}

.links a {
  color: var(--iris);
  background: #f2f3f4;
  border: 1px solid #e5e7ea;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.mapwrap {
  position: relative;
  min-height: 520px;
}

#map {
  width: 100%;
  height: 100%;
  min-height: 720px;
}

.legend {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  background: rgba(255, 255, 255, .94);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 12px 14px;
  display: grid;
  gap: 8px;
  font-size: 12px;
}

.legend div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.gm-style .gm-style-iw-c {
  border-radius: 18px !important;
  padding: 0 !important;
}

.gm-style .gm-style-iw-d {
  overflow: hidden !important;
}

.info {
  max-width: 310px;
  padding: 16px;
}

.info h3 {
  margin: 0 0 6px;
  color: var(--iris);
  font-size: 18px;
}

.info p {
  margin: 8px 0;
  color: #4d5364;
  font-size: 13px;
  line-height: 1.4;
}

.info a {
  color: var(--iris);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width:860px) {
  .locator {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
  }

  .sidebar {
    max-height: 520px;
  }

  #map {
    min-height: 560px;
  }
}