/* Modern Civic Pro Skin (full replacement) */
:root{
  --bg:#ffffff;
  --page:#fbfcff;
  --surface:#ffffff;
  --surface2:#eef2f7;
  --text:#121826;
  --muted:#5b6777;
  --border:#d7deea;

  --primary:#1F2A44;
  --link:#0b5bd3;
  --accent:#2FA4A9;

  --shadow:0 12px 30px rgba(18,24,38,.10);
  --shadow2:0 4px 14px rgba(18,24,38,.08);

  --radius:18px;
  --radius2:12px;
  --max:1180px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:linear-gradient(180deg, var(--bg), var(--page));
}

a{color:var(--link); text-decoration:none}
a:hover{text-decoration:underline}

.container{max-width:var(--max); margin:0 auto; padding:0 16px}

.skip-link{position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;}
.skip-link:focus{
  left:16px; top:16px; width:auto; height:auto;
  padding:10px 12px; background:var(--surface);
  border:1px solid var(--border); border-radius:12px; box-shadow:var(--shadow2);
}

/* Header */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.utility-bar{
  border-bottom:1px solid var(--border);
  background:linear-gradient(180deg, #ffffff, #fbfcff);
}
.utility-row{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:10px 0; color:var(--muted); font-size:13px;
}
.utility-row a{color:var(--muted)}
.utility-pill{
  display:inline-flex; gap:8px; align-items:center;
  background:var(--surface2); border:1px solid var(--border);
  padding:6px 10px; border-radius:999px;
}

.header-row{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:14px 0;
}
.brand{display:flex; align-items:center; gap:12px; color:var(--primary)}
.brand-seal{width:44px; height:44px; object-fit:contain}
.brand-text{line-height:1.05}
.brand-title{font-weight:900; font-size:16px; letter-spacing:-.01em}
.brand-sub{display:block; font-size:12px; color:var(--muted)}

.nav{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.nav a{
  color:var(--primary);
  font-weight:800; font-size:14px;
  padding:8px 10px; border-radius:12px;
}
.nav a:hover{background:rgba(31,42,68,.06); text-decoration:none}
.nav a.active{background:rgba(47,164,169,.16); color:var(--primary)}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid transparent;
  background:var(--primary);
  color:#fff !important;
  font-weight:900;
  box-shadow:var(--shadow2);
}
.btn:hover{filter:brightness(1.02); text-decoration:none}
.btn.outline{
  background:#fff; color:var(--primary) !important;
  border-color:var(--border); box-shadow:none;
}
.btn.outline:hover{border-color:#bec8db; background:#fcfdff}
.btn.soft{
  background:rgba(47,164,169,.14);
  color:var(--primary) !important;
  border:1px solid rgba(47,164,169,.28);
  box-shadow:none;
}

/* Mobile */
.menu-btn{
  display:none;
  border:1px solid var(--border);
  background:#fff;
  border-radius:12px;
  padding:10px 12px;
  font-weight:900;
  color:var(--primary);
}

/* Drawer */
.drawer-backdrop{
  position:fixed; inset:0;
  background:rgba(18,24,38,.35);
  display:none; z-index:80;
}
.drawer{
  position:fixed; top:0; right:0; height:100%; width:min(360px, 90vw);
  background:#fff; border-left:1px solid var(--border);
  box-shadow:var(--shadow);
  transform:translateX(100%); transition:transform .2s ease;
  z-index:90;
}
.drawer.open{transform:translateX(0)}
.drawer-backdrop.open{display:block}
.drawer-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px; border-bottom:1px solid var(--border);
}
.drawer a{
  display:block; padding:12px 14px;
  border-bottom:1px solid var(--border);
  font-weight:900; color:var(--primary);
}
.drawer a:hover{background:rgba(31,42,68,.06); text-decoration:none}
.drawer .close-btn{
  border:1px solid var(--border);
  background:#fff; border-radius:10px;
  padding:8px 10px; font-weight:900; color:var(--primary);
}

/* Hero */
.hero{
  padding:18px 0 0;
}
.hero-wrap{
  position:relative;
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow2);
  background:var(--surface2);
}
.hero-flag{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  opacity:.12;
  filter:saturate(1.05) contrast(1.02);
}
.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:16px;
  padding:20px;
}
.hero h1{
  margin:0 0 10px;
  font-size:42px;
  line-height:1.08;
  letter-spacing:-.02em;
  color:var(--primary);
}
.lead{color:var(--muted); font-size:17px; line-height:1.55; margin:0 0 12px}
.cta-row{display:flex; gap:10px; flex-wrap:wrap}

.icon-grid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:14px}
.icon-btn{
  display:flex; align-items:center; gap:10px;
  padding:12px; border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  box-shadow:var(--shadow2);
  color:var(--primary);
  font-weight:900;
}
.icon-btn:hover{background:#fbfcff; text-decoration:none}
.icon{
  width:36px; height:36px; border-radius:10px;
  background:rgba(47,164,169,.16);
  display:grid; place-items:center;
  color:var(--primary); font-weight:900;
}

.alert{
  background:rgba(47,164,169,.12);
  border:1px solid rgba(47,164,169,.28);
  border-radius:14px;
  padding:10px 12px;
  color:var(--primary);
}
.alert strong{color:var(--primary)}

/* Content */
.page{padding:16px 0 46px}
.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow2);
}
.card h2{margin:0 0 10px; color:var(--primary)}
.card h3{margin:0 0 8px; color:var(--primary)}
.small{font-size:13px}
.muted{color:var(--muted)}
.list{margin:10px 0 0; padding-left:18px}
.list li{margin:6px 0}

.grid-2{display:grid; grid-template-columns:1fr 1fr; gap:16px}
.grid-3{display:grid; grid-template-columns:1fr 1fr 1fr; gap:16px}

.photo-card{
  display:block;
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  background:#fff;
  box-shadow:var(--shadow2);
  color:inherit;
}
.photo-card:hover{text-decoration:none; transform:translateY(-1px)}
.photo-card img{width:100%; height:180px; object-fit:cover; display:block}
.photo-card-body{padding:14px 14px 16px}

hr{border:0; border-top:1px solid var(--border); margin:14px 0}

/* Document Center */
.doc-toolbar{display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin:12px 0}
.search{flex:1 1 240px}
.filter{flex:0 0 180px}
input,select,textarea{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
}
.doc-list{display:grid; gap:10px; margin-top:12px}
.doc-item{
  display:flex; gap:12px; align-items:flex-start;
  padding:12px; border:1px solid var(--border);
  border-radius:14px; background:#fff;
}
.doc-badge{
  min-width:42px; height:42px;
  border-radius:12px;
  background:rgba(11,91,211,.10);
  display:grid; place-items:center;
  font-weight:900; color:var(--primary);
}
.doc-title{font-weight:900; color:var(--primary)}
.doc-sub{color:var(--muted); font-size:13px}

/* Footer */
.site-footer{
  border-top:1px solid var(--border);
  background:#fff;
  padding:18px 0;
}
.footer-grid{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; color:var(--muted)}
.footer-grid a{color:var(--muted)}
.footer-grid a:hover{color:var(--text); text-decoration:none}
.footer-seal{height:44px; width:auto; opacity:.9}

@media (max-width: 980px){
  .nav{display:none}
  .menu-btn{display:inline-flex}
  .hero-grid{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .hero h1{font-size:34px}
}
