/* Belgosgeocentr prototype v2 — slim header, volumetric nav, thematic media */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Onest:wght@500;600;700;800&display=swap");

:root {
  --green: #0c6b4a;
  --green-dark: #084d36;
  --green-soft: #e8f5ef;
  --blue: #2a7fa8;
  --blue-soft: #e6f3f8;
  --white: #ffffff;
  --bg: #f4f9f7;
  --ink: #14261f;
  --muted: #5a6f66;
  --line: #d5e5de;
  --radius: 6px;
  --header-h: 68px;
  --side-w: 72px;
  --max: 1240px;
  /* Manrope + Onest — SIL Open Font License 1.1 (коммерческое использование разрешено) */
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Onest", "Manrope", sans-serif;
  --shadow: 0 16px 48px rgba(12, 107, 74, 0.1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hover-lift: translateY(-2px);
  --hover-bg: var(--green-soft);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  padding-left: var(--side-w);
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.22s var(--ease), background 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease),
    opacity 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.icon {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--fill {
  fill: currentColor;
  stroke: none;
}

.icon--sm {
  width: 18px;
  height: 18px;
}

.icon--lg {
  width: 28px;
  height: 28px;
}

/* —— Unified interactive hover —— */
.btn,
.icon-btn,
.tool-btn,
.lang button,
.news-card,
.proc-card,
.service-card,
.banner-item,
.mosaic__item,
.doc-links a,
.side-nav a,
.nav-mega__link,
.slider__nav button,
.social-btn,
.emblem-link,
.brand {
  transition: color 0.22s var(--ease), background 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease), opacity 0.22s var(--ease);
}

.btn:hover,
.news-card:hover,
.proc-card:hover,
.service-card:hover,
.banner-item:hover,
.doc-links a:hover {
  transform: var(--hover-lift);
  box-shadow: var(--shadow);
}

.icon-btn:hover,
.tool-btn:hover,
.slider__nav button:hover,
.social-btn:hover,
.emblem-link:hover {
  transform: var(--hover-lift);
  background: var(--hover-bg);
  color: var(--green-dark);
  border-color: var(--green);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* —— Side rail —— */
.side-rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--side-w);
  z-index: 1000;
  background: var(--green-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 0;
  gap: 24px;
}

.side-rail__menu-btn {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.side-rail__menu-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: none;
}

.side-rail__label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.85;
}

/* —— Mega burger panel —— */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(6, 28, 20, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-mega {
  position: fixed;
  inset: 0;
  z-index: 1110;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(42, 127, 168, 0.18), transparent 45%),
    radial-gradient(ellipse at 90% 100%, rgba(12, 107, 74, 0.22), transparent 40%),
    #071f17;
  color: var(--white);
  transform: translateX(-102%);
  transition: transform 0.45s var(--ease);
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 0;
}

.nav-mega.is-open {
  transform: translateX(0);
}

.nav-mega__main {
  padding: clamp(28px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.nav-mega__aside {
  padding: clamp(28px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.04);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.nav-mega__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: clamp(32px, 6vh, 72px);
}

.nav-mega__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.55;
  margin: 0 0 8px;
}

.nav-mega__brand {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  margin: 0;
}

.nav-mega__close {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.nav-mega__close:hover {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
  transform: rotate(90deg);
}

.nav-mega__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.nav-mega__link {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  font-weight: 700;
  color: var(--white);
  padding: 10px 0;
  letter-spacing: -0.02em;
  border-bottom: 1px solid transparent;
}

.nav-mega__link:hover {
  color: #9ee0c4;
  transform: translateX(12px);
}

.nav-mega__sub {
  list-style: none;
  margin: 0 0 18px;
  padding: 0 0 0 8px;
  display: grid;
  gap: 8px;
}

.nav-mega__sub a {
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 600;
}

.nav-mega__sub a:hover {
  color: #9ee0c4;
  transform: translateX(6px);
}

.nav-mega__block h3 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: 1.15rem;
}

.nav-mega__contacts {
  display: grid;
  gap: 14px;
}

.nav-mega__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 600;
}

.nav-mega__contacts a:hover {
  color: #9ee0c4;
}

.nav-mega__socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  display: grid;
  place-items: center;
  background: transparent;
}

.social-btn:hover {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}

.social-btn--light {
  border-color: var(--line);
  color: var(--ink);
}

.social-btn--light:hover {
  background: var(--green-soft);
  color: var(--green-dark);
  border-color: var(--green);
}

.nav-mega__ext {
  display: grid;
  gap: 10px;
}

.emblem-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
}

.emblem-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.emblem-link svg {
  width: 28px;
  height: 28px;
}

body.nav-open {
  overflow: hidden;
}

/* —— Header (slim) —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}

.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
}

.brand:hover {
  opacity: 0.85;
  transform: none;
}

.brand__logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: transparent;
}

.brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.brand__sub {
  font-size: 0.72rem;
  color: var(--muted);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 12px;
  border-radius: 999px;
}

.header-phone:hover {
  background: var(--green-soft);
  color: var(--green-dark);
}

.header-phone .icon {
  color: var(--green);
}

.lang {
  display: flex;
  gap: 2px;
  background: var(--bg);
  padding: 3px;
  border-radius: 999px;
}

.lang button {
  border: 0;
  background: transparent;
  padding: 7px 10px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.lang button:hover {
  color: var(--green-dark);
  background: rgba(12, 107, 74, 0.08);
  transform: none;
}

.lang button.is-active {
  background: var(--white);
  color: var(--green-dark);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.icon-btn.is-active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

/* —— Search dialog —— */
.search-dialog {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  place-items: center;
  padding: 24px;
}

.search-dialog.is-open {
  display: grid;
}

.search-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 28, 20, 0.55);
}

.search-dialog__panel {
  position: relative;
  width: min(640px, 100%);
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
  animation: dialogIn 0.28s var(--ease);
}

@keyframes dialogIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.search-dialog__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.search-dialog__head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
}

.search-dialog__field {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  background: var(--bg);
}

.search-dialog__field:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(12, 107, 74, 0.12);
}

.search-dialog__field input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 1.1rem;
  outline: none;
  color: var(--ink);
}

.search-dialog__results {
  margin-top: 16px;
  max-height: 280px;
  overflow-y: auto;
}

.search-dialog__group {
  padding: 12px 4px 6px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
  opacity: 0;
  animation: searchFade 0.35s var(--ease) forwards;
}

.search-dialog__results a {
  display: block;
  padding: 12px 10px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  animation: searchFade 0.4s var(--ease) forwards;
}

.search-dialog__results a:nth-child(1) { animation-delay: 0.04s; }
.search-dialog__results a:nth-child(2) { animation-delay: 0.08s; }
.search-dialog__results a:nth-child(3) { animation-delay: 0.12s; }
.search-dialog__results a:nth-child(4) { animation-delay: 0.16s; }
.search-dialog__results a:nth-child(5) { animation-delay: 0.2s; }
.search-dialog__results a:nth-child(6) { animation-delay: 0.24s; }
.search-dialog__results a:nth-child(7) { animation-delay: 0.28s; }
.search-dialog__results a:nth-child(8) { animation-delay: 0.32s; }

@keyframes searchFade {
  to {
    opacity: 1;
    transform: none;
  }
}

.search-dialog__results a:hover {
  background: var(--green-soft);
  color: var(--green-dark);
}

body.search-open {
  overflow: hidden;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.btn--primary {
  background: var(--green);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--green-dark);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn--outline:hover {
  background: var(--green);
  color: var(--white);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: #0a3d2c;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 40, 28, 0.35) 0%, rgba(8, 40, 28, 0.78) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 96px 0 88px;
}

.hero__eyebrow {
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.75rem, 7.2vw, 5.75rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  max-width: 12ch;
}

.hero h1 em {
  font-style: normal;
  color: #b8e8d4;
}

.hero__lead {
  max-width: 36ch;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.45;
  opacity: 0.95;
  margin: 0 0 32px;
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero__actions .btn {
  font-size: 1.05rem;
  padding: 16px 28px;
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__scroll:hover {
  color: var(--white);
}

.hero__controls {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
}

.hero__controls .icon-btn {
  background: rgba(255, 255, 255, 0.92);
  border-color: transparent;
  width: 48px;
  height: 48px;
}

.hero__controls .icon-btn:hover {
  background: var(--white);
  color: var(--green-dark);
}

/* —— Sections —— */
.section {
  padding: 88px 0;
}

.section--soft {
  background: var(--bg);
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.section__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
  margin: 0 0 8px;
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0;
  line-height: 1.2;
}

.section h2 em {
  font-style: normal;
  color: var(--green);
}

.section__link {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section__link:hover {
  gap: 10px;
  color: var(--blue);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.about-media {
  border-radius: 12px;
  overflow: hidden;
  min-height: 320px;
  background: var(--green-soft);
}

.about-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.about-grid p {
  color: var(--muted);
  margin: 0 0 14px;
}

.about-grid .btn {
  margin-top: 12px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.stats__slogan {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  margin: 0 0 28px;
}

.stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px 20px;
  border-radius: var(--radius);
}

.stat-card__num {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card__label {
  font-size: 0.88rem;
  color: var(--muted);
}

.stats__copy p {
  color: var(--muted);
  margin: 0 0 16px;
}

.slider {
  position: relative;
}

.slider__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.slider__track::-webkit-scrollbar {
  display: none;
}

.news-card {
  flex: 0 0 min(320px, 78vw);
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--green-soft);
}

.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.news-card:hover .news-card__img img {
  transform: scale(1.06);
}

.news-card__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.news-card__date {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.news-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.news-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

.news-card__more {
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.news-card__more:hover {
  gap: 8px;
}

.slider__nav {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.slider__nav button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  color: var(--ink);
  display: grid;
  place-items: center;
}

.cards-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.proc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 16px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.proc-card:hover {
  border-color: var(--green);
}

.proc-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
}

.proc-card h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
}

.proc-card__note {
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--blue);
  text-decoration: underline;
  font-weight: 600;
}

.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 420px;
}

.mosaic__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  text-decoration: none;
}

.mosaic__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.mosaic__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, 0.7));
}

.mosaic__item span {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 1.1rem;
}

.mosaic__item:hover {
  color: var(--white);
}

.mosaic__item:hover img {
  transform: scale(1.06);
}

.mosaic__item--large {
  grid-row: 1 / span 2;
  min-height: 100%;
}

.banners {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.banners::-webkit-scrollbar {
  display: none;
}

.banner-item {
  flex: 0 0 min(280px, 75vw);
  scroll-snap-align: start;
  height: 120px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  color: var(--green-dark);
  padding: 16px;
  text-align: center;
  text-decoration: none;
}

.banner-item img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
}

.contact-teaser {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  overflow: hidden;
  position: relative;
}

.contact-teaser__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-teaser__brand img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--white);
}

.contact-teaser__brand p {
  margin: 0;
  font-weight: 600;
  line-height: 1.35;
  opacity: 0.95;
}

.contact-teaser h2 {
  margin: 0 0 12px;
  font-family: var(--display);
}

.contact-teaser p {
  margin: 0 0 8px;
  opacity: 0.9;
}

.contact-teaser a:not(.btn) {
  color: #b8e8d4;
  font-weight: 600;
}

.contact-teaser a:not(.btn):hover {
  color: var(--white);
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 12px;
  color: var(--ink);
  line-height: 1.45;
}

.contact-line .icon {
  margin-top: 2px;
  flex-shrink: 0;
  color: var(--green);
}

.contact-line span {
  flex: 1;
}

.contact-box a.contact-line:hover {
  color: var(--green-dark);
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  align-items: center;
}

.contact-socials .social-btn {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.contact-socials .social-btn .icon {
  width: 22px;
  height: 22px;
}

.muted {
  color: var(--muted);
  font-size: 0.88rem;
}

.info-panel {
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.info-panel h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.05rem;
}

.info-panel p {
  margin: 0 0 6px;
}

.tz-list {
  margin: 12px 0 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.tz-list li {
  margin-bottom: 8px;
}

.map-block {
  margin-top: 32px;
}

.map-block h3 {
  font-family: var(--display);
  margin: 0 0 14px;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 360px;
  background: var(--bg);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.map-placeholder {
  margin-top: 24px;
  min-height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.map-placeholder img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* —— Internal —— */
.page-hero {
  position: relative;
  color: var(--white);
  padding: 56px 0 48px;
  overflow: hidden;
  background: var(--green-dark);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(12, 107, 74, 0.92), rgba(42, 127, 168, 0.75));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  margin-bottom: 18px;
  opacity: 0.9;
}

.breadcrumbs a {
  color: #c9efe0;
}

.breadcrumbs a:hover {
  color: var(--white);
}

.breadcrumbs span[aria-current="page"] {
  color: var(--white);
  font-weight: 600;
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 0;
}

.page-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  padding: 48px 0 72px;
}

.side-nav {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  height: fit-content;
  background: var(--white);
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.side-nav a {
  display: block;
  padding: 10px 12px;
  color: var(--ink);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
}

.side-nav a:hover,
.side-nav a.is-active {
  background: var(--green-soft);
  color: var(--green-dark);
}

.content-card h2 {
  font-family: var(--display);
  margin: 0 0 16px;
}

.content-card p {
  color: var(--muted);
  margin: 0 0 14px;
}

.content-figure {
  border-radius: 12px;
  overflow: hidden;
  margin: 20px 0 28px;
}

.content-figure img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.doc-links {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.doc-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 600;
}

.doc-links a:hover {
  border-color: var(--green);
  background: var(--green-soft);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--bg);
  overflow: hidden;
}

.service-card__img {
  margin: -22px -22px 16px;
  height: 140px;
  overflow: hidden;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.service-card:hover .service-card__img img {
  transform: scale(1.05);
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg);
}

.contact-box h3 {
  margin: 0 0 16px;
  font-family: var(--display);
}

.contact-box > .muted {
  margin: 0;
}

/* —— Footer —— */
.site-footer {
  background: #0a2f24;
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.site-footer a {
  color: #b8e8d4;
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer h4 {
  margin: 0 0 14px;
  color: var(--white);
  font-family: var(--display);
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-ext {
  display: grid;
  gap: 10px;
}

.footer-ext a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  opacity: 0.75;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .cards-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-mega {
    grid-template-columns: 1fr;
  }

  .nav-mega__aside {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 900px) {
  .about-grid,
  .stats,
  .page-layout,
  .contact-teaser,
  .contact-grid,
  .mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic__item--large {
    grid-row: auto;
    min-height: 220px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .side-nav {
    position: static;
  }

  .header-phone span {
    display: none;
  }
}

@media (max-width: 720px) {
  body {
    padding-left: 0;
    padding-bottom: 48px;
  }

  .side-rail {
    width: 100%;
    height: 48px;
    inset: auto 0 0 0;
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    padding: 0;
  }

  .side-rail__label {
    writing-mode: horizontal-tb;
    transform: none;
    letter-spacing: 0.16em;
  }

  .cards-row {
    grid-template-columns: 1fr 1fr;
  }

  .brand__sub {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .nav-mega__link {
    font-size: clamp(1.7rem, 9vw, 2.4rem);
  }
}

@media (max-width: 420px) {
  .cards-row {
    grid-template-columns: 1fr;
  }

  .lang {
    display: none;
  }

  .stats__grid {
    grid-template-columns: 1fr;
  }
}

.a11y-map-fallback { display: none; }


/* —— Management / team —— */
.leader-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  margin: 28px 0 36px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green-soft), var(--white) 55%);
}

.leader-card__photo {
  border-radius: 12px;
  overflow: hidden;
  min-height: 320px;
  background: var(--bg);
}

.leader-card__photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.leader-card__role,
.team-card__role {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

.leader-card h3,
.team-card h3 {
  font-family: var(--display);
  font-size: 1.55rem;
  margin: 0 0 12px;
}

.leader-card__contacts,
.team-card__contacts {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.leader-card__contacts a,
.team-card__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
}

.leader-card__contacts a:hover,
.team-card__contacts a:hover {
  color: var(--green);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.team-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.team-card__photo {
  height: 220px;
  overflow: hidden;
  background: var(--bg);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__body {
  padding: 18px 18px 22px;
}

.nav-mega__logo {
  width: 88px;
  height: 88px;
  margin-bottom: 18px;
}

.nav-mega__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-mega__soon {
  color: #9ee0c4 !important;
  opacity: 0.95;
  position: relative;
  padding-left: 0;
}

.nav-mega__soon::after {
  content: "скоро";
  margin-left: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(158, 224, 196, 0.55);
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
}

.nav-mega__soon:hover {
  color: #fff !important;
  transform: none;
  cursor: default;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand h4 {
  margin: 0 0 6px;
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
}

.contact-teaser__brand img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  padding: 8px;
}

.contact-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.contact-tabs a,
.contact-tabs__soon {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white);
}

.contact-tabs a:hover {
  border-color: var(--green);
  color: var(--green-dark);
  background: var(--green-soft);
}

.contact-tabs a.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.contact-tabs__soon {
  color: var(--muted);
  background: var(--bg);
  opacity: 0.85;
}

.contact-tabs__soon::after {
  content: "скоро";
  margin-left: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-intro {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
}

.contact-intro img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  flex-shrink: 0;
}

.contact-intro h2 {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  margin: 0 0 6px;
  line-height: 1.3;
}

.contact-intro p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.contact-section {
  margin-top: 36px;
}

.contact-section > h2 {
  font-family: var(--display);
  margin: 0 0 8px;
}

.contact-section > h3 {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 600;
  font-size: 1rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 70ch;
  margin: 0 0 28px;
}

.hotline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hotline-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  background: var(--white);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.hotline-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.hotline-card h3 {
  font-family: var(--display);
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.hotline-card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .leader-card,
  .team-grid,
  .hotline-grid {
    grid-template-columns: 1fr;
  }
  .leader-card__photo,
  .leader-card__photo img {
    min-height: 240px;
  }
}

/* —— Brand logos (light/dark variants) —— */
.brand {
  gap: 0;
}
.brand__logo-img {
  height: 46px;
  width: auto;
  max-width: min(280px, 42vw);
  object-fit: contain;
  display: block;
}
.brand__text { display: none; }

.nav-mega__logo-img {
  width: min(100%, 280px);
  height: auto;
  margin-bottom: 20px;
  display: block;
}
.footer-brand img.footer-logo {
  width: auto;
  height: 52px;
  max-width: 260px;
  object-fit: contain;
}
.contact-teaser__brand img,
.contact-intro img {
  width: auto !important;
  height: 96px !important;
  max-width: 280px;
  object-fit: contain !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

/* —— Accordion mega menu —— */
.nav-mega {
  grid-template-columns: 1.6fr 0.9fr;
}

@media (max-width: 1100px) {
  .nav-mega {
    grid-template-columns: 1fr;
  }
}
.nav-mega__main {
  padding: clamp(24px, 4vw, 48px);
}
.nav-mega__list {
  gap: 0;
}
.nav-acc__item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav-acc__row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-acc__link {
  flex: 1;
  display: block;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.2vw, 2.35rem);
  line-height: 1.15;
  font-weight: 700;
  color: #fff;
  padding: 14px 0;
  letter-spacing: -0.02em;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
  width: 100%;
  transition: color 0.2s ease, transform 0.25s var(--ease);
}
button.nav-acc__link {
  appearance: none;
  -webkit-appearance: none;
}
.nav-acc__link:hover {
  color: #9ee0c4;
  transform: translateX(8px);
}
.nav-acc__toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.28);
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease), background 0.22s var(--ease);
}
.nav-acc__toggle:hover {
  background: rgba(255,255,255,0.12);
}
.nav-acc__toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}
.nav-acc__item.is-open > .nav-acc__row > .nav-acc__toggle svg {
  transform: rotate(180deg);
}
.nav-acc__panel {
  display: none;
  padding: 0 0 16px 8px;
}
.nav-acc__item.is-open > .nav-acc__panel {
  display: block;
  animation: searchFade 0.3s var(--ease);
}
.nav-acc__panel a {
  display: block;
  color: rgba(255,255,255,0.72);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 600;
  padding: 8px 0;
}
.nav-acc__panel a:hover {
  color: #9ee0c4;
  transform: translateX(6px);
}
.nav-acc__nested {
  margin: 4px 0 8px 12px;
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,0.15);
}
.nav-acc__nested-title {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: none;
  border: 0;
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 0;
  cursor: pointer;
  text-align: left;
}
.nav-acc__nested-title:hover { color: #9ee0c4; }
.nav-acc__nested.is-open > .nav-acc__nested-panel { display: block; }
.nav-acc__nested-panel { display: none; }
.nav-acc__nested-panel a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.62);
  padding: 6px 0;
}
.nav-acc__soon {
  color: #9ee0c4 !important;
  opacity: 0.9;
  cursor: default !important;
}
.nav-acc__soon::after {
  content: "скоро";
  margin-left: 8px;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(158,224,196,0.5);
  padding: 1px 7px;
  border-radius: 999px;
}

/* —— Official resources (was Partners) —— */
.gov-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gov-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 22px 16px;
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.gov-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--green);
  color: var(--green-dark);
}
.gov-card img,
.gov-card .gov-card__emblem {
  width: 64px;
  height: 72px;
  object-fit: contain;
}
.gov-card span {
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.35;
}

/* clickable contacts hover unify */
.contact-box a:not(.btn),
.leader-card__contacts a,
.team-card__contacts a,
.hotline-card a,
.header-phone,
.footer-nav a,
.site-footer a[href^="tel"],
.site-footer a[href^="mailto"] {
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.contact-box a:not(.btn):hover,
.leader-card__contacts a:hover,
.team-card__contacts a:hover,
.hotline-card a:hover {
  color: var(--green);
  text-decoration: underline;
}

.contact-box a.btn:hover,
.hotline-card a.btn:hover {
  text-decoration: none;
}

.contact-box .btn--outline:hover,
.hotline-card .btn--outline:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.hero__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .gov-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .gov-grid { grid-template-columns: 1fr; }
  .brand__logo-img { max-width: min(200px, 55vw); height: 40px; }
  .nav-acc__link { font-size: clamp(1.15rem, 6vw, 1.6rem); }
}

.emblem-link img {
  width: 28px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-mega__logo-link { display: inline-block; }
.nav-acc__nested-title svg {
  width: 16px;
  height: 16px;
  margin-left: auto;
  transition: transform 0.25s var(--ease);
}
.nav-acc__nested.is-open > .nav-acc__nested-title svg {
  transform: rotate(180deg);
}
.site-footer a[href^="tel"]:hover,
.site-footer a[href^="mailto"]:hover,
.nav-mega__contacts a:hover,
.header-phone:hover {
  color: #9ee0c4;
}
.site-header .header-phone:hover {
  color: var(--green);
}
.gov-card:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* —— Fix 2026-07-27: logos, rail, accordion, leaders —— */
.brand {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.brand:hover {
  opacity: 1 !important;
  background: transparent !important;
  filter: none;
}
.brand:hover .brand__logo-img {
  transform: none;
}
.brand__logo,
.brand__logo img {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.brand__logo-img {
  height: clamp(52px, 5.5vw, 68px) !important;
  width: auto !important;
  max-width: min(360px, 52vw) !important;
  object-fit: contain !important;
  background: transparent !important;
  display: block;
  mix-blend-mode: normal;
}
.nav-mega__logo-img {
  width: min(100%, 340px) !important;
  height: auto !important;
  max-height: 88px;
  object-fit: contain;
  background: transparent !important;
}
.footer-brand {
  background: transparent !important;
}
.footer-brand img.footer-logo {
  height: 64px !important;
  width: auto !important;
  max-width: 300px !important;
  background: transparent !important;
  border-radius: 0 !important;
}
.contact-teaser__brand {
  background: transparent !important;
}
.contact-teaser__brand img {
  height: 72px !important;
  width: auto !important;
  max-width: 320px !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* Modern side rail burger */
.side-rail {
  width: 72px;
  padding: 20px 0;
  gap: 0;
  background: linear-gradient(180deg, #0a5c3c 0%, #084d36 55%, #063828 100%);
  box-shadow: 4px 0 24px rgba(0,0,0,0.12);
}
.side-rail__menu-btn {
  width: 100%;
  height: auto;
  min-height: 120px;
  padding: 18px 10px;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  background: transparent;
  color: #fff;
  transition: background 0.25s ease;
}
.side-rail__menu-btn:hover {
  background: rgba(255,255,255,0.1);
}
.side-rail__burger {
  width: 28px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.side-rail__burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.side-rail__label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 13px;
  letter-spacing: 0.35em;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 1;
  color: #fff;
  line-height: 1;
}

/* Smooth accordion (no display:none jump) */
.nav-acc__panel,
.nav-acc__nested-panel {
  display: block !important;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  transition:
    max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    padding 0.28s ease;
}
.nav-acc__item.is-open > .nav-acc__panel {
  max-height: 1400px;
  opacity: 1;
  padding-bottom: 16px !important;
}
.nav-acc__nested.is-open > .nav-acc__nested-panel {
  max-height: 800px;
  opacity: 1;
  padding-bottom: 8px !important;
}
.nav-acc__toggle,
.nav-acc__nested-title svg {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.22s ease;
}

/* Uniform leader cards + face-safe crop */
.leader-card {
  margin: 20px 0;
}
.leader-card__photo {
  aspect-ratio: 4 / 5;
  min-height: 0;
  height: auto;
}
.leader-card__photo img {
  min-height: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.gov-card__emblem {
  width: 72px !important;
  height: 86px !important;
  object-fit: contain;
  display: block;
}

@media (max-width: 720px) {
  .brand__logo-img {
    height: 46px !important;
    max-width: min(240px, 58vw) !important;
  }
  .side-rail { width: 64px; }
  .side-rail__burger { width: 24px; height: 18px; }
  .side-rail__label { font-size: 12px; }
}

@media (max-width: 900px) {
  .side-rail {
    width: 100% !important;
    height: 64px !important;
    inset: auto 0 0 0 !important;
    flex-direction: row !important;
    justify-content: center;
    padding: 0 !important;
  }
  .side-rail__menu-btn {
    flex-direction: row !important;
    min-height: 64px !important;
    width: auto;
    gap: 14px;
    padding: 0 24px !important;
  }
  .side-rail__label {
    writing-mode: horizontal-tb !important;
    transform: none !important;
    letter-spacing: 0.2em;
    font-size: 14px !important;
  }
  body {
    padding-left: 0 !important;
    padding-bottom: 64px;
  }
}

/* —— 2026-07-27 evening: header menu + logos + socials —— */
:root {
  --side-w: 0px;
}
body {
  padding-left: 0 !important;
  padding-bottom: 0 !important;
}
.side-rail { display: none !important; }

.header-start {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
}

/* World-class pattern: header menu pill (Apple / Stripe / Linear) */
.menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(8, 40, 28, 0.06);
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease),
    box-shadow 0.22s var(--ease), color 0.22s var(--ease), transform 0.22s var(--ease);
}
.menu-trigger:hover {
  background: var(--green-soft);
  border-color: rgba(12, 107, 74, 0.35);
  color: var(--green-dark);
  box-shadow: 0 4px 14px rgba(8, 40, 28, 0.1);
  transform: none;
}
.menu-trigger:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.menu-trigger__icon {
  width: 20px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.menu-trigger__icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  transform-origin: center;
}
body.nav-open .menu-trigger {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}
body.nav-open .menu-trigger__icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
body.nav-open .menu-trigger__icon span:nth-child(2) {
  opacity: 0;
}
body.nav-open .menu-trigger__icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.menu-trigger__text {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand__logo-img {
  height: clamp(58px, 6.5vw, 78px) !important;
  max-width: min(420px, 58vw) !important;
}

/* Social icons: keep glyph visible on hover */
.site-footer .social-btn,
.nav-mega__socials .social-btn {
  color: #fff !important;
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}
.site-footer .social-btn .icon,
.nav-mega__socials .social-btn .icon {
  stroke: currentColor !important;
  color: inherit !important;
}
.site-footer .social-btn:hover,
.nav-mega__socials .social-btn:hover {
  background: #fff !important;
  color: #084d36 !important;
  border-color: #fff !important;
  transform: translateY(-2px);
}
.site-footer .social-btn:hover .icon,
.nav-mega__socials .social-btn:hover .icon {
  stroke: #084d36 !important;
  color: #084d36 !important;
}
.site-footer .social-btn:hover .icon--fill,
.nav-mega__socials .social-btn:hover .icon--fill {
  fill: #084d36 !important;
  stroke: none !important;
}

.nav-mega {
  left: 0 !important;
}

@media (max-width: 720px) {
  .menu-trigger__text { display: none; }
  .menu-trigger {
    width: 44px;
    padding: 0;
    justify-content: center;
  }
  .brand__logo-img {
    height: 48px !important;
    max-width: min(260px, 55vw) !important;
  }
  .header-phone span { display: none; }
}

/* —— Restore side rail + modern marks (not classic 3-line burger) —— */
:root { --side-w: 76px; }
body {
  padding-left: var(--side-w) !important;
  padding-bottom: 0 !important;
}
.side-rail {
  display: flex !important;
  width: var(--side-w) !important;
  height: auto !important;
  inset: 0 auto 0 0 !important;
  flex-direction: column !important;
  align-items: center;
  padding: 22px 0 !important;
  background: linear-gradient(180deg, #0b6140 0%, #084d36 60%, #063828 100%) !important;
  box-shadow: 4px 0 24px rgba(0,0,0,0.12);
  z-index: 1000;
}
.side-rail__menu-btn {
  width: 100%;
  min-height: 140px;
  height: auto !important;
  padding: 10px 12px !important;
  border: 0;
  border-radius: 0 !important;
  background: transparent !important;
  color: #fff !important;
  cursor: pointer;
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  transition: background 0.25s ease;
}
.side-rail__menu-btn:hover {
  background: rgba(255,255,255,0.1) !important;
}
.side-rail__marks {
  width: 26px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.side-rail__mark {
  display: block;
  height: 2.5px;
  border-radius: 999px;
  background: #fff;
  transition: width 0.25s ease, transform 0.3s ease;
}
.side-rail__mark:nth-child(1) { width: 100%; }
.side-rail__mark:nth-child(2) { width: 68%; align-self: flex-start; }
.side-rail__menu-btn:hover .side-rail__mark:nth-child(2) { width: 100%; }
body.nav-open .side-rail__mark:nth-child(1) {
  transform: translateY(5.75px) rotate(45deg);
  width: 100%;
}
body.nav-open .side-rail__mark:nth-child(2) {
  transform: translateY(-5.75px) rotate(-45deg);
  width: 100%;
}
.side-rail__word {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--display), Manrope, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: lowercase;
  color: #fff;
  opacity: 0.95;
  line-height: 1;
}
.menu-trigger { display: none !important; }
.header-start { display: contents; }

/* Admin procedures in mega aside */
.nav-mega__procedures {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 22px 20px !important;
}
.nav-mega__aside-eyebrow {
  margin: 0 0 6px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ee0c4;
  font-weight: 700;
}
.nav-mega__procedures h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  line-height: 1.25;
}
.nav-mega__aside-lead {
  margin: 0 0 16px;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}
.nav-proc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.nav-proc-list a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  transition: color 0.2s ease, transform 0.2s ease;
}
.nav-proc-list li:last-child a { border-bottom: 0; }
.nav-proc-list a:hover {
  color: #9ee0c4;
  transform: translateX(4px);
}
.nav-proc-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #9ee0c4;
  font-weight: 700;
  font-size: 0.92rem;
}
.nav-proc-all:hover { color: #fff; }

.brand__logo-img {
  height: clamp(58px, 6.5vw, 78px) !important;
  max-width: min(420px, 58vw) !important;
}

@media (max-width: 900px) {
  :root { --side-w: 0px; }
  body { padding-left: 0 !important; padding-bottom: 68px !important; }
  .side-rail {
    width: 100% !important;
    height: 68px !important;
    inset: auto 0 0 0 !important;
    flex-direction: row !important;
    justify-content: center;
    padding: 0 !important;
  }
  .side-rail__menu-btn {
    flex-direction: row !important;
    min-height: 68px !important;
    width: auto;
    gap: 14px;
    padding: 0 22px !important;
  }
  .side-rail__word {
    writing-mode: horizontal-tb !important;
    transform: none !important;
    letter-spacing: 0.28em;
    font-size: 14px;
  }
  .side-rail__marks { width: 24px; gap: 8px; }
}

/* Aside: procedures always open + compact official sources */
.nav-mega__aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nav-aside-procedures {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  padding: 16px 18px 14px;
}

.nav-aside-procedures h3,
.nav-aside-official h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.nav-aside-procedures .nav-proc-list {
  margin: 0;
}

.nav-aside-procedures .nav-proc-list a {
  padding: 8px 0;
  font-size: 0.9rem;
}

.nav-aside-procedures .nav-proc-all {
  margin-top: 8px;
}

.nav-aside-official {
  padding-top: 2px;
}

.nav-official-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.nav-official-list a {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px 9px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.9);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-official-list a:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(158,224,196,0.45);
  color: #fff;
  transform: translateY(-1px);
}

.nav-official-list img {
  width: 22px;
  height: 26px;
  object-fit: contain;
}

.nav-official-list .icon {
  width: 12px;
  height: 12px;
  opacity: 0.65;
}

@media (max-width: 1100px) {
  .nav-official-list {
    grid-template-columns: 1fr;
  }
}

/* Header logo fit: no crop */
:root {
  --header-h: 96px;
}
.site-header {
  height: auto !important;
  min-height: var(--header-h);
  overflow: visible !important;
}
.site-header__inner {
  height: auto !important;
  min-height: var(--header-h);
  padding-top: 10px;
  padding-bottom: 10px;
  overflow: visible;
  gap: 20px;
}
.brand {
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
  overflow: visible !important;
}
.brand__logo-img {
  display: block !important;
  height: auto !important;
  width: auto !important;
  max-height: 76px !important;
  max-width: min(480px, 100%) !important;
  object-fit: contain !important;
  object-position: left center;
}
.header-tools {
  flex: 0 0 auto;
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .brand__logo-img {
    max-height: 64px !important;
    max-width: min(380px, 48vw) !important;
  }
  .header-phone span { font-size: 0.85rem; }
}

@media (max-width: 720px) {
  :root { --header-h: 72px; }
  .brand__logo-img {
    max-height: 52px !important;
    max-width: min(240px, 58vw) !important;
  }
}

/* —— Transparent header on hero, solid on scroll —— */
body.has-hero .site-header {
  background: transparent !important;
  border-bottom-color: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}
body.has-hero:not(.is-scrolled) .header-phone {
  color: #fff !important;
}
body.has-hero:not(.is-scrolled) .header-phone .icon {
  stroke: #fff;
}
body.has-hero.is-scrolled .site-header,
body:not(.has-hero) .site-header,
body.is-scrolled .site-header {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid var(--line) !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 8px 24px rgba(8, 40, 28, 0.06);
}
body.has-hero.is-scrolled .header-phone {
  color: var(--green-dark) !important;
}
.brand__logo-img[hidden] {
  display: none !important;
}

/* Side rail tools: lang / search / a11y */
.side-rail {
  justify-content: flex-start;
  gap: 0 !important;
}
.side-rail__tools {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 16px 0 22px;
  width: 100%;
}
.side-rail__lang {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 44px;
  padding: 6px 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
}
.side-rail__lang button {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.72);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 0;
  cursor: pointer;
  border-radius: 999px;
  line-height: 1;
}
.side-rail__lang button.is-active {
  color: #084d36;
  background: #fff;
  margin: 0 4px;
}
.side-rail__lang button:hover:not(.is-active) {
  color: #fff;
}
.side-rail__tool {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.28);
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}
.side-rail__tool:hover,
.side-rail__tool.is-active {
  background: #fff;
  color: #084d36;
  border-color: #fff;
}
.side-rail__tool .icon {
  width: 20px;
  height: 20px;
}

@media (max-width: 900px) {
  .side-rail__tools {
    margin-top: 0;
    flex-direction: row;
    padding: 0;
    width: auto;
    gap: 8px;
  }
  .side-rail__lang {
    flex-direction: row;
    width: auto;
    padding: 4px;
    gap: 2px;
  }
  .side-rail__lang button {
    padding: 6px 8px;
  }
  .side-rail__lang button.is-active {
    margin: 0;
  }
  .side-rail__tool {
    width: 40px;
    height: 40px;
  }
  .side-rail__word {
    display: none;
  }
}

/* Position for hero header is handled in header-fix.css (fixed + fade) */
