:root{
  --green:#16A34A; --green2:#22C55E; --green-dark:#15803D; --green-bg:#F0FDF4;
  --bg:#FFFFFF; --section:#F8FAFC; --text:#111827; --muted:#6B7280; --border:#E5E7EB;
  --radius:20px; --radius-lg:28px;
  --shadow-sm:0 1px 3px rgba(16,24,40,.06),0 1px 2px rgba(16,24,40,.04);
  --shadow:0 8px 30px rgba(16,24,40,.08);
  --shadow-lg:0 20px 60px rgba(16,24,40,.12);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--text);background:var(--bg);line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%}
.icon{width:20px;height:20px;flex:none}
.container{max-width:1280px;margin:0 auto;padding-left:32px;padding-right:32px}
::selection{background:#bbf7d0}

/* ---------- Navbar ---------- */
.navbar{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.97);border-bottom:1px solid var(--border)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:66px;gap:20px}
.brand{display:flex;align-items:center;gap:10px}
.brand-icon{width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,var(--green),var(--green-dark));display:flex;align-items:center;justify-content:center;color:#fff}
.brand-icon .icon{width:24px;height:24px}
.brand-text{display:flex;flex-direction:column;line-height:1.15}
.brand-name{font-size:20px;font-weight:800;letter-spacing:-.02em}
.brand-name span{color:var(--green)}
.brand-tag{font-size:10.5px;color:var(--muted);letter-spacing:.14em;text-transform:uppercase;font-weight:600}
.nav-links{display:flex;gap:6px;align-items:center}
.nav-links a{padding:8px 14px;border-radius:10px;font-size:14.5px;font-weight:500;color:#374151;transition:.18s}
.nav-links a:hover{background:var(--green-bg);color:var(--green-dark)}
.nav-links a.active{color:var(--green-dark);background:var(--green-bg);font-weight:600}
.nav-cta{display:flex;gap:10px;align-items:center}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600;font-size:14.5px;border-radius:12px;padding:11px 20px;cursor:pointer;border:1px solid transparent;transition:.18s;font-family:inherit}
.btn-outline{border-color:var(--border);background:#fff;color:var(--text)}
.btn-outline:hover{border-color:var(--green);color:var(--green-dark);background:var(--green-bg)}
.btn-green{background:var(--green);color:#fff;box-shadow:0 4px 14px rgba(22,163,74,.25)}
.btn-green:hover{background:var(--green-dark)}
.btn-ghost-green{background:#fff;color:var(--green-dark);border-color:#bbf7d0}
.btn-ghost-green:hover{background:var(--green-bg)}
.btn-lg{padding:12px 22px;font-size:15px;border-radius:13px}
.hamburger{display:none;background:none;border:none;cursor:pointer;color:var(--text);padding:8px}
.hamburger .icon{width:26px;height:26px}

/* ---------- Hero ---------- */
.hero{position:relative;overflow:hidden;background:linear-gradient(160deg,#F0FDF4 0%,#FFFFFF 45%,#ECFDF5 100%)}
.hero-inner{display:grid;grid-template-columns:1.1fr .8fr 1fr;gap:36px;align-items:center;padding-top:48px;padding-bottom:60px;position:relative}
.hero h1{font-size:clamp(28px,2.9vw,42px);font-weight:800;letter-spacing:-.03em;line-height:1.14}
.hero h1 .accent{color:var(--green)}
.hero-sub{margin:14px 0 24px;color:var(--muted);font-size:15.5px;max-width:430px}
.hero-ctas{display:flex;gap:12px;flex-wrap:wrap}
.hero-search-wrap{display:flex;justify-content:center}
.hero-search{width:232px;height:232px;border-radius:50%;background:#fff;box-shadow:0 14px 40px rgba(16,24,40,.1),0 0 0 12px rgba(255,255,255,.5),0 0 0 1px var(--border);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;cursor:pointer;transition:box-shadow .2s;position:relative}
.hero-search:hover{box-shadow:0 18px 50px rgba(22,163,74,.16),0 0 0 12px rgba(255,255,255,.6),0 0 0 1px #BBF7D0}
.hero-search .icon{width:44px;height:44px;color:var(--green)}
.hero-search p{font-size:13.5px;color:#374151;font-weight:500;max-width:160px;line-height:1.4}
.hero-search .dot{position:absolute;width:10px;height:10px;border-radius:50%;background:var(--green2)}
.hero-search .dot.d1{top:26px;left:16px}
.hero-search .dot.d2{bottom:36px;right:10px}
.hero-art{position:relative;min-height:280px;display:flex;align-items:flex-end;justify-content:center}
.hero-art svg{width:100%;height:auto}

/* ---------- Feature strip ---------- */
.feature-strip{margin-top:-34px;position:relative;z-index:5}
.strip-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);display:grid;grid-template-columns:repeat(6,1fr);overflow:hidden}
.strip-item{display:flex;gap:12px;align-items:center;padding:20px 18px;border-right:1px solid var(--border)}
.strip-item:last-child{border-right:none}
.strip-icon{width:44px;height:44px;border-radius:12px;background:var(--green-bg);color:var(--green);display:flex;align-items:center;justify-content:center;flex:none}
.strip-icon .icon{width:22px;height:22px}
.strip-item h4{font-size:14px;font-weight:700}
.strip-item p{font-size:12px;color:var(--muted);line-height:1.35}

/* ---------- Sections ---------- */
.section{padding:56px 0}
.section.alt{background:var(--section)}
.section-head{text-align:center;max-width:620px;margin:0 auto 38px}
.section-head .eyebrow{display:inline-flex;align-items:center;gap:8px;background:var(--green-bg);color:var(--green-dark);font-size:13px;font-weight:600;padding:6px 14px;border-radius:999px;margin-bottom:14px}
.section-head .eyebrow .icon{width:15px;height:15px}
.section-head h2{font-size:clamp(26px,2.6vw,36px);font-weight:800;letter-spacing:-.02em}
.section-head p{color:var(--muted);margin-top:10px;font-size:16px}

/* ---------- Card ---------- */
.card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}
.card-pad{padding:26px}
.card h3{font-size:17px;font-weight:700;margin-bottom:18px}

/* ---------- Home 3-col ---------- */
.home-grid{display:grid;grid-template-columns:300px 340px 1fr;gap:24px;align-items:stretch}
.cat-list{display:flex;flex-direction:column;gap:6px}
.cat-item{display:flex;align-items:center;gap:12px;padding:12px 12px;border-radius:14px;cursor:pointer;transition:.15s;border:1px solid transparent}
.cat-item:hover{background:var(--green-bg);border-color:#bbf7d0}
.cat-item .cat-icon{width:38px;height:38px;border-radius:10px;background:var(--green-bg);color:var(--green);display:flex;align-items:center;justify-content:center;flex:none}
.cat-item .cat-icon .icon{width:19px;height:19px}
.cat-item span{flex:1;font-size:14.5px;font-weight:600}
.cat-item .icon.chev{width:17px;height:17px;color:#9CA3AF}
.official-row{display:flex;align-items:center;gap:12px;padding:13px 4px;border-bottom:1px solid #F1F5F9}
.official-row:last-of-type{border-bottom:none}
.avatar{width:46px;height:46px;border-radius:50%;flex:none;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:15px;color:#fff;background:linear-gradient(135deg,#22C55E,#15803D);border:2px solid #DCFCE7;overflow:hidden}
.avatar.lg{width:84px;height:84px;font-size:26px;border-width:3px}
.avatar.has-photo{background:#F1F5F9}
.avatar img{width:100%;height:100%;object-fit:cover;object-position:center top;border-radius:50%}
.official-info{flex:1;min-width:0}
.official-info .name{font-size:14.5px;font-weight:700;display:flex;align-items:center;gap:6px}
.official-info .name .icon{width:15px;height:15px;color:var(--green)}
.official-info .meta{font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.call-btn{width:38px;height:38px;border-radius:50%;border:1px solid #BBF7D0;background:var(--green-bg);color:var(--green-dark);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.15s;flex:none}
.call-btn:hover{background:var(--green);color:#fff}
.call-btn .icon{width:17px;height:17px}
.map-card{display:flex;flex-direction:column;overflow:hidden}
.map-card .map-holder{flex:1;min-height:420px;border-radius:16px;overflow:hidden;position:relative}
#homeMap,#profileMap,#findMap{width:100%;height:100%;min-height:420px;z-index:1}

/* ---------- Find representative band ---------- */
.find-band{background:linear-gradient(120deg,#F0FDF4, #F8FAFC)}
.find-band-inner{display:grid;grid-template-columns:1fr 1fr 1fr;gap:22px;align-items:center;padding:36px;border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff;box-shadow:var(--shadow)}
.find-band-inner h3{font-size:22px;font-weight:800;letter-spacing:-.01em}
.find-band-inner>div>p{color:var(--muted);font-size:14px;margin-top:8px}
.find-option{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--border);border-radius:18px;padding:16px 18px;cursor:pointer;transition:border-color .15s,box-shadow .15s;box-shadow:var(--shadow-sm)}
.find-option:hover{border-color:var(--green);box-shadow:0 10px 30px rgba(22,163,74,.12)}
.find-option .fo-icon{width:46px;height:46px;border-radius:50%;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;flex:none}
.find-option .fo-icon.light{background:var(--green-bg);color:var(--green-dark)}
.find-option h4{font-size:15.5px;font-weight:700}
.find-option p{font-size:13px;color:var(--muted)}
.find-option .icon.chev{margin-left:auto;color:#9CA3AF}

/* ---------- How it works ---------- */
.how-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.how-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:28px 22px;text-align:center;position:relative;box-shadow:var(--shadow-sm);transition:box-shadow .15s}
.how-card:hover{box-shadow:var(--shadow)}
.how-num{position:absolute;top:16px;left:18px;font-size:13px;font-weight:800;color:#fff;background:var(--green);width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.how-icon{width:62px;height:62px;margin:6px auto 16px;border-radius:18px;background:var(--green-bg);color:var(--green);display:flex;align-items:center;justify-content:center}
.how-icon .icon{width:28px;height:28px}
.how-card h4{font-size:16px;font-weight:700;margin-bottom:6px}
.how-card p{font-size:13.5px;color:var(--muted)}

/* ---------- Stats ---------- */
.stats-band{background:linear-gradient(135deg,var(--green-dark),var(--green));border-radius:var(--radius-lg);padding:40px 28px;display:grid;grid-template-columns:repeat(4,1fr);gap:20px;color:#fff;text-align:center;box-shadow:0 18px 44px rgba(22,163,74,.28)}
.stat h3{font-size:clamp(28px,2.6vw,38px);font-weight:800;letter-spacing:-.02em}
.stat p{opacity:.9;font-size:14.5px;font-weight:500}

/* ---------- Footer ---------- */
footer{background:#0F172A;color:#CBD5E1;padding:60px 0 30px;margin-top:80px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;margin-bottom:40px}
.footer-grid h5{color:#fff;font-size:14px;font-weight:700;margin-bottom:16px;text-transform:uppercase;letter-spacing:.08em}
.footer-grid a{display:block;font-size:14px;color:#94A3B8;padding:5px 0;transition:.15s}
.footer-grid a:hover{color:var(--green2)}
.footer-brand p{font-size:14px;color:#94A3B8;margin-top:14px;max-width:300px}
.social-row{display:flex;gap:10px;margin-top:18px}
.social-row a{width:38px;height:38px;border-radius:10px;background:#1E293B;display:flex;align-items:center;justify-content:center;color:#94A3B8;padding:0}
.social-row a:hover{background:var(--green);color:#fff}
.social-row .icon{width:17px;height:17px}
.footer-bottom{border-top:1px solid #1E293B;padding-top:24px;display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#64748B;flex-wrap:wrap;gap:10px}

/* ---------- Directory page ---------- */
.page-hero{background:linear-gradient(160deg,#F0FDF4,#FFF);padding:52px 0 40px;border-bottom:1px solid var(--border)}
.page-hero h1{font-size:clamp(28px,3vw,40px);font-weight:800;letter-spacing:-.02em}
.page-hero p{color:var(--muted);margin-top:8px;max-width:560px}
.filter-bar{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.filter-bar select,.filter-bar input{padding:12px 16px;border:1px solid var(--border);border-radius:12px;font-family:inherit;font-size:14px;background:#fff;color:var(--text);outline:none;min-width:170px}
.filter-bar input{flex:1;min-width:240px}
.filter-bar select:focus,.filter-bar input:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(22,163,74,.12)}
.dir-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:34px}
.rep-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow-sm);transition:box-shadow .15s,border-color .15s;display:flex;flex-direction:column;gap:14px}
.rep-card:hover{box-shadow:var(--shadow);border-color:#BBF7D0}
.rep-head{display:flex;gap:14px;align-items:center}
.rep-head .name{font-weight:700;font-size:16px;display:flex;align-items:center;gap:6px}
.rep-head .name .icon{width:16px;height:16px;color:var(--green)}
.pos-badge{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;background:var(--green-bg);color:var(--green-dark);padding:4px 10px;border-radius:999px;margin-top:3px}
.rep-meta{font-size:13.5px;color:var(--muted);display:flex;flex-direction:column;gap:6px}
.rep-meta div{display:flex;gap:8px;align-items:center}
.rep-meta .icon{width:15px;height:15px;color:var(--green)}
.rep-actions{display:flex;gap:10px;margin-top:auto}
.rep-actions .btn{flex:1;padding:10px 12px;font-size:13.5px}
.empty-state{text-align:center;padding:70px 20px;color:var(--muted)}
.empty-state .icon{width:44px;height:44px;color:#CBD5E1;margin-bottom:12px}

/* ---------- Profile page ---------- */
.profile-wrap{display:grid;grid-template-columns:380px 1fr;gap:24px;margin-top:30px;align-items:start}
.profile-card{position:sticky;top:96px}
.profile-card .top{display:flex;flex-direction:column;align-items:center;text-align:center;padding:34px 26px 22px;border-bottom:1px solid var(--border)}
.profile-card .top h2{font-size:21px;font-weight:800;margin-top:14px;display:flex;align-items:center;gap:8px}
.profile-card .top h2 .icon{width:19px;height:19px;color:var(--green)}
.detail-list{padding:20px 26px;display:flex;flex-direction:column;gap:14px}
.detail-list .row{display:flex;gap:12px;align-items:flex-start;font-size:14px}
.detail-list .row .icon{width:17px;height:17px;color:var(--green);margin-top:3px}
.detail-list .row b{display:block;font-size:12px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.06em}
.profile-actions{display:flex;gap:10px;padding:0 26px 26px}
.profile-actions .btn{flex:1}

/* ---------- Find page ---------- */
.find-panel{max-width:760px;margin:0 auto}
.big-search{display:flex;gap:10px;background:#fff;border:1px solid var(--border);border-radius:18px;padding:10px;box-shadow:var(--shadow)}
.big-search input{flex:1;border:none;outline:none;font-family:inherit;font-size:16px;padding:10px 14px;background:transparent}
.big-search .btn{border-radius:12px}
.or-divider{display:flex;align-items:center;gap:14px;margin:22px 0;color:#9CA3AF;font-size:13px;font-weight:600}
.or-divider::before,.or-divider::after{content:"";flex:1;height:1px;background:var(--border)}
.loc-btn{width:100%;justify-content:center}
.result-block{margin-top:36px;display:none}
.result-loc{display:flex;align-items:center;gap:10px;background:var(--green-bg);border:1px solid #BBF7D0;border-radius:14px;padding:14px 18px;font-size:14.5px;color:var(--green-dark);font-weight:600;margin-bottom:22px}
.result-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ai-answer{background:linear-gradient(135deg,#F0FDF4,#fff);border:1px solid #BBF7D0;border-radius:var(--radius);padding:22px 24px;margin:22px 0;font-size:14.5px}
.ai-answer .ai-head{display:flex;align-items:center;gap:8px;font-weight:700;color:var(--green-dark);margin-bottom:8px;font-size:14px}
.ai-answer .ai-head .icon{width:17px;height:17px}
.spinner{width:22px;height:22px;border:3px solid #BBF7D0;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite;display:inline-block;vertical-align:middle}
@keyframes spin{to{transform:rotate(360deg)}}
.notice{font-size:12.5px;color:var(--muted);text-align:center;margin-top:26px}

/* ---------- Modal search ---------- */
.modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.55);z-index:2000;display:none;align-items:flex-start;justify-content:center;padding:100px 20px 20px}
.modal-backdrop.open{display:flex}
.modal{background:#fff;border-radius:var(--radius);width:100%;max-width:640px;box-shadow:var(--shadow-lg);overflow:hidden}
.modal .m-head{display:flex;gap:10px;align-items:center;padding:16px 20px;border-bottom:1px solid var(--border)}
.modal .m-head .icon{color:var(--green)}
.modal .m-head input{flex:1;border:none;outline:none;font-size:16px;font-family:inherit}
.modal .m-close{background:none;border:none;cursor:pointer;color:var(--muted);padding:6px}
.modal .m-body{max-height:420px;overflow-y:auto;padding:10px}
.m-result{display:flex;gap:12px;align-items:center;padding:12px 14px;border-radius:12px;cursor:pointer}
.m-result:hover{background:var(--green-bg)}
.m-result .m-info{flex:1}
.m-result .m-info b{font-size:14.5px}
.m-result .m-info span{display:block;font-size:12.5px;color:var(--muted)}

/* ---------- Leaflet popup ---------- */
.leaflet-popup-content-wrapper{border-radius:16px;box-shadow:var(--shadow-lg)}
.map-pop{min-width:210px;font-family:'Inter',sans-serif}
.map-pop .mp-uc{font-weight:800;font-size:15px}
.map-pop .mp-sub{color:var(--muted);font-size:12.5px;border-bottom:1px solid var(--border);padding-bottom:8px;margin-bottom:8px}
.map-pop .mp-role{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-weight:600}
.map-pop .mp-name{font-weight:700;font-size:14px;margin-bottom:4px}
.map-pop .mp-phone{display:flex;align-items:center;gap:6px;color:var(--green-dark);font-size:13px;font-weight:600;margin:6px 0 10px}
.map-pop .mp-phone .icon{width:14px;height:14px}
.map-pop .btn{width:100%;padding:9px 12px;font-size:13px}

/* ---------- Responsive ---------- */
@media (max-width:1080px){
  .hero-inner{grid-template-columns:1fr 1fr;padding-top:40px;padding-bottom:50px}
  .hero-art{display:none}
  .strip-card{grid-template-columns:repeat(3,1fr)}
  .strip-item:nth-child(3n){border-right:none}
  .strip-item{border-bottom:1px solid var(--border)}
  .home-grid{grid-template-columns:1fr 1fr}
  .map-card{grid-column:1/-1}
  .dir-grid{grid-template-columns:repeat(2,1fr)}
  .how-grid{grid-template-columns:repeat(2,1fr)}
  .find-band-inner{grid-template-columns:1fr}
  .profile-wrap{grid-template-columns:1fr}
  .profile-card{position:static}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  .nav-links{display:none;position:absolute;top:72px;left:0;right:0;background:#fff;flex-direction:column;align-items:stretch;padding:14px;border-bottom:1px solid var(--border);box-shadow:var(--shadow)}
  .nav-links.open{display:flex}
  .nav-cta .btn-outline{display:none}
  .hamburger{display:block}
  .hero-inner{grid-template-columns:1fr;text-align:center}
  .hero-sub{margin-inline:auto}
  .hero-ctas{justify-content:center}
  .strip-card{grid-template-columns:1fr 1fr}
  .home-grid{grid-template-columns:1fr}
  .dir-grid{grid-template-columns:1fr}
  .how-grid{grid-template-columns:1fr}
  .stats-band{grid-template-columns:1fr 1fr}
  .result-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
}
