/* ==========================================================================
   شهرداری ساری — سیستم طراحی «قوس»
   Sari Municipality redesign · Design System "Arch"
   --------------------------------------------------------------------------
   1. Fonts          6. Layout & utilities
   2. Tokens         7. Header / navigation
   3. Reset & base   8. Heroes
   4. Typography     9. Components
   5. Motion        10. Sections & pages
   ========================================================================== */

/* 1. FONTS ---------------------------------------------------------------- */
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Arabic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891,
    U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41,
    U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215;
}
@font-face {
  font-family: "Estedad";
  src: url("../fonts/Estedad-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* 2. TOKENS --------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* brand — derived from the historic gate, the Caspian and the Hyrcanian forest */
  --forest: #0b3a31;
  --forest-deep: #072a23;
  --panel-dark: #082f27;
  --forest-mid: #0e4a3e;
  --teal: #0f6b58;
  --teal-bright: #178573;
  --mint: #dcede4;
  --amber: #e9a13b;
  --amber-strong: #f0b45f;
  --amber-soft: #f8e8c9;
  --amber-ink: #7a4a0b;
  --clay: #a94f38;
  --sky: #8fbfcb;

  /* surfaces */
  --paper: #f7f4ec;
  --paper-2: #f1ede1;
  --surface: #fffdf8;
  --surface-2: #fbf8f1;

  /* type */
  --ink: #08211b;
  --ink-2: #243c35;
  --muted: #586a63;
  --faint: #85948d;
  --on-dark: #eef4ef;
  --on-dark-muted: #b3c5bd;

  /* lines */
  --line: #e3dccb;
  --line-strong: #cec5b1;
  --line-dark: rgba(238, 244, 239, 0.14);
  --line-dark-strong: rgba(238, 244, 239, 0.26);

  /* shadow */
  --shadow-xs: 0 1px 2px rgba(8, 33, 27, 0.05);
  --shadow-sm: 0 2px 6px rgba(8, 33, 27, 0.04), 0 14px 30px -22px rgba(8, 33, 27, 0.28);
  --shadow-md: 0 4px 14px rgba(8, 33, 27, 0.05), 0 30px 60px -34px rgba(8, 33, 27, 0.34);
  --shadow-lg: 0 4px 18px rgba(8, 33, 27, 0.05), 0 60px 100px -50px rgba(8, 33, 27, 0.42);

  /* geometry */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-2xl: 44px;
  --pill: 999px;

  /* type families */
  --font-body: "Vazirmatn", "Segoe UI", Tahoma, system-ui, sans-serif;
  --font-display: "Estedad", "Vazirmatn", Tahoma, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, monospace;

  /* rhythm */
  --container: 1280px;
  --header-h: 120px;
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.25rem;
  --s-6: 1.5rem;
  --s-8: 2rem;
  --s-10: 2.5rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-20: 5rem;
  --s-24: 6rem;

  --focus: #e9a13b;
  --ease: cubic-bezier(0.22, 0.68, 0.16, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --focus: #f0b45f;
  --forest: #0d3b31;
  --forest-deep: #04100d;
  --panel-dark: #0a241d;
  --forest-mid: #10483c;
  --teal: #63cbb0;
  --teal-bright: #7eddc3;
  --mint: #122e26;
  --amber: #f0b45f;
  --amber-strong: #f6c67b;
  --amber-soft: #2a2113;
  --amber-ink: #f3c07a;
  --clay: #e58c74;
  --sky: #9ccbd6;

  --paper: #07130f;
  --paper-2: #0a1a15;
  --surface: #0d211a;
  --surface-2: #11291f;

  --ink: #ecf2ed;
  --ink-2: #cdd9d2;
  --muted: #a1b3ab;
  --faint: #7f928b;

  --line: #223a30;
  --line-strong: #335346;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 10px 30px -20px rgba(0, 0, 0, 0.8);
  --shadow-md: 0 30px 60px -34px rgba(0, 0, 0, 0.85);
  --shadow-lg: 0 60px 100px -50px rgba(0, 0, 0, 0.9);
}

/* 3. RESET & BASE --------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-block-start: 110px;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  min-height: 100vh;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
fieldset {
  border: 0;
  padding: 0;
}
::selection {
  background: var(--amber);
  color: #1b1206;
}
:focus-visible {
  outline: 2.5px solid var(--focus, var(--amber));
  outline-offset: 3px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -80px;
  z-index: 999;
  background: var(--amber);
  color: #1b1206;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 0;
}
.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;
}

/* 4. TYPOGRAPHY ----------------------------------------------------------- */
.display,
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.28;
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.6rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.9rem);
  line-height: 1.22;
  font-weight: 750;
}
h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.5;
  font-weight: 700;
}
p {
  line-height: 1.95;
  text-wrap: pretty;
}
.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.95;
  color: var(--muted);
  max-width: 62ch;
}
.small {
  font-size: 0.86rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
  flex: none;
}
.eyebrow--light {
  color: var(--on-dark-muted);
}
.kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.num {
  font-variant-numeric: tabular-nums lining-nums;
}
.serif-accent {
  font-weight: 300;
  color: var(--teal);
}

/* 5. MOTION --------------------------------------------------------------- */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(233, 161, 59, 0.55);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(233, 161, 59, 0);
  }
}
@keyframes marquee {
  to {
    transform: translateX(50%);
  }
}
.anim-in {
  animation: rise 0.9s var(--ease-out) both;
  animation-delay: var(--d, 0ms);
}
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* 6. LAYOUT & UTILITIES --------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container--narrow {
  width: min(100% - 2.5rem, 940px);
  margin-inline: auto;
}
.section {
  padding-block: clamp(3.5rem, 6.5vw, 6.5rem);
}
.section--tight {
  padding-block: clamp(2.5rem, 4vw, 4rem);
}
.section--tint {
  background: var(--paper-2);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.section-head__text {
  max-width: 660px;
}
.section-head h2 {
  margin-bottom: 14px;
}
.section-head p {
  color: var(--muted);
  max-width: 58ch;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.row {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.divider {
  height: 1px;
  background: var(--line);
  border: 0;
}
.panel-dark {
  background: var(--panel-dark);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.panel-dark .eyebrow {
  color: var(--on-dark-muted);
}
.panel-dark h2,
.panel-dark h3 {
  color: var(--on-dark);
}
.panel-dark p {
  color: var(--on-dark-muted);
}
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
}

/* 7. HEADER --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--forest-deep) 92%, transparent);
  color: var(--on-dark);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  border-bottom: 1px solid var(--line-dark);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .site-header {
    background: var(--forest-deep);
  }
}
.site-header.is-stuck {
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.8);
}
.utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
  font-size: 0.76rem;
  color: var(--on-dark-muted);
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
  transition: min-height 0.3s var(--ease), opacity 0.3s var(--ease);
}
.is-stuck .utility {
  min-height: 0;
  height: 0;
  opacity: 0;
  border-bottom-color: transparent;
}
.utility__group {
  display: flex;
  align-items: center;
  gap: 18px;
}
.utility__sep {
  width: 1px;
  height: 12px;
  background: var(--line-dark-strong);
}
.utility a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.utility a:hover {
  color: var(--amber);
}
.utility .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5bd6a7;
  animation: pulse-dot 2.8s infinite;
  box-shadow: 0 0 0 0 rgba(91, 214, 167, 0.5);
}
.masthead {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  transition: min-height 0.3s var(--ease);
}
.is-stuck .masthead {
  min-height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: none;
  color: var(--on-dark);
}
.brand__logo {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
  transition: height 0.3s var(--ease);
}
.is-stuck .brand__logo {
  height: 38px;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  padding-inline-start: 14px;
  border-inline-start: 1px solid var(--line-dark-strong);
}
.brand__text b {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
}
.brand__text span {
  font-size: 0.68rem;
  color: var(--on-dark-muted);
  letter-spacing: 0.02em;
}
.nav {
  margin-inline: auto;
  padding-inline: 12px;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: var(--pill);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--on-dark);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav__link:hover {
  background: rgba(238, 244, 239, 0.08);
}
.nav__link[aria-current="page"] {
  color: var(--amber);
}
.nav__link .chev {
  width: 13px;
  height: 13px;
  opacity: 0.55;
  transition: transform 0.25s var(--ease);
}
.nav__item.is-open > .nav__link .chev {
  transform: rotate(180deg);
}
.nav__item {
  position: relative;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  margin-inline-start: auto;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-dark-strong);
  color: var(--on-dark);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.icon-btn:hover {
  background: rgba(238, 244, 239, 0.1);
  border-color: transparent;
}
.icon-btn svg {
  width: 18px;
  height: 18px;
}
.search-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--pill);
  border: 1px solid var(--line-dark-strong);
  color: var(--on-dark-muted);
  font-size: 0.82rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.search-btn:hover {
  border-color: var(--amber);
  color: var(--on-dark);
}
.search-btn kbd {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  padding: 2px 5px;
  border-radius: 5px;
  border: 1px solid var(--line-dark-strong);
  color: var(--on-dark-muted);
  direction: ltr;
}
.theme-toggle .sun {
  display: none;
}
html[data-theme="dark"] .theme-toggle .sun {
  display: block;
}
html[data-theme="dark"] .theme-toggle .moon {
  display: none;
}
.header-cta {
  height: 42px;
  padding: 0 18px;
  border-radius: var(--pill);
  background: var(--amber);
  color: #1b1206 !important;
  font-weight: 700;
  font-size: 0.86rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s var(--ease), background 0.2s;
}
.header-cta:hover {
  background: var(--amber-strong);
  transform: translateY(-1px);
}
.header-cta svg {
  width: 16px;
  height: 16px;
}
.burger {
  display: none;
}
.mobile-search {
  display: none;
}

/* mega menu */
.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(860px, calc(100vw - 40px));
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
    visibility 0.22s;
  z-index: 95;
}
.mega--wide {
  grid-template-columns: repeat(4, 1fr);
  width: min(980px, calc(100vw - 40px));
}
.nav__item.is-open .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega__col h3 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  padding-inline: 10px;
}
.mega__link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.55;
  transition: background 0.15s, color 0.15s;
}
.mega__link:hover {
  background: var(--paper-2);
  color: var(--teal);
}
.mega__link svg {
  width: 15px;
  height: 15px;
  margin-top: 5px;
  color: var(--faint);
  flex: none;
}
.mega__feature {
  grid-column: span 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--forest);
  color: var(--on-dark);
}
.mega__feature p {
  font-size: 0.82rem;
  color: var(--on-dark-muted);
}
.mega__feature strong {
  font-family: var(--font-display);
  font-size: 1rem;
}
.mega__feature a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber);
  color: #1b1206;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: var(--pill);
  flex: none;
}
.mega__feature a svg {
  width: 14px;
  height: 14px;
}

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}
.drawer.is-open {
  display: block;
}
.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 16, 13, 0.6);
  backdrop-filter: blur(4px);
  animation: fade 0.25s;
}
.drawer__panel {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(400px, 88vw);
  background: var(--paper);
  color: var(--ink);
  padding: 22px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: drawer-in 0.35s var(--ease-out);
}
@keyframes drawer-in {
  from {
    transform: translateX(100%);
  }
  to {
    transform: none;
  }
}
html[dir="rtl"] .drawer__panel {
  animation-name: drawer-in-rtl;
}
@keyframes drawer-in-rtl {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: none;
  }
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.drawer__head img {
  height: 38px;
  width: auto;
}
.drawer__head .icon-btn {
  border-color: var(--line);
  color: var(--ink);
}
.drawer__nav {
  display: flex;
  flex-direction: column;
}
.drawer__nav > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}
.drawer__nav > a svg {
  width: 17px;
  height: 17px;
  color: var(--faint);
}
.drawer__sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 0 14px;
}
.drawer__sub a {
  font-size: 0.78rem;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  color: var(--muted);
}
.drawer__foot {
  margin-top: auto;
  display: grid;
  gap: 10px;
}
.drawer__foot .btn {
  justify-content: center;
}

/* 8. HEROES --------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--forest-deep);
  color: var(--on-dark);
  overflow: hidden;
  border-radius: 0 0 var(--r-2xl) var(--r-2xl);
  margin-bottom: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(52% 70% at 82% 8%, rgba(23, 133, 115, 0.5), transparent 62%),
    radial-gradient(46% 60% at 8% 100%, rgba(233, 161, 59, 0.13), transparent 60%),
    linear-gradient(180deg, rgba(4, 16, 13, 0.2), transparent 40%);
  pointer-events: none;
}
.hero__ghost { display: none; }
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  padding-block: clamp(40px, 5.5vw, 64px) clamp(78px, 7vw, 108px);
  min-height: min(680px, calc(100svh - 170px));
}
.hero__content {
  max-width: 640px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--pill);
  font-size: 0.76rem;
  color: var(--on-dark-muted);
  margin-bottom: 26px;
}
.hero__eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}
.hero h1 {
  color: var(--on-dark);
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 5.6vw, 4.9rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}
.hero h1 em {
  font-style: normal;
  position: relative;
  color: var(--amber);
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0.02em;
  height: 0.07em;
  background: currentColor;
  opacity: 0.35;
  border-radius: 2px;
}
.hero__lead {
  color: var(--on-dark-muted);
  font-size: clamp(1rem, 1.3vw, 1.13rem);
  line-height: 1.95;
  max-width: 52ch;
  margin-bottom: 34px;
}
.hero__form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border-radius: var(--pill);
  padding: 8px 8px 8px 20px;
  max-width: 600px;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.65);
}
.hero__form > svg {
  width: 20px;
  height: 20px;
  color: var(--faint);
  flex: none;
}
.hero__form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  padding: 12px 4px;
  font-size: 0.95rem;
  color: var(--ink);
}
.hero__form input::placeholder {
  color: var(--muted);
}
.hero__form button {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--amber);
  color: #1b1206;
  display: grid;
  place-items: center;
  transition: transform 0.2s var(--ease), background 0.2s;
}
.hero__form button:hover {
  background: var(--amber-strong);
  transform: scale(1.05);
}
.hero__form button svg {
  width: 20px;
  height: 20px;
}
.hero__suggest {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--on-dark-muted);
}
.hero__suggest a {
  padding: 6px 12px;
  border-radius: var(--pill);
  border: 1px solid var(--line-dark);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.hero__suggest a:hover {
  border-color: var(--amber);
  color: var(--on-dark);
  background: rgba(233, 161, 59, 0.08);
}
.hero__art {
  position: relative;
  display: grid;
  place-items: center;
  padding-inline: 20px;
}
.arch-frame {
  position: relative;
  width: min(430px, 100%);
  aspect-ratio: 4 / 5;
  padding: 5px;
  background: linear-gradient(165deg, var(--amber) 0%, rgba(233, 161, 59, 0.25) 38%, rgba(238, 244, 239, 0.12) 100%);
  clip-path: url(#archClip);
  -webkit-clip-path: url(#archClip);
  border-radius: 220px 220px 26px 26px;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.45));
}
.arch-frame__inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  clip-path: url(#archClip);
  -webkit-clip-path: url(#archClip);
  border-radius: 216px 216px 22px 22px;
  background: var(--forest);
}
.arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  transform: scale(1.01);
}
.arch-frame__veil {
  position: absolute;
  inset: 5px;
  border-radius: 216px 216px 22px 22px;
  background: linear-gradient(180deg, transparent 45%, rgba(4, 16, 13, 0.55) 100%);
  pointer-events: none;
}
.arch-outline {
  position: absolute;
  width: min(500px, 108%);
  aspect-ratio: 4 / 5;
  top: -30px;
  border: 1px solid rgba(238, 244, 239, 0.16);
  clip-path: url(#archClip);
  -webkit-clip-path: url(#archClip);
  border-radius: 240px 240px 28px 28px;
  pointer-events: none;
}
.hero__badge {
  position: absolute;
  top: 8px;
  inset-inline-end: -6px;
  background: var(--amber);
  color: #1b1206;
  border-radius: var(--pill);
  padding: 10px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  z-index: 3;
}
.hero__badge svg {
  width: 14px;
  height: 14px;
}
.hero__float {
  position: absolute;
  inset-inline-start: -10px;
  bottom: 42px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: rgba(7, 42, 35, 0.72);
  border: 1px solid var(--line-dark-strong);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
}
.hero__float .icon-tile {
  background: rgba(233, 161, 59, 0.16);
  color: var(--amber);
}
.hero__float strong {
  display: block;
  font-size: 0.86rem;
  color: var(--on-dark);
}
.hero__float span {
  font-size: 0.72rem;
  color: var(--on-dark-muted);
}
.hero__caption {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: -26px;
  transform: translateX(-50%);
  font-size: 0.68rem;
  color: var(--on-dark-muted);
  white-space: nowrap;
  direction: rtl;
}
.hero__caption::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--last, var(--line-dark-strong));
  vertical-align: middle;
  margin-inline-end: 6px;
}
.hero__foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
  border-top: 1px solid var(--line-dark);
  color: var(--on-dark-muted);
  font-size: 0.74rem;
}
.hero__foot .row {
  gap: 22px;
}
.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero__scroll .line {
  width: 40px;
  height: 1px;
  background: var(--line-dark-strong);
  position: relative;
  overflow: hidden;
}
.hero__scroll .line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--amber);
  transform: translateX(-100%);
  animation: scroll-line 2.4s var(--ease) infinite;
}
@keyframes scroll-line {
  50% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

/* inner page hero */
.page-hero {
  position: relative;
  background: var(--forest-deep);
  color: var(--on-dark);
  overflow: hidden;
  border-radius: 0 0 var(--r-2xl) var(--r-2xl);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 90% at 85% 0%, rgba(23, 133, 115, 0.42), transparent 62%),
    radial-gradient(40% 60% at 5% 100%, rgba(233, 161, 59, 0.1), transparent 60%);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  width: 40%;
  height: 78%;
  background-image: radial-gradient(rgba(238, 244, 239, 0.26) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(45deg, #000 0%, transparent 68%);
  mask-image: linear-gradient(45deg, #000 0%, transparent 68%);
  pointer-events: none;
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(34px, 5vw, 58px) clamp(54px, 7vw, 86px);
}
.page-hero__inner h1,
.page-hero__inner > p {
  max-width: 900px;
}
.page-hero h1 {
  color: var(--on-dark);
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 4.4vw, 3.7rem);
}
.page-hero p {
  color: var(--on-dark-muted);
  max-width: 62ch;
  font-size: 1.02rem;
}
.page-hero .eyebrow {
  color: var(--on-dark-muted);
}
.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--on-dark-muted);
  margin-bottom: 26px;
}
.crumbs a:hover {
  color: var(--amber);
}
.crumbs svg {
  width: 12px;
  height: 12px;
  opacity: 0.5;
}
.crumbs [aria-current="page"] {
  color: var(--on-dark);
}
.crumbs--light {
  color: var(--muted);
}
.crumbs--light a:hover {
  color: var(--teal);
}
.crumbs--light [aria-current="page"] {
  color: var(--ink);
}

/* 9. COMPONENTS ----------------------------------------------------------- */
/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--pill);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s, transform 0.22s var(--ease), box-shadow 0.22s;
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn--primary {
  background: var(--forest);
  color: var(--on-dark);
  box-shadow: 0 12px 26px -16px rgba(11, 58, 49, 0.65);
}
.btn--primary:hover {
  background: var(--forest-mid);
}
html[data-theme="dark"] .btn--primary {
  background: var(--amber);
  color: #1b1206;
}
html[data-theme="dark"] .btn--primary:hover {
  background: var(--amber-strong);
}
.btn--amber {
  background: var(--amber);
  color: #1b1206;
}
.btn--amber:hover {
  background: var(--amber-strong);
}
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--surface);
}
.btn--light {
  background: var(--paper);
  color: var(--forest-deep);
}
.btn--light:hover {
  background: #fff;
}
.btn--outline-light {
  border-color: var(--line-dark-strong);
  color: var(--on-dark);
}
.btn--outline-light:hover {
  border-color: var(--amber);
  color: var(--amber);
}
.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.82rem;
}
.btn--block {
  width: 100%;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
  transition: gap 0.22s var(--ease), color 0.2s;
}
.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover {
  gap: 12px;
}
.link-arrow:hover svg {
  transform: translateX(-3px);
}
.link-arrow--light {
  color: var(--amber);
}
.link-underline {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 100% 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s var(--ease);
}
.link-underline:hover {
  background-size: 100% 1px;
  background-position: 0 100%;
}

/* tags & chips */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--pill);
  background: var(--mint);
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.7;
}
.tag--amber {
  background: var(--amber-soft);
  color: var(--amber-ink);
}
.tag--dark {
  background: rgba(238, 244, 239, 0.1);
  color: var(--on-dark);
}
.tag--outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}
.chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--on-dark);
}
html[data-theme="dark"] .chip[aria-pressed="true"],
html[data-theme="dark"] .chip.is-active {
  background: var(--amber);
  border-color: var(--amber);
  color: #1b1206;
}

/* cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.icon-tile {
  display: grid;
  place-items: center;
  width: 46px;
  height: 50px;
  border-radius: 999px 999px 12px 12px;
  background: var(--mint);
  color: var(--teal);
  flex: none;
}
.icon-tile svg {
  width: 22px;
  height: 22px;
}
.icon-tile--amber {
  background: var(--amber-soft);
  color: var(--amber-ink);
}
.icon-tile--dark {
  background: rgba(238, 244, 239, 0.08);
  color: var(--amber);
}
.meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.76rem;
  color: var(--muted);
}
.meta .sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--faint);
}
.meta__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.meta svg {
  width: 13px;
  height: 13px;
  opacity: 0.7;
}

/* quick dock */
.quickbar-wrap {
  position: relative;
  z-index: 5;
  margin-top: -58px;
}
.quickbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.quickbar__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-inline-start: 1px solid var(--line);
  transition: background 0.22s;
  position: relative;
}
.quickbar__item:first-child {
  border-inline-start: 0;
}
.quickbar__item:hover {
  background: var(--surface-2);
}
.quickbar__item::after {
  content: "";
  position: absolute;
  inset-inline: 24px;
  bottom: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.quickbar__item:hover::after {
  transform: scaleX(1);
}
.quickbar__text {
  min-width: 0;
}
.quickbar__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.5;
}
.quickbar__text span {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 2px;
}
.quickbar__arrow {
  margin-inline-start: auto;
  color: var(--faint);
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--ease), color 0.2s;
}
.quickbar__arrow svg {
  width: 17px;
  height: 17px;
}
.quickbar__item:hover .quickbar__arrow {
  color: var(--teal);
  transform: translateX(-4px);
}

/* need cards */
.need-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.need-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  min-height: 330px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease), border-color 0.3s, transform 0.3s var(--ease);
}
.need-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}
.need-card__index {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.need-card .icon-tile {
  transition: background 0.35s, color 0.35s;
}
.need-card h3 {
  font-size: 1.42rem;
  margin-bottom: 8px;
}
.need-card > p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
}
.need-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
}
.need-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.84rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  transition: color 0.2s, padding-inline-start 0.2s;
}
.need-links a:last-child {
  border-bottom: 0;
}
.need-links a svg {
  width: 14px;
  height: 14px;
  color: var(--faint);
  transition: transform 0.2s, color 0.2s;
}
.need-links a:hover {
  color: var(--teal);
}
.need-links a:hover svg {
  transform: translateX(-3px);
  color: var(--teal);
}
.need-card:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--on-dark);
  transform: translateY(-4px);
}
.need-card:hover h3 {
  color: var(--on-dark);
}
.need-card:hover > p,
.need-card:hover .need-card__index {
  color: var(--on-dark-muted);
}
.need-card:hover .icon-tile {
  background: rgba(233, 161, 59, 0.16);
  color: var(--amber);
}
.need-card:hover .need-links a {
  color: var(--on-dark);
  border-color: var(--line-dark);
}
.need-card:hover .need-links a:hover {
  color: var(--amber);
}
.need-card:hover .need-links a svg {
  color: var(--amber);
}
.need-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}
.need-perks .tag {
  background: var(--paper-2);
  color: var(--muted);
  font-weight: 500;
}
.need-card:hover .need-perks .tag {
  background: rgba(238, 244, 239, 0.08);
  color: var(--on-dark-muted);
}
.need-card--feature {
  grid-column: span 8;
  background: linear-gradient(120deg, var(--mint), var(--surface) 65%);
  border-color: transparent;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  min-height: 250px;
  padding: 40px;
}
.need-card--feature:hover {
  background: var(--forest);
}
.need-card--feature .need-card__body {
  max-width: 430px;
}
.need-card--feature h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: 10px;
}
.need-card--feature p {
  color: var(--muted);
  margin-bottom: 22px;
  font-size: 0.92rem;
}
.need-card--feature .need-card__art {
  margin-inline-start: auto;
  flex: none;
  width: 172px;
  aspect-ratio: 4/5;
  border-radius: 999px 999px 16px 16px;
  overflow: hidden;
  border: 4px solid var(--surface);
  box-shadow: var(--shadow-md);
  transform: rotate(-3deg);
  transition: transform 0.5s var(--ease);
}
.need-card--feature:hover .need-card__art {
  transform: rotate(0) scale(1.02);
}
.need-card--feature .need-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.need-card--dark {
  grid-column: span 4;
  background: var(--forest-deep);
  border-color: var(--forest-deep);
  color: var(--on-dark);
  min-height: 250px;
  justify-content: center;
}
.need-card--dark h3 {
  color: var(--on-dark);
}
.need-card--dark p {
  color: var(--on-dark-muted);
}
.need-card--dark:hover {
  background: var(--forest-mid);
  border-color: var(--forest-mid);
}
.need-card--dark .phone-big {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 750;
  color: var(--amber);
  line-height: 1.2;
  margin-bottom: 4px;
  direction: ltr;
  text-align: right;
}
.need-card--dark .icon-tile {
  background: rgba(233, 161, 59, 0.14);
  color: var(--amber);
  margin-bottom: 18px;
}

/* pulse */
.panel-dark {
  border: 1px solid transparent;
}
html[data-theme="dark"] .panel-dark {
  border-color: var(--line);
}
.pulse {
  display: grid;
  grid-template-columns: 1.15fr 2.2fr;
  gap: 50px;
  padding: clamp(34px, 5vw, 60px);
  border-radius: var(--r-xl);
  align-items: center;
}
.pulse h2 {
  margin-bottom: 12px;
}
.pulse__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.pulse__stat {
  padding-inline: 26px;
  border-inline-start: 1px solid var(--line-dark);
}
.pulse__stat:first-child {
  border-inline-start: 0;
  padding-inline-start: 0;
}
.pulse__num {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.1;
  color: var(--on-dark);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.pulse__num small {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--amber);
}
.pulse__label {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--on-dark-muted);
  line-height: 1.6;
}
.pulse__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 0.72rem;
  color: var(--on-dark-muted);
}
.pulse__note .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5bd6a7;
}

/* city / districts */
.city-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.city-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 5/4;
  background: var(--forest);
}
.city-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.city-visual:hover img {
  transform: scale(1.04);
}
.city-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(4, 16, 13, 0.65));
}
.city-visual__label {
  position: absolute;
  inset-inline-start: 22px;
  bottom: 20px;
  z-index: 2;
  color: var(--on-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
}
.city-visual__label .pin {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--amber);
  color: #1b1206;
  display: grid;
  place-items: center;
}
.city-visual__label .pin svg {
  width: 16px;
  height: 16px;
}
.city-visual__badge {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  z-index: 2;
  background: rgba(4, 16, 13, 0.55);
  border: 1px solid var(--line-dark-strong);
  backdrop-filter: blur(12px);
  color: var(--on-dark);
  font-size: 0.7rem;
  padding: 7px 12px;
  border-radius: var(--pill);
}
.districts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 26px;
}
.district {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}
.district:hover {
  border-color: var(--teal);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.district__no {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--amber-ink);
  background: var(--amber-soft);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
}
.district__name {
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.4;
}
.district__meta {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 400;
}
.district svg {
  width: 14px;
  height: 14px;
  color: var(--faint);
  margin-inline-start: auto;
}

/* news */
.news-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
}
.feature-story {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 540px;
  border-radius: var(--r-xl);
  overflow: hidden;
  color: var(--on-dark);
  isolation: isolate;
}
.feature-story img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.4s var(--ease-out);
}
.feature-story:hover img {
  transform: scale(1.04);
}
.feature-story::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 16, 13, 0.05) 25%, rgba(4, 16, 13, 0.82) 100%);
}
.feature-story__body {
  padding: clamp(24px, 4vw, 40px);
  max-width: 680px;
}
.feature-story h2 {
  color: #fff;
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  line-height: 1.45;
  margin: 14px 0 12px;
}
.feature-story p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.85;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feature-story .meta {
  color: rgba(255, 255, 255, 0.7);
}
.feature-story .link-arrow {
  color: #fff;
}
.feature-story .link-arrow:hover {
  color: var(--amber);
}
.story-list {
  display: flex;
  flex-direction: column;
}
.story-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.story-row:first-child {
  padding-top: 0;
}
.story-row:last-child {
  border-bottom: 0;
}
.story-row__media {
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper-2);
}
.story-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.story-row:hover .story-row__media img {
  transform: scale(1.08);
}
.story-row h3 {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.7;
  margin-top: 6px;
  transition: color 0.2s;
}
.story-row:hover h3 {
  color: var(--teal);
}
.story-row .meta {
  font-size: 0.7rem;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.story {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.story:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.story__media {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--paper-2);
  position: relative;
}
.story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.story:hover .story__media img {
  transform: scale(1.05);
}
.story__badge {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(8px);
  color: #08211b;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--pill);
}
.story__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.story__body h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.6;
  margin: 10px 0 8px;
  transition: color 0.2s;
}
.story:hover h3 {
  color: var(--teal);
}
.story__body p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}
.story__body .meta {
  margin-top: auto;
  font-size: 0.7rem;
}
.filter-empty {
  display: none;
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
}
.filter-empty.is-visible {
  display: block;
}

/* transparency */
.budget-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}
.transparency--cta {
  grid-template-columns: 1.4fr 0.6fr;
}
.transparency {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  padding: clamp(34px, 5vw, 64px);
  border-radius: var(--r-xl);
  align-items: center;
}
.transparency__list {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
}
.transparency__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 6px;
  border-bottom: 1px solid var(--line-dark);
  transition: padding 0.25s var(--ease), background 0.25s;
}
.transparency__row:last-child {
  border-bottom: 0;
}
.transparency__row:hover {
  padding-inline-start: 12px;
  background: rgba(238, 244, 239, 0.03);
}
.transparency__row .icon-tile {
  width: 40px;
  height: 44px;
  background: rgba(238, 244, 239, 0.07);
  color: var(--amber);
}
.transparency__row strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--on-dark);
}
.transparency__row span {
  display: block;
  font-size: 0.72rem;
  color: var(--on-dark-muted);
}
.transparency__row > svg {
  margin-inline-start: auto;
  width: 16px;
  height: 16px;
  color: var(--on-dark-muted);
}
.tender-card {
  background: rgba(238, 244, 239, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  padding: 26px;
}
.tender-card h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  margin-bottom: 4px;
}
.tender-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-dark);
}
.tender-item:last-of-type {
  border-bottom: 0;
}
.tender-item__no {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--amber);
  padding-top: 2px;
  flex: none;
}
.tender-item p {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--on-dark);
  margin-bottom: 2px;
}
.tender-item span {
  font-size: 0.68rem;
  color: var(--on-dark-muted);
}
.tender-card__foot {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* mayor */
.mayor {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 52px);
}
.mayor__portrait {
  position: relative;
  width: 100%;
  max-width: 330px;
  aspect-ratio: 4/5;
  margin-inline: auto;
  border-radius: 999px 999px 24px 24px;
  overflow: hidden;
  border: 5px solid var(--amber-soft);
  background: var(--paper-2);
}
.mayor__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.mayor__stamp {
  position: absolute;
  bottom: 14px;
  inset-inline-start: 14px;
  background: var(--surface);
  border-radius: var(--pill);
  padding: 7px 13px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.mayor blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  font-weight: 600;
  line-height: 1.65;
  color: var(--forest);
  margin: 18px 0 22px;
  padding-inline-start: 20px;
  border-inline-start: 3px solid var(--amber);
}
html[data-theme="dark"] .mayor blockquote {
  color: var(--ink);
}
.mayor__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.mayor__name strong {
  font-family: var(--font-display);
  font-size: 1.06rem;
}
.mayor__name span {
  font-size: 0.78rem;
  color: var(--muted);
}
.mayor__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.mayor__facts span {
  font-size: 0.74rem;
  padding: 6px 12px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  color: var(--muted);
}
.mayor__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* participate */
.participate {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
  color: var(--on-dark);
  isolation: isolate;
  padding: clamp(30px, 5vw, 64px);
}
.participate img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.participate::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to left, rgba(4, 16, 13, 0.82) 8%, rgba(4, 16, 13, 0.22) 72%),
    linear-gradient(0deg, rgba(4, 16, 13, 0.8), transparent 62%);
}
.participate__body {
  max-width: 520px;
}
.participate h2 {
  color: #fff;
  margin-bottom: 14px;
}
.participate p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 26px;
  font-size: 0.94rem;
}
.participate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.participate .btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.participate .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* footer */
.site-footer {
  background: var(--forest-deep);
  color: var(--on-dark);
  margin-top: clamp(2rem, 4vw, 4rem);
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset-inline-end: -120px;
  top: -160px;
  width: 520px;
  height: 640px;
  border: 1px solid rgba(238, 244, 239, 0.07);
  clip-path: url(#archClip);
  border-radius: 260px 260px 30px 30px;
  pointer-events: none;
}
.footer-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-block: clamp(44px, 6vw, 76px) 40px;
}
.footer-brand img {
  height: 46px;
  width: auto;
  margin-bottom: 18px;
}
.footer-brand p {
  font-size: 0.82rem;
  color: var(--on-dark-muted);
  max-width: 34ch;
  line-height: 1.9;
}
.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-dark-strong);
  display: grid;
  place-items: center;
  color: var(--on-dark-muted);
  transition: all 0.2s;
}
.footer-social a:hover {
  color: var(--amber);
  border-color: var(--amber);
  transform: translateY(-2px);
}
.footer-social svg {
  width: 15px;
  height: 15px;
}
.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-col a {
  font-size: 0.82rem;
  color: var(--on-dark-muted);
  transition: color 0.2s, padding 0.2s;
}
.footer-col a:hover {
  color: var(--on-dark);
  padding-inline-start: 4px;
}
.footer-news p {
  font-size: 0.8rem;
  color: var(--on-dark-muted);
  margin-bottom: 14px;
}
.newsletter {
  display: flex;
  gap: 8px;
  background: rgba(238, 244, 239, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: var(--pill);
  padding: 5px 5px 5px 16px;
  max-width: 320px;
}
.newsletter input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  font-size: 0.8rem;
  color: var(--on-dark);
}
.newsletter input::placeholder {
  color: var(--on-dark-muted);
}
.newsletter button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--amber);
  color: #1b1206;
  display: grid;
  place-items: center;
  flex: none;
}
.newsletter button svg {
  width: 15px;
  height: 15px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--on-dark-muted);
}
.footer-contact div {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.footer-contact svg {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  flex: none;
  color: var(--amber);
}
.footer-contact a {
  direction: ltr;
  unicode-bidi: plaintext;
}
.footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-block: 20px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.72rem;
  color: var(--on-dark-muted);
}
.footer-bottom .row {
  gap: 18px;
}
.footer-stat {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.footer-stat b {
  color: var(--on-dark);
  font-weight: 600;
}
.to-top {
  position: fixed;
  inset-inline-end: 22px;
  bottom: 22px;
  z-index: 80;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--on-dark);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
  border: 1px solid var(--line-dark);
}
html[data-theme="dark"] .to-top {
  background: var(--amber);
  color: #1b1206;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top svg {
  width: 18px;
  height: 18px;
}

/* 10. PAGE SECTIONS ------------------------------------------------------- */
/* services directory */
.services-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 30px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 0 18px;
  min-height: 50px;
  min-width: 300px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-field:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 12%, transparent);
}
.search-field svg {
  width: 18px;
  height: 18px;
  color: var(--faint);
  flex: none;
}
.search-field input {
  border: 0;
  background: none;
  outline: 0;
  font-size: 0.88rem;
  width: 100%;
  min-width: 0;
  padding-block: 12px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
  position: relative;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.service-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.service-card h3 {
  font-size: 1.08rem;
  margin-top: 2px;
}
.service-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 4px;
}
.service-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.service-card__foot .link-arrow {
  font-size: 0.8rem;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: var(--muted);
}
.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2fa87f;
}
.status--offline::before {
  background: var(--amber);
}
.service-card.is-hidden {
  display: none;
}
.help-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 50px;
}
.help-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.help-card h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.help-card p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.75;
}

/* news page */
.news-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-page-grid .story--wide {
  grid-column: span 2;
  flex-direction: row;
}
.story--wide .story__media {
  aspect-ratio: auto;
  width: 52%;
  flex: none;
}
.story--wide .story__body {
  justify-content: center;
  padding: 30px;
}
.story--wide .story__body .meta {
  margin-top: 0;
}
.story--wide .story__body .link-arrow {
  margin-top: auto;
}
.story--wide h3 {
  font-size: 1.35rem;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}
.pagination a,
.pagination span {
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--muted);
  transition: all 0.2s;
}
.pagination a:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.pagination [aria-current="page"] {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--on-dark);
}
.pagination svg {
  width: 16px;
  height: 16px;
}

/* article */
.reading-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 200;
  background: transparent;
}
.reading-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--amber), var(--teal));
  transition: width 0.1s linear;
}
.article {
  max-width: 800px;
  margin-inline: auto;
}
.article__header {
  margin-bottom: 30px;
}
.article__header h1 {
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  line-height: 1.35;
  margin: 14px 0 18px;
}
.article__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--muted);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.article__meta .share {
  margin-inline-start: auto;
  display: flex;
  gap: 6px;
}
.share-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: all 0.2s;
}
.share-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.share-btn svg {
  width: 15px;
  height: 15px;
}
.article__hero {
  margin-bottom: 34px;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.article__hero img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.article__hero figcaption {
  padding: 10px 4px 0;
  font-size: 0.72rem;
  color: var(--muted);
}
.article__body {
  font-size: 1.02rem;
  line-height: 2.15;
  color: var(--ink-2);
}
.article__body > p {
  margin-bottom: 24px;
}
.article__body .lead {
  font-size: 1.14rem;
  line-height: 2.1;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 28px;
}
.article__body h2 {
  font-size: 1.5rem;
  margin: 38px 0 16px;
}
.article__body blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--mint);
  border-radius: var(--r-md);
  border-inline-start: 3px solid var(--teal);
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.85;
  color: var(--forest);
}
html[data-theme="dark"] .article__body blockquote {
  color: var(--ink);
}
.article-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 32px 0;
}
.article-stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  text-align: center;
}
.article-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  color: var(--teal);
  line-height: 1.2;
}
.article-stat span {
  font-size: 0.72rem;
  color: var(--muted);
}
.article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.article__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding: 20px;
  background: var(--paper-2);
  border-radius: var(--r-md);
}
.article__author .avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--amber);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  flex: none;
}
.article__author strong {
  display: block;
  font-size: 0.86rem;
}
.article__author span {
  font-size: 0.74rem;
  color: var(--muted);
}
.article__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 34px;
}
.article__nav a {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px;
  transition: border-color 0.2s, background 0.2s;
}
.article__nav a:hover {
  border-color: var(--teal);
  background: var(--surface);
}
.article__nav span {
  font-size: 0.7rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.article__nav strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.7;
  margin-top: 6px;
}
.article__nav svg {
  width: 13px;
  height: 13px;
}
.related {
  margin-top: clamp(50px, 7vw, 80px);
}

/* organization */
.org-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  margin-bottom: 60px;
}
.org-diagram {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 34px;
  position: relative;
  overflow: hidden;
}
.org-diagram__top {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}
.org-node {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: var(--pill);
  background: var(--forest);
  color: var(--on-dark);
  font-size: 0.82rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
}
.org-node svg {
  width: 16px;
  height: 16px;
  color: var(--amber);
}
.org-node--amber {
  background: var(--amber);
  color: #1b1206;
}
.org-node--amber svg {
  color: #1b1206;
}
.org-connector {
  width: 1px;
  height: 22px;
  background: var(--line-strong);
  margin-inline: auto;
}
.org-branches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 22px;
  position: relative;
  padding-top: 18px;
}
.org-branches::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 12.5%;
  height: 1px;
  background: var(--line-strong);
}
.org-branch {
  text-align: center;
  position: relative;
  padding-top: 18px;
}
.org-branch::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 50%;
  height: 18px;
  width: 1px;
  background: var(--line-strong);
}
.org-branch span {
  position: relative;
  z-index: 2;
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 6px;
  line-height: 1.5;
}
.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 6px;
  background: var(--paper-2);
  border-radius: var(--pill);
  margin-bottom: 34px;
  width: fit-content;
  max-width: 100%;
}
.tab {
  padding: 9px 18px;
  border-radius: var(--pill);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.2s;
}
.tab[aria-selected="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}
.tab-panel[hidden] {
  display: none;
}
.org-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.org-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: all 0.22s var(--ease);
}
.org-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.org-card__body {
  min-width: 0;
}
.org-card strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.55;
}
.org-card span {
  font-size: 0.7rem;
  color: var(--muted);
}
.org-card > svg {
  width: 15px;
  height: 15px;
  margin-inline-start: auto;
  color: var(--faint);
  flex: none;
}

/* mayor page */
.mayor-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.mayor-hero__portrait {
  position: relative;
  width: 100%;
  max-width: 380px;
  justify-self: center;
  border-radius: 999px 999px 28px 28px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--paper-2);
  border: 4px solid rgba(238, 244, 239, 0.18);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.mayor-hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: saturate(0.92) contrast(1.03);
}
.mayor-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 26px 0;
}
.mayor-meta div {
  padding: 14px 16px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-sm);
  background: rgba(238, 244, 239, 0.04);
}
.mayor-meta span {
  display: block;
  font-size: 0.68rem;
  color: var(--on-dark-muted);
  margin-bottom: 3px;
}
.mayor-meta strong {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--on-dark);
}
.prose-block {
  max-width: 760px;
}
.prose-block h2 {
  font-size: 1.6rem;
  margin-bottom: 14px;
}
.prose-block p {
  color: var(--ink-2);
  margin-bottom: 16px;
  line-height: 2.05;
}
.timeline {
  display: flex;
  flex-direction: column;
  margin-top: 26px;
}
.timeline__item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 16px;
  padding-bottom: 22px;
  position: relative;
}
.timeline__item::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  background: var(--paper);
  margin-top: 9px;
  z-index: 2;
}
.timeline__item::after {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 0;
  inset-inline-start: 4px;
  width: 1px;
  background: var(--line);
}
.timeline__item:last-child::after {
  display: none;
}
.timeline__item strong {
  display: block;
  font-size: 0.9rem;
}
.timeline__item span {
  font-size: 0.74rem;
  color: var(--muted);
}
.quote-panel {
  background: var(--forest);
  color: var(--on-dark);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-lg);
}
.quote-panel p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.8;
  color: var(--on-dark);
}
.quote-panel footer {
  margin-top: 16px;
  font-size: 0.76rem;
  color: var(--on-dark-muted);
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.info-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}
.info-card__body strong {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 3px;
}
.info-card__body p,
.info-card__body a {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.8;
  direction: rtl;
}
.info-card__body a[href^="tel"] {
  direction: ltr;
  unicode-bidi: plaintext;
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.5vw, 36px);
}
.form-card h2 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}
.form-card > p {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 26px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-2);
}
.field label .req {
  color: var(--clay);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: 0;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.8;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  background: var(--surface);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 12%, transparent);
}
.field .hint {
  font-size: 0.7rem;
  color: var(--muted);
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.7;
  cursor: pointer;
}
.check input {
  width: 17px;
  height: 17px;
  min-height: 0;
  margin-top: 3px;
  accent-color: var(--teal);
  flex: none;
}
.form-note {
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.7;
}
.form-success {
  display: none;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: var(--r-sm);
  background: var(--mint);
  color: var(--forest);
  font-size: 0.84rem;
  margin-bottom: 20px;
}
.form-success.is-visible {
  display: flex;
}
html[data-theme="dark"] .form-success {
  color: var(--ink);
}
.emergency {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 46px;
}
.emergency a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: all 0.2s;
}
.emergency a:hover {
  border-color: var(--amber);
  background: var(--amber-soft);
}
.emergency b {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
}
.emergency span {
  font-size: 0.72rem;
  color: var(--muted);
}
.map-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 260px;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
}
.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.6;
}
.map-card > div {
  position: relative;
  z-index: 2;
}
.map-pin {
  width: 50px;
  height: 50px;
  border-radius: 50% 50% 50% 4px;
  background: var(--forest);
  color: var(--amber);
  display: grid;
  place-items: center;
  transform: rotate(-45deg);
  margin: 0 auto 18px;
  box-shadow: var(--shadow-md);
}
.map-pin svg {
  transform: rotate(45deg);
  width: 20px;
  height: 20px;
}
.map-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.map-card p {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 16px;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--teal);
  line-height: 1;
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 22px 20px;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.95;
}

/* design system page */
.swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 26px;
}
.swatch {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.swatch__color {
  height: 92px;
}
.swatch__body {
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.swatch__body strong {
  font-size: 0.76rem;
  display: block;
}
.swatch__body code {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--muted);
  direction: ltr;
}
.type-scale {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 26px;
}
.type-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.type-row .kicker {
  font-size: 0.64rem;
}
.type-row .specimen {
  font-family: var(--font-display);
  font-weight: 750;
  line-height: 1.3;
}
.ds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 26px;
}
.ds-panel {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 26px;
}
.ds-panel h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 18px;
}
.ds-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.spacing-scale {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 10px;
}
.spacing-scale div {
  height: 60px;
  flex: 1;
  background: var(--mint);
  border-radius: 6px 6px 0 0;
  position: relative;
}
.spacing-scale div span {
  position: absolute;
  bottom: -22px;
  inset-inline: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--muted);
}

/* command palette */
.cmdk {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  padding: clamp(16px, 8vh, 90px) 16px;
}
.cmdk.is-open {
  display: block;
}
.cmdk__scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 16, 13, 0.62);
  backdrop-filter: blur(6px);
  animation: fade 0.2s;
}
.cmdk__panel {
  position: relative;
  max-width: 640px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: cmdk-in 0.28s var(--ease-out);
}
@keyframes cmdk-in {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.cmdk__input {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.cmdk__input svg {
  width: 20px;
  height: 20px;
  color: var(--faint);
  flex: none;
}
.cmdk__input input {
  flex: 1;
  border: 0;
  background: none;
  outline: 0;
  font-size: 1rem;
  min-width: 0;
  padding-block: 4px;
}
.cmdk__input kbd {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  border: 1px solid var(--line);
  padding: 3px 6px;
  border-radius: 5px;
  color: var(--muted);
}
.cmdk__list {
  max-height: min(56vh, 430px);
  overflow-y: auto;
  padding: 8px;
}
.cmdk__group {
  font-size: 0.64rem;
  color: var(--muted);
  padding: 12px 12px 6px;
  font-weight: 600;
}
.cmdk__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 0.86rem;
  cursor: pointer;
}
.cmdk__item svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
  flex: none;
}
.cmdk__item span {
  flex: 1;
}
.cmdk__item small {
  font-size: 0.66rem;
  color: var(--muted);
}
.cmdk__item[aria-selected="true"],
.cmdk__item:hover {
  background: var(--paper-2);
}
.cmdk__item[aria-selected="true"] svg {
  color: var(--teal);
}
.cmdk__empty {
  padding: 34px 16px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--muted);
}
.cmdk__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 18px;
  border-top: 1px solid var(--line);
  font-size: 0.66rem;
  color: var(--muted);
}
.cmdk__foot kbd {
  font-family: var(--font-mono);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 4px;
}

/* toast */
.toast {
  position: fixed;
  inset-inline: 0;
  bottom: 26px;
  z-index: 210;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.toast__inner {
  background: var(--forest);
  color: var(--on-dark);
  padding: 12px 20px;
  border-radius: var(--pill);
  font-size: 0.8rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.3s var(--ease);
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast__inner.is-visible {
  opacity: 1;
  transform: none;
}
.toast svg {
  width: 15px;
  height: 15px;
  color: var(--amber);
}

/* upload */
.upload-zone {
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-md);
  padding: 24px;
  text-align: center;
  background: var(--paper);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.upload-zone:hover,
.upload-zone.is-drag {
  border-color: var(--teal);
  background: var(--mint);
}
.upload-zone svg {
  width: 24px;
  height: 24px;
  color: var(--teal);
  margin: 0 auto 8px;
}
.upload-zone p {
  font-size: 0.8rem;
  color: var(--muted);
}
.upload-zone strong {
  color: var(--teal);
}
.upload-preview {
  display: none;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  font-size: 0.76rem;
  color: var(--muted);
}
.upload-preview.is-visible {
  display: flex;
}
.upload-preview img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
}

/* responsive */
@media (max-width: 1180px) {
  .nav__link {
    padding-inline: 10px;
    font-size: 0.86rem;
  }
  .search-btn span {
    display: none;
  }
  .brand__text {
    display: none;
  }
  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .service-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .footer-news {
    grid-column: 1 / -1;
  }
}
@media (max-width: 980px) {
  .nav,
  .search-btn {
    display: none;
  }
  .mobile-search {
    display: inline-grid;
  }
  .burger {
    display: inline-grid;
  }
  .header-actions {
    margin-inline-start: auto;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 42px 90px;
    gap: 56px;
  }
  .hero__art {
    max-width: 260px;
    margin-inline: auto;
    margin-top: 8px;
  }
  .hero__float {
    inset-inline-start: -4px;
    bottom: 22px;
  }
  .hero__badge {
    inset-inline-end: 0;
  }
  .quickbar {
    grid-template-columns: repeat(2, 1fr);
  }
  .quickbar__item:nth-child(3) {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }
  .quickbar__item:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  .need-card {
    grid-column: span 6;
  }
  .need-card--feature,
  .need-card--dark {
    grid-column: span 12;
  }
  .pulse {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .city-grid,
  .news-layout,
  .transparency,
  .transparency--cta,
  .budget-band,
  .mayor,
  .contact-grid,
  .org-intro,
  .mayor-hero {
    grid-template-columns: 1fr;
  }
  .news-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-page-grid .story--wide {
    grid-column: span 2;
  }
  .story-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .org-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .emergency {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .mayor__portrait {
    max-width: 260px;
    margin-inline: 0;
  }
  .mayor-hero__portrait {
    max-width: 360px;
    margin-inline: auto;
  }
  .cmdk__foot {
    display: none;
  }
}
@media (max-width: 700px) {
  :root {
    --r-2xl: 30px;
    --r-xl: 26px;
  }
  body {
    font-size: 15.5px;
  }
  .container,
  .container--narrow {
    width: min(100% - 1.75rem, var(--container));
  }
  .utility {
    display: none;
  }
  .masthead {
    min-height: 64px;
    gap: 12px;
  }
  .brand__logo {
    height: 38px;
  }
  .header-cta {
    display: none;
  }
  .hero {
    border-radius: 0 0 26px 26px;
  }
  .hero__inner {
    padding-block: 24px 76px;
    gap: 34px;
  }
  .hero__eyebrow {
    font-size: 0.68rem;
    margin-bottom: 18px;
  }
  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }
  .hero__lead {
    font-size: 0.94rem;
    margin-bottom: 26px;
  }
  .hero__form {
    padding: 6px 6px 6px 14px;
  }
  .hero__form input {
    font-size: 0.86rem;
    padding-block: 10px;
  }
  .hero__form button {
    width: 42px;
    height: 42px;
  }
  .hero__suggest {
    font-size: 0.72rem;
  }
  .hero__suggest a {
    padding: 5px 10px;
  }
  .hero__art {
    max-width: 280px;
  }
  .hero__float {
    padding: 10px 12px;
    gap: 10px;
    inset-inline-start: -8px;
    bottom: 16px;
  }
  .hero__float strong {
    font-size: 0.76rem;
  }
  .hero__float span {
    font-size: 0.66rem;
  }
  .hero__float .icon-tile {
    width: 36px;
    height: 40px;
  }
  .hero__badge {
    font-size: 0.64rem;
    padding: 8px 12px;
  }
  .hero__caption {
    display: none;
  }
  .hero__foot {
    font-size: 0.66rem;
  }
  .quickbar-wrap {
    margin-top: -40px;
  }
  .quickbar {
    grid-template-columns: 1fr;
  }
  .quickbar__item {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
    padding: 16px 18px;
  }
  .quickbar__item:first-child {
    border-top: 0;
  }
  .quickbar__item:nth-child(3) {
    border-inline-start: 0;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .section-head h2 {
    font-size: 1.65rem;
  }
  .need-card {
    grid-column: span 12;
    min-height: 0;
    padding: 24px;
  }
  .need-card--feature {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .need-card--feature .need-card__art {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: var(--r-md);
    margin: 0;
    transform: none;
  }
  .pulse {
    padding: 26px;
  }
  .pulse__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
  }
  .pulse__stat:nth-child(3) {
    border-inline-start: 0;
    padding-inline-start: 0;
  }
  .pulse__stat {
    padding-inline: 18px;
  }
  .pulse__stat:nth-child(odd) {
    padding-inline-start: 0;
  }
  .districts {
    grid-template-columns: 1fr;
  }
  .story-grid,
  .news-page-grid,
  .services-grid,
  .help-strip,
  .org-grid,
  .emergency,
  .footer-main,
  .ds-grid,
  .article-stats,
  .form-grid,
  .mayor-meta {
    grid-template-columns: 1fr;
  }
  .news-page-grid .story--wide {
    grid-column: span 1;
    flex-direction: column;
  }
  .story--wide .story__media {
    width: 100%;
    aspect-ratio: 16/10;
  }
  .story--wide .story__body {
    padding: 22px;
  }
  .feature-story {
    min-height: 420px;
  }
  .feature-story__body {
    padding: 22px;
  }
  .transparency {
    padding: 26px;
  }
  .mayor {
    padding: 22px;
  }
  .org-diagram {
    padding: 20px;
  }
  .org-branches {
    grid-template-columns: repeat(2, 1fr);
  }
  .org-branches::before {
    display: none;
  }
  .org-branch::before {
    display: none;
  }
  .org-branch {
    padding-top: 0;
  }
  .org-card {
    padding: 16px;
  }
  .tabs {
    width: 100%;
    border-radius: var(--r-md);
  }
  .tab {
    flex: 1;
    text-align: center;
    padding-inline: 10px;
    font-size: 0.78rem;
  }
  .page-hero__inner {
    padding-block: 26px 44px;
  }
  .page-hero::after {
    display: none;
  }
  .services-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .search-field {
    min-width: 0;
  }
  .article__nav {
    grid-template-columns: 1fr;
  }
  .article__meta .share {
    margin-inline-start: 0;
  }
  .site-footer {
    border-radius: 26px 26px 0 0;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .to-top {
    inset-inline-end: 14px;
    bottom: 14px;
  }
  .cmdk {
    padding-top: 40px;
  }
  .type-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .swatches {
    grid-template-columns: 1fr 1fr;
  }
  .section {
    padding-block: 3.2rem;
  }
  .hero__ghost {
    display: none;
  }
}

/* print */
@media print {
  .site-header,
  .site-footer,
  .to-top,
  .cmdk,
  .reading-progress,
  .article__nav,
  .share {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .article {
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Extras: transparency download card, systems strip, utilities
   -------------------------------------------------------------------------- */
.is-hidden { display: none !important; }
[hidden] { display: none !important; }

.download-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: clamp(26px, 3.4vw, 38px);
  background: linear-gradient(152deg, #f4c274 0%, var(--amber) 48%, #d88f27 100%);
  color: #231604;
}
.download-card::after {
  content: "";
  position: absolute;
  inset-inline-end: -70px;
  bottom: -130px;
  width: 280px;
  height: 360px;
  border: 1px solid rgba(35, 22, 4, 0.18);
  clip-path: url(#archClip);
  -webkit-clip-path: url(#archClip);
  border-radius: 150px 150px 20px 20px;
  pointer-events: none;
}
.download-card .kicker { color: rgba(35, 22, 4, 0.62); }
.download-card h3 {
  color: #231604;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.5;
  margin: 12px 0 8px;
  position: relative;
  z-index: 2;
}
.download-card p {
  color: rgba(35, 22, 4, 0.76);
  font-size: 0.86rem;
  line-height: 1.85;
  margin-bottom: 22px;
  max-width: 38ch;
  position: relative;
  z-index: 2;
}
.download-card .btn--primary { background: #231604; color: #fff7e8; }
.download-card .btn--primary:hover { background: #3a2609; }
.download-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(35, 22, 4, 0.2);
  font-size: 0.78rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
}
.download-card__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.download-card__links a:hover { text-decoration: underline; }
.download-card__links svg { width: 13px; height: 13px; }

.systems-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.systems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.system {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.system:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.system .icon-tile { width: 38px; height: 42px; }
.system .icon-tile svg { width: 18px; height: 18px; }
.system strong { display: block; font-size: 0.84rem; line-height: 1.5; }
.system span span { font-size: 0.68rem; color: var(--muted); }
.system__ext {
  width: 14px;
  height: 14px;
  color: var(--faint);
  margin-inline-start: auto;
  flex: none;
}
@media (max-width: 900px) {
  .systems { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .systems { grid-template-columns: 1fr; }
}

/* article page */
.article-page {
  padding-block-start: clamp(1.6rem, 3vw, 2.6rem);
}
.article__meta .meta__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article__meta svg {
  width: 13px;
  height: 13px;
  opacity: 0.7;
}
.article__author a {
  color: var(--teal);
}
.comments-section {
  padding-block-start: 0;
}
.related {
  margin-top: 0;
}

/* hero search (services page) */
.search-field--hero {
  max-width: 640px;
  margin-top: 28px;
  min-height: 60px;
  padding-inline: 20px 14px;
  background: var(--surface);
  border-color: transparent;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.55);
}
.search-field--hero:focus-within {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(233, 161, 59, 0.18), 0 24px 60px -30px rgba(0, 0, 0, 0.55);
}
.search-field--hero input {
  font-size: 0.94rem;
  color: var(--ink);
  padding-block: 17px;
}
.search-count {
  flex: none;
  font-size: 0.7rem;
  color: var(--muted);
  white-space: nowrap;
  border-inline-start: 1px solid var(--line);
  padding-inline-start: 14px;
}
.service-card:target {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 14%, transparent);
}

/* transparency page */
.doc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.doc-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.doc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.doc-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}
.doc-card__no {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
}
.doc-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.doc-card p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 20px;
  max-width: 44ch;
}
.doc-card .link-arrow {
  margin-top: auto;
  font-size: 0.8rem;
}
.download-card__year {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1;
  color: rgba(35, 22, 4, 0.92);
  margin-top: 10px;
  letter-spacing: -0.01em;
}
.tender-table {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}
.tender-row {
  display: grid;
  grid-template-columns: 48px 104px 1fr 24px;
  gap: 16px;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.tender-row:last-child {
  border-bottom: 0;
}
.tender-row--head {
  font-size: 0.68rem;
  color: var(--muted);
  background: var(--paper-2);
  padding-block: 11px;
}
.tender-row:not(.tender-row--head):hover {
  background: var(--paper-2);
}
.tender-row__no {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}
.tender-row__title {
  font-size: 0.88rem;
  line-height: 1.75;
}
.tender-row > svg {
  width: 15px;
  height: 15px;
  color: var(--faint);
  justify-self: end;
}
.tender-row .tag {
  justify-self: start;
}
@media (max-width: 760px) {
  .doc-grid {
    grid-template-columns: 1fr;
  }
  .tender-row {
    grid-template-columns: 32px 1fr 20px;
    padding: 14px 16px;
    gap: 12px;
  }
  .tender-row .tag,
  .tender-row--head span:nth-child(2) {
    display: none;
  }
}

/* design system page */
.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.principle {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.principle::after {
  content: "";
  position: absolute;
  inset-inline: 26px;
  top: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.principle:hover::after {
  transform: scaleX(1);
}
.principle__no {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--amber-ink);
  background: var(--amber-soft);
  padding: 3px 9px;
  border-radius: var(--pill);
  margin-bottom: 42px;
}
.principle h3 {
  font-size: 1.12rem;
  margin-bottom: 9px;
}
.principle p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.9;
}
.contrast-list {
  display: flex;
  flex-direction: column;
}
.contrast-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}
.contrast-list div:last-child {
  border-bottom: 0;
}
.contrast-list b {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--teal);
  direction: ltr;
}
.swatch-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  border: 1px solid var(--line-dark);
}
.font-specimen {
  margin-top: 16px;
}
.font-specimen--display {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.5;
}
.font-specimen--body {
  font-size: 0.95rem;
  line-height: 2.05;
  color: var(--ink-2);
}
.ds-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 26px;
  padding: 20px 22px;
  background: var(--mint);
  border-radius: var(--r-md);
  font-size: 0.84rem;
  line-height: 1.9;
  color: var(--ink-2);
}
.ds-note svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex: none;
  margin-top: 4px;
}
.radius-scale {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.radius-scale div {
  width: 78px;
  height: 68px;
  background: var(--mint);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--muted);
}
.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.icon-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.icon-cell svg {
  width: 22px;
  height: 22px;
  color: var(--teal);
}
.icon-cell span {
  font-size: 0.62rem;
  color: var(--muted);
}
.motion-row {
  display: flex;
  flex-direction: column;
}
.motion-row div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.motion-row div:last-child {
  border-bottom: 0;
}
.motion-row b {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--teal);
  direction: ltr;
}
.motion-row span {
  font-size: 0.76rem;
  color: var(--muted);
}
.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}
.checklist div {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.84rem;
  color: var(--ink-2);
  line-height: 1.75;
}
.checklist svg {
  width: 17px;
  height: 17px;
  padding: 3px;
  box-sizing: content-box;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal);
  flex: none;
  margin-top: 2px;
}
.code-block {
  margin: 0;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow-x: auto;
  direction: ltr;
  text-align: left;
}
.code-block code {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.9;
  color: var(--ink-2);
  white-space: pre;
}
.tech-list {
  display: flex;
  flex-direction: column;
}
.tech-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.tech-list div:last-child {
  border-bottom: 0;
}
.tech-list b {
  font-size: 0.8rem;
  font-weight: 600;
  flex: none;
}
.tech-list span {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: end;
}
@media (max-width: 980px) {
  .principles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .principles { grid-template-columns: 1fr; }
  .principle__no { margin-bottom: 22px; }
  .icon-grid { grid-template-columns: repeat(3, 1fr); }
}

/* CTA transparency band — specificity over the base two-column panel */
.transparency.transparency--cta {
  grid-template-columns: 1.4fr 0.6fr;
}
@media (max-width: 980px) {
  .transparency.transparency--cta {
    grid-template-columns: 1fr;
  }
}

/* در حالت شب، لوگوی تیره‌ی کشوی موبایل به نسخه‌ی روشن تبدیل می‌شود */
html[data-theme="dark"] .drawer__head img {
  filter: brightness(0) invert(1);
}
