:root {
  --blue:   #0077B6;
  --sky:    #90E0EF;
  --ink:    #102A38;
  --muted:  #587080;
  --pale:   #f2fbfd;
  --line:   #d9e8ed;
  --white:  #fff;
  --shadow: 0 16px 38px rgba(16,42,56,.10);
  --green:  #0a8a4a;
  --green-bg: #e6f7ef;
  --red:    #c0392b;
  --red-bg: #fdf0ee;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); font: 16px/1.6 'DM Sans', sans-serif; background: #fff; }
a { color: inherit; text-decoration: none; }

/* ── HEADER ─────────────────────────────────────────────────────────── */
.site-header {
  height: 78px; display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100% - 1180px)/2));
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(10px);
}
.brand { font: 800 20px 'Plus Jakarta Sans'; display: flex; align-items: center; gap: 8px; }
.brand > span:last-child span { color: var(--blue); }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--blue); color: #fff; }
.brand-mark svg { width: 20px; }
nav { display: flex; gap: 24px; font-weight: 600; color: #46606e; }
nav a:hover { color: var(--blue); }
.nav-dropdown{position:relative}
.nav-dropdown-menu{display:none;position:absolute;top:100%;left:50%;transform:translateX(-50%);background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:20px;gap:28px;grid-template-columns:1fr 1fr;min-width:520px;z-index:20}
.nav-dropdown:hover .nav-dropdown-menu,.nav-dropdown:focus-within .nav-dropdown-menu{display:grid}
.nav-dropdown-menu strong{display:block;color:var(--ink);margin-bottom:8px;font-size:13px;text-transform:uppercase;letter-spacing:.04em}
.nav-dropdown-menu a{display:block;padding:4px 0;font-size:14px;font-weight:500;color:#46606e}
.nav-dropdown-menu a:hover{color:var(--blue)}
.nav-dropdown-all{margin-top:10px;font-weight:700!important;color:var(--blue)!important;display:flex!important;align-items:center;gap:6px}
.nav-dropdown-metier{font-weight:700!important;color:var(--ink)!important;margin-bottom:6px;display:block}
.header-cta, .button {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: white;
  padding: 11px 17px; border-radius: 10px; font-weight: 700; transition: .25s;
}
.header-cta:hover, .button:hover { background: #005c91; transform: translateY(-2px); }
.header-cta svg, .button svg { width: 17px; }

/* ── MOBILE NAV (off-canvas) ───────────────────────────────────────────── */
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  align-items: center; justify-content: center;
  background: transparent; color: var(--ink);
}
.nav-toggle:hover { background: var(--pale); }
.mobile-nav-overlay {
  position: fixed; inset: 0; background: rgba(16,42,56,.45);
  opacity: 0; visibility: hidden; transition: opacity .25s ease;
  z-index: 29;
}
.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(300px, 84vw); height: 100vh;
  background: var(--white); box-shadow: -14px 0 34px rgba(16,42,56,.18);
  z-index: 30; transform: translateX(100%); transition: transform .28s ease;
  display: flex; flex-direction: column;
  padding: 16px 22px 26px; overflow-y: auto;
}
.mobile-nav-head { display: flex; justify-content: flex-end; }
.mobile-nav-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: transparent; color: var(--ink);
}
.mobile-nav-close:hover { background: var(--pale); }
.mobile-nav-links { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.mobile-nav-links a {
  padding: 14px 6px; font-weight: 600; font-size: 16px;
  color: var(--ink); border-bottom: 1px solid var(--line);
}
.mobile-nav-links a:hover { color: var(--blue); }
.mobile-nav-cta { margin-top: auto; justify-content: center; text-align: center; }
body.nav-open { overflow: hidden; }
body.nav-open .mobile-nav-overlay { opacity: 1; visibility: visible; pointer-events: auto; }
body.nav-open .mobile-nav { transform: translateX(0); }
.nav-toggle:focus-visible,
.mobile-nav-close:focus-visible,
.mobile-nav-links a:focus-visible,
.mobile-nav-cta:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ── HERO ────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(110deg, #06344d 0%, #0077B6 60%, #168dc4);
  color: white; padding: 82px max(24px, calc((100% - 1180px)/2)) 102px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; width: 470px; height: 470px;
  right: -120px; top: -210px;
  border: 55px solid rgba(144,224,239,.2); border-radius: 50%;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 58px; align-items: center; position: relative; z-index: 1; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #a8effa; }
.hero h1, .page-hero h1 { font: 800 clamp(36px,5vw,60px)/1.08 'Plus Jakarta Sans'; margin: 14px 0 18px; letter-spacing: -.04em; }
.hero p { font-size: 19px; max-width: 650px; color: #d6f5fa; }
.search-box {
  background: #fff; padding: 9px; border-radius: 14px;
  display: flex; box-shadow: 0 14px 30px #003d5c55;
  max-width: 630px; margin-top: 30px;
}
.search-box input { border: 0; outline: 0; min-width: 0; flex: 1; font: inherit; padding: 11px; color: var(--ink); }
button { border: 0; cursor: pointer; font: inherit; }
.hero-meta { display: flex; gap: 24px; margin-top: 25px; font-weight: 600; color: #d2f5fa; }
.hero-photo{margin-top:28px;border-radius:16px;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.25)}
.hero-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
@media(max-width:900px){.hero-photo{margin-top:20px}}

/* ── SECTIONS ────────────────────────────────────────────────────────── */
.section { max-width: 1180px; margin: auto; padding: 76px 24px; }
.section-label, .widget-label { color: var(--blue); font-size: 13px; text-transform: uppercase; font-weight: 800; letter-spacing: .1em; }
.section h2 { font: 800 clamp(27px,4vw,40px)/1.15 'Plus Jakarta Sans'; letter-spacing: -.03em; margin: 7px 0 14px; }
.intro { max-width: 680px; color: var(--muted); font-size: 17px; }

/* ── GRIDS ───────────────────────────────────────────────────────────── */
.city-grid, .dept-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 30px; }
.city-card, .dept-card { border: 1px solid var(--line); border-radius: 14px; padding: 18px; transition: .25s; background: #fff; }
.city-card:hover, .dept-card:hover { border-color: var(--sky); box-shadow: var(--shadow); transform: translateY(-3px); }
.city-card strong, .dept-card strong { display: block; font: 700 17px 'Plus Jakarta Sans'; }
.city-card span, .dept-card span { font-size: 13px; color: var(--muted); }
.city-card svg { float: right; color: var(--blue); }

/* ── FEATURES ────────────────────────────────────────────────────────── */
.feature-band { background: var(--pale); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 28px; }
.step { background: white; padding: 25px; border-radius: 15px; }
.step-icon { width: 42px; height: 42px; display: grid; place-items: center; background: #e4f8fc; color: var(--blue); border-radius: 10px; }
.step h3 { font: 700 18px 'Plus Jakarta Sans'; margin: 16px 0 5px; }
.step p { margin: 0; color: var(--muted); }
.feature-photo{margin:20px 0 32px;border-radius:16px;overflow:hidden;aspect-ratio:2.35/1;max-height:420px}
.feature-photo img{display:block;width:100%;height:100%;object-fit:cover}

/* ── PAGE HERO ───────────────────────────────────────────────────────── */
.page-hero { padding: 66px max(24px, calc((100% - 1180px)/2)); background: var(--pale); }
.page-hero h1 { font-size: 44px; }
.breadcrumbs { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.breadcrumbs a:hover { color: var(--blue); }
.zip-badge {
  display: inline-block; font-size: 18px; font-weight: 600;
  background: var(--blue); color: #fff;
  padding: 2px 10px; border-radius: 8px;
  vertical-align: middle; margin-left: 8px;
}

/* ── DEPT STATS ──────────────────────────────────────────────────────── */
.dept-stats { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.stat-box {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 22px; min-width: 130px; text-align: center;
}
.stat-box strong { display: block; font: 800 28px 'Plus Jakarta Sans'; color: var(--blue); }
.stat-box span { font-size: 13px; color: var(--muted); }
.stat-active strong { color: var(--green); }
.stat-closed strong { color: var(--muted); }

/* ── LISTING ─────────────────────────────────────────────────────────── */
.listing { max-width: 1180px; margin: auto; padding: 45px 24px; }
.filter { padding: 18px; background: #f7fafb; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 27px; display: flex; gap: 12px; }
.filter input { flex: 1; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; font: inherit; }
.region-group { margin: 40px 0; }
.region-group h2 { font: 800 24px 'Plus Jakarta Sans'; margin-bottom: 14px; }

/* ── COMPANY CARDS ───────────────────────────────────────────────────── */
.result-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.company {
  padding: 20px; border: 1px solid var(--line);
  border-radius: 14px; background: #fff;
  transition: box-shadow .2s, transform .2s;
}
.company:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.company h3 { font: 700 17px/1.3 'Plus Jakarta Sans'; margin: 10px 0 7px; }
a.company{display:block;text-decoration:none;color:inherit;cursor:pointer}

/* Meta list inside card */
.company-meta {
  list-style: none; margin: 8px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 5px;
}
.company-meta li {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: 14px; color: var(--muted); line-height: 1.4;
}
.company-meta svg { flex: 0 0 14px; margin-top: 2px; color: var(--blue); }
.company-meta-detail{margin:14px 0}

/* ── BADGES ──────────────────────────────────────────────────────────── */
.badge { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: 12px; font-weight: 700; }
.badge-active { background: var(--green-bg); color: var(--green); }
.badge-closed { background: #ececec; color: #686868; }

/* ── MAP LINK ────────────────────────────────────────────────────────── */
.map-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; color: var(--blue); font-size: 14px; font-weight: 700;
  transition: color .2s;
}
.map-link:hover { color: #005c91; text-decoration: underline; }
.map-link svg { width: 15px; flex: 0 0 15px; }
.map-link-closed { color: var(--muted); }
.map-link-closed:hover { color: var(--ink); }

/* ── CLOSED SECTION ──────────────────────────────────────────────────── */
.closed-section { background: #f9f9f9; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.company-closed { background: #f5f5f5; border-color: #d8d8d8; opacity: .85; }
.company-closed h3 { color: #666; }

/* ── NO RESULTS ──────────────────────────────────────────────────────── */
.no-results {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 36px; border: 1px dashed #9ab5c1; border-radius: 14px;
  color: var(--muted); text-align: center;
}
.no-results p { margin: 0; }
.no-results-hint { font-size: 14px; }
.no-results-light { padding: 18px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: 14px; }

/* ── ALERT ───────────────────────────────────────────────────────────── */
.alert { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-top: 16px; }
.alert-warn { background: #fff8e6; border: 1px solid #f5c842; color: #7a5a00; }

/* ── LOCAL LINKS ─────────────────────────────────────────────────────── */
.local-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.local-links a { border: 1px solid var(--line); padding: 7px 12px; border-radius: 99px; font-size: 14px; transition: .2s; }
.local-links a:hover { border-color: var(--blue); color: var(--blue); }
.local-links .button{border:0;padding:11px 17px;border-radius:10px;font-size:inherit}
.local-links .button:hover{color:#fff}

/* ── CONTENT SHELL (2-col) ───────────────────────────────────────────── */
.content-shell {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0,1fr) 276px;
  gap: 32px; padding: 0 24px 62px;
}
.content-shell .listing { padding-left: 0; padding-right: 0; }

/* ── SIDEBAR ─────────────────────────────────────────────────────────── */
.location-sidebar {
  align-self: start; position: sticky; top: 102px;
  margin-top: 42px; border: 1px solid var(--line);
  border-radius: 16px; background: #fff;
  box-shadow: 0 10px 30px rgba(16,42,56,.07); overflow: hidden;
}
.sidebar-title { display: flex; align-items: center; gap: 8px; padding: 15px 17px; background: #effbfe; font: 700 15px 'Plus Jakarta Sans'; }
.sidebar-title svg { width: 18px; color: var(--blue); }
.sidebar-widget { padding: 13px 17px; border-top: 1px solid var(--line); }
.widget-label { display: block; font-size: 10px; margin-bottom: 5px; }
.widget-current { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; line-height: 1.3; }
.widget-current svg { width: 16px; color: var(--blue); flex: 0 0 auto; }
.sidebar-search { display: flex; align-items: center; justify-content: space-between; padding: 13px 17px; color: var(--blue); font-size: 14px; font-weight: 700; border-top: 1px solid var(--line); }
.sidebar-search svg { width: 16px; }
.widget-service-link { display: block; font-size: 13px; font-weight: 600; color: #46606e; padding: 4px 0; }
.widget-service-link:hover { color: var(--blue); }
.widget-service-all { color: var(--blue); font-weight: 700; }

/* ── FOOTER ──────────────────────────────────────────────────────────── */
.site-footer {
  background: #082c40; color: #d3e6ed;
  padding: 52px max(24px, calc((100% - 1180px)/2)) 24px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 34px;
}
.brand-footer { color: white; }
.site-footer p { max-width: 380px; font-size: 14px; }
.site-footer strong { color: #fff; display: block; margin-bottom: 10px; }
.site-footer a:not(.brand) { display: block; margin: 6px 0; font-size: 14px; }
.site-footer a:hover { color: var(--sky); }
.site-footer small { grid-column: 1/-1; border-top: 1px solid #285267; padding-top: 20px; color: #9cb8c3; }

/* ── SCROLL REVEAL ───────────────────────────────────────────────────── */
.reveal-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.reveal-on-scroll.revealed { opacity: 1; transform: none; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .content-shell { grid-template-columns: 1fr; }
  .location-sidebar { position: static; margin: 0 0 40px; }
  .content-shell .location-sidebar { order: -1; }
}
@media (max-width: 800px) {
  nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { padding-top: 55px; }
  .hero-grid { grid-template-columns: 1fr; }
  .city-grid, .dept-grid { grid-template-columns: repeat(2,1fr); }
  .steps, .site-footer { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 34px; }
  .dept-stats { gap: 10px; }
  .stat-box { min-width: 100px; padding: 12px 14px; }
}
@media (max-width: 420px) {
  .city-grid, .dept-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 13px; font-size: 13px; }
  .search-box { flex-direction: column; }
  .search-box .button { justify-content: center; }
  .content-shell { padding: 0 16px 40px; }
  .page-hero { padding-left: 16px; padding-right: 16px; }
}

.sticky-cta{display:none}
@media(max-width:900px){
  .sticky-cta{display:flex;justify-content:center;align-items:center;gap:8px;position:fixed;bottom:0;left:0;right:0;z-index:20;background:var(--blue);color:#fff;padding:15px 16px;border-radius:0;box-shadow:0 -6px 20px rgba(16,42,56,.22)}
  .sticky-cta:hover{background:#005c91;transform:none}
  body{padding-bottom:66px}
}