*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; }
body { font-family: "Montserrat", sans-serif; background: #fff; color: #373736; line-height: 1.6; margin: 0; padding: 0; display: flex; flex-direction: column; min-height: 100vh; overflow-x: hidden; }
/* County Directory (below map) */
.county-directory { max-width: 900px; margin: 30px auto; padding: 0 20px; font-family: 'Montserrat', sans-serif; }
.county-directory h2 { font-size: 24px; margin-bottom: 20px; color: #333; }
.county-card { background: #fff; border-radius: 10px; padding: 20px 24px; margin-bottom: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.county-card-link { font-size: 20px; font-weight: 600; color: #017EC1; text-decoration: none; }
.county-card-link:hover { text-decoration: underline; }
.county-card-count { color: #999; font-size: 14px; margin-left: 8px; }
.county-card-towns { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.county-card-towns a { font-size: 14px; color: #017EC1; text-decoration: none; background: #f0f7fc; padding: 4px 12px; border-radius: 20px; }
.county-card-towns a:hover { text-decoration: underline; }

/* Footer */
.site-footer { background: #1a1a2e; color: #fff; font-family: 'Montserrat', sans-serif; padding: 40px 0 0; margin-top: 40px; }
.footer-container { max-width: 1290px; margin: 0 auto; padding: 0 15px; }
.footer-main { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand-name { font-weight: 600; font-size: 16px; }
.footer-brand-name a { color: #fff; text-decoration: none; }
.social-icons { display: flex; gap: 12px; margin-top: 8px; }
.social-icons a { color: #fff; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { color: #fff; text-decoration: none; font-size: 14px; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.15); margin: 20px 0 0; }
.footer-legal { max-width: 1290px; margin: 0 auto; padding: 15px 15px; }
.footer-legal p { font-size: 12px; color: rgba(255,255,255,0.6); margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* Header */
.site-header { background: #ffffff; box-shadow: 0 0 10px rgba(0,0,0,0.1); padding: 15px 0; position: relative; z-index: 100; flex-shrink: 0; }
.site-header .container { max-width: 1290px; margin: 0 auto; padding: 0 15px; display: flex; justify-content: space-between; align-items: center; }
.header-logo img { max-width: 110px; height: auto; }
.header-nav { display: flex; align-items: center; gap: 20px; }
.header-nav a { font-size: 14px; font-weight: 500; color: #000; padding: 8px 12px; }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 10px; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: #000; margin: 5px 0; }

/* Map container */
.map-container { position: relative; height: 70vh; min-height: 400px; max-height: 700px; width: 100%; max-width: 100vw; overflow: hidden; }
#branches-map { width: 100%; height: 100%; }

/* InfoWindow styling */
.branch-info-window { font-family: "Montserrat", sans-serif; padding: 5px; min-width: 200px; }
.branch-info-window h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px 0; color: #373736; }
.branch-info-window p { font-size: 14px; margin: 0 0 12px 0; color: #666; line-height: 1.4; }
.branch-info-window .btn { display: inline-block; background: #017EC1; color: #fff; font-size: 13px; font-weight: 600; padding: 10px 16px; border-radius: 8px; text-decoration: none; transition: background 0.3s; }
.branch-info-window .btn:hover { background: #015a8c; }

/* Loading state */
.map-loading { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: #666; }
.map-loading p { font-size: 16px; }

/* Responsive */
@media (max-width: 1024px) {
    .mobile-menu-btn { display: block; }
    .header-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
    .header-nav.active { display: flex; }
}
