:root {
  --bg: #f8f9fb;         /* light canvas */
  --fg: #15161a;         /* near-black */
  --muted: #5a5f69;      /* medium gray */
  --brand-font: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --surface-card-bg: rgba(248,249,251,.92);
  --surface-card-shadow: 0 10px 26px rgba(45,50,60,.14);
  --surface-card-glow: 0 0 26px 14px rgba(255,255,255,.65);
  --surface-card-radius: 30px;
  --title-gradient: radial-gradient(65% 95% at 18% 35%, rgba(255,255,255,.98) 0%, rgba(244,247,250,.9) 55%, rgba(230,234,239,0) 100%),
    radial-gradient(80% 100% at 82% 65%, rgba(255,255,255,.94) 0%, rgba(238,242,246,.86) 60%, rgba(230,234,239,0) 100%);
  --title-glow: 0 14px 40px rgba(0,0,0,.3),
    0 5px 12px rgba(0,0,0,.18);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--fg);
  background: var(--bg);
  position: relative;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  isolation: isolate;
  --hero-right-pad: clamp(14px, 4vmin, 40px);
  --hero-left-pad: clamp(22px, 6vmin, 80px);
  --hero-title-top: clamp(78px, 16vmin, 210px);
  --hero-nav-inset: clamp(32px, 8vmin, 180px);
  --hero-nav-drop: clamp(24px, 7vmin, 140px);
  --hero-nav-column: clamp(280px, 34vmin, 520px);
  --hero-max-width: 1320px;
  --hero-left-gutter: max(0px, (100vw - var(--hero-max-width)) / 2);
}

/* Overlay used to gently hide BG text near foreground letters */
.bg-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: none;
  background-repeat: no-repeat;
  --halo-fill: var(--bg);
  --halo-fade: rgba(248,249,251,0);
}

.page-bg {
  position: fixed;
  inset: 0;
  background: none;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Background text: full-bleed, very light */
.bg-text {
  position: absolute; inset: 0;
  margin: 0; padding: 0;
  /* Slightly darker base to reduce contrast vs highlights */
  color: #e2e8f0; /* was #dfe2e7 */
  font-size: clamp(11px, 1.1vmin, 13px);
  letter-spacing: .02em;
  line-height: 1.8;
  user-select: none; pointer-events: none;
  white-space: normal; /* rows */
  word-break: break-word; hyphens: auto; text-wrap: pretty;
}
.bg-text strong { color: #d5d8dd; font-weight: 800; }
.bg-text u { color: #d5d8dd; text-decoration-color: #d5d8dd; text-decoration-thickness: 1.6px; text-underline-offset: .12em; font-weight: 700; }

/* Subtle grain for mood (very light) */
.hero__grain { 
  position: absolute; inset: -50vmax; z-index: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") repeat;
  opacity: .1; mix-blend-mode: soft-light;
  animation: drift 18s linear infinite;
}
@keyframes drift { to { transform: translate3d(10%, 10%, 0); } }

.hero__top {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 2vmin, 18px);
  padding-top: clamp(6px, 1.6vmin, 14px);
}

.hero > :not(.hero__bg):not(.hero__grain) :where(h1, h2, h3, h4, h5, h6, p, a, li, span, strong, em, button, .btn) {
  text-shadow: var(--title-glow);
}

.hero-nav {
  position: absolute;
  z-index: 3;
  top: calc(var(--hero-title-top) + clamp(18px, 3.2vmin, 42px) + var(--hero-nav-drop));
  right: calc(var(--hero-right-pad) + var(--hero-nav-inset));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(12px, 2.4vmin, 20px);
  --nav-item-width: var(--hero-nav-column);
  width: var(--nav-item-width);
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.hero-nav__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.hero-nav__logo {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: hidden;
}
.hero-nav__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hero-nav__brand-name {
  font-family: var(--brand-font);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-shadow: 0 10px 24px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.12);
}
.hero-nav__links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(10px, 2vmin, 16px);
  flex: 0 0 auto;
  text-align: left;
  width: var(--nav-item-width);
}
.hero-nav__links a {
  position: relative;
  text-decoration: none;
  font-weight: 600;
  color: #1f2937;
  padding: clamp(8px, 1.2vmin, 10px) clamp(14px, 2.2vmin, 20px) clamp(8px, 1.2vmin, 10px) clamp(18px, 2.6vmin, 26px);
  font-size: clamp(14px, 1.9vmin, 18px);
  letter-spacing: .005em;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-height: clamp(36px, 4.8vmin, 46px);
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.82));
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  text-shadow: none;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.hero-nav__links a::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(180deg, rgba(48,179,255,.95), rgba(19,140,230,.92));
  border-radius: 12px 0 0 12px;
  box-shadow: 2px 0 10px rgba(48,179,255,.25);
}
.hero-nav__links a::after {
  content: none;
}
.hero-nav__links a:hover {
  color: #0f172a;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.82));
  border-color: rgba(48,179,255,.55);
  transform: translateY(-1px);
}
.hero-nav .actions {
  margin: 0;
  width: var(--nav-item-width);
  align-self: stretch;
  justify-content: flex-end;
  padding-right: 0;
}
.hero-nav .hero-subscribe { width: 100%; }
.hero-nav .hero-subscribe__cta { width: 100%; justify-content: center; }
.hero-nav .hero-subscribe__form-shell { width: 100%; }
.hero-nav .contact-form { width: 100%; max-width: none; }
.hero-nav .contact-form__row { max-width: none; padding-inline: 12px; }

@media (max-width: 900px) {
  .hero-nav {
    position: static;
    align-self: flex-end;
    margin: clamp(6px, 1.8vmin, 14px) clamp(18px, 5vmin, 32px) 0;
    align-items: center;
  }
  .hero-nav__links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 18px;
    width: auto;
  }
  .hero-nav__links a { width: auto; min-width: 130px; }
  .hero-nav .actions { width: min(100%, 320px); align-self: flex-end; }
}
@media (max-width: 620px) {
  .hero-nav {
    margin-inline: clamp(14px, 4vmin, 20px);
    align-self: flex-start;
  }
  .hero-nav__links a { font-size: clamp(13px, 3.4vmin, 16px); }
}

header.brand {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(16px, 3.6vmin, 42px) var(--hero-left-pad);
  padding-top: var(--hero-title-top);
  max-width: var(--hero-max-width);
  width: 100%;
  margin: 0 auto;
}
@media (min-width: 860px) {
  header.brand {
    padding-right: clamp(140px, 18vmin, 280px);
  }
}
@media (max-width: 859px) {
  header.brand {
    padding-right: clamp(90px, 20vmin, 160px);
  }
}

.brand__topline {
  display: flex;
  align-items: flex-end;
  gap: clamp(12px, 2.6vmin, 22px);
  flex-wrap: wrap;
  margin: 0 0 clamp(6px, 1.6vmin, 14px) 0;
}

.logo {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: clamp(6px, 1.2vmin, 12px);
  margin: 0;
  line-height: 1;
  font-family: var(--brand-font);
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  isolation: isolate;
  z-index: 0;
}
/* Per-letter helpers */
.char { display: inline-block; pointer-events: none; }
.char.ws { display: inline; }
.word { display: inline-block; white-space: nowrap; }

.logo__top, .logo__bottom {
  display: inline-block;
  font-size: clamp(36px, 11vmin, 132px);
  color: var(--fg);
  font-weight: inherit;
  text-shadow: var(--title-glow);
}

.hero-nav__links a {
  text-shadow: 0 10px 24px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.12);
}

.catchline {
  max-width: 52ch;
  margin: clamp(6px, 1.8vmin, 14px) 0 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.3vmin, 24px);
  text-shadow: 0 12px 30px rgba(0,0,0,.18), 0 3px 8px rgba(0,0,0,.12);
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

.actions {
  margin: clamp(16px, 3vmin, 28px) 0 0 0;
  display: flex;
  gap: 1rem;
  align-items: center;
  align-self: flex-start;
  width: var(--logo-width, auto);
  justify-content: flex-end;
  padding-right: clamp(6px, 1.6vmin, 16px);
}
.hero-subscribe {
  position: relative;
  display: inline-grid;
  gap: 10px;
  align-items: start;
  width: min(100%, 380px);
  overflow: visible;
}
.hero-subscribe__cta {
  --btn-bg: linear-gradient(120deg, #30B3FF, #57c8ff);
  padding: .78rem 1.15rem;
  font-size: .98rem;
  box-shadow: 0 12px 28px rgba(48,179,255,.24), 0 8px 20px rgba(15,19,32,.12);
  max-height: 140px;
  overflow: hidden;
  background-size: 200%;
  background-position: 50% 50%;
  transition:
    opacity .32s ease,
    transform .35s ease,
    max-height .5s cubic-bezier(0.16, 1, 0.3, 1),
    padding .35s ease,
    margin .35s ease,
    background-position .2s ease,
    box-shadow .2s ease;
}
.hero-subscribe__cta:hover {
  background-position: 90% 50%;
  box-shadow: 0 12px 26px rgba(15,19,32,.16);
  background-color: transparent;
}
.hero-subscribe__form-shell {
  width: 100%;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(248,249,251,.86));
  border: 1px solid rgba(17,25,40,.08);
  box-shadow: 0 18px 44px rgba(15,19,32,.12);
  padding: 0 12px;
  position: absolute;
  top: 0;
  left: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(6px) scale(.97);
  filter: saturate(1.08);
  transition:
    max-height .55s cubic-bezier(0.16, 1, 0.3, 1),
    opacity .35s ease,
    transform .55s cubic-bezier(0.16, 1, 0.3, 1),
    padding .4s ease,
    box-shadow .35s ease,
    filter .35s ease;
  backdrop-filter: blur(12px) saturate(1.05);
  visibility: hidden;
}
.hero-subscribe.is-expanded .hero-subscribe__form-shell {
  max-height: 360px;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  padding: 12px 14px 16px;
  box-shadow: 0 24px 58px rgba(15,19,32,.14);
  filter: saturate(1.08);
  visibility: visible;
}
.hero-subscribe.is-expanded .hero-subscribe__cta {
  opacity: 0;
  transform: translateY(-6px) scale(.95);
  pointer-events: none;
  max-height: 0;
  padding-block: 0;
  margin: 0;
}
.hero-subscribe__form { margin: 0; }
@media (max-width: 640px) {
  .hero-subscribe { width: 100%; }
  .hero-subscribe__form-shell { padding-inline: 10px; }
}
.btn { --btn-bg: #30B3FF; --btn-fg: #fff; display: inline-flex; align-items: center; justify-content: center; padding: .95rem 1.25rem; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); border: none; text-decoration: none; font-weight: 700; letter-spacing: .01em; box-shadow: 0 8px 22px rgba(15,19,32,.14), 0 2px 6px rgba(0,0,0,.06); transition: transform .2s ease, filter .2s ease, background-color .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.02); background-color: #2cb0ff; }
.btn:active { transform: translateY(0); }
.btn--ghost {
  --btn-bg: rgba(0,0,0,.04);
  --btn-fg: #1f2430;
  border: 1px solid rgba(17,25,40,.16);
  box-shadow: 0 10px 22px rgba(15,19,32,.1), 0 2px 6px rgba(0,0,0,.05);
  padding: .9rem 1.2rem;
}
.btn--ghost:hover { background: rgba(0,0,0,.06); filter: none; }

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

.hero__spacer { flex: 1 1 auto; }

/* Hero center rotator */
.hero__center {
  display: grid;
  align-items: center;
  justify-items: stretch;
  padding-block: clamp(18px, 3.6vmin, 40px);
  padding-left: calc(var(--hero-left-pad) + var(--hero-left-gutter));
  padding-right: var(--hero-right-pad);
}
.hero-rotator {
  position: relative;
  width: min(100%, 1240px);
  padding-inline: clamp(24px, 6vmin, 72px);
  background: none; /* no card */
}
.hero-rotator__stage {
  position: relative;
  min-height: clamp(300px, 40vmin, 520px);
  border-radius: 22px;
  background: none;
  overflow: hidden;
}
.hero-rotator__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  appearance: none;
  border: none;
  background: transparent;
  color: #10131a;
  font-size: clamp(26px, 4vmin, 34px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  padding: clamp(8px, 1.6vmin, 14px);
  transition: transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  opacity: 0.65;
}
.hero-rotator__control--prev { left: 0; }
.hero-rotator__control--next { right: 0; }
.hero-rotator__control:hover { transform: translateY(calc(-50% - 1px)); opacity: 0.95; }
.hero-rotator__control:active { transform: translateY(-50%); opacity: 1; }
.hero-rotator__control:focus-visible { outline: 2px solid rgba(48, 179, 255, 0.55); outline-offset: 4px; opacity: 1; }
.hero-rotator--single .hero-rotator__control { display: none; }
.slide {
  position: absolute; inset: 0;
  width: 100%;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px) scale(.985);
  transition: opacity .6s ease, transform .6s ease;
}
.slide.is-active { opacity: 1; transform: none; position: relative; pointer-events: auto; z-index: 1; }

.slide__content {
  display: grid;
  gap: clamp(12px, 2.2vmin, 20px);
  padding: clamp(14px, 2.2vmin, 22px);
  grid-template-columns: 1fr;
}

.slide__media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  aspect-ratio: 1017 / 882;
  max-height: min(60vh, 540px);
  display: grid;
  place-items: center;
}
.slide__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  position: relative;
  z-index: 0;
}

.slide__texts {
  padding: clamp(12px, 2.2vmin, 20px) clamp(12px, 2.4vmin, 24px) clamp(16px, 2.6vmin, 24px);
  display: grid;
  gap: clamp(10px, 1.8vmin, 16px);
  align-content: start;
}
.slide__style1 {
  font-size: clamp(15px, 1.95vmin, 20px);
  line-height: 1.45;
  letter-spacing: .1px;
  color: #121217;
  text-shadow: 0 16px 42px rgba(0,0,0,.32), 0 5px 12px rgba(0,0,0,.18);
}
.slide__style2 {
  background: rgba(0,0,0,.05);
  padding: clamp(12px, 2.1vmin, 20px) clamp(14px, 2.4vmin, 24px);
  border-radius: 14px;
  color: #23242b;
  font-size: clamp(13px, 1.7vmin, 17px);
  text-shadow: 0 14px 36px rgba(0,0,0,.28), 0 5px 12px rgba(0,0,0,.18);
}
.slide__style2 p { margin: .45em 0; }
.slide__style2 .slide__more {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--fg);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.slide__style2 .slide__more:hover { color: #ff8a00; }
.slide__style2 .slide__more:focus-visible {
  outline: 2px solid rgba(255, 138, 0, 0.55);
  outline-offset: 2px;
}

@media (min-width: 860px) {
  .slide__content { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr); align-items: center; }
  .slide__media { align-self: center; max-height: min(68vh, 640px); }
  .slide__texts { padding: clamp(14px, 2.6vmin, 24px); }
}

/* Shift stories slightly to the right on wide layouts for a more dynamic composition */
@media (min-width: 980px) {
  .hero {
    --hero-right-pad: clamp(12px, 3vmin, 48px);
  }
  .hero__center {
    align-items: center;
    justify-items: start;
    padding-right: calc(var(--hero-right-pad) + var(--hero-nav-column) + var(--hero-nav-inset) + clamp(12px, 2vmin, 28px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
  .hero-rotator__control { transition: none; }
}

@media (prefers-reduced-motion: reduce) { .hero__grain { animation: none; } .btn { transition: none; } }

/* Map Section */
.map-section {
  position: relative;
  padding: clamp(36px, 6vmin, 96px) clamp(24px, 6vmin, 120px) clamp(64px, 8vmin, 140px);
  background: none;
}
.map-head {
  padding: 0;
  max-width: 1200px;
  margin: 0 auto clamp(12px, 2.4vmin, 18px);
  text-align: left;
}
:where(h1, h2, h3, h4, h5, h6) {
  position: relative;
  isolation: isolate;
  z-index: 0;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
}
:where(h1, h2, h3, h4, h5, h6)::before {
  content: '';
  position: absolute;
  inset: -0.35em -0.7em;
  background: var(--title-gradient);
  filter: blur(20px);
  opacity: .9;
  border-radius: 999px;
  z-index: -1;
  pointer-events: none;
}
.section-title {
  margin: 0 0 12px 0;
  font-size: clamp(28px, 5vmin, 54px);
  letter-spacing: -0.02em;
  text-align: left;
  text-shadow: var(--title-glow);
}
.map-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(16px, 3vmin, 28px);
  align-items: stretch;
  width: 100%;
}
@media (max-width: 1100px) { .map-wrap { grid-template-columns: 1fr; } }
.map-card {
  position: relative;
  border-radius: 18px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px) saturate(1.2);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  overflow: hidden;
  min-height: min(70vh, 760px);
}
#russia-map { position: absolute; inset: 0; }
.map-controls { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 8px; z-index: 500; }
.ctrl-btn {
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(0,0,0,.06);
  padding: 10px 14px; border-radius: 12px; cursor: pointer;
  font-weight: 600; color: #1f2937;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  transition: transform .12s ease, background .2s ease;
}
.ctrl-btn:hover { transform: translateY(-1px); background: #fff; }
.ctrl-btn:active { transform: translateY(0); }

.map-label {
  font: 700 13px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #0f172a;
  text-shadow: 0 0 10px rgba(255,255,255,.9), 0 0 3px rgba(255,255,255,.95);
  white-space: nowrap;
  pointer-events: none;
  text-align: center;
  white-space: normal;
  max-width: 140px;
  line-height: 1.15;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.country-label { font-size: 14px; letter-spacing: .25px; }
.region-label { font-size: 12px; opacity: .95; color: #111827; }
.leaflet-tooltip.region-label {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

.info-panel {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.82));
  backdrop-filter: blur(8px) saturate(1.1);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  padding: clamp(18px, 3.2vmin, 26px);
  color: #121217;
}
.info-panel h3 { margin: 0 0 8px 0; font-size: clamp(18px, 2.2vmin, 22px); letter-spacing: -0.02em; }
.info-panel p { margin: 6px 0; color: var(--muted); }

.global-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 10px 0 6px;
}
.stat-card {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(0,0,0,.04);
  border: none;
  box-shadow: none;
  display: grid;
  gap: 4px;
}
.stat-card__value {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0f172a;
  text-shadow: 0 10px 24px rgba(0,0,0,.1);
}
.stat-card__value--inline { font-size: 1.1em; white-space: nowrap; }
.stat-card__label {
  color: rgba(21,22,26,.65);
  font-size: .92rem;
  letter-spacing: .01em;
}
.stat-card--inline {
  grid-column: 1 / -1;
}
.stat-card__text {
  margin: 0;
  color: rgba(21,22,26,.75);
  line-height: 1.45;
  word-break: break-word;
}
.info-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(21,22,26,.1), rgba(21,22,26,.02));
  margin: 12px 0 6px;
}
.region-details { display: grid; gap: 8px; }
.panel-placeholder { margin: 6px 0 0 0; color: var(--muted); font-size: .95rem; }
.info-row { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.badge { display:inline-flex; align-items:center; gap:8px; font-size: 12px; color: #2a2a33; background: rgba(0,0,0,.06); padding: 6px 10px; border-radius: 999px; }
.legend { margin-top: 10px; color: var(--muted); font-size: 14px; }

.foreign-section {
  margin-top: clamp(10px, 2.4vmin, 18px);
  display: grid;
  gap: 8px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.82));
  backdrop-filter: blur(8px) saturate(1.1);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  padding: clamp(14px, 2.8vmin, 22px);
}
.foreign-head { display: flex; }
.foreign-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #0f172a;
  font: inherit;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.foreign-toggle:hover { background: rgba(0,0,0,.04); box-shadow: 0 10px 18px rgba(0,0,0,.05); }
.foreign-toggle:active { transform: translateY(1px); }
.foreign-toggle:focus-visible { outline: 2px solid rgba(30, 64, 175, .35); outline-offset: 2px; }
.foreign-head__label { font-size: 1.02rem; }
.foreign-head__value { font-size: 1rem; font-weight: 800; color: #0f172a; white-space: nowrap; }
.foreign-head__chevron {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 14px rgba(0,0,0,.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
.foreign-head__chevron::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border: solid #111827;
  border-width: 0 2px 2px 0;
  transform: rotate(135deg);
  transition: transform .18s ease;
}
.foreign-section.is-collapsed .foreign-head__chevron::before { transform: rotate(45deg); }
.foreign-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  font-size: .84rem;
}
.foreign-list[hidden] { display: none !important; }
.foreign-group {
  border-radius: 10px;
  background: rgba(0,0,0,.04);
  padding: 8px 10px;
  display: grid;
  gap: 6px;
}
.foreign-group__country {
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: .95rem;
}
.foreign-table {
  display: grid;
  gap: 6px;
}
.foreign-region {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 6px;
  align-items: start;
}
.foreign-region__name {
  font-weight: 700;
  color: #1f2430;
  padding: 3px 6px;
  border-radius: 8px;
  background: rgba(0,0,0,.04);
}
.foreign-region__entries {
  display: grid;
  gap: 4px;
}
.foreign-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 7px;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(17,25,40,.05);
}
.foreign-entry__law { margin: 0; color: #1f2430; font-size: .82rem; }
.foreign-entry__amt { margin: 0; font-weight: 800; font-size: .88rem; text-align: right; white-space: nowrap; }

/* Panel content for law totals */
.law-list { margin-top: 8px; display: grid; gap: 8px; }
.law-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 8px 10px; background: rgba(0,0,0,.04); border-radius: 10px; }
.law-item .law { color: #23242b; font-size: 13px; line-height: 1.25; }
.law-item .amt { color: #0f172a; font-weight: 700; }
.total { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(0,0,0,.08); color: #111827; }

/* Leaflet tweaks */
.leaflet-container { font: 14px/1.4 Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; }
.leaflet-control-zoom a { border-radius: 10px; }
.leaflet-control { filter: drop-shadow(0 6px 16px rgba(0,0,0,.08)); }
.leaflet-tooltip.region-tip {
  background: rgba(32,32,38,.95);
  color: #fff;
  border: none; border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.24);
  padding: 6px 10px; font-weight: 600; letter-spacing: .2px;
}
/* Hide default attribution bar as requested */
.leaflet-control-attribution { display: none !important; }

/* Current collection section */
.current-drive {
  padding: clamp(36px, 6vmin, 96px) clamp(24px, 6vmin, 120px) clamp(64px, 8vmin, 140px);
  position: relative;
  isolation: isolate;
  background: none;
}
.current-drive::after {
  display: none;
}
.current-drive__shell {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vmin, 48px);
}
.current-drive__intro { max-width: 760px; }
.current-drive__eyebrow {
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .32em;
  color: rgba(21,22,26,.55);
  margin: 0 0 12px 0;
}
.current-drive__intro h2:not(.section-title) {
  margin: 0 0 12px 0;
  font-size: clamp(28px, 5vmin, 54px);
  letter-spacing: -0.02em;
}
.current-drive__lead {
  margin: 0;
  font-size: clamp(18px, 2.4vmin, 22px);
  color: #1f2430;
  line-height: 1.55;
}
.current-drive__body {
  display: grid;
  grid-template-columns: minmax(380px, 1.2fr) minmax(0, 1.8fr);
  gap: clamp(22px, 4.4vmin, 44px);
  align-items: start;
}
@media (max-width: 960px) {
  .current-drive__body { grid-template-columns: 1fr; }
}
.card-surface,
.story-card,
.current-drive__panel,
.map-card,
.info-panel,
.contact-lede,
.contact-card {
  position: relative;
  border-radius: var(--surface-card-radius);
  background: var(--surface-card-bg);
  box-shadow: var(--surface-card-shadow);
  border: none;
  backdrop-filter: none;
}
.card-surface::before,
.story-card::before,
.current-drive__panel::before,
.map-card::before,
.info-panel::before,
.contact-lede::before,
.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: var(--surface-card-glow);
  opacity: .9;
  pointer-events: none;
  z-index: -1;
}
.story-card {
  padding: clamp(24px, 4.2vmin, 40px);
  font-size: 1.03rem;
  line-height: 1.75;
  color: rgba(21,22,26,.9);
  text-align: left;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.story-card::after {
  content: '';
  position: absolute;
  inset: auto 8% -22% auto;
  width: clamp(150px, 22vmin, 240px);
  height: clamp(150px, 22vmin, 240px);
  display: none;
  pointer-events: none;
}
.story-card h3 {
  margin: 0 0 12px 0;
  font-size: clamp(22px, 3.2vmin, 32px);
  letter-spacing: -0.01em;
}
.story-card__body { text-align: left; }
.story-card p { margin: 0 0 1.2em 0; }
.story-card__facts {
  list-style: none;
  margin: 0;
  padding: 26px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  border-top: 1px solid rgba(21,22,26,.05);
  text-align: left;
}
.story-card__facts li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(21,22,26,.06);
  background: transparent;
  align-items: flex-start;
}
.story-card__facts span {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(21,22,26,.6);
}
.story-card__facts strong { font-size: 1.1rem; }

.current-drive__panel {
  padding: clamp(22px, 3.8vmin, 34px);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drive-panel__meta {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(21,22,26,.05);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.drive-panel__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: .65rem;
  color: rgba(21,22,26,.58);
}
.drive-panel__value {
  margin: 0;
  font-size: clamp(28px, 4.6vmin, 48px);
  font-weight: 700;
}

.drive-metrics {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.drive-metrics li {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(248,249,253,.92);
  backdrop-filter: blur(12px) saturate(1.1);
  border: 1px solid rgba(21,22,26,.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.drive-metrics span {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(21,22,26,.62);
}
.drive-metrics strong { font-size: 1.5rem; }

.drive-progress {
  position: relative;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.9), rgba(255,255,255,.55));
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.drive-progress__fill {
  --progress: 0;
  position: absolute;
  inset: 0;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, #ffffff, #dbeafe 40%, #30b3ff 100%);
  border-radius: 999px;
  transition: width .8s ease;
  box-shadow: 0 6px 14px rgba(48,179,255,.26);
}
.drive-progress__legend {
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(21,22,26,.55);
}
.drive-panel__value,
.drive-metrics strong,
.drive-progress__legend span,
.story-card__facts strong {
  white-space: nowrap;
}

.drive-donate {
  margin-top: .15rem;
  padding: 0;
  border-radius: 0;
  background: none;
  border: none;
  display: grid;
  gap: 16px;
  font-size: .95rem;
  color: #1f2430;
  backdrop-filter: none;
  box-shadow: none;
}
.drive-donate__rows { display: grid; gap: 18px; }
.drive-donate__row {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(17,25,40,.06);
  box-shadow: 0 10px 24px rgba(15,19,32,.08), inset 0 1px 0 rgba(255,255,255,.75);
}
.drive-donate__method {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: .62rem;
  color: rgba(21,22,26,.58);
}
.drive-donate__value {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(21,22,26,.16);
  background: rgba(255,255,255,.96);
  cursor: default;
  transition: transform .16s ease, box-shadow .18s ease, border-color .18s ease;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
  color: inherit;
  font: inherit;
}
.drive-donate__value:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(15,19,32,.12);
  border-color: rgba(48,179,255,.4);
}
.drive-donate__value:focus-visible {
  outline: none;
  border-color: rgba(48,179,255,.6);
  box-shadow: 0 0 0 3px rgba(69,187,255,.2), 0 14px 24px rgba(15,19,32,.12);
}
.drive-donate__value::after {
  content: 'Скопировать';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #30b3ff;
  background: rgba(255,255,255,.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.drive-donate__value:hover::after,
.drive-donate__value:focus-visible::after {
  opacity: 1;
}
.drive-donate__value.is-copied::after {
  content: 'Скопировано';
  opacity: 1;
}
.drive-donate__value-text {
  display: block;
  font-family: "JetBrains Mono", "IBM Plex Mono", Menlo, Consolas, monospace;
  letter-spacing: .05em;
  font-weight: 700;
  font-size: .98rem;
  color: #10131c;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.drive-donate__comment {
  margin: 0;
  font-size: .9rem;
  color: rgba(21,22,26,.72);
  line-height: 1.45;
}

@media (prefers-reduced-motion: reduce) {
  .drive-progress__fill { transition: none; }
}

/* Contact section */
.contact-section {
  position: relative;
  padding: clamp(48px, 8vmin, 120px) clamp(24px, 6vmin, 120px) clamp(96px, 10vmin, 160px);
  background: none;
  overflow: hidden;
}
.contact-section__head {
  max-width: 1200px;
  margin: 0 auto clamp(24px, 4vmin, 40px);
}
.contact-section__head h2:not(.section-title) {
  margin: 0;
  font-size: clamp(28px, 5vmin, 54px);
  letter-spacing: -0.02em;
}
.contact-section::before,
.contact-section::after {
  display: none;
}
.contact-shell {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, .85fr);
  grid-template-areas: "card lede";
  gap: clamp(20px, 4.2vmin, 42px);
  align-items: stretch;
}
@media (max-width: 980px) {
  .contact-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "lede"
      "card";
  }
}

.contact-lede {
  grid-area: lede;
  padding: clamp(24px, 4.2vmin, 40px);
  display: grid;
  gap: 10px;
  align-content: start;
}
.contact-eyebrow {
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: .8rem;
  color: rgba(21,22,26,.55);
}
.contact-lede__title {
  margin: 0 0 12px 0;
  font-size: clamp(22px, 4vmin, 32px);
  letter-spacing: -0.02em;
}
.contact-card__eyebrow {
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: .8rem;
  color: rgba(21,22,26,.58);
}
.contact-lead {
  margin: 0 0 18px 0;
  font-size: clamp(17px, 2.2vmin, 20px);
  line-height: 1.6;
  color: #1f2430;
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.contact-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  text-decoration: none;
  border: 1px solid rgba(17,25,40,.1);
  box-shadow: 0 12px 30px rgba(15,19,32,.08), inset 0 1px 0 rgba(255,255,255,.7);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
  color: #1f2430;
  background: #fff;
}
.contact-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}
.contact-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15,19,32,.12);
  filter: brightness(1.02);
}
.contact-icon--tg {
  color: #0b3b63;
  background: linear-gradient(140deg, rgba(235,246,255,.9), #fff);
}
.contact-icon--mail {
  color: #1f2430;
  background: linear-gradient(140deg, rgba(255,255,255,.95), rgba(244,248,255,.7));
}
.contact-icon--ig {
  color: #3a2230;
  background: linear-gradient(140deg, rgba(255,232,236,.95), rgba(255,245,231,.85));
}
.contact-chip {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  border: 1px solid rgba(17,25,40,.08);
  box-shadow: 0 12px 30px rgba(15,19,32,.08), inset 0 1px 0 rgba(255,255,255,.7);
  transition: transform .16s ease, filter .16s ease;
}
.contact-chip:hover { transform: translateY(-1px); filter: brightness(1.03); }
.contact-chip--tg {
  color: #0c1c2c;
  background: #fff;
}
.contact-chip--mail {
  color: #1f2430;
  background: linear-gradient(120deg, rgba(255,255,255,.9), rgba(245,248,255,.65));
}

.contact-card {
  grid-area: card;
  padding: clamp(24px, 4.2vmin, 42px);
  display: grid;
  gap: 18px;
}
.contact-card h3 {
  margin: 6px 0 10px 0;
  font-size: clamp(22px, 4vmin, 32px);
  letter-spacing: -0.02em;
}
.contact-card__hint {
  margin: 0;
  color: #1f2430;
  line-height: 1.6;
  font-size: clamp(17px, 2.2vmin, 20px);
}

.contact-form {
  display: grid;
  gap: 10px;
  padding: 8px 0 0;
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(21,22,26,.06);
  box-shadow: 0 10px 26px rgba(15,19,32,.08);
  max-width: 420px;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: center;
  padding: 0 10px 10px;
}
@media (min-width: 720px) { .contact-form__row { max-width: 520px; } }
.contact-form input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(21,22,26,.12);
  background: #fff;
  font-size: 1rem;
  color: var(--fg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 8px 18px rgba(15,19,32,.06);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input[type="email"]:focus {
  outline: none;
  border-color: rgba(21,22,26,.3);
  box-shadow: 0 0 0 3px rgba(15,19,32,.12), 0 10px 24px rgba(15,19,32,.08);
}
.contact-submit {
  --btn-bg: linear-gradient(120deg, #30B3FF, #57c8ff);
  padding: .9rem 1.05rem;
  box-shadow: 0 10px 22px rgba(15,19,32,.12);
  background-size: 200%;
  transition: background-position .2s ease, transform .2s ease, box-shadow .2s ease;
}
.contact-submit:hover { background-position: 90% 50%; box-shadow: 0 12px 26px rgba(15,19,32,.16); }
.contact-submit { width: 100%; justify-content: center; }
.contact-form__status {
  margin: 0;
  min-height: 1.2em;
  font-size: .95rem;
  color: rgba(21,22,26,.65);
  padding: 0 10px 10px;
}
.contact-form__status.is-success { color: #1f7a37; }
.contact-form.is-sent .contact-form__row {
  opacity: .7;
  pointer-events: none;
  filter: saturate(.85);
}
