:root{
  /* Tropical Philippine palette — sunshine, sea, coral, palm */
  --navy:#0a2f5c; --navy-2:#124a8a;
  --sun:#ffc107; --sun-dk:#f59e0b;
  --coral:#ff5a5f; --coral-dk:#e63946;
  --sea:#00b4d8; --sea-dk:#0096c7;
  --palm:#00a86b; --palm-dk:#00875a;
  --mango:#ff8c42; --grape:#8b5cf6;
  --green:#00a86b; --green-dk:#00875a; --green-lt:#e6f9f0;
  --gold:#ffc107; --ink:#0f2233; --muted:#5f7385;
  --paper:#fff; --bg:#f0f7fb; --line:#dbe9f2;
  --r:16px; --shadow:0 2px 6px rgba(10,47,92,.08),0 8px 24px rgba(10,47,92,.07);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--ink);line-height:1.6;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased}

/* The top bar is sticky (76px), so every in-page anchor target needs a
   matching scroll offset or its heading lands underneath the bar. */
section[id],div[id].panel{scroll-margin-top:92px}
@media(max-width:760px){section[id],div[id].panel{scroll-margin-top:76px}}
a{color:var(--sea-dk);text-decoration:none}
.wrap{max-width:1400px;margin:0 auto;padding:0 22px}
.muted{color:var(--muted)}
.small{font-size:12.5px}

/* ══ TOP BAR — deep sea navy with a sunshine accent ══ */
.topbar{position:sticky;top:0;z-index:60;
  background:linear-gradient(100deg,#0a2f5c 0%,#124a8a 55%,#0a2f5c 100%);
  box-shadow:0 3px 18px rgba(10,47,92,.35)}
.topbar::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;
  background:linear-gradient(90deg,var(--sun),var(--coral),var(--sea),var(--palm),var(--sun))}
.topbar-in{display:flex;align-items:center;gap:26px;height:76px;position:relative}
.brand{display:flex;align-items:center;gap:11px;flex-shrink:0}
.brand-txt{display:flex;flex-direction:column;line-height:1.15}
.brand-txt strong{font-size:21px;font-weight:900;color:#fff;letter-spacing:-.02em}
.brand-txt strong .ai{color:var(--sun)}
.brand-txt small{font-size:11px;color:#9fc4e8;font-weight:700;letter-spacing:.04em}

.nav{display:flex;gap:24px;align-items:center;font-size:14px;font-weight:700;flex:1}
.nav a{color:#bcd8f0;padding:7px 0;border-bottom:3px solid transparent;transition:.14s}
.nav a:hover{color:#fff}
.nav a.active{color:#fff;border-bottom-color:var(--sun)}

.topbar-right{display:flex;align-items:center;gap:16px;flex-shrink:0}
.login-btn{background:linear-gradient(135deg,var(--sun),var(--mango));color:#3a2400 !important;
  padding:10px 28px;border-radius:9px;font-size:13px;font-weight:900;letter-spacing:.06em;
  transition:.14s;box-shadow:0 4px 14px rgba(255,193,7,.4)}
.login-btn:hover{transform:translateY(-1px);box-shadow:0 6px 20px rgba(255,193,7,.55)}
.sun-badge{display:flex;align-items:center;gap:8px}
.sun{font-size:23px;color:var(--sun);line-height:1;
  filter:drop-shadow(0 0 8px rgba(255,193,7,.7))}
.sun-txt{font-size:10px;color:#9fc4e8;font-weight:800;line-height:1.25;
  text-transform:uppercase;letter-spacing:.04em}
.burger{display:none;background:none;border:0;font-size:22px;color:#fff;cursor:pointer}

@media(max-width:1180px){
  .nav{display:none;position:absolute;top:76px;left:0;right:0;
    background:linear-gradient(180deg,#0a2f5c,#124a8a);
    flex-direction:column;align-items:stretch;padding:14px 22px;gap:2px;
    box-shadow:0 14px 28px rgba(0,0,0,.35)}
  .nav.open{display:flex}
  .nav a{padding:12px 0;border-bottom:1px solid rgba(255,255,255,.1)}
  .burger{display:block;margin-left:auto}
  .sun-badge{display:none}
}

/* ══ HERO — text on a clean colour field, photo as its own bright panel.
   NO overlay on the image: it keeps its real colours. ══ */
.hero{position:relative;overflow:hidden;padding:44px 0 48px;
  background:
    radial-gradient(circle at 88% 12%,rgba(255,193,7,.22),transparent 42%),
    radial-gradient(circle at 6% 88%,rgba(0,180,216,.20),transparent 46%),
    linear-gradient(135deg,#0a2f5c 0%,#124a8a 52%,#0a2f5c 100%)}
.hero-in{display:grid;grid-template-columns:1fr 1.05fr;gap:34px;align-items:center}
@media(max-width:980px){.hero-in{grid-template-columns:1fr;gap:26px}}

.hero-copy{color:#fff;max-width:600px}
.hero-eyebrow{display:inline-block;font-size:12px;font-weight:900;letter-spacing:.18em;
  color:#0a2f5c;background:var(--sun);padding:5px 14px;border-radius:999px;
  text-transform:uppercase;box-shadow:0 4px 16px rgba(255,193,7,.5)}
.hero h1{font-size:clamp(32px,4.6vw,54px);font-weight:900;letter-spacing:-.03em;
  margin:12px 0 8px;line-height:1.05}
.hero-lead{font-size:clamp(16px,2vw,22px);font-weight:800;color:var(--sun);
  margin-bottom:8px}
.hero-sub{font-size:15px;color:rgba(255,255,255,.92);line-height:1.55}

.hero-ask{display:flex;align-items:center;gap:11px;background:#fff;border-radius:999px;
  padding:8px 9px 8px 18px;margin:24px 0 14px;max-width:560px;
  box-shadow:0 16px 44px rgba(0,0,0,.3);border:2px solid var(--sun)}
.hero-ask-ico{font-size:19px;flex-shrink:0}
.hero-ask input{flex:1;border:0;outline:0;font-size:15px;font-family:inherit;
  color:var(--ink);background:transparent;min-width:0}
.hero-ask input::placeholder{color:#9aa8a1}
.hero-ask button{width:42px;height:42px;border-radius:50%;border:0;
  background:linear-gradient(135deg,var(--coral),var(--coral-dk));
  color:#fff;font-size:16px;cursor:pointer;flex-shrink:0;transition:.14s;
  box-shadow:0 4px 12px rgba(255,90,95,.45)}
.hero-ask button:hover{transform:scale(1.06)}

.hero-chips{display:flex;gap:9px;flex-wrap:wrap}
.hero-chip{background:rgba(255,255,255,.16);border:1.5px solid rgba(255,255,255,.45);
  color:#fff;border-radius:999px;padding:8px 16px;font-size:12.5px;font-weight:800;
  cursor:pointer;font-family:inherit;transition:.14s}
.hero-chip:hover{background:var(--sun);border-color:var(--sun);color:#3a2400}

/* the photo panel — full brightness, no scrim */
.hero-photo{position:relative;margin:0;border-radius:20px;overflow:hidden;
  box-shadow:0 22px 54px rgba(0,0,0,.42);border:4px solid rgba(255,255,255,.9);
  aspect-ratio:16/10;background:#0a2f5c}
.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center;
  display:block}
.hero-photo figcaption{position:absolute;left:0;right:0;bottom:0;
  padding:26px 16px 11px;font-size:11.5px;font-weight:800;color:#fff;
  background:linear-gradient(180deg,transparent,rgba(6,26,44,.82));
  letter-spacing:.02em}
@media(max-width:980px){
  .hero-photo{aspect-ratio:16/9;border-width:3px}
}

/* ══ SERVICE BAND ══ */
.svc-band{background:#fff;padding:24px 0 28px;border-bottom:1px solid var(--line)}
.svc-band-in{display:grid;grid-template-columns:1fr 300px;gap:20px;align-items:start}
@media(max-width:1100px){.svc-band-in{grid-template-columns:1fr}}

.svc-row{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
@media(max-width:1100px){.svc-row{grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){.svc-row{grid-template-columns:repeat(2,1fr)}}

.svc{border-radius:14px;padding:20px 14px;text-align:center;color:#fff;cursor:pointer;
  transition:.18s;display:flex;flex-direction:column;align-items:center;gap:7px;
  border:0;font-family:inherit;min-height:138px;justify-content:center;
  position:relative;overflow:hidden}
.svc::before{content:"";position:absolute;inset:0;
  background:radial-gradient(circle at 50% 0%,rgba(255,255,255,.28),transparent 65%)}
.svc:hover{transform:translateY(-4px) scale(1.02);
  box-shadow:0 16px 32px rgba(10,47,92,.28)}
.svc-ico{font-size:28px;line-height:1;position:relative;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.2))}
.svc h3{font-size:13.5px;font-weight:900;line-height:1.25;position:relative}
.svc .go{font-size:11.5px;font-weight:800;opacity:.95;position:relative}
.c-green{background:linear-gradient(150deg,#00c47a,#00875a)}
.c-blue{background:linear-gradient(150deg,#2b9fe8,#0a5fa8)}
.c-orange{background:linear-gradient(150deg,#ffa53d,#e8730a)}
.c-purple{background:linear-gradient(150deg,#a78bfa,#6d28d9)}
.c-red{background:linear-gradient(150deg,#ff6b70,#d62828)}
.c-teal{background:linear-gradient(150deg,#22d3ee,#0891b2)}

/* captain card */
.captain-card{background:linear-gradient(160deg,#fffdf5,#fff8e6);
  border:2px solid var(--sun);border-radius:14px;
  padding:14px;display:flex;gap:13px;box-shadow:0 6px 20px rgba(255,193,7,.22)}
.captain-photo{width:78px;height:96px;border-radius:10px;
  background:linear-gradient(160deg,#ffe9a8,#ffd166);
  display:grid;place-items:center;font-size:30px;flex-shrink:0;overflow:hidden}
.captain-body{display:flex;flex-direction:column;gap:3px;min-width:0}
.captain-body strong{font-size:13.5px;font-weight:900;line-height:1.25;color:#0a2f5c}
.captain-body small{font-size:11px;color:var(--mango);font-weight:800;
  text-transform:uppercase;letter-spacing:.04em}
.captain-body blockquote{font-size:11.5px;color:#5f4a1a;font-style:italic;
  line-height:1.4;margin:5px 0 7px}
.btn-captain{background:linear-gradient(135deg,var(--coral),var(--coral-dk));color:#fff;
  border:0;border-radius:8px;padding:9px 12px;font-size:11.5px;font-weight:900;
  cursor:pointer;font-family:inherit;transition:.14s;
  box-shadow:0 4px 12px rgba(255,90,95,.35)}
.btn-captain:hover{transform:translateY(-1px)}
.captain-link{font-size:11px;font-weight:800;color:var(--sea-dk);margin-top:6px}

/* ══ MAIN GRID ══ */
.main-grid{display:grid;grid-template-columns:1.15fr 1.15fr .85fr;gap:18px;
  padding:22px 22px 40px;align-items:start}
@media(max-width:1180px){.main-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.main-grid{grid-template-columns:1fr}}

.panel{background:#fff;border:1px solid var(--line);border-radius:var(--r);
  padding:18px;box-shadow:var(--shadow)}
.panel-head{display:flex;justify-content:space-between;align-items:center;
  gap:12px;margin-bottom:14px;flex-wrap:wrap}
.panel-head h2{font-size:15px;font-weight:900;letter-spacing:-.01em;color:#0a2f5c}
.asof{font-size:11px;color:var(--muted);font-weight:700}
.view-all{font-size:11.5px;font-weight:900;color:var(--sea-dk)}

/* glance */
.glance-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
@media(max-width:640px){.glance-grid{grid-template-columns:repeat(2,1fr)}}
.gl{border-radius:12px;padding:14px 10px;text-align:center;border:1px solid transparent}
.gl:nth-child(1){background:linear-gradient(160deg,#e6f9f0,#c9f2e0);border-color:#a7e8cc}
.gl:nth-child(2){background:linear-gradient(160deg,#e0f2fe,#c7e8fd);border-color:#9dd8f8}
.gl:nth-child(3){background:linear-gradient(160deg,#fff7e0,#ffedbf);border-color:#ffe08a}
.gl:nth-child(4){background:linear-gradient(160deg,#ffe9e9,#ffd4d4);border-color:#ffb3b3}
.gl:nth-child(5){background:linear-gradient(160deg,#f3e8ff,#e6d4ff);border-color:#d0b3ff}
.gl:nth-child(6){background:linear-gradient(160deg,#e0f7fa,#c2eff5);border-color:#9de3ec}
.gl:nth-child(7){background:linear-gradient(160deg,#fff0e0,#ffe0c2);border-color:#ffc99d}
.gl:nth-child(8){background:linear-gradient(160deg,#e8f5e9,#d0ebd3);border-color:#a8d8ae}
.gl-ico{font-size:20px;margin-bottom:5px}
.gl b{display:block;font-size:23px;font-weight:900;line-height:1.1;color:#0a2f5c}
.gl span{font-size:10.5px;color:#3d5566;font-weight:800;line-height:1.3;
  display:block;margin-top:3px}

/* announcements */
.ann-list{display:flex;flex-direction:column;gap:11px}
.ann{display:flex;gap:11px;align-items:flex-start;padding-bottom:11px;
  border-bottom:1px solid var(--line)}
.ann:last-child{border:0;padding-bottom:0}
.ann-thumb{width:52px;height:52px;border-radius:10px;flex-shrink:0;
  background:linear-gradient(150deg,#ffe9a8,#ffc107);display:grid;place-items:center;
  font-size:20px;box-shadow:0 3px 10px rgba(255,193,7,.3)}
.ann-body{flex:1;min-width:0}
.ann-body h3{font-size:12.5px;font-weight:900;line-height:1.3;margin-bottom:2px;
  color:#0a2f5c}
.ann-body time{font-size:10.5px;color:var(--muted);font-weight:700}
.tag{display:inline-block;font-size:9.5px;font-weight:900;letter-spacing:.05em;
  padding:2px 8px;border-radius:5px;margin-left:6px;vertical-align:middle}
.t-EVENT{background:#c9f2e0;color:#00693e}
.t-HEALTH{background:#c7e8fd;color:#0a5fa8}
.t-SOCIAL{background:#e6d4ff;color:#5b21b6}
.t-ASSEMBLY{background:#ffedbf;color:#8a5a00}
.t-NEWS{background:#dbe9f2;color:#3d5566}

/* quick links */
.quick-links{list-style:none;display:flex;flex-direction:column;gap:2px}
.quick-links li a{display:flex;align-items:center;gap:9px;padding:10px 11px;
  border-radius:9px;font-size:12.5px;font-weight:700;color:#2c4256;transition:.13s}
.quick-links li a:hover{background:linear-gradient(90deg,#e0f2fe,#f0f9ff);
  color:var(--sea-dk);transform:translateX(2px)}
.quick-links li a::before{content:"▸";color:var(--coral);font-weight:900;font-size:13px}

/* projects */
.proj-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
@media(max-width:900px){.proj-row{grid-template-columns:1fr}}
.proj{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;
  transition:.16s}
.proj:hover{box-shadow:0 8px 22px rgba(10,47,92,.14);transform:translateY(-2px)}
.proj-img{height:74px;display:grid;place-items:center;font-size:26px;
  background:linear-gradient(150deg,#c7e8fd,#9dd8f8)}
.proj:nth-child(2) .proj-img{background:linear-gradient(150deg,#c9f2e0,#a7e8cc)}
.proj:nth-child(3) .proj-img{background:linear-gradient(150deg,#ffedbf,#ffe08a)}
.proj-body{padding:10px 11px}
.proj-body h3{font-size:12px;font-weight:900;line-height:1.3;color:#0a2f5c}
.proj-body .zone{font-size:10.5px;color:var(--muted);font-weight:700;margin-bottom:8px}
.bar{height:8px;background:#e8f0f6;border-radius:999px;overflow:hidden}
.bar i{display:block;height:100%;border-radius:999px;transition:width .4s}
.bar i.g{background:linear-gradient(90deg,#00c47a,#00875a)}
.bar i.b{background:linear-gradient(90deg,#2b9fe8,#0a5fa8)}
.bar i.o{background:linear-gradient(90deg,#ffa53d,#e8730a)}
.proj-pct{font-size:11px;font-weight:900;text-align:right;margin-top:5px;color:#0a2f5c}

/* map */
.map-box{display:flex;flex-direction:column;gap:10px}
.map-canvas{position:relative;height:150px;border-radius:12px;overflow:hidden;
  background:
    radial-gradient(circle at 78% 22%,#7dd3fc 0%,#7dd3fc 26%,transparent 27%),
    repeating-linear-gradient(38deg,#dcf5e6,#dcf5e6 14px,#c9efd9 14px,#c9efd9 28px)}
.map-pin{position:absolute;font-size:17px;transform:translate(-50%,-50%);
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.3))}
.map-legend{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:5px 10px}
.map-legend li{display:flex;align-items:center;gap:6px;font-size:10.5px;
  color:#3d5566;font-weight:700}
.lg{width:9px;height:9px;border-radius:50%;flex-shrink:0}
.lg.hall{background:#0a5fa8} .lg.health{background:#e63946}
.lg.school{background:#f59e0b} .lg.court{background:#00a86b}
.lg.evac{background:#8b5cf6}

/* quote card */
.quote-card{background:linear-gradient(150deg,#00c47a,#00875a);border-radius:var(--r);
  padding:22px;display:flex;flex-direction:column;gap:8px;justify-content:center;
  color:#fff;box-shadow:0 8px 24px rgba(0,135,90,.3)}
.quote-card .leaf{font-size:24px}
.quote-card p{font-size:14px;font-weight:800;line-height:1.5;font-style:italic}
.quote-card cite{font-size:11.5px;color:rgba(255,255,255,.85);font-weight:800;
  font-style:normal}

/* track */
.track-form{display:flex;gap:9px}
.track-form input{flex:1;padding:11px 14px;border:2px solid var(--line);border-radius:10px;
  font-size:13.5px;font-family:inherit;background:#f7fbfd;min-width:0}
.track-form input:focus{outline:0;border-color:var(--sea);background:#fff;
  box-shadow:0 0 0 4px rgba(0,180,216,.15)}
.btn{display:inline-block;padding:11px 22px;border-radius:10px;font-size:13.5px;
  font-weight:900;border:0;cursor:pointer;transition:.14s;font-family:inherit}
.btn.primary{background:linear-gradient(135deg,var(--sea),var(--sea-dk));color:#fff;
  box-shadow:0 4px 14px rgba(0,180,216,.35)}
.btn.primary:hover{transform:translateY(-1px);box-shadow:0 6px 20px rgba(0,180,216,.5)}
.track-out{margin-top:12px}
.track-card{background:#f7fbfd;border:1px solid var(--line);border-radius:12px;padding:14px}
.track-card h3{font-size:14px;margin-bottom:9px;color:#0a2f5c}
.kv{display:grid;grid-template-columns:100px 1fr;gap:5px 12px;font-size:12.5px}
.kv dt{color:var(--muted);font-weight:800}
.kv dd{font-weight:700}
.status{display:inline-block;padding:3px 10px;border-radius:999px;font-size:11px;
  font-weight:900}
.s-PENDING{background:#ffedbf;color:#8a5a00}
.s-APPROVED{background:#c9f2e0;color:#00693e}
.s-RELEASED{background:#c7e8fd;color:#0a5fa8}
.s-REJECTED{background:#ffd4d4;color:#a4161a}

/* officials */
.off-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px}
.off{background:#f7fbfd;border:1px solid var(--line);border-radius:12px;padding:12px;
  display:flex;gap:10px;align-items:center;transition:.14s}
.off:hover{border-color:var(--sea);background:#fff}
.off-av{width:38px;height:38px;border-radius:50%;
  background:linear-gradient(150deg,#c7e8fd,#9dd8f8);
  display:grid;place-items:center;color:#0a5fa8;font-weight:900;font-size:13px;
  flex-shrink:0}
.off-role{font-size:9.5px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;
  color:var(--coral-dk)}
.off-name{font-size:12.5px;font-weight:800;line-height:1.25;color:#0a2f5c}
.off-name.tbc{color:var(--muted);font-weight:700;font-style:italic;font-size:11.5px}
.off-comm{font-size:10.5px;color:var(--muted)}

/* contact */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
@media(max-width:640px){.contact-grid{grid-template-columns:1fr}}
.contact-grid h3{font-size:13px;font-weight:900;margin-bottom:8px;color:#0a2f5c}
.contact-grid p{font-size:12.5px;color:var(--muted);margin-bottom:10px}
.hotlines{list-style:none;display:flex;flex-direction:column;gap:7px}
.hotlines li{display:flex;justify-content:space-between;font-size:12.5px;
  padding-bottom:6px;border-bottom:1px dashed var(--line)}
.hotlines li:last-child{border:0}
.hotlines b{color:var(--muted);font-weight:800}

/* footer */
.foot{background:linear-gradient(100deg,#0a2f5c,#124a8a);color:#bcd8f0;
  padding:32px 0;margin-top:10px;position:relative}
.foot::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;
  background:linear-gradient(90deg,var(--sun),var(--coral),var(--sea),var(--palm),var(--sun))}
.foot-in{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;
  align-items:flex-start}
.foot strong{color:#fff;font-size:14.5px}
.foot .muted{color:#8fb4d4}
.foot-links{display:flex;gap:18px;flex-wrap:wrap;font-size:12.5px}
.foot-links a{color:#a9cbe6}
.foot-links a:hover{color:var(--sun)}

/* modal */
.modal{position:fixed;inset:0;background:rgba(10,47,92,.65);z-index:100;
  display:grid;place-items:center;padding:20px;backdrop-filter:blur(4px)}
.modal[hidden]{display:none}
.modal-card{background:#fff;border-radius:20px;padding:26px;max-width:520px;width:100%;
  max-height:88vh;overflow:auto;position:relative;box-shadow:0 24px 60px rgba(0,0,0,.35);
  border-top:5px solid var(--sun)}
.modal-x{position:absolute;top:14px;right:16px;background:none;border:0;font-size:26px;
  color:var(--muted);cursor:pointer;line-height:1}
.modal-card h3{font-size:19px;font-weight:900;margin-bottom:4px;padding-right:30px;
  color:#0a2f5c}
.reqs{background:linear-gradient(150deg,#e6f9f0,#d0f5e4);border-radius:12px;
  padding:14px 16px;margin:14px 0 18px;border:1px solid #a7e8cc}
.reqs h4{font-size:11.5px;text-transform:uppercase;letter-spacing:.06em;
  color:#00693e;margin-bottom:7px;font-weight:900}
.reqs ul{list-style:none;display:flex;flex-direction:column;gap:5px}
.reqs li{font-size:13px;padding-left:18px;position:relative}
.reqs li::before{content:"✓";position:absolute;left:0;color:var(--palm);font-weight:900}
.form{display:flex;flex-direction:column;gap:12px}
.form label{font-size:12px;font-weight:900;color:var(--muted);
  display:flex;flex-direction:column;gap:5px;text-transform:uppercase;letter-spacing:.04em}
.form input,.form textarea{padding:11px 13px;border:2px solid var(--line);border-radius:10px;
  font-size:14px;font-family:inherit;font-weight:600;color:var(--ink);
  text-transform:none;letter-spacing:0;background:#f7fbfd}
.form input:focus,.form textarea:focus{outline:0;border-color:var(--sea);background:#fff;
  box-shadow:0 0 0 4px rgba(0,180,216,.15)}
.m-result{margin-top:14px}
.ok-box{background:linear-gradient(150deg,#c9f2e0,#a7e8cc);border:1px solid #6fd6a8;
  border-radius:12px;padding:16px;text-align:center}
.ok-box b{display:block;font-size:22px;font-weight:900;color:#00693e;letter-spacing:.04em;
  margin:6px 0}
.ok-box span{font-size:13px;color:#00875a;font-weight:700}

/* ══ Ka-Jose chat ══ */
.chat-fab{position:fixed;right:20px;bottom:20px;z-index:90;display:flex;align-items:center;
  gap:9px;background:linear-gradient(135deg,var(--coral),var(--coral-dk));color:#fff;
  border:0;border-radius:999px;padding:14px 22px;font-size:14px;font-weight:900;
  cursor:pointer;font-family:inherit;
  box-shadow:0 10px 30px rgba(255,90,95,.5);transition:.16s}
.chat-fab:hover{transform:translateY(-3px) scale(1.03);
  box-shadow:0 16px 40px rgba(255,90,95,.6)}
.chat-fab-ico{font-size:18px}
@media(max-width:520px){.chat-fab-txt{display:none}.chat-fab{padding:16px;border-radius:50%}}

.chat-panel{position:fixed;right:20px;bottom:20px;z-index:95;width:370px;
  max-width:calc(100vw - 32px);height:540px;max-height:calc(100vh - 40px);background:#fff;
  border-radius:20px;box-shadow:0 24px 60px rgba(10,47,92,.4);display:flex;
  flex-direction:column;overflow:hidden;border:1px solid var(--line)}
.chat-panel[hidden]{display:none}
.chat-head{display:flex;align-items:center;gap:11px;padding:14px 16px;
  background:linear-gradient(135deg,#0a2f5c,#124a8a);color:#fff;flex-shrink:0;
  border-bottom:3px solid var(--sun)}
.chat-avatar{width:38px;height:38px;border-radius:50%;
  background:linear-gradient(135deg,var(--sun),var(--mango));
  display:grid;place-items:center;font-weight:900;font-size:13px;flex-shrink:0;
  color:#3a2400}
.chat-id{flex:1;line-height:1.25}
.chat-id strong{display:block;font-size:14.5px}
.chat-id small{font-size:11px;color:#9fc4e8}
.chat-x{background:none;border:0;color:#fff;font-size:24px;cursor:pointer;line-height:1;
  padding:0 4px;opacity:.85}
.chat-x:hover{opacity:1}
.chat-body{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:11px;
  background:#f7fbfd}
.chat-msg{max-width:88%;padding:11px 14px;border-radius:14px;font-size:13.5px;line-height:1.55}
.chat-msg p{margin:0}
.chat-msg.bot{background:#fff;border:1px solid var(--line);align-self:flex-start;
  border-bottom-left-radius:5px;color:var(--ink)}
.chat-msg.user{background:linear-gradient(135deg,var(--sea),var(--sea-dk));color:#fff;
  align-self:flex-end;border-bottom-right-radius:5px}
.chat-msg.typing{color:var(--muted);font-style:italic}
.chat-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:2px}
.chat-chip{background:#fff;border:1.5px solid #9dd8f8;border-radius:999px;
  padding:7px 13px;font-size:12px;font-weight:800;color:var(--sea-dk);cursor:pointer;
  font-family:inherit;transition:.13s}
.chat-chip:hover{background:var(--sea);border-color:var(--sea);color:#fff}
.chat-input{display:flex;gap:8px;padding:11px 13px;border-top:1px solid var(--line);
  background:#fff;flex-shrink:0}
.chat-input input{flex:1;padding:10px 14px;border:2px solid var(--line);border-radius:999px;
  font-size:13.5px;font-family:inherit;background:#f7fbfd}
.chat-input input:focus{outline:0;border-color:var(--sea);
  box-shadow:0 0 0 4px rgba(0,180,216,.15)}
.chat-input button{width:40px;height:40px;border-radius:50%;
  background:linear-gradient(135deg,var(--coral),var(--coral-dk));
  color:#fff;border:0;font-size:15px;cursor:pointer;flex-shrink:0}
.chat-input button:hover{transform:scale(1.06)}
.chat-input button:disabled{opacity:.5;cursor:not-allowed}
.chat-note{font-size:10.5px;color:var(--muted);text-align:center;padding:0 0 9px;
  background:#fff;flex-shrink:0}

/* ══ PEOPLE BAND ══ */
.people-band{background:#fff;padding:46px 0;border-bottom:1px solid var(--line)}
.people-in{display:grid;grid-template-columns:1.05fr 1fr;gap:38px;align-items:center}
@media(max-width:900px){.people-in{grid-template-columns:1fr;gap:24px}}

.people-photo{margin:0;border-radius:20px;overflow:hidden;
  box-shadow:0 18px 44px rgba(10,47,92,.22);aspect-ratio:4/3;background:#e8f0f6}
.people-photo img{width:100%;height:100%;object-fit:cover;display:block}

.people-copy{max-width:520px}
.people-eyebrow{display:inline-block;font-size:11.5px;font-weight:900;letter-spacing:.16em;
  color:#00693e;background:#c9f2e0;padding:5px 14px;border-radius:999px;
  text-transform:uppercase}
.people-copy h2{font-size:clamp(24px,3.2vw,36px);font-weight:900;letter-spacing:-.02em;
  color:#0a2f5c;margin:12px 0 10px;line-height:1.15}
.people-copy p{font-size:15px;color:#3d5566;line-height:1.65}
.people-stats{display:flex;gap:26px;margin-top:22px;flex-wrap:wrap}
.pstat b{display:block;font-size:26px;font-weight:900;line-height:1.1;color:var(--coral-dk)}
.pstat span{font-size:11px;color:var(--muted);font-weight:800;text-transform:uppercase;
  letter-spacing:.06em}

/* project card photos */
.proj-img{height:118px;overflow:hidden;background:#e8f0f6}
.proj-img img{width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .35s}
.proj:hover .proj-img img{transform:scale(1.06)}

/* official photos */
.off-photo{width:44px;height:44px;border-radius:50%;overflow:hidden;flex-shrink:0;
  background:linear-gradient(150deg,#c7e8fd,#9dd8f8);display:grid;place-items:center;
  font-weight:900;font-size:14px;color:#0a5fa8}
.off-photo img{width:100%;height:100%;object-fit:cover;display:block}

/* captain photo — real portrait fills the frame */
.captain-photo{overflow:hidden;padding:0}
.captain-photo img{width:100%;height:100%;object-fit:cover;object-position:center 20%;
  display:block}

/* captain photo - real portrait fills the frame */
.captain-photo{overflow:hidden;padding:0}
.captain-photo img{width:100%;height:100%;object-fit:cover;object-position:center 20%;display:block}


/* emergency hotlines - clickable */
.hot-num{font-weight:900;color:var(--coral-dk);text-decoration:none;white-space:nowrap}
.hot-num:hover{text-decoration:underline}
.hot-tbc{color:var(--muted);font-weight:700;font-size:11.5px}
.cap-tel{display:inline-block;margin-top:5px;font-size:11.5px;font-weight:900;color:var(--coral-dk);text-decoration:none}
.cap-tel:hover{text-decoration:underline}


/* hotline rows - label above number, no cramping */
.hotlines li{display:flex;flex-direction:column;gap:2px;align-items:flex-start;padding-bottom:9px}
.hot-label{font-size:11.5px;color:var(--muted);font-weight:700;line-height:1.35}
.hot-num{font-size:14px;font-weight:900;color:var(--coral-dk);text-decoration:none;letter-spacing:.01em}
.hot-num:hover{text-decoration:underline}
.contact-grid{grid-template-columns:1fr 1fr;gap:22px}
@media(max-width:760px){.contact-grid{grid-template-columns:1fr}}


.hotlines li{display:flex;flex-direction:column;gap:2px;align-items:flex-start;padding-bottom:9px}
.hot-label{font-size:11.5px;color:var(--muted);font-weight:700;line-height:1.35}
.hot-num{font-size:14px;font-weight:900;color:var(--coral-dk);text-decoration:none}
.hot-num:hover{text-decoration:underline}


.hotlines li{display:flex;flex-direction:column;gap:2px;align-items:flex-start;padding-bottom:9px}
.hot-label{font-size:11.5px;color:var(--muted);font-weight:700;line-height:1.35}
.hot-num{font-size:14px;font-weight:900;color:var(--coral-dk);text-decoration:none}
.hot-num:hover{text-decoration:underline}

/* ══ GOV.PH STANDARD FOOTER ══ */
.govph{background:#0a2f5c;border-top:1px solid rgba(255,255,255,.12);
  padding:30px 0 34px;margin-top:0}
.govph-in{display:grid;grid-template-columns:1fr 1fr 1fr;gap:34px;align-items:start}
@media(max-width:900px){.govph-in{grid-template-columns:1fr;gap:24px}}
.govph-col h4{font-size:13px;font-weight:900;color:#fff;margin-bottom:9px;
  letter-spacing:.01em}
.govph-col p{font-size:12px;color:#9fc4e8;line-height:1.6;margin-bottom:9px}
.govph-col ul{list-style:none;display:flex;flex-direction:column;gap:5px}
.govph-col ul li a{font-size:12px;color:#bcd8f0;font-weight:600;
  display:inline-block;transition:.13s}
.govph-col ul li a:hover{color:var(--sun);text-decoration:underline}
.govph-col ul li a::before{content:"› ";color:var(--sun);font-weight:900}
/* ══ LAYOUT FIX — kill the dead space ══ */
/* Officials get their own full-width row with a 4-up grid instead of
   one narrow column of 11 stacked cards. */
.officials-panel{grid-column:1 / -1}
.officials-panel .off-grid{grid-template-columns:repeat(4,1fr);gap:12px}
@media(max-width:1100px){.officials-panel .off-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:820px){.officials-panel .off-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.officials-panel .off-grid{grid-template-columns:1fr}}

/* Track + contact share the row above officials */
.track-panel{grid-column:span 1}
.contact-panel{grid-column:span 2}
@media(max-width:1180px){
  .track-panel{grid-column:span 1}
  .contact-panel{grid-column:span 1}
}
@media(max-width:760px){
  .track-panel,.contact-panel{grid-column:1 / -1}
}

/* Track panel: fill its height with the result area */
.track-panel{display:flex;flex-direction:column}
.track-panel .track-out{flex:1}
.track-hint{font-size:12px;color:var(--muted);line-height:1.6;margin-top:12px;
  padding-top:12px;border-top:1px dashed var(--line)}
.track-hint b{color:#0a2f5c}

/* Contact panel: two columns inside so it fills the wider span */
.contact-panel .contact-grid{grid-template-columns:1fr 1fr;gap:24px}
@media(max-width:640px){.contact-panel .contact-grid{grid-template-columns:1fr}}
/* ══ FILL THE REMAINING GAPS ══ */
/* Quote card stretches to match the map panel beside it */
.quote-card{align-self:stretch;justify-content:space-between;gap:14px}
.quote-card .leaf{font-size:26px}
.quote-card p{font-size:15px;line-height:1.55}
.quote-card .q-foot{display:flex;flex-direction:column;gap:3px}
.quote-card .q-stat{font-size:11px;font-weight:800;color:rgba(255,255,255,.9);
  text-transform:uppercase;letter-spacing:.06em}
.quote-card .q-big{font-size:30px;font-weight:900;line-height:1;color:#fff}

/* Quick links: tighter rows so 8 fit without a big empty tail */
.links-panel .quick-links li a{padding:8px 11px;font-size:12.5px}
.links-panel{display:flex;flex-direction:column}
.links-panel .quick-links{flex:1;justify-content:space-between}

/* Glance: let the tiles fill the panel height */
.glance{display:flex;flex-direction:column}
.glance-grid{flex:1;align-content:stretch}
.gl{display:flex;flex-direction:column;justify-content:center}

/* Announcements: same treatment */
.ann-panel{display:flex;flex-direction:column}
.ann-list{flex:1;justify-content:space-between}
/* ══ OFFICIAL BARANGAY SEAL ══ */
.seal-img{width:44px;height:44px;border-radius:50%;object-fit:cover;flex-shrink:0;
  background:#fff;box-shadow:0 0 0 2px rgba(255,255,255,.35)}
.hero-seal-row{display:flex;align-items:center;gap:14px;margin-bottom:4px}
.hero-seal{width:76px;height:76px;border-radius:50%;object-fit:cover;flex-shrink:0;
  background:#fff;box-shadow:0 6px 20px rgba(0,0,0,.35),0 0 0 3px rgba(255,255,255,.5)}
@media(max-width:640px){
  .hero-seal{width:58px;height:58px}
  .seal-img{width:38px;height:38px}
}
.foot-brand{display:flex;align-items:center;gap:12px}
.foot-seal{width:52px;height:52px;border-radius:50%;object-fit:cover;flex-shrink:0;
  background:#fff;box-shadow:0 0 0 2px rgba(255,255,255,.25)}
/* emergency banners */
.alert-stack{display:flex;flex-direction:column}
.alert-banner{display:flex;gap:13px;align-items:flex-start;padding:13px 22px;font-size:13.5px}
.alert-banner.danger{background:linear-gradient(100deg,#b42318,#e63946);color:#fff}
.alert-banner.warn{background:linear-gradient(100deg,#f59e0b,#ffc107);color:#3d2b00}
.alert-banner.info{background:linear-gradient(100deg,#0096c7,#00b4d8);color:#fff}
.alert-ico{font-size:22px;line-height:1;flex-shrink:0}
.alert-body{display:flex;flex-direction:column;gap:2px;min-width:0}
.alert-body strong{font-size:14.5px;font-weight:900;line-height:1.3}
.alert-meta{font-size:12px;font-weight:700;opacity:.92}
.alert-do{font-size:12.5px;font-weight:800;margin-top:3px;padding:4px 9px;border-radius:6px;background:rgba(255,255,255,.22);align-self:flex-start}
.alert-src{font-size:10.5px;font-weight:700;opacity:.8;margin-top:3px}
@media(max-width:760px){.alert-banner{padding:11px 16px;font-size:12.5px}.alert-body strong{font-size:13px}}
