:root {
--navy: #1a2e4a;
--teal: #2a7d6f;
--teal-light: #3a9e8f;
--teal-pale: #e8f4f2;
--gold: #c8922a;
--cream: #f8f6f2;
--white: #ffffff;
--gray-100: #f3f4f6;
--gray-200: #e5e7eb;
--gray-400: #9ca3af;
--gray-600: #6b7280;
--gray-800: #1f2937;
--shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
--shadow-md: 0 4px 16px rgba(0,0,0,0.10);
--shadow-lg: 0 8px 32px rgba(0,0,0,0.13);
--radius: 10px;
--transition: 0.2s ease;
}

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

nav a {
color: rgba(255,255,255,0.78);
text-decoration: none;
font-size: 0.85rem;
font-weight: 500;
letter-spacing: 0.03em;
margin-left: 1.8rem;
transition: color var(--transition);
}
nav a:hover, nav a.active { color: var(--white); }
nav a.active { border-bottom: 2px solid var(--gold); padding-bottom: 2px; }  

/* ── MAIN LAYOUT ── */
.main-layout {
display: grid;
grid-template-columns: 340px 1fr;
height: calc(100vh - 68px - 110px);
min-height: 600px;
}

/* ── LEFT PANEL ── */
.left-panel {
background: var(--white);
display: flex;
flex-direction: column;
border-right: 1px solid var(--gray-200);
overflow: hidden;
}

/* Location list */
.location-list {
overflow-y: auto;
flex: 1;
padding: 0.5rem 0;
}
.location-list::-webkit-scrollbar { width: 5px; }
.location-list::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 10px; }

.location-card {
padding: 0.95rem 1.2rem;
border-bottom: 1px solid var(--gray-100);
cursor: pointer;
transition: background var(--transition);
display: flex;
gap: 0.75rem;
align-items: flex-start;
position: relative;
}
.location-card:hover { background: var(--teal-pale); }
.location-card.active { background: var(--teal-pale); border-left: 3px solid var(--teal); }

.card-num {
width: 24px;
height: 24px;
border-radius: 50%;
background: var(--navy);
color: var(--white);
font-size: 0.68rem;
font-weight: 600;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
margin-top: 2px;
}
.location-card.active .card-num { background: var(--teal); }

.card-body { flex: 1; min-width: 0; }
.card-name {
font-size: 0.88rem;
font-weight: 600;
color: var(--navy);
margin-bottom: 0.2rem;
line-height: 1.35;
}
.card-name a { color: inherit; text-decoration: none; }
.card-name a:hover { color: var(--teal); }
.card-addr {
font-size: 0.78rem;
color: var(--gray-600);
line-height: 1.45;
margin-bottom: 0.3rem;
}
.card-meta {
display: flex;
gap: 0.8rem;
flex-wrap: wrap;
align-items: center;
margin-top: 0.25rem;
}
.card-phone {
font-size: 0.78rem;
color: var(--teal);
text-decoration: none;
font-weight: 500;
}
.card-phone:hover { text-decoration: underline; }
.card-tag {
font-size: 0.68rem;
padding: 0.15rem 0.5rem;
background: var(--gray-100);
color: var(--gray-600);
border-radius: 4px;
}
.card-more {
font-size: 0.76rem;
color: var(--teal);
text-decoration: none;
font-weight: 500;
margin-top: 0.3rem;
display: inline-block;
}

.no-results {
padding: 2rem 1.5rem;
text-align: center;
color: var(--gray-400);
font-size: 0.88rem;
}

/* ── RIGHT: MAP ── */
.map-panel {
position: relative;
background: var(--gray-100);
}
#map {
width: 100%;
height: 100%;
}

/* Info window styling */
.gm-style .info-window {
font-family: 'DM Sans', sans-serif;
padding: 0.5rem 0.2rem;
min-width: 200px;
}
.iw-name { font-weight: 600; color: var(--navy); font-size: 0.9rem; margin-bottom: 4px; }
.iw-addr { font-size: 0.78rem; color: var(--gray-600); margin-bottom: 6px; }
.iw-phone { font-size: 0.78rem; color: var(--teal); }
.iw-link { display: inline-block; margin-top: 6px; font-size: 0.78rem; color: var(--teal); font-weight: 500; }

/* Map overlay badge */
.map-badge {
position: absolute;
top: 14px;
right: 14px;
background: var(--white);
border-radius: var(--radius);
padding: 0.5rem 0.9rem;
box-shadow: var(--shadow-md);
font-size: 0.8rem;
color: var(--gray-600);
pointer-events: none;
}
.map-badge strong { color: var(--navy); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
.main-layout {
  grid-template-columns: 1fr;
  grid-template-rows: auto 400px;
  height: auto;
}
nav { display: none; }
}



