/* =====================================================================
   Haveli Taluka Sahakari Kharidi-Vikri Sangh — public design system
   Calm, editorial, institutional. Forest green / cream / restrained gold.
   ===================================================================== */

:root {
  --forest: #24583d;
  --forest-dark: #143826;
  --leaf: #477c50;
  --leaf-soft: #edf3ec;
  --gold: #e7b85b;
  --gold-ink: #8a6420;
  --gold-soft: #faf2e1;
  --cream: #f7f5ec;
  --surface: #ffffff;
  --charcoal: #26332c;
  --muted: #6b786f;
  --line: #e3e7df;
  --line-dark: #cfd6cc;
  --shadow: 0 1px 2px rgba(20,56,38,.04), 0 8px 24px rgba(20,56,38,.06);
  --radius: 12px;
  --wrap: 1240px;
  --header-h: 72px;
  --font-ui: Inter, 'Mukta', 'Noto Sans Devanagari', system-ui, -apple-system, sans-serif;
  --font-devanagari: 'Mukta', 'Noto Sans Devanagari', Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--surface); color: var(--charcoal);
  font-family: var(--font-ui);
  font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased;
}
html[lang="mr"] body { font-family: var(--font-devanagari); line-height: 1.85; }
html[lang="mr"] h1, html[lang="mr"] h2, html[lang="mr"] h3 { font-weight: 700; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--leaf); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; color: var(--forest-dark); }
h1 { font-size: clamp(2rem, 3.8vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.3rem; }
li { margin-bottom: .35rem; }
small, .small { font-size: .82rem; }
::selection { background: var(--gold-soft); color: var(--forest-dark); }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; }

.wrap, .wrap-narrow { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { max-width: 860px; }
.section { padding: var(--section-pad, 68px) 0; }
.section-sm { padding: 44px 0; }
.section-cream, .section-tint { background: var(--cream); }
.section-tint { background: #fbfaf5; }
.section-border { border-block: 1px solid var(--line); }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.icon { width: 20px; height: 20px; stroke-width: 1.7; flex: none; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(10px);
}
.site-header.is-stuck { box-shadow: 0 6px 22px rgba(20,56,38,.07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand-mark {
  width: 52px; height: 52px; flex: none; border-radius: 10px; background: var(--cream);
  border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden;
}
.brand-mark img { width: 84%; height: 84%; object-fit: contain; }
.brand-mark .monogram { font-weight: 700; color: var(--forest); font-size: 1.25rem; }

.main-nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px; padding: 9px 7px;
  font-size: .82rem; font-weight: 500; color: #405046; white-space: nowrap; border-radius: 6px;
}
.nav-link:hover, .nav-item.is-active > .nav-link { color: var(--forest); background: var(--leaf-soft); }
.nav-item.is-active > .nav-link { font-weight: 700; }
.nav-link .chevron { width: 12px; height: 12px; transition: transform .18s; }
.nav-item:hover > .nav-link .chevron { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; z-index: 20;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow);
  padding: 6px; opacity: 0; visibility: hidden; transform: translateY(5px); transition: .18s ease;
}
.nav-item:hover > .nav-dropdown, .nav-item:focus-within > .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown a { display: block; padding: 8px 11px; border-radius: 6px; font-size: .85rem; color: var(--charcoal); }
.nav-dropdown a:hover { background: var(--leaf-soft); color: var(--forest); }

.header-tools { display: flex; align-items: center; gap: 16px; flex: none; }
.lang-switch { display: flex; align-items: center; gap: 2px; margin: 0; }
.lang-switch button {
  border: 0; background: none; padding: 4px 6px; color: var(--muted);
  font-size: .78rem; font-weight: 500; line-height: 1.4; border-radius: 4px;
}
.lang-switch button + button::before { content: '/'; color: var(--line-dark); margin-right: 6px; }
.lang-switch button.is-active { color: var(--forest); font-weight: 700; }
.header-cta {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--forest);
  font-size: .82rem; font-weight: 600; white-space: nowrap;
}
.header-cta:hover { border-color: var(--forest); background: var(--leaf-soft); color: var(--forest); }
.header-cta .icon { width: 14px; height: 14px; }
.menu-toggle {
  display: none; border: 1px solid var(--line); background: #fff; color: var(--forest);
  border-radius: 8px; padding: 9px; place-items: center;
}

/* ------------------------------------------------------------------- hero */
.hero {
  --hero-image: url('../img/hero-banner.png');
  position: relative; display: flex; align-items: center;
  min-height: var(--hero-height, 600px); overflow: hidden;
  color: #fff; background-color: var(--forest-dark); background-image: var(--hero-image);
  background-size: cover; background-position: var(--hero-position, center); background-repeat: no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(11,32,21,.98) 0%, rgba(13,37,25,.92) 34%, rgba(13,37,25,.55) 62%, rgba(13,37,25,.1) 100%);
  opacity: var(--hero-overlay, .86);
}
.hero-inner { position: relative; z-index: 2; width: min(100% - 40px, var(--wrap)); margin-inline: auto; padding: 100px 0 104px; }
.hero-content { max-width: 640px; }
.hero-eyebrow, .hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.hero-eyebrow::before, .hero-kicker::before { content: ''; width: 22px; height: 1px; background: var(--gold); }
.hero h1 {
  color: #fff; font-size: clamp(2.3rem, 4.2vw, 3.5rem); line-height: 1.16;
  letter-spacing: -.025em; margin-bottom: 16px; text-shadow: 0 2px 16px rgba(0,0,0,.22);
}
.hero-sub { color: rgba(255,255,255,.82); font-size: 1.08rem; font-weight: 500; margin-bottom: 12px; }
.hero-copy { color: rgba(255,255,255,.68); font-size: .95rem; max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; color: rgba(255,255,255,.7); font-size: .8rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .icon { width: 15px; height: 15px; color: var(--gold); }

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 19px; border-radius: 8px; border: 1px solid transparent;
  font-size: .875rem; font-weight: 600; line-height: 1.4; transition: .18s ease;
}
.btn .icon { width: 16px; height: 16px; }
.btn-primary { background: var(--gold); color: var(--forest-dark); }
.btn-primary:hover { background: #dba845; color: var(--forest-dark); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--forest-dark); }
.btn-gold:hover { background: #dba845; color: var(--forest-dark); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--forest); }
.btn-outline:hover { border-color: var(--forest); background: var(--leaf-soft); color: var(--forest); }
.btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; color: #fff; }
.btn-text { background: none; color: #fff; border-color: transparent; padding-inline: 0; }
.btn-text:hover { color: var(--gold); }
.btn-text .icon { transition: transform .18s; }
.btn-text:hover .icon { transform: translateX(3px); }
.btn-sm { padding: 7px 13px; font-size: .8rem; }
.btn-link { padding: 0; border: 0; background: none; color: var(--forest); font-weight: 600; font-size: .875rem; display: inline-flex; align-items: center; gap: 6px; }
.btn-link:hover { color: var(--leaf); }

/* ------------------------------------------------------------ quick access */
.quick { background: #fff; border-bottom: 1px solid var(--line); }
.quick-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.quick-link {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 88px; padding: 14px 8px; text-align: center; border-right: 1px solid var(--line);
  color: var(--charcoal); font-size: .8rem; font-weight: 600; line-height: 1.35;
}
.quick-link:last-child { border-right: 0; }
.quick-link .icon-box { width: 32px; height: 32px; border-radius: 50%; background: var(--leaf-soft); color: var(--forest); display: grid; place-items: center; transition: .18s; }
.quick-link .icon { width: 16px; height: 16px; }
.quick-link:hover { background: #fafbf8; color: var(--forest); }
.quick-link:hover .icon-box { background: var(--forest); color: #fff; }

/* --------------------------------------------------------- section heading */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 8px;
  color: var(--leaf); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--gold); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-head p { max-width: 560px; color: var(--muted); margin: 8px 0 0; font-size: .92rem; }
.section-head .rule { display: none; }

/* ---------------------------------------------------------- introduction */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.split-image { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3.2; background: var(--cream); }
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split-caption { position: absolute; inset: auto 0 0; padding: 20px 22px; background: linear-gradient(0deg, rgba(20,56,38,.82), transparent); color: #fff; font-size: .82rem; font-weight: 600; }
.prose { color: #48554d; font-size: .95rem; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--forest-dark); }
.prose h3 { margin: 24px 0 8px; }
.prose ol, .prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: .5rem; }
.notice-inline { border-left: 2px solid var(--gold); background: var(--gold-soft); padding: 13px 17px; color: var(--gold-ink); font-size: .86rem; border-radius: 0 8px 8px 0; margin: 20px 0; }

/* -------------------------------------------------------------- objectives */
.objective-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.objective { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.objective-index { display: block; color: var(--gold-ink); font-size: .78rem; font-weight: 700; letter-spacing: .1em; margin-bottom: 10px; }
.objective .icon { color: var(--leaf); margin-bottom: 10px; }
.objective h3 { font-size: .98rem; margin-bottom: 6px; }
.objective p { color: var(--muted); font-size: .86rem; margin: 0; }

/* ---------------------------------------------------------------- services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: .2s ease; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfd9cd; }
.service-media { aspect-ratio: 16/9; overflow: hidden; background: var(--cream); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .service-media img { transform: scale(1.04); }
.service-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.service-icon { color: var(--leaf); width: 22px; height: 22px; margin-bottom: 10px; }
.service-body h3 { font-size: 1.02rem; margin-bottom: 7px; }
.service-body p { color: var(--muted); font-size: .87rem; margin-bottom: 14px; }
.service-body .btn-link { margin-top: auto; }

/* ------------------------------------------------------------- hub pages */
.section-nav { position: sticky; top: var(--header-h); z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.section-nav .wrap { display: flex; gap: 8px; overflow-x: auto; padding: 11px 0; scrollbar-width: none; }
.section-nav .wrap::-webkit-scrollbar { display: none; }
.hub-layout { padding: 40px 0 60px; }
.hub-section { padding: 26px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 52px); }
.hub-section:first-child { padding-top: 0; }
.hub-section:last-child { border-bottom: 0; padding-bottom: 0; }
.hub-section h2 { font-size: 1.55rem; margin-bottom: 14px; }
.hub-section > h3 { margin: 26px 0 12px; }
.hub-section .table-wrap { margin-top: 10px; }

/* ------------------------------------------------------------------ tables */
.table-wrap, .table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.data-table, table.sample-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
.data-table thead { background: var(--forest); color: #fff; }
.data-table th { padding: 12px 15px; text-align: left; font-weight: 600; font-size: .76rem; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.data-table th:not([scope]) { background: var(--cream); color: var(--forest-dark); text-transform: none; letter-spacing: 0; font-size: .84rem; }
.data-table td { padding: 13px 15px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:nth-child(even) { background: #fbfcf9; }
.data-table tbody tr:hover { background: var(--leaf-soft); }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table .rate-avg { color: var(--forest); font-weight: 700; }
.data-table caption { text-align: left; padding: 10px 15px; color: var(--muted); font-size: .8rem; background: var(--cream); }
.record-count { color: var(--muted); font-size: .8rem; }

.filter-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 14px; background: var(--cream); border: 1px solid var(--line); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .76rem; font-weight: 700; color: var(--forest-dark); }
.field input, .field select, .field textarea, .form-control {
  border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 10px 12px;
  min-height: 42px; font-size: .88rem; color: var(--charcoal); width: 100%; transition: .18s;
}
.field input:focus, .field select:focus, .field textarea:focus, .form-control:focus {
  border-color: var(--leaf); outline: none; box-shadow: 0 0 0 3px rgba(71,124,80,.12);
}
.field-checkbox { flex-direction: row; align-items: center; }
.field-checkbox input { width: auto; min-height: 0; }
.update-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--muted); font-size: .8rem; margin-top: 12px; }
.update-meta strong { color: var(--forest-dark); }

/* ----------------------------------------------------------------- notices */
.notice-list { border-top: 1px solid var(--line); }
.notice-row { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--charcoal); }
.notice-row:hover { color: var(--charcoal); }
.notice-date { text-align: center; }
.notice-day { display: block; color: var(--forest); font-size: 1.6rem; font-weight: 600; line-height: 1; }
.notice-month { display: block; color: var(--muted); font-size: .72rem; margin-top: 4px; }
.notice-title { color: var(--forest-dark); font-weight: 600; font-size: .96rem; }
.notice-row:hover .notice-title { color: var(--leaf); }
.notice-desc { color: var(--muted); font-size: .85rem; margin-top: 3px; }
.notice-tag { display: inline-block; background: var(--leaf-soft); color: var(--forest); font-size: .7rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; margin-bottom: 6px; }
.notice-row-static { align-items: start; }
.notice-row-static .notice-title { margin: 6px 0 8px; }

/* ------------------------------------------------------------------ people */
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.people-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; }
.person { text-align: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 12px; background: #fff; transition: .2s ease; }
.person:hover { box-shadow: var(--shadow); border-color: #cfd9cd; }
.person-photo { width: 76px; height: 76px; margin: 0 auto 12px; border-radius: 50%; object-fit: cover; background: var(--cream); display: grid; place-items: center; overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-photo .fallback { color: var(--forest); font-size: 1.4rem; font-weight: 600; }
.person-photo .fallback.photo-placeholder { color: var(--muted); font-size: .68rem; font-weight: 400; }
.person h3 { font-size: .93rem; }
.person p { font-size: .8rem; color: var(--muted); margin: 4px 0 0; }
.person-wide {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 32px 20px;
  background: linear-gradient(180deg, var(--cream), #fff);
  border-color: #cfd9cd;
}
.person-wide .person-photo { width: 104px; height: 104px; margin: 0 auto 14px; }
.person-wide h3 { font-size: 1.05rem; }
.person-wide p { font-size: .85rem; margin: 6px auto 0; max-width: 220px; }

/* ----------------------------------------------------------------- schemes */
.scheme-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.scheme { border: 1px solid var(--line); border-left: 2px solid var(--leaf); border-radius: 10px; padding: 16px 18px; background: #fff; }
.scheme h3 { font-size: 1rem; margin-bottom: 8px; }
.scheme p { color: var(--muted); font-size: .87rem; margin-bottom: 10px; }
.scheme .official { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--forest); }
.scheme .icon { width: 14px; height: 14px; }

/* ---------------------------------------------------------------- documents */
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.doc-card { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: #fff; transition: .2s; }
.doc-card:hover { box-shadow: var(--shadow); border-color: #cfd9cd; }
.doc-icon { width: 40px; height: 40px; flex: none; border-radius: 8px; background: var(--leaf-soft); color: var(--forest); display: grid; place-items: center; }
.doc-icon .icon { width: 19px; height: 19px; }
.doc-card h3 { font-size: .92rem; margin-bottom: 3px; }
.doc-card p { font-size: .8rem; color: var(--muted); margin: 0 0 7px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tab { border: 0; background: none; padding: 10px 15px; color: var(--muted); font-weight: 600; font-size: .86rem; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab.is-active { color: var(--forest); border-color: var(--gold); }

/* ----------------------------------------------------------------- gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { position: relative; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: var(--cream); border: 0; padding: 0; width: 100%; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,56,38,.75), transparent 55%); opacity: 0; transition: .2s; }
.gallery-item:hover::after { opacity: 1; }
.gallery-label { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 10px 13px; color: #fff; font-size: .8rem; font-weight: 600; text-align: left; opacity: 0; transform: translateY(5px); transition: .2s; }
.gallery-item:hover .gallery-label { opacity: 1; transform: none; }
.sample-badge { position: absolute; top: 8px; left: 8px; z-index: 2; background: rgba(255,255,255,.94); color: var(--forest-dark); font-size: .65rem; font-weight: 700; padding: 3px 7px; border-radius: 4px; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pill { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 15px; font-size: .82rem; color: var(--muted); font-weight: 600; transition: .18s; }
.pill:hover, .pill.is-active { background: var(--forest); border-color: var(--forest); color: #fff; }
.lightbox { position: fixed; inset: 0; background: rgba(12,30,20,.94); z-index: 200; display: none; align-items: center; justify-content: center; padding: 32px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 82vh; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; }
.lightbox .lb-close { top: 20px; right: 24px; }
.lightbox .lb-prev { left: 24px; }
.lightbox .lb-next { right: 24px; }
.lightbox-caption { position: absolute; bottom: 18px; color: rgba(255,255,255,.85); font-size: .85rem; }

/* --------------------------------------------------------- contact & forms */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.office-card { display: flex; gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.office-card:last-child { border-bottom: 0; }
.office-icon { width: 40px; height: 40px; flex: none; border-radius: 8px; background: var(--leaf-soft); color: var(--forest); display: grid; place-items: center; }
.office-card h3 { font-size: .94rem; margin-bottom: 5px; }
.office-card p { font-size: .87rem; color: var(--muted); margin-bottom: 4px; }
.map-link { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; }
.map-link .icon { width: 14px; height: 14px; }
.form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-card textarea { min-height: 132px; resize: vertical; }
.form-foot, .form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.hint { font-size: .76rem; color: var(--muted); }
.alert { border-radius: 8px; padding: 12px 15px; font-size: .86rem; margin-bottom: 18px; border: 1px solid; }
.alert-danger { background: #fff3f1; border-color: #f2cfc9; color: #8a3426; }
.alert-success { background: #eef8ef; border-color: #cbe5cd; color: #24583d; }
.alert ul { margin: 0; padding-left: 1.2rem; }
.detail-list { margin: 0; display: grid; gap: 12px; }
.detail-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.detail-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.detail-list dt { color: var(--muted); font-size: .84rem; }
.detail-list dd { margin: 0; font-size: .9rem; color: var(--charcoal); }

/* ------------------------------------------------------------- inner pages */
.page-header { background: var(--cream); border-bottom: 1px solid var(--line); }
.page-header .wrap { padding: 44px 0 40px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .78rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumb .icon { width: 13px; height: 13px; }
.page-header h1 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
.page-header p { color: var(--muted); max-width: 720px; margin: 8px 0 0; font-size: .95rem; }
.page-layout { display: grid; grid-template-columns: 240px 1fr; gap: 42px; align-items: start; }
.page-side { position: sticky; top: calc(var(--header-h) + 20px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.page-side h3 { background: var(--forest); color: #fff; padding: 12px 16px; font-size: .84rem; }
.page-side a { display: block; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: .83rem; color: var(--charcoal); }
.page-side a:last-child { border-bottom: 0; }
.page-side a:hover, .page-side a.is-active { background: var(--leaf-soft); color: var(--forest); }
.page-body { min-width: 0; }
.page-content { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 36px; }
.page-content > :last-child { margin-bottom: 0; }
.prose-wide { max-width: 900px; margin-inline: auto; }
.section-subtitle { color: var(--forest-dark); font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin: 0 0 8px; }

/* -------------------------------------------------------------- info blocks */
.info-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin-top: 16px; }
.info-table th, .info-table td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.info-table th { width: 34%; background: var(--cream); color: var(--forest-dark); font-weight: 600; }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.info-card, .status-card, .chart-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; }
.info-card h3 { margin-bottom: 8px; }
.info-card p { color: var(--muted); font-size: .86rem; }
.status-card { padding: 22px; }
.timeline { list-style: none; padding: 0; margin: 20px 0 0; }
.timeline li { position: relative; padding: 0 0 18px 24px; border-left: 1px solid var(--line); margin: 0; }
.timeline li::before { content: ''; position: absolute; left: -5px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); border: 2px solid #fff; }
.timeline li:last-child { border-color: transparent; }
.timeline strong { display: block; color: var(--forest-dark); font-size: .9rem; }
.timeline time { font-size: .76rem; color: var(--muted); }
.doc-link { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 600; }
.doc-link .icon { width: 14px; height: 14px; }
.badge-soft { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; }
.badge-success { background: #e7f4e8; color: #2c6b3a; }
.badge-warning { background: var(--gold-soft); color: var(--gold-ink); }
.badge-info { background: #e8f1f8; color: #2b5f7e; }
.badge-danger { background: #fdecea; color: #9a3223; }
.badge-secondary { background: #eef0ed; color: #5d6a61; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; }
.empty-state { text-align: center; padding: 48px 24px; border: 1px dashed var(--line); border-radius: var(--radius); background: #fcfdfb; }
.empty-state .icon { width: 32px; height: 32px; color: var(--leaf); margin: 0 auto 12px; }
.empty-state h3 { margin-bottom: 6px; }
.empty-state p { color: var(--muted); font-size: .87rem; max-width: 540px; margin-inline: auto; }
.sample-note { display: flex; gap: 10px; align-items: flex-start; background: var(--gold-soft); border-left: 2px solid var(--gold); padding: 12px 16px; border-radius: 0 8px 8px 0; font-size: .82rem; color: var(--gold-ink); margin-top: 18px; }
.sample-note .icon { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.pagination { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 26px; }
.pagination a { min-width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; font-size: .82rem; color: var(--charcoal); }
.pagination a:hover, .pagination a.current { background: var(--forest); border-color: var(--forest); color: #fff; }
.chart-card { padding: 20px; }
.chart-canvas { height: 320px; position: relative; }

/* ------------------------------------------------------ home closing band */
.quick-help { color: #fff; background: var(--forest-dark); }
.quick-help-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.quick-help-inner > div:first-child { max-width: 680px; }
.quick-help h2 { color: #fff; }
.quick-help p { color: rgba(255,255,255,.7); margin: 6px 0 0; font-size: .92rem; }
.quick-help-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.quick-help .btn-outline { color: #fff; border-color: rgba(255,255,255,.35); }
.quick-help .btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--forest-dark); color: rgba(255,255,255,.66); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 56px; padding: 56px 0 44px; }
.footer-brand .brand-mark { width: 52px; height: 52px; background: var(--cream); border-color: rgba(255,255,255,.14); border-radius: 10px; }
.footer-tagline { color: rgba(255,255,255,.75); font-size: .9rem; margin: 18px 0; max-width: 330px; }
.footer-top h3 { color: rgba(255,255,255,.95); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 7px; }
.footer-links a { color: rgba(255,255,255,.68); font-size: .84rem; }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 10px; font-size: .82rem; line-height: 1.55; }
.footer-contact a { color: rgba(255,255,255,.68); }
.footer-contact a:hover { color: var(--gold); }
.footer-contact .icon { width: 14px; height: 14px; color: var(--gold); margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0 24px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .76rem; }
.footer-bottom a { color: rgba(255,255,255,.66); }
.footer-bottom a:hover { color: var(--gold); }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--forest);
  display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: .2s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--forest); color: #fff; }
.back-to-top .icon { width: 18px; height: 18px; }

/* ------------------------------------------------------ shared card polish */
.objective, .service-card, .person, .doc-card, .info-card, .scheme, .gallery-item {
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.objective:hover, .service-card:hover, .person:hover, .doc-card:hover, .info-card:hover, .scheme:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #c8d5c8;
}
.objective .icon, .service-icon {
  width: 34px; height: 34px; padding: 8px; border-radius: 9px;
  background: var(--leaf-soft); color: var(--forest); margin-bottom: 12px;
}
.doc-icon { width: 36px; height: 36px; border-radius: 9px; }
.doc-icon .icon { width: 17px; height: 17px; }
.person-photo { box-shadow: 0 0 0 3px var(--leaf-soft); }
.objective h3, .service-body h3, .doc-card h3, .info-card h3, .scheme h3, .person h3 { font-weight: 700; }
.objective p, .service-body p, .doc-card p, .info-card p, .scheme p { line-height: 1.6; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 1280px) {
  .header-cta { display: none; }
}
@media (max-width: 1100px) {
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .people-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .main-nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; position: absolute;
    top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 8px 20px 16px; max-height: 76vh; overflow-y: auto;
  }
  .main-nav.is-open .nav-link { justify-content: space-between; padding: 11px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav.is-open .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 4px 0 8px 14px; min-width: 0; display: none; }
  .main-nav.is-open .nav-item.is-open > .nav-dropdown { display: block; }
  .hero { min-height: min(var(--hero-height, 600px), 560px); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .objective-grid, .service-grid, .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .page-layout { grid-template-columns: 1fr; gap: 24px; }
  .page-side { position: static; }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}
@media (max-width: 640px) {
  .wrap, .wrap-narrow { width: min(100% - 30px, var(--wrap)); }
  .section { padding: 56px 0; }
  .header-inner { gap: 10px; }
  .brand-mark { width: 46px; height: 46px; }
  .header-tools { gap: 10px; }
  .hero { min-height: min(var(--hero-height, 600px), 520px); }
  .hero-inner { width: min(100% - 30px, var(--wrap)); padding: 78px 0 84px; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: .96rem; }
  .hero-copy { font-size: .88rem; }
  .hero-actions { gap: 16px; }
  .hero-actions .btn { width: 100%; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-link { border-right: 0; border-bottom: 1px solid var(--line); min-height: 96px; }
  .quick-link:nth-last-child(-n+2) { border-bottom: 0; }
  .people-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .objective-grid, .service-grid, .scheme-grid, .doc-grid, .card-grid { grid-template-columns: 1fr; }
  .notice-row { grid-template-columns: 1fr; gap: 6px; }
  .notice-date { text-align: left; display: flex; align-items: baseline; gap: 8px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; }
  .page-content { padding: 24px 20px; }
  .filter-bar { align-items: stretch; }
  .filter-bar .field { flex: 1 1 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 34px; }
  .footer-brand-col { max-width: none; }
  .detail-list > div { grid-template-columns: 1fr; gap: 2px; }
  .people-grid-2 { grid-template-columns: 1fr; }
  .lightbox .lb-prev { left: 8px; }
  .lightbox .lb-next { right: 8px; }
  .back-to-top { right: 14px; bottom: 14px; }
}
@media (max-width: 420px) {
  h1 { font-size: 1.85rem; }
  .hero h1 { font-size: 1.85rem; }
  .people-grid, .gallery-grid { grid-template-columns: 1fr; }
  .person-wide { grid-row: span 1; padding: 24px 16px; }
  .person-wide .person-photo { width: 96px; height: 96px; margin-bottom: 14px; }
  .lang-switch button { padding: 4px 3px; font-size: .74rem; }
}
/* ------------------------------------------------ maintenance / coming soon */
body.hold-body { background: var(--forest-dark); }
.hold-screen { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; background: var(--forest-dark) var(--hold-image) center/cover no-repeat; }
.hold-shade { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(11,32,21,.94), rgba(20,56,38,.88) 55%, rgba(11,32,21,.78)); }
.hold-inner { position: relative; z-index: 1; width: min(100% - 40px, 720px); padding: 48px 0; text-align: center; color: #fff; }
.hold-preview-note { display: inline-block; margin-bottom: 20px; padding: 7px 14px; border: 1px dashed var(--gold); border-radius: 999px; color: var(--gold); font-size: .76rem; letter-spacing: .04em; }
.hold-card { padding: 46px 42px; border: 1px solid rgba(255,255,255,.16); border-radius: calc(var(--radius) + 8px); background: rgba(255,255,255,.07); box-shadow: 0 24px 60px rgba(0,0,0,.22); backdrop-filter: blur(6px); }
.hold-logo { width: 92px; height: 92px; margin: 0 auto 24px; padding: 12px; border-radius: 50%; background: rgba(255,255,255,.94); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.hold-logo img { width: 100%; height: 100%; object-fit: contain; }
.hold-badge { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; color: var(--gold); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hold-badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(231,184,91,.14); }
.hold-card h1 { margin: 0 0 16px; color: #fff; font-size: clamp(1.9rem, 4.5vw, 3rem); }
.hold-message { margin: 0 auto 10px; max-width: 540px; color: rgba(255,255,255,.86); font-size: 1.02rem; }
.hold-note { margin: 0 auto; max-width: 500px; color: rgba(255,255,255,.62); font-size: .88rem; }
.hold-contact { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .84rem; }
.hold-contact a { color: var(--gold); }
.hold-footer { margin: 24px 0 0; color: rgba(255,255,255,.5); font-size: .76rem; }
@media (max-width: 640px) {
  .hold-inner { width: min(100% - 28px, 720px); padding: 28px 0; }
  .hold-card { padding: 34px 20px; }
  .hold-logo { width: 78px; height: 78px; }
}

@media print {
  .site-header, .site-footer, .quick, .hero-actions, .filter-bar, .back-to-top, .section-nav { display: none !important; }
  body { color: #000; }
}
