:root {
  --text-1: #051624;
  --text-2: rgba(5, 22, 36, .62);
  --text-3: rgba(5, 22, 36, .42);
  --text-5: rgba(5, 22, 36, .08);
  --primary: #1970b3;
  --primary-hover: #155f98;
  --primary-dark: #0e4f82;
  --primary-200: #1f8ce0;
  --primary-600: #d2e8f9;
  --primary-700: #f6fafe;
  --white: #ffffff;
  --page: #eef5fb;
  --border: #dbe9f6;
  --danger: #c43d3d;
  --success: #2f8a1f;
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(25, 112, 179, .06);
  --shadow-hover: 0 10px 28px rgba(25, 112, 179, .14);
  --font: "Noto Sans Armenian", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-1);
  background:
    radial-gradient(circle at 72% 12%, rgba(210, 232, 249, .65) 0, rgba(210, 232, 249, 0) 40%),
    radial-gradient(circle at 12% 88%, rgba(210, 232, 249, .5) 0, rgba(210, 232, 249, 0) 36%),
    var(--page);
  background-attachment: fixed;
  min-height: 100vh;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
[hidden] { display: none !important; }
mark { background: #fff1a8; color: inherit; border-radius: 3px; padding: 0 1px; }
:focus-visible { outline: 2px solid var(--primary-200); outline-offset: 2px; }

.ic {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.ic-sm { width: 16px; height: 16px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 16px; top: -48px; z-index: 50;
  background: var(--primary); color: var(--white); padding: 10px 14px; border-radius: var(--radius-sm);
}
.skip:focus { top: 12px; }

/* ---------- shell ---------- */
.shell { display: flex; gap: 16px; padding: 16px; max-width: 1480px; margin: 0 auto; }

.rail {
  position: sticky; top: 16px; align-self: flex-start;
  height: calc(100vh - 32px);
  width: 64px; flex: none;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 0;
}
.rail a {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; color: var(--primary);
  transition: background .15s, color .15s;
}
.rail a:hover { background: var(--primary-700); text-decoration: none; }
.rail a.active { background: var(--primary); color: var(--white); box-shadow: 0 6px 14px rgba(25, 112, 179, .3); }
.rail .rail-mark { border-bottom: 1px solid var(--text-5); border-radius: 0; margin-bottom: 6px; padding-bottom: 8px; height: 48px; }
.rail .rail-mark:hover { background: none; }
.rail .spacer { flex: 1; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

.topbar {
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 20px;
  position: sticky; top: 16px; z-index: 10;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: inherit; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--primary-200), var(--primary));
  color: var(--white); display: grid; place-items: center;
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-size: 18px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-sub { font-size: 12px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-search { margin-left: auto; position: relative; display: flex; align-items: center; width: min(380px, 38%); }
.top-search > .ic { position: absolute; left: 12px; color: var(--primary); pointer-events: none; }
.top-search input {
  width: 100%; height: 42px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--primary-700);
  padding: 0 38px 0 40px; outline: none; transition: border-color .15s, background .15s, box-shadow .15s;
}
.top-search input:focus { border-color: var(--primary-200); background: var(--white); box-shadow: 0 0 0 4px rgba(31, 140, 224, .12); }
.top-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.top-search .clear {
  position: absolute; right: 6px; width: 30px; height: 30px; border: 0; border-radius: 8px;
  background: transparent; color: var(--text-2); cursor: pointer; display: grid; place-items: center;
}
.top-call {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px;
  border-radius: 12px; background: var(--primary-700); border: 1px solid var(--border);
  color: var(--primary); font-weight: 600; white-space: nowrap;
}
.top-call:hover { background: var(--primary-600); text-decoration: none; }

.layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; align-items: start; }

/* ---------- profile card ---------- */
.profile {
  position: sticky; top: 98px;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 20px 16px; display: flex; flex-direction: column; gap: 10px;
}
.emblem {
  margin: 4px auto 4px; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--white), var(--primary-700) 60%, var(--primary-600));
  border: 1px solid var(--primary-600);
  display: grid; place-items: center; color: var(--primary);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, .7);
}
.emblem .ic { width: 56px; height: 56px; stroke-width: 1.4; }
.profile-name { text-align: center; font-size: 16px; font-weight: 600; }
.profile-legal { text-align: center; color: var(--text-2); font-size: 12px; margin-top: -6px; margin-bottom: 4px; }
.pill {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px;
  color: var(--text-1); font-size: 13px; word-break: break-word;
  transition: background .15s, border-color .15s;
}
.pill .ic { color: var(--primary); width: 16px; height: 16px; }
a.pill:hover { background: var(--primary-700); border-color: var(--primary-600); text-decoration: none; }
.about-short {
  border: 1px solid var(--border); border-radius: 10px; padding: 12px;
  font-size: 13px; color: var(--text-2);
}
.about-short a { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-weight: 500; }
.socials { display: flex; justify-content: center; gap: 8px; margin-top: 2px; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--primary); transition: all .15s;
}
.socials a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.profile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer; font-weight: 500; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 6px 16px rgba(25, 112, 179, .28); }
.btn-primary:disabled { opacity: .6; cursor: default; box-shadow: none; }
.btn-outline { background: var(--white); color: var(--primary); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary-200); background: var(--primary-700); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--text-1); }
.btn-white { background: var(--white); color: var(--primary-dark); }
.btn-white:hover { box-shadow: 0 8px 20px rgba(5, 22, 36, .2); }
.btn-glass { background: rgba(255, 255, 255, .14); color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn-glass:hover { background: rgba(255, 255, 255, .24); }

/* ---------- tabs & panels ---------- */
.content { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.tabs {
  display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--text-5);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 12px 14px; color: var(--text-2); font-size: 14px; white-space: nowrap;
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .15s, border-color .15s;
}
.tab:hover { color: var(--text-1); text-decoration: none; }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }

.panel { display: flex; flex-direction: column; gap: 16px; animation: rise .35s var(--ease); }
@keyframes rise { from { transform: translateY(8px); } to { transform: none; } }

.card {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 20px;
}
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.card-head h2, .card-head h3 { font-size: 16px; font-weight: 600; }
.card-head .more {
  margin-left: auto; display: inline-flex; align-items: center; gap: 4px;
  color: var(--text-2); font-size: 13px; background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.card-head .more:hover { color: var(--primary); text-decoration: none; }
.head-icon {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: var(--primary-700); border: 1px solid var(--primary-600);
  display: grid; place-items: center; color: var(--primary);
}
.head-icon .ic { width: 18px; height: 18px; }
.lead { color: var(--text-2); font-size: 13.5px; margin: -6px 0 16px; max-width: 760px; }
.count { color: var(--text-3); font-weight: 400; }
.section-title { font-size: 20px; font-weight: 700; }
.eyebrow { color: var(--primary); font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-xl); padding: 36px;
  background: linear-gradient(125deg, #0e4f82 0%, #1970b3 45%, #1f8ce0 100%);
  color: var(--white);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: center;
  box-shadow: 0 18px 40px rgba(25, 112, 179, .25);
}
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
}
.hero::before { width: 520px; height: 520px; right: -140px; top: -200px; box-shadow: 0 0 0 60px rgba(255, 255, 255, .04), 0 0 0 130px rgba(255, 255, 255, .03); }
.hero::after { width: 260px; height: 260px; left: -90px; bottom: -150px; background: rgba(255, 255, 255, .05); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); font-size: 12.5px;
}
.hero h2 { font-size: clamp(24px, 3.1vw, 36px); line-height: 1.2; font-weight: 700; margin: 16px 0 12px; }
.hero p { color: rgba(255, 255, 255, .86); font-size: 15px; max-width: 560px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat {
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px); border-radius: var(--radius-lg); padding: 18px;
}
.stat-num { font-size: 30px; font-weight: 700; line-height: 1.1; }
.stat-label { color: rgba(255, 255, 255, .82); font-size: 13px; margin-top: 4px; }
.stat .ic { color: rgba(255, 255, 255, .9); margin-bottom: 10px; }

/* quick links */
.quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.quick a {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 18px;
  display: flex; flex-direction: column; gap: 10px; color: var(--text-1);
  border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.quick a:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--primary-600); text-decoration: none; }
.quick .head-icon { width: 42px; height: 42px; border-radius: 12px; }
.quick .head-icon .ic { width: 22px; height: 22px; }
.quick strong { font-size: 15px; font-weight: 600; }
.quick span.desc { color: var(--text-2); font-size: 13px; }
.quick .go { margin-top: auto; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; }

/* department chips & cards */
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.chip {
  display: flex; align-items: center; gap: 10px; text-align: left;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--white);
  padding: 10px 12px; cursor: pointer; color: var(--text-1); min-height: 58px;
  transition: border-color .15s, background .15s, transform .15s;
}
.chip:hover { border-color: var(--primary-200); background: var(--primary-700); text-decoration: none; transform: translateY(-1px); }
.chip span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.chip .head-icon { background: var(--primary); border-color: var(--primary); color: var(--white); }

.dept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.dept-card {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 18px; display: flex; flex-direction: column; gap: 10px; color: var(--text-1);
  border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.dept-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--primary-600); text-decoration: none; }
.dept-card .head-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--primary); border-color: var(--primary); color: var(--white); }
.dept-card .head-icon .ic { width: 22px; height: 22px; }
.dept-card h3 { font-size: 15px; font-weight: 600; }
.dept-card p { color: var(--text-2); font-size: 13px; flex: 1; }
.dept-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.dept-meta .tag { display: inline-flex; align-items: center; gap: 4px; }
.dept-card .go { color: var(--primary); display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; }

/* department page */
.dept-hero {
  background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow); padding: 24px;
  display: flex; gap: 18px; align-items: flex-start; position: relative; overflow: hidden;
}
.dept-hero::after {
  content: ""; position: absolute; right: -80px; top: -120px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, var(--primary-600), rgba(210, 232, 249, 0) 70%); pointer-events: none;
}
.dept-hero .head-icon { width: 60px; height: 60px; border-radius: 16px; background: linear-gradient(135deg, var(--primary-200), var(--primary)); border: 0; color: var(--white); }
.dept-hero .head-icon .ic { width: 30px; height: 30px; }
.dept-hero h2 { font-size: 22px; font-weight: 700; margin: 4px 0 6px; }
.dept-hero p { color: var(--text-2); max-width: 720px; }
.back {
  display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 13px;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.back:hover { color: var(--primary); text-decoration: none; }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.about-text p { color: var(--text-1); font-size: 14px; margin-bottom: 12px; }
.about-text p:last-child { margin-bottom: 0; }
.mission {
  border-left: 3px solid var(--primary); background: var(--primary-700); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 12px 16px; color: var(--text-1) !important; font-weight: 500;
}
.values { display: grid; gap: 10px; }
.value { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.value strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.value span { color: var(--text-2); font-size: 13px; }

/* filters & search */
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.filter {
  height: 40px; padding: 0 16px; border-radius: 10px; white-space: nowrap;
  border: 1px solid var(--border); background: var(--white); color: var(--text-2); cursor: pointer;
  transition: all .15s;
}
.filter:hover { color: var(--text-1); border-color: var(--primary-600); }
.filter.active { background: var(--primary); border-color: var(--primary); color: var(--white); box-shadow: 0 6px 14px rgba(25, 112, 179, .22); }
.filter.active .count { color: rgba(255, 255, 255, .75); }
.sticky-filters {
  position: sticky; top: 92px; z-index: 4;
  background: rgba(238, 245, 251, .9); backdrop-filter: blur(8px);
  margin: -6px -4px 0; padding: 6px 4px 6px;
}
.segmented { display: inline-flex; background: var(--primary-700); border: 1px solid var(--border); border-radius: 10px; padding: 3px; }
.segmented button {
  border: 0; background: none; height: 34px; padding: 0 12px; border-radius: 8px; cursor: pointer; color: var(--text-2); white-space: nowrap;
}
.segmented button.active { background: var(--white); color: var(--primary); font-weight: 600; box-shadow: 0 1px 4px rgba(5, 22, 36, .1); }

.search-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.search { position: relative; flex: 1; min-width: 220px; }
.search > .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-3); }
.search input {
  width: 100%; height: 42px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--primary-700); padding: 0 12px 0 40px; outline: none; transition: all .15s;
}
.search input:focus { border-color: var(--primary-200); background: var(--white); box-shadow: 0 0 0 4px rgba(31, 140, 224, .12); }
.result-count { color: var(--text-2); font-size: 13px; }

/* item cards (services) */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.item {
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--white);
  padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; min-height: 84px;
  transition: border-color .15s;
}
.item:hover { border-color: var(--primary-600); }
.item-name { font-size: 13.5px; flex: 1; }
.item-foot {
  border-top: 1px solid var(--text-5); padding-top: 9px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.tag {
  display: inline-block; font-size: 11.5px; padding: 2px 8px; border-radius: 6px;
  background: var(--primary-700); border: 1px solid var(--primary-600); color: var(--primary); white-space: nowrap;
}
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.group-title {
  grid-column: 1 / -1; font-size: 13px; font-weight: 600; color: var(--text-2);
  margin: 10px 0 0;
}
.group-title:first-child { margin-top: 0; }

/* price rows */
.price-list { display: flex; flex-direction: column; }
.price-group {
  font-size: 12.5px; font-weight: 600; color: var(--primary); text-transform: none;
  padding: 16px 4px 8px; border-bottom: 1px solid var(--primary-600);
  display: flex; align-items: center; gap: 8px;
}
.price-group:first-child { padding-top: 0; }
.prow {
  display: flex; align-items: center; gap: 16px; padding: 12px 4px;
  border-bottom: 1px solid var(--text-5); transition: background .12s;
}
.prow:last-child { border-bottom: 0; }
.prow:hover { background: var(--primary-700); }
.prow-main { flex: 1; min-width: 0; }
.prow-name { font-size: 13.5px; }
.prow-code { color: var(--text-3); font-size: 11.5px; margin-top: 2px; }
.prow-price {
  flex: none; color: var(--primary); font-weight: 700; font-size: 14px; white-space: nowrap;
  background: var(--primary-700); border: 1px solid var(--primary-600); border-radius: 8px; padding: 4px 10px;
}

.note {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--primary-700); border: 1px solid var(--primary-600); border-radius: var(--radius);
  padding: 12px 14px; font-size: 13px; color: var(--text-1);
}
.note .ic { color: var(--primary); }
.empty { color: var(--text-2); padding: 28px; text-align: center; }

/* people */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.person {
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--white);
  padding: 12px; display: flex; gap: 12px; align-items: center; transition: border-color .15s, box-shadow .15s;
}
.person:hover { border-color: var(--primary-600); box-shadow: var(--shadow); }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--primary-700); border: 1px solid var(--primary-600); color: var(--primary);
  display: grid; place-items: center; font-weight: 600; font-size: 14px; letter-spacing: .5px;
}
.person.head .avatar { background: linear-gradient(135deg, var(--primary-200), var(--primary)); border-color: var(--primary); color: var(--white); }
.person-name { font-weight: 500; font-size: 13.5px; }
.person-pos { color: var(--text-2); font-size: 12.5px; margin-top: 1px; }
.subhead { font-size: 12.5px; font-weight: 600; color: var(--text-2); margin: 16px 0 8px; }
.subhead:first-of-type { margin-top: 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.contact-side { display: flex; flex-direction: column; gap: 16px; }
.contact-list { display: flex; flex-direction: column; gap: 8px; }
.contact-item {
  display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: var(--radius);
  border: 1px solid var(--border); color: var(--text-1); transition: all .15s;
}
a.contact-item:hover { background: var(--primary-700); border-color: var(--primary-600); text-decoration: none; }
.contact-item small { display: block; color: var(--text-2); font-size: 12px; }
.contact-item strong { font-weight: 600; font-size: 14px; word-break: break-word; }
.map {
  width: 100%; height: 280px; border: 0; border-radius: var(--radius); display: block; background: var(--primary-700);
}
.map-card { padding: 12px; }
.map-card .map-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 6px 4px; font-size: 13px; }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 10px;
  background: var(--primary-700); padding: 10px 12px; outline: none; transition: all .15s;
}
.field input, .field select { height: 44px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary-200); background: var(--white); box-shadow: 0 0 0 4px rgba(31, 140, 224, .12); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-2); grid-column: 1 / -1; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--primary); }
.form-foot {
  grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 12px; align-items: center;
  border-top: 1px solid var(--text-5); padding-top: 16px;
}
.form-status { margin-right: auto; font-size: 13px; }
.form-status.ok { color: var(--success); }
.form-status.err { color: var(--danger); }

/* footer */
.footer {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 24px; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 24px;
}
.footer h4 { font-size: 13px; font-weight: 600; margin-bottom: 10px; color: var(--text-1); }
.footer p, .footer li { color: var(--text-2); font-size: 13px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer ul a { color: var(--text-2); }
.footer ul a:hover { color: var(--primary); }
.footer-bottom {
  grid-column: 1 / -1; border-top: 1px solid var(--text-5); padding-top: 14px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--text-3); font-size: 12px;
}
.footer .brand-line { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 600; }

/* floating */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 20;
  width: 44px; height: 44px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--primary); color: var(--white); display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(25, 112, 179, .35);
}
.mobile-bar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .rail { display: none; }
  .quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; }
  .profile { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .shell { padding: 10px 16px; }
  .topbar { flex-wrap: wrap; padding: 10px 12px; gap: 10px; top: 8px; }
  .brand-name { font-size: 16px; white-space: normal; }
  .brand-sub { display: none; }
  .top-call { display: none; }
  .top-search { width: 100%; margin-left: 0; }
  .sticky-filters { top: 132px; }
  .hero { padding: 24px 20px; border-radius: var(--radius-lg); }
  .stat { padding: 14px; }
  .stat-num { font-size: 24px; }
  .quick { grid-template-columns: 1fr 1fr; gap: 10px; }
  .quick a { padding: 14px; }
  .quick span.desc { display: none; }
  .card { padding: 16px 14px; }
  .grid-2, .form { grid-template-columns: 1fr; }
  .dept-hero { flex-direction: column; padding: 20px; }
  .footer { grid-template-columns: 1fr; padding: 20px; }
  .prow { gap: 10px; }
  .to-top { bottom: 84px; right: 16px; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(25, 112, 179, .08);
  }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px;
    border-radius: 10px; color: var(--primary); font-size: 12px; font-weight: 500;
  }
  .mobile-bar a:hover { text-decoration: none; }
  .mobile-bar a.primary { background: var(--primary); color: var(--white); }
}
@media (max-width: 420px) {
  .people { grid-template-columns: 1fr; }
  .chips { grid-template-columns: 1fr; }
  .hero-stats { gap: 8px; }
  .form-foot { flex-wrap: wrap; }
  .form-status { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
