:root {
  color-scheme: light;
  --bg: #4c69f2;
  --bg-strong: #3f5ae4;
  --surface: rgba(244, 247, 255, 0.88);
  --surface-strong: #f7f9ff;
  --surface-accent: rgba(111, 143, 255, 0.13);
  --surface-warm: rgba(140, 166, 255, 0.16);
  --surface-glass: linear-gradient(160deg, rgba(248, 250, 255, 0.88) 0%, rgba(226, 234, 255, 0.72) 100%);
  --surface-glass-strong: linear-gradient(160deg, rgba(250, 251, 255, 0.96) 0%, rgba(226, 235, 255, 0.84) 100%);
  --text: #1d2b53;
  --muted: #5a6995;
  --accent: #5f79f6;
  --accent-strong: #2f49c7;
  --accent-soft: #dde5ff;
  --gold: #9ebcff;
  --gold-strong: #5471d1;
  --gold-soft: #edf1ff;
  --tone-indigo: rgba(95, 121, 246, 0.24);
  --tone-sky: rgba(89, 177, 255, 0.22);
  --tone-violet: rgba(132, 109, 255, 0.22);
  --tone-cyan: rgba(78, 199, 224, 0.22);
  --line: rgba(48, 63, 128, 0.16);
  --line-strong: rgba(48, 63, 128, 0.26);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-lg: 0 26px 60px rgba(24, 39, 105, 0.22);
  --shadow-md: 0 16px 36px rgba(28, 47, 120, 0.16);
  --shadow-card: 0 18px 38px rgba(28, 47, 120, 0.14);
  --container: 1220px;
  --hero-right-gap: 0px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Segoe UI Variable Text", "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.18), transparent 16%),
    radial-gradient(circle at 88% 4%, rgba(165, 191, 255, 0.2), transparent 19%),
    radial-gradient(circle at 48% 28%, rgba(120, 149, 255, 0.2), transparent 30%),
    linear-gradient(180deg, #5876ff 0%, #4b69f3 46%, #405ce4 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(95, 121, 246, 0.3);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 0.75rem;
  padding: 0.8rem 1.05rem;
  border-radius: 999px;
  background: var(--accent-strong);
  color: #fff;
  z-index: 120;
  transform: translateY(calc(-100% - 0.75rem));
  transition: transform 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

.page-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

.page-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold) 0%, var(--accent) 100%);
  transition: width 0.14s linear;
}

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

.site-header {
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 2;
  min-height: 100svh;
  overflow: clip;
  background: transparent;
  border-bottom: 0;
}

.hero-section--video-is-hidden {
  display: none;
}

.utility-bar {
  position: relative;
  order: 3;
  z-index: 2;
  overflow: hidden;
  color: var(--text);
  margin-top: 0.95rem;
  padding-bottom: 0.95rem;
  background: transparent;
  border: 0;
}

.utility-bar::after {
  display: none;
}

.utility-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0;
}

.utility-bar__grid > .utility-pill:first-child {
  display: grid;
}

.utility-pill {
  display: grid;
  gap: 0.08rem;
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 14px 24px rgba(1, 8, 18, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px) saturate(1.08);
}

.utility-pill > :not(.utility-pill__label) {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  line-height: 1.3;
  font-weight: 600;
}

.utility-pill strong,
.utility-pill a {
  font-weight: 600;
}

.utility-pill--status {
  position: relative;
  overflow: hidden;
}

.utility-pill--status::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #7ae18c;
}

.utility-pill--status.is-break::before {
  background: #e1c05b;
}

.utility-pill--status.is-closed::before {
  background: #e28078;
}

.utility-pill__label {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.44);
  opacity: 1;
}

.utility-bar__grid > .utility-pill:first-child {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.hero-address-shell {
  display: none;
}

.header-main {
  position: relative;
  order: 2;
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(420px, auto);
  gap: 2rem;
  align-items: center;
  width: 100%;
  min-height: 100svh;
  margin-inline: 0;
  padding: 11.6rem clamp(24px, 4vw, 52px) 3.2rem;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  background: #07131d;
  box-shadow: none;
  isolation: isolate;
}

.header-main__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.header-main__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(0.94) contrast(1.02) brightness(0.7);
}

.header-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 10, 18, 0.62) 0%, rgba(4, 10, 18, 0.18) 22%, rgba(4, 10, 18, 0.64) 100%),
    linear-gradient(90deg, rgba(4, 10, 18, 0.72) 0%, rgba(4, 10, 18, 0.34) 34%, rgba(4, 10, 18, 0.08) 72%, rgba(4, 10, 18, 0.52) 100%);
  pointer-events: none;
}

.brand {
  display: grid;
  justify-items: center;
  gap: 1rem;
  min-width: 0;
  width: min(56vw, 760px);
  max-width: min(56vw, 760px);
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: center;
  text-align: center;
  transform: translateY(-1.7rem);
}

.brand img {
  width: min(350px, 100%);
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.04) saturate(1.02);
}

.brand__tagline,
.brand__eyebrow,
.section-kicker,
.feature-card__kicker {
  font-size: 0.77rem;
  letter-spacing: 0.16em;
}

.brand__tagline {
  width: min(46ch, 100%);
  max-width: 46ch;
  min-height: 3em;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.5;
  border-radius: 0;
  background: transparent;
  border: 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.32);
  backdrop-filter: none;
  text-align: center;
}

.brand__tagline.is-typing {
  position: relative;
  min-height: 3em;
}

.brand__tagline.is-typing::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 1.05em;
  margin-left: 0.22rem;
  vertical-align: -0.12em;
  background: rgba(255, 255, 255, 0.95);
  animation: brand-caret-blink 0.9s steps(1, end) infinite;
}

@keyframes brand-caret-blink {
  0%,
  48% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.header-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 210px));
  gap: 0.85rem;
  justify-content: end;
  position: relative;
  z-index: 3;
  align-self: start;
  justify-self: end;
  padding-top: 1rem;
  width: auto;
  max-width: min(42vw, 660px);
  pointer-events: auto;
}

.header-badge {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-width: 0;
  max-width: none;
  min-height: 0;
  padding: 0.9rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 28px rgba(1, 8, 18, 0.14);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.header-badge__title {
  display: inline-flex;
  justify-self: center;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.header-badge p,
.header-badge a:not(.button) {
  margin: 0;
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0.72rem 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
  line-height: 1.35;
  backdrop-filter: blur(6px);
}

.header-badge p {
  color: rgba(255, 255, 255, 0.94);
}

.header-badge a:not(.button) {
  color: rgba(255, 255, 255, 0.98);
  font-weight: 800;
}

.header-dashboard .header-badge:nth-child(2) a:not(.button) {
  white-space: nowrap;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
}

.header-badge__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.header-badge--cta {
  justify-items: center;
  text-align: center;
}

.header-badge--cta .header-badge__actions {
  width: 100%;
}

.header-badge--cta .button {
  width: auto;
  min-width: 150px;
  margin-inline: auto;
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--text);
  font-weight: 700;
}

.sticky-nav-shell {
  position: fixed;
  top: 0.45rem;
  left: 0;
  right: 0;
  z-index: 50;
  margin-top: 0;
  padding: 0.25rem 0 0.6rem;
  backdrop-filter: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-14px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.sticky-nav-shell.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.sticky-nav-shell--hero {
  position: absolute;
  left: 0;
  right: 0;
  top: 4.8rem;
  z-index: 5;
  margin-top: 0;
  padding: 0;
  margin-bottom: 0;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.sticky-nav-shell--hero.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.sticky-nav-shell--hero .container {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), 100%);
  max-width: none;
  pointer-events: auto;
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(0.7rem, 1.2vw, 1.15rem);
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 0.82rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(6, 17, 27, 0.24);
  box-shadow:
    0 18px 46px rgba(1, 8, 18, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px) saturate(1.15);
  white-space: nowrap;
  transition: padding 0.28s ease, background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.sticky-nav-shell--hero .site-nav {
  width: auto;
  max-width: none;
  padding: 0;
  margin-inline: auto;
  gap: clamp(1rem, 1.5vw, 1.45rem);
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  pointer-events: auto;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.52rem 0.12rem 0.66rem;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.95rem;
  font-weight: 700;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.42);
  transition: transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.sticky-nav-shell--hero .site-nav a {
  pointer-events: auto;
  padding-inline: 0;
  padding-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.98);
  text-shadow:
    0 2px 14px rgba(0, 0, 0, 0.62),
    0 0 6px rgba(0, 0, 0, 0.18);
}

.sticky-nav-shell--hero .site-nav a::after {
  bottom: 0;
  height: 1px;
  opacity: 0.42;
  background: rgba(255, 255, 255, 0.82);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.2rem;
  height: 1px;
  opacity: 0.28;
  transform: scaleX(0.42);
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(158, 188, 255, 0.96), rgba(95, 121, 246, 0.96));
  transition: transform 0.2s ease, opacity 0.2s ease, height 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: transparent;
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-1px);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  height: 2px;
  opacity: 1;
  transform: scaleX(1);
}

.sticky-nav-shell--hero .site-nav a:hover,
.sticky-nav-shell--hero .site-nav a:focus-visible {
  color: #ffffff;
  opacity: 1;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.08),
    0 2px 14px rgba(0, 0, 0, 0.62);
}

.sticky-nav-shell--hero .site-nav a:hover::after,
.sticky-nav-shell--hero .site-nav a:focus-visible::after {
  height: 2px;
  opacity: 0.9;
  transform: scaleX(1);
}

.sticky-nav-shell--legacy .site-nav a:hover,
.sticky-nav-shell--legacy .site-nav a:focus-visible {
  color: #ffffff;
  opacity: 0.96;
  text-shadow: 0 0 10px rgba(138, 165, 255, 0.12);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 14px 26px rgba(47, 73, 199, 0.26);
}

.button--primary:hover,
.button--primary:focus-visible {
  color: #fff;
}

.button--ghost {
  background: rgba(247, 249, 255, 0.54);
  border-color: var(--line);
  color: var(--text);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(95, 121, 246, 0.24);
}

.hero-section {
  padding: 2rem 0 1.6rem;
}

.hero-section--legacy {
  display: none;
}

.hero-section--video {
  position: relative;
  min-height: calc(100vh - 150px);
  padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  overflow: clip;
  background: #07131d;
}

.hero-section--video::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 10, 18, 0.88) 0%, rgba(4, 10, 18, 0.7) 32%, rgba(4, 10, 18, 0.18) 68%, rgba(4, 10, 18, 0.55) 100%),
    linear-gradient(180deg, rgba(5, 12, 22, 0.54) 0%, rgba(5, 12, 22, 0.08) 26%, rgba(5, 12, 22, 0.66) 100%);
  z-index: 1;
}

.hero-video-shell {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(0.92) contrast(1.02) brightness(0.72);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.82fr);
  gap: 1.25rem;
  align-items: start;
}

.hero-section--video .hero-grid {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 240px);
  grid-template-columns: minmax(0, 760px);
  align-content: end;
  gap: 0;
}

.hero-card,
.hero-side > *,
.section-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: var(--surface-glass-strong);
  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px);
  isolation: isolate;
}

.hero-card {
  padding: clamp(1.5rem, 3vw, 2.6rem);
}

.hero-card--immersive {
  max-width: 760px;
  padding: clamp(2rem, 5vw, 4rem) 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-card--immersive::before,
.hero-card--immersive::after {
  display: none;
}

.hero-card::before,
.feature-card::before,
.section-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(158, 188, 255, 0.3) 36%, rgba(95, 121, 246, 0.24) 60%, var(--accent) 100%);
}

.hero-card::after,
.feature-card::after,
.section-card::after {
  content: "";
  position: absolute;
  inset: auto -16% -55% 42%;
  height: 240px;
  background: radial-gradient(circle, rgba(95, 121, 246, 0.2) 0%, rgba(95, 121, 246, 0) 72%);
  pointer-events: none;
  z-index: 0;
}

.hero-card > *,
.feature-card > *,
.section-card > * {
  position: relative;
  z-index: 1;
}

.hero-card h1,
.section-heading h2,
.feature-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.1;
}

.hero-card h1 {
  max-width: 16ch;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  color: #1b2a58;
}

.hero-card--immersive h1 {
  max-width: 11ch;
  color: #ffffff;
  font-size: clamp(2.9rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-shadow: 0 20px 44px rgba(0, 0, 0, 0.3);
}

.hero-text {
  margin: 0.85rem 0 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-card--immersive .hero-text {
  max-width: 72ch;
  margin-top: 1.25rem;
  color: rgba(244, 247, 250, 0.82);
  font-size: clamp(1.04rem, 1.28vw, 1.18rem);
  line-height: 1.78;
  letter-spacing: 0.002em;
}

.section-kicker,
.feature-card__kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 0.7rem;
  padding: 0.34rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, rgba(95, 121, 246, 0.94) 0%, rgba(87, 182, 255, 0.88) 100%);
  color: #fff;
  letter-spacing: 0.06em;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.94;
  box-shadow: 0 12px 24px rgba(47, 73, 199, 0.18);
}

.hero-card--immersive .section-kicker {
  margin-bottom: 1.2rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0;
  position: relative;
  z-index: 3;
}

.hero-card--immersive .hero-actions {
  margin-top: 2rem;
}

.hero-photo-strip {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.hero-photo-strip__stage {
  position: relative;
  min-height: clamp(240px, 31vw, 330px);
  padding: 0.65rem 0.75rem 1rem;
  overflow: visible;
}

.hero-photo-card {
  position: relative;
  display: grid;
  align-items: end;
  position: absolute;
  inset: 0.65rem 0.75rem 1rem;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(246, 248, 255, 0.78);
  box-shadow: 0 16px 32px rgba(24, 39, 105, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateX(5%) scale(0.96);
  transform-origin: center center;
  transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.3s ease;
}

.hero-photo-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  z-index: 2;
}

.hero-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 41, 66, 0.02) 0%, rgba(18, 41, 66, 0.16) 100%);
}

.hero-photo-card:hover,
.hero-photo-card:focus-visible {
  transform: translateY(-6px) scale(1.035);
  box-shadow: 0 22px 42px rgba(24, 39, 105, 0.24);
}

.hero-photo-card.is-active:hover,
.hero-photo-card.is-active:focus-visible {
  transform: translateY(-6px) scale(1.035);
}

.hero-photo-strip__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
}

.hero-photo-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(95, 121, 246, 0.22);
  transition: width 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.hero-photo-dot.is-active {
  width: 34px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
}

.hero-photo-dot:hover,
.hero-photo-dot:focus-visible {
  transform: scale(1.06);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero-card--immersive .hero-metrics {
  margin-top: 2.1rem;
  gap: 1rem;
}

.metric-card {
  padding: 1rem;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(248, 250, 255, 0.88), rgba(226, 235, 255, 0.82));
}

.hero-card--immersive .metric-card {
  min-height: 0;
  padding: 1.15rem 1.15rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 19, 29, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-metrics .metric-card:nth-child(1) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, var(--tone-indigo) 100%);
}

.hero-metrics .metric-card:nth-child(2) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, var(--tone-sky) 100%);
}

.hero-metrics .metric-card:nth-child(3) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, var(--tone-violet) 100%);
}

.hero-card--immersive .hero-metrics .metric-card:nth-child(1),
.hero-card--immersive .hero-metrics .metric-card:nth-child(2),
.hero-card--immersive .hero-metrics .metric-card:nth-child(3) {
  background: rgba(7, 19, 29, 0.26);
}

.metric-card strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--accent-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}

.hero-card--immersive .metric-card strong {
  color: #ffffff;
  font-size: clamp(1.6rem, 2vw, 2rem);
}

.metric-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-card--immersive .metric-card span {
  color: rgba(235, 241, 246, 0.78);
}

.hero-card--immersive .button--primary {
  background: #ffffff;
  color: #09131d;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.hero-card--immersive .button--primary:hover,
.hero-card--immersive .button--primary:focus-visible {
  background: #ffffff;
  color: #09131d;
}

.hero-card--immersive .button--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.hero-card--immersive .button--ghost:hover,
.hero-card--immersive .button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-side {
  display: grid;
  gap: 1rem;
}

.hero-main-stack {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
  align-content: start;
}

.character-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
  margin: 0;
  scroll-margin-top: 7rem;
}

.character-card {
  position: relative;
  display: grid;
  align-items: start;
  min-height: 178px;
  overflow: hidden;
  padding: 1.05rem 1.08rem;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 255, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 18px 34px rgba(14, 29, 86, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.character-card--service {
  grid-column: 1 / -1;
  min-height: 220px;
}

.character-card::after {
  content: "";
  position: absolute;
  inset: auto -16% -44% 42%;
  height: 170px;
  background: radial-gradient(circle, rgba(95, 121, 246, 0.16) 0%, rgba(95, 121, 246, 0) 70%);
  pointer-events: none;
}

.character-card__copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.48rem;
}

.character-card__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.34rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, rgba(95, 121, 246, 0.94) 0%, rgba(87, 182, 255, 0.88) 100%);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.94;
  box-shadow: 0 12px 24px rgba(47, 73, 199, 0.18);
}

.character-card__copy h3 {
  margin: 0;
  color: #16285d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.65vw, 1.34rem);
  line-height: 1.08;
}

.character-card__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.42;
}

.scenario-vacancy {
  display: grid;
  gap: 0.26rem;
  padding: 0.56rem 0.68rem;
  border-radius: 18px;
  border: 1px solid rgba(95, 121, 246, 0.12);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.scenario-vacancy strong,
.comfort-services strong {
  color: #172b67;
}

.scenario-vacancy strong {
  display: inline-flex;
  align-items: center;
  gap: 0.44rem;
  line-height: 1.2;
}

.scenario-vacancy strong::before {
  content: "";
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #4b74ff, #52c0ff);
  box-shadow: 0 0 0 4px rgba(75, 116, 255, 0.1);
}

.scenario-vacancy small,
.comfort-services small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.scenario-vacancy small {
  display: block;
  margin-top: 0.08rem;
  padding-top: 0.36rem;
  border-top: 1px solid rgba(67, 105, 255, 0.14);
}

.scenario-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  padding: 0.48rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(95, 121, 246, 0.16);
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.scenario-link:hover,
.scenario-link:focus-visible {
  transform: translateY(-1px);
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 24px rgba(47, 73, 199, 0.18);
}

.comfort-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.68rem;
  padding: 0;
  margin: 0.15rem 0 0;
  list-style: none;
  counter-reset: comfort-service;
}

.comfort-services li {
  position: relative;
  counter-increment: comfort-service;
  display: grid;
  gap: 0.2rem;
  padding: 0.68rem 0.72rem 0.68rem 2.9rem;
  border-radius: 18px;
  border: 1px solid rgba(67, 105, 255, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(238, 245, 255, 0.72)),
    radial-gradient(circle at 12% 20%, rgba(80, 132, 255, 0.14), transparent 38%);
  box-shadow:
    0 12px 26px rgba(23, 43, 103, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.comfort-services li::before {
  content: counter(comfort-service);
  position: absolute;
  top: 0.78rem;
  left: 0.78rem;
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(145deg, #4b74ff, #52c0ff);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(47, 99, 230, 0.22);
}

.comfort-services li::after {
  content: "";
  position: absolute;
  left: 1.7rem;
  top: 2.65rem;
  bottom: 0.82rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(75, 116, 255, 0.28), rgba(75, 116, 255, 0));
}

.comfort-services li:nth-child(even)::before {
  background: linear-gradient(145deg, #1d68df, #5ddcff);
}

.scenario-link--wide {
  justify-self: start;
}

.feature-card {
  padding: 1.2rem;
  background: var(--surface-glass);
}

.feature-card--warm {
  background: linear-gradient(155deg, rgba(249, 250, 255, 0.92), rgba(227, 236, 255, 0.78));
}

.feature-card__head {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.quick-card {
  display: grid;
  gap: 0.3rem;
  min-height: 100%;
  padding: 1rem;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(248, 250, 255, 0.86), rgba(231, 237, 255, 0.78));
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#service-shortcuts .quick-card:nth-child(1) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, var(--tone-indigo) 100%);
}

#service-shortcuts .quick-card:nth-child(2) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, var(--tone-sky) 100%);
}

#service-shortcuts .quick-card:nth-child(3) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, var(--tone-violet) 100%);
}

#service-shortcuts .quick-card:nth-child(4) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, var(--tone-cyan) 100%);
}

.quick-card:hover,
.quick-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(95, 121, 246, 0.22);
  box-shadow: var(--shadow-md);
}

.quick-card strong {
  font-size: 1rem;
}

.quick-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-card--news-spotlight {
  padding: 1rem;
  border-color: rgba(117, 181, 255, 0.46);
  background:
    radial-gradient(circle at 100% 0%, rgba(86, 177, 255, 0.28), transparent 36%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(224, 241, 255, 0.82));
}

.feature-card--news-spotlight .feature-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.72rem;
}

.feature-card--news-spotlight .news-date-time {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.25rem 0.58rem;
  border-radius: 999px;
  color: #1f4da8;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1;
}

.hero-news-link {
  position: relative;
  display: grid;
  gap: 0.34rem;
  padding: 0.78rem;
  border-radius: 18px;
  color: #1d326c;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.hero-news-link::after {
  content: "\2192";
  position: absolute;
  right: 1.04rem;
  bottom: 0.95rem;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, rgba(77, 123, 240, 0.96), rgba(28, 101, 214, 0.96));
  box-shadow: 0 10px 18px rgba(47, 73, 199, 0.2);
}

.hero-news-link strong {
  max-width: calc(100% - 38px);
  font-size: 1.02rem;
  line-height: 1.22;
}

.hero-news-link span {
  max-width: calc(100% - 38px);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.feature-card--news-spotlight:hover .hero-news-link,
.feature-card--news-spotlight:focus-within .hero-news-link {
  background: rgba(255, 255, 255, 0.7);
}

.contact-actions {
  display: grid;
  gap: 0.75rem;
}

.schedule-list,
.directory-list,
.stack-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.schedule-list {
  display: grid;
  gap: 0.7rem;
}

.schedule-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px dashed var(--line);
}

.schedule-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.schedule-list strong {
  flex-shrink: 0;
  color: var(--accent-strong);
}

.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.84fr);
  gap: 1.25rem;
  padding-bottom: 3rem;
}

@media (min-width: 1121px) {
  .main-layout {
    margin-top: calc(var(--hero-right-gap) * -1);
  }

  .main-column {
    padding-top: var(--hero-right-gap);
  }
}

.main-column,
.side-column {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.section-card {
  padding: 1.45rem;
}

.section-card--accent {
  background: linear-gradient(160deg, rgba(250, 251, 255, 0.94), rgba(221, 229, 255, 0.82));
}

.section-card--warm {
  background: linear-gradient(160deg, rgba(248, 250, 255, 0.94), rgba(226, 236, 255, 0.84));
}

.section-heading {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.05rem;
  border-bottom: 1px solid rgba(95, 121, 246, 0.12);
}

.section-illustration {
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: min(30vw, 220px);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.side-column .topic-card {
  display: none !important;
}

.section-illustration svg {
  width: 100%;
  height: auto;
}

.section-illustration__orb {
  fill: #4766ff;
}

.section-illustration__accent {
  fill: #ff7f4f;
}

.section-illustration__body,
.section-illustration__skin {
  fill: #fff;
}

.section-illustration__hair {
  fill: #141922;
}

.section-illustration__line,
.section-illustration__phone {
  fill: none;
  stroke: #141922;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-illustration--phones {
  top: 0.7rem;
  right: 0.6rem;
  opacity: 0;
}

.section-heading h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  color: #233563;
}

.section-heading > p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
}

.topic-card {
  --topic-orb: #4766ff;
  --topic-accent: #ff8057;
  position: absolute;
  top: 0.95rem;
  right: 0.85rem;
  display: grid;
  place-items: center;
  width: min(34%, 245px);
  min-width: 168px;
  height: 176px;
  margin: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0.22;
  pointer-events: none;
  isolation: auto;
}

.section-card > .topic-card {
  z-index: 0;
}

.topic-card::before,
.topic-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
}

.topic-card::before {
  right: 6%;
  top: 8%;
  width: 118px;
  height: 118px;
  background: rgba(255, 128, 87, 0.14);
  background: color-mix(in srgb, var(--topic-accent) 20%, transparent);
}

.topic-card::after {
  left: 4%;
  bottom: 0;
  width: 172px;
  height: 172px;
  background: rgba(71, 102, 255, 0.18);
  background: color-mix(in srgb, var(--topic-orb) 20%, transparent);
}

.topic-card svg {
  width: min(100%, 245px);
  height: auto;
  transform: translate(8px, -2px) scale(1.05);
}

.topic-card__image {
  display: block;
  width: min(100%, 248px);
  height: 100%;
  object-fit: contain;
  transform: translate(10px, 2px) scale(1.04);
  filter: saturate(1.14) contrast(1.06) brightness(0.99);
  mix-blend-mode: multiply;
}

.topic-card__orb {
  fill: var(--topic-orb);
}

.topic-card__accent {
  fill: var(--topic-accent);
}

.topic-card__fill {
  fill: rgba(255, 255, 255, 0.82);
}

.topic-card__hair {
  fill: #16213f;
}

.topic-card__ink,
.topic-card__line {
  fill: none;
  stroke: #16213f;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topic-card__line {
  stroke-width: 3.4;
}

.topic-card--contacts,
.topic-card--reports,
.topic-card--phones {
  --topic-orb: #39a9ff;
  --topic-accent: #ff8a58;
}

.topic-card--services,
.topic-card--documents {
  --topic-orb: #5f79f6;
  --topic-accent: #ff7048;
}

.topic-card--housing,
.topic-card--guide,
.topic-card--links {
  --topic-orb: #2f63ff;
  --topic-accent: #ff9b62;
}

.topic-card--faq,
.topic-card--news {
  --topic-orb: #4d6fff;
  --topic-accent: #ff754f;
}

.topic-card--contacts {
  top: 0.7rem;
  right: 0.25rem;
  width: min(34%, 265px);
  min-width: 205px;
  height: 215px;
  overflow: visible;
  opacity: 1;
  border-radius: 0;
  background: transparent;
}

.topic-card--contacts::before {
  display: none;
}

.topic-card--contacts::after {
  display: none;
}

.topic-card--contacts .topic-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
  filter: saturate(1.08) contrast(1.04) drop-shadow(0 18px 28px rgba(31, 58, 140, 0.14));
  mix-blend-mode: normal;
}

.topic-card--services {
  top: 0.55rem;
  right: 0.3rem;
  width: min(43%, 365px);
  min-width: 255px;
  height: 250px;
  overflow: visible;
  opacity: 1;
  border-radius: 0;
  background: transparent;
}

.topic-card--services::before,
.topic-card--services::after {
  display: none;
}

.topic-card--services .topic-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
  filter: saturate(1.08) contrast(1.04) drop-shadow(0 18px 28px rgba(31, 58, 140, 0.14));
  mix-blend-mode: normal;
}

.topic-card--housing {
  top: 0.55rem;
  right: 0.2rem;
  width: min(39%, 340px);
  min-width: 245px;
  height: 242px;
  overflow: visible;
  opacity: 1;
  border-radius: 0;
  background: transparent;
}

.topic-card--housing::before,
.topic-card--housing::after {
  display: none;
}

.topic-card--housing .topic-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
  filter: saturate(1.08) contrast(1.04) drop-shadow(0 18px 28px rgba(31, 58, 140, 0.14));
  mix-blend-mode: normal;
}

.topic-card--documents {
  top: 0.55rem;
  right: 0.3rem;
  width: min(40%, 345px);
  min-width: 245px;
  height: 238px;
  overflow: visible;
  opacity: 1;
  border-radius: 0;
  background: transparent;
}

.topic-card--documents::before,
.topic-card--documents::after {
  display: none;
}

.topic-card--documents .topic-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
  filter: saturate(1.08) contrast(1.04) drop-shadow(0 18px 28px rgba(31, 58, 140, 0.14));
  mix-blend-mode: normal;
}

.topic-card--reports {
  top: 0.7rem;
  right: 0.4rem;
  width: min(34%, 275px);
  min-width: 210px;
  height: 218px;
  overflow: visible;
  opacity: 1;
  border-radius: 0;
  background: transparent;
}

.topic-card--reports::before,
.topic-card--reports::after {
  display: none;
}

.topic-card--reports .topic-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
  filter: saturate(1.08) contrast(1.04) drop-shadow(0 18px 28px rgba(31, 58, 140, 0.14));
  mix-blend-mode: normal;
}

.topic-card--faq {
  top: 0.55rem;
  right: 0.25rem;
  width: min(41%, 350px);
  min-width: 245px;
  height: 240px;
  overflow: visible;
  opacity: 1;
  border-radius: 0;
  background: transparent;
}

.topic-card--faq::before,
.topic-card--faq::after {
  display: none;
}

.topic-card--faq .topic-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
  filter: saturate(1.08) contrast(1.04) drop-shadow(0 18px 28px rgba(31, 58, 140, 0.14));
  mix-blend-mode: normal;
}

.topic-card--news {
  top: 0.65rem;
  right: 0.45rem;
  width: min(32%, 260px);
  min-width: 205px;
  height: 214px;
  overflow: visible;
  opacity: 1;
  border-radius: 0;
  background: transparent;
}

.topic-card--news::before,
.topic-card--news::after {
  display: none;
}

.topic-card--news .topic-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
  filter: saturate(1.08) contrast(1.04) drop-shadow(0 18px 28px rgba(31, 58, 140, 0.14));
  mix-blend-mode: normal;
}

.topic-card--about {
  top: 0.95rem;
  right: 0.35rem;
  width: min(41%, 330px);
  min-width: 238px;
  height: 226px;
  overflow: visible;
  opacity: 1;
  border-radius: 0;
  background: transparent;
}

.topic-card--about::before,
.topic-card--about::after {
  display: none;
}

.topic-card--about .topic-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
  filter: saturate(1.08) contrast(1.04) drop-shadow(0 18px 28px rgba(31, 58, 140, 0.14));
  mix-blend-mode: normal;
}

.topic-card--about,
.topic-card--contacts,
.topic-card--services,
.topic-card--housing,
.topic-card--documents,
.topic-card--reports,
.topic-card--faq,
.topic-card--news {
  top: 0.7rem !important;
  right: 0.35rem !important;
  width: 300px !important;
  min-width: 300px !important;
  height: 220px !important;
  max-width: 300px !important;
  opacity: 1 !important;
}

.topic-card--about .topic-card__image,
.topic-card--contacts .topic-card__image,
.topic-card--services .topic-card__image,
.topic-card--housing .topic-card__image,
.topic-card--documents .topic-card__image,
.topic-card--reports .topic-card__image,
.topic-card--faq .topic-card__image,
.topic-card--news .topic-card__image {
  width: 100% !important;
  height: 100% !important;
  max-width: 300px !important;
  max-height: 220px !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  filter: saturate(1.08) contrast(1.04) drop-shadow(0 18px 28px rgba(31, 58, 140, 0.14)) !important;
  mix-blend-mode: normal !important;
}

.topic-card--about .topic-card__image,
.topic-card--services .topic-card__image,
.topic-card--documents .topic-card__image,
.topic-card--faq .topic-card__image {
  transform: scale(1.02) !important;
}

.topic-card--housing .topic-card__image {
  transform: scale(0.96) !important;
}

.topic-card--news .topic-card__image {
  transform: scale(0.92) !important;
}

.topic-card--contacts .topic-card__image {
  transform: scale(1.28) !important;
}

.topic-card--reports .topic-card__image {
  transform: scale(1.24) !important;
}

#about .section-heading {
  max-width: calc(100% - 290px);
}

#contacts .section-heading {
  max-width: calc(100% - 215px);
  padding-right: 0.35rem;
  background: transparent;
  backdrop-filter: none;
}

#contacts .topic-card--contacts {
  top: 0.95rem !important;
  right: 0.9rem !important;
  width: 248px !important;
  min-width: 248px !important;
  max-width: 248px !important;
  height: 188px !important;
}

#contacts .topic-card--contacts .topic-card__image {
  max-width: 248px !important;
  max-height: 188px !important;
  transform: scale(1.04) !important;
}

#services .section-heading {
  max-width: calc(100% - 330px);
}

#housing .section-heading {
  max-width: calc(100% - 315px);
}

#documents .section-heading {
  max-width: calc(100% - 320px);
}

#reports .section-heading {
  max-width: calc(100% - 260px);
}

#news {
  order: 1;
}

#faq .section-heading {
  max-width: calc(100% - 325px);
}

#faq {
  order: 2;
}

#news .section-heading {
  max-width: calc(100% - 250px);
}

.side-column .topic-card {
  top: 0.7rem;
  right: 0.45rem;
  width: min(48%, 190px);
  min-width: 136px;
  height: 142px;
  opacity: 0.18;
}

.side-column .topic-card svg {
  width: min(100%, 190px);
}

.metric-card,
.quick-card,
.info-card,
.gallery-card,
.news-card,
.directory-item,
.guide-item,
.service-group,
.housing-panel,
.report-card,
.report-sidebar__card,
.stat-tile,
.faq-entry,
.details-box,
.director-card,
.footer-shell,
.tabs__panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: var(--surface-glass);
  box-shadow:
    var(--shadow-card),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(16px);
}

.metric-card,
.quick-card,
.info-card,
.gallery-card,
.news-card,
.directory-item,
.guide-item,
.service-group,
.housing-panel,
.report-card,
.report-sidebar__card,
.stat-tile,
.faq-entry,
.details-box,
.report-files a {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.metric-card:hover,
.metric-card:focus-within,
.quick-card:hover,
.quick-card:focus-visible,
.info-card:hover,
.info-card:focus-within,
.gallery-card:hover,
.gallery-card:focus-visible,
.news-card:hover,
.news-card:focus-within,
.directory-item:hover,
.directory-item:focus-within,
.guide-item:hover,
.guide-item:focus-within,
.service-group:hover,
.service-group:focus-within,
.housing-panel:hover,
.housing-panel:focus-within,
.report-card:hover,
.report-card:focus-within,
.report-sidebar__card:hover,
.report-sidebar__card:focus-within,
.stat-tile:hover,
.stat-tile:focus-within,
.faq-entry:hover,
.faq-entry:focus-within,
.details-box:hover,
.details-box:focus-within {
  transform: translateY(-4px);
  border-color: rgba(95, 121, 246, 0.28);
  box-shadow:
    0 22px 44px rgba(24, 39, 105, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  gap: 1.2rem;
  align-items: start;
}

.director-card {
  border-radius: 24px;
}

.director-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: linear-gradient(160deg, rgba(95, 121, 246, 0.16), rgba(87, 182, 255, 0.14));
}

.director-card figcaption {
  display: grid;
  gap: 0.15rem;
  padding: 1rem 1.1rem 1.15rem;
}

.director-card span,
.copy-stack p,
.info-card p,
.news-card p,
.guide-item p {
  color: var(--muted);
}

.copy-stack {
  display: grid;
  gap: 1rem;
}

.copy-stack p {
  margin: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.info-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.05rem;
  border-radius: 22px;
}

.info-grid .info-card:nth-child(1) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-indigo) 100%);
}

.info-grid .info-card:nth-child(2) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-sky) 100%);
}

.info-grid .info-card:nth-child(3) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-violet) 100%);
}

.info-grid .info-card:nth-child(4) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-cyan) 100%);
}

.info-card h3,
.guide-item h3,
.news-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #22366b;
}

.info-card address {
  color: var(--muted);
  font-style: normal;
}

.tabs {
  display: grid;
  gap: 1rem;
}

.tabs__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.45rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(234, 240, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.tabs__button,
.chip {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(248, 250, 255, 0.76);
  color: var(--text);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.tabs__button:hover,
.tabs__button:focus-visible,
.chip:hover,
.chip:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.92);
}

.tabs__button.is-active,
.chip.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 12px 22px rgba(47, 73, 199, 0.24);
}

.tabs__panel {
  padding: 1.05rem;
  border-radius: 26px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.gallery-card {
  display: grid;
  gap: 0.8rem;
  padding: 0.9rem;
  border-radius: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.gallery-grid .gallery-card:nth-child(odd) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-sky) 100%);
}

.gallery-grid .gallery-card:nth-child(even) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-indigo) 100%);
}

.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(95, 121, 246, 0.2);
  box-shadow: var(--shadow-md);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(95, 121, 246, 0.14), rgba(87, 182, 255, 0.14));
}

.gallery-card span {
  font-weight: 700;
  line-height: 1.45;
}

.news-list {
  display: grid;
  gap: 1rem;
}

.news-card {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border-radius: 22px;
}

.news-list .news-card:first-child {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-sky) 100%);
}

.news-list .news-card--wide {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-indigo) 100%);
}

.news-card time {
  display: inline-flex;
  justify-self: start;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(95, 121, 246, 0.18), rgba(87, 182, 255, 0.18));
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.news-card--wide {
  gap: 1rem;
}

.news-schedule {
  display: grid;
  gap: 0.7rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-schedule li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--line);
}

.news-schedule li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.news-schedule strong {
  flex-shrink: 0;
  color: var(--accent-strong);
}

.details-box {
  padding: 0 1rem;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(249, 250, 255, 0.78), rgba(221, 230, 255, 0.66));
}

.details-box summary {
  padding: 1rem 0;
  list-style: none;
  font-weight: 700;
  cursor: pointer;
}

.details-box summary::-webkit-details-marker {
  display: none;
}

.details-box__content {
  padding-bottom: 1rem;
  color: var(--muted);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding: 0.45rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(234, 240, 255, 0.28);
}

.directory-list {
  display: grid;
  gap: 0.8rem;
}

.directory-item {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border-radius: 20px;
  padding-left: 1.2rem;
}

.directory-list .directory-item:nth-child(odd) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-indigo) 100%);
}

.directory-list .directory-item:nth-child(even) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-sky) 100%);
}

.directory-item::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
}

.directory-item span,
.directory-item small {
  color: var(--muted);
}

.directory-item span {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-strong);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--accent-strong);
  font-weight: 800;
}

.guide-list {
  display: grid;
  gap: 0.8rem;
}

.guide-gallery {
  display: grid;
  gap: 0.4rem;
  width: 100%;
  margin: 0 0 1rem;
}

.guide-gallery__viewport {
  position: relative;
  height: 138px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.18);
  box-shadow:
    var(--shadow-card),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
  isolation: isolate;
}

.guide-gallery__viewport::after {
  content: "";
  position: absolute;
  inset: auto -15% -60% 35%;
  height: 160px;
  background: radial-gradient(circle, rgba(84, 169, 236, 0.18) 0%, rgba(84, 169, 236, 0) 75%);
  pointer-events: none;
  z-index: 1;
}

.guide-gallery__slide {
  display: block;
  position: absolute;
  inset: 0;
  opacity: 0;
  border-radius: inherit;
  transform: scale(1.02);
  overflow: hidden;
  cursor: zoom-in;
  transition: opacity 0.8s ease, transform 2.8s ease;
}

.guide-gallery__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 0;
}

.guide-gallery__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(22, 56, 88, 0.16), rgba(22, 56, 88, 0.02));
  pointer-events: none;
}

.guide-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-gallery__caption {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 2;
  padding: 0.55rem 0.7rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(24, 38, 96, 0.58), rgba(62, 104, 204, 0.4));
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.guide-gallery__dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.guide-gallery__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(95, 121, 246, 0.18);
  transition: width 0.24s ease, background 0.24s ease, transform 0.24s ease;
}

.guide-gallery__dot.is-active {
  width: 24px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
}

.guide-gallery__dot:hover,
.guide-gallery__dot:focus-visible {
  transform: scale(1.08);
}

.service-overview,
.housing-layout,
.reports-layout {
  display: grid;
  gap: 1rem;
}

.service-overview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-group,
.housing-panel,
.report-card,
.report-sidebar__card {
  padding: 1.1rem;
  border-radius: 24px;
}

.service-group {
  display: grid;
  gap: 0.9rem;
}

.service-overview .service-group:nth-child(1) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-indigo) 100%);
}

.service-overview .service-group:nth-child(2) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-sky) 100%);
}

.service-overview .service-group:nth-child(3) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-violet) 100%);
}

.service-overview .service-group:nth-child(4) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-cyan) 100%);
}

.service-group__meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.service-group__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, #6d86ff 0%, #5876ff 46%, #2f49c7 100%);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.service-group h3,
.housing-panel h3,
.report-card h3,
.report-sidebar__card h3 {
  margin: 0;
  font-size: 1.08rem;
  color: #22366b;
}

.service-group__meta p,
.housing-panel p,
.report-card p,
.report-sidebar__card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.service-list,
.sidebar-list,
.address-cloud {
  margin: 0;
}

.service-list,
.sidebar-list {
  padding-left: 0;
  color: var(--muted);
  list-style: none;
}

.service-list {
  display: grid;
  gap: 0.55rem;
}

.service-list li,
.sidebar-list li {
  position: relative;
  padding: 0.82rem 0.9rem 0.82rem 2.45rem;
  border-radius: 18px;
  background: rgba(247, 249, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.service-list li::before,
.sidebar-list li::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 1.05rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 0 0 6px rgba(95, 121, 246, 0.12);
}

.housing-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.stat-tile {
  padding: 1rem 1.1rem;
  border-radius: 22px;
}

.housing-stats .stat-tile:nth-child(1) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, var(--tone-indigo) 100%);
}

.housing-stats .stat-tile:nth-child(2) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, var(--tone-sky) 100%);
}

.housing-stats .stat-tile:nth-child(3) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, var(--tone-violet) 100%);
}

.stat-tile strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--accent-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.stat-tile span {
  color: var(--muted);
}

.housing-layout,
.reports-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.housing-layout .housing-panel:first-child {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-sky) 100%);
}

.housing-layout .housing-panel:last-child {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-indigo) 100%);
}

.address-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0;
  list-style: none;
}

.address-cloud li,
.street-breakdown span {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(248, 250, 255, 0.64);
  color: var(--accent-strong);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.address-directory {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(176, 188, 226, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 18px 36px rgba(34, 52, 110, 0.06);
}

.address-directory__head,
.address-directory__row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
}

.address-directory__head {
  gap: 1rem;
  padding: 0.8rem 1.15rem 0.72rem;
  background: linear-gradient(180deg, rgba(243, 246, 255, 0.96) 0%, rgba(236, 241, 252, 0.92) 100%);
  border-bottom: 1px solid rgba(125, 143, 198, 0.22);
}

.address-directory__head span {
  color: rgba(73, 89, 138, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.address-directory__row {
  gap: 1rem;
  align-items: baseline;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid rgba(125, 143, 198, 0.14);
}

.address-directory__row:last-child {
  border-bottom: none;
}

.address-directory__street {
  color: var(--accent-strong);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.address-directory__houses {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.street-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.panel-note {
  margin-top: 1rem;
}

.report-listing,
.faq-stack {
  display: grid;
  gap: 1rem;
  align-content: start;
}

#reports .section-heading {
  gap: 0.26rem;
  max-width: calc(100% - 225px);
  margin-bottom: 0.72rem;
  padding-bottom: 0.72rem;
}

#reports .section-heading h2 {
  max-width: 17ch;
  font-size: clamp(1.36rem, 2.2vw, 1.82rem);
  line-height: 1.06;
}

#reports .section-heading > p:not(.section-kicker) {
  max-width: 46ch;
  font-size: 0.92rem;
  line-height: 1.48;
}

#reports .topic-card--reports {
  top: 0.35rem !important;
  right: 0.35rem !important;
  width: 238px !important;
  min-width: 238px !important;
  max-width: 238px !important;
  height: 176px !important;
}

#reports .topic-card--reports .topic-card__image {
  max-width: 238px !important;
  max-height: 176px !important;
  transform: scale(1.08) !important;
}

#reports .reports-layout {
  grid-template-columns: minmax(0, 1fr) minmax(235px, 0.45fr);
  gap: 0.72rem;
  align-items: start;
}

#reports .report-listing {
  gap: 0.72rem;
  padding-right: 0;
  overflow: visible;
}

.report-card {
  display: grid;
  gap: 0.58rem;
  min-height: auto;
}

#reports .report-listing.is-switching .report-card:not(.is-report-hidden) {
  animation: report-card-switch 0.22s ease both;
}

#reports .report-card.is-report-hidden {
  display: none !important;
}

#reports .report-sidebar__card.is-report-hidden {
  display: none !important;
}

@keyframes report-card-switch {
  from {
    opacity: 0.72;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.report-card--intro {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94) 0%, rgba(221, 239, 255, 0.9) 100%) !important;
  border-color: rgba(111, 180, 255, 0.28);
}

.report-card--notice {
  background:
    radial-gradient(circle at 100% 0%, rgba(103, 159, 255, 0.16), transparent 34%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.94), rgba(226, 241, 255, 0.9)) !important;
  border-color: rgba(112, 172, 255, 0.24);
}

#reports .report-card,
#reports .report-sidebar__card {
  padding: 0.7rem;
  border-radius: 17px;
}

#reports .report-card h3,
#reports .report-sidebar__card h3 {
  font-size: 0.98rem;
  line-height: 1.22;
}

#reports .report-card p,
#reports .report-sidebar__card p {
  margin-top: 0.1rem;
  font-size: 0.88rem;
  line-height: 1.45;
}

.report-listing .report-card:nth-child(odd) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-indigo) 100%);
}

.report-listing .report-card:nth-child(even) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-sky) 100%);
}

.report-sidebar__card:first-child {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-violet) 100%);
}

.report-sidebar__card:last-child {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-cyan) 100%);
}

.report-sidebar__card--archive {
  display: grid;
  gap: 0.85rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-sky) 100%);
}

.report-card__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  align-items: center;
}

.report-date,
.report-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.24rem 0.58rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.15;
}

.report-date {
  background: rgba(248, 250, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.report-tag {
  background: linear-gradient(135deg, rgba(95, 121, 246, 0.2), rgba(132, 109, 255, 0.18));
  color: var(--accent-strong);
}

.report-files {
  display: grid;
  gap: 0.42rem;
}

.report-files a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  min-height: 38px;
  padding: 0.52rem 0.7rem;
  border-radius: 13px;
  background: rgba(247, 249, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.54);
  color: #22366b;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.report-files a::after {
  content: "↗";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  font-size: 0.72rem;
  background: linear-gradient(135deg, rgba(82, 119, 245, 0.94), rgba(33, 101, 218, 0.94));
  box-shadow: 0 8px 15px rgba(47, 73, 199, 0.18);
}

.report-files a span {
  min-width: 0;
}

.report-files a small {
  flex: 0 0 auto;
  color: #5f75a0;
  font-size: 0.78rem;
  font-weight: 800;
}

.report-files a:hover,
.report-files a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(95, 121, 246, 0.2);
  background: rgba(255, 255, 255, 0.84);
  box-shadow:
    0 14px 30px rgba(24, 39, 105, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.report-sidebar {
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.sidebar-list {
  display: grid;
  gap: 0.55rem;
}

.sidebar-list--reports {
  gap: 0.36rem;
}

.sidebar-list--reports li {
  padding: 0;
  border: 0;
  border-radius: 13px;
  background: transparent;
  box-shadow: none;
}

.sidebar-list--reports li::before {
  display: none;
}

.sidebar-list__button {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 38px;
  padding: 0.5rem 0.58rem;
  border: 1px solid rgba(104, 138, 235, 0.14);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.52);
  color: #22366b;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  box-shadow:
    0 8px 16px rgba(31, 58, 140, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.sidebar-list__button::after {
  content: "\203A";
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  margin-left: 0.55rem;
  flex: 0 0 auto;
  border-radius: 50%;
  color: rgba(54, 82, 166, 0.82);
  background: rgba(93, 128, 245, 0.1);
}

.sidebar-list__button:hover,
.sidebar-list__button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(85, 125, 238, 0.3);
  background: rgba(255, 255, 255, 0.74);
  box-shadow:
    0 12px 24px rgba(31, 58, 140, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.sidebar-list__button.is-active {
  color: #fff;
  border-color: rgba(77, 123, 240, 0.52);
  background: linear-gradient(135deg, rgba(86, 128, 246, 0.96), rgba(34, 96, 214, 0.96));
  box-shadow: 0 14px 24px rgba(47, 73, 199, 0.2);
}

.sidebar-list__button.is-active::after {
  color: #3159cf;
  background: rgba(255, 255, 255, 0.9);
}

.report-directory {
  margin-top: 0.85rem;
}

.report-directory__panel {
  padding: 0.95rem;
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.76), rgba(224, 235, 255, 0.64));
  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow:
    0 16px 32px rgba(31, 58, 140, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.report-directory__intro {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.report-directory__eyebrow {
  margin: 0;
  color: #48609b;
  font-size: 0.72rem;
  font-weight: 800;
}

.report-directory__intro h3,
.report-directory__item h4 {
  margin: 0;
  color: #22366b;
}

.report-directory__intro p,
.report-directory__item p,
.report-directory__note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.report-directory__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.report-directory__grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.report-directory__item,
.report-directory__note {
  display: grid;
  gap: 0.52rem;
  padding: 0.78rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.52);
}

.report-directory__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.faq-stack {
  gap: 0.8rem;
}

.faq-entry {
  padding: 0 1rem;
  border-radius: 22px;
}

.faq-stack .faq-entry:nth-child(odd) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-indigo) 100%);
}

.faq-stack .faq-entry:nth-child(even) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-sky) 100%);
}

.faq-entry summary {
  position: relative;
  padding: 1rem 2.2rem 1rem 0;
  list-style: none;
  font-weight: 800;
  cursor: pointer;
}

.faq-entry summary::-webkit-details-marker {
  display: none;
}

.faq-entry summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  color: var(--accent-strong);
  font-size: 1.35rem;
  line-height: 1;
}

.faq-entry[open] summary::after {
  content: "−";
}

.faq-entry p {
  margin: 0 0 0.95rem;
  color: var(--muted);
}

.faq-entry__note {
  padding-top: 0.15rem;
  border-top: 1px dashed var(--line);
}

.guide-item {
  padding: 1rem;
  border-radius: 20px;
}

.guide-list .guide-item:nth-child(1) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-indigo) 100%);
}

.guide-list .guide-item:nth-child(2) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-sky) 100%);
}

.guide-list .guide-item:nth-child(3) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, var(--tone-violet) 100%);
}

.guide-item p {
  margin: 0.45rem 0 0;
}

.stack-links {
  display: grid;
  gap: 0.75rem;
}

.button--social {
  justify-content: flex-start;
  gap: 0.72rem;
  padding: 0.72rem 1rem 0.72rem 0.78rem;
}

.button--social img {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow:
    0 10px 18px rgba(16, 57, 138, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.button--gis {
  color: #fff;
  border-color: rgba(109, 190, 255, 0.4);
  background:
    linear-gradient(135deg, rgba(71, 145, 255, 0.96) 0%, rgba(36, 84, 196, 0.96) 100%);
  box-shadow: 0 16px 28px rgba(32, 85, 198, 0.24);
}

.button--gis:hover,
.button--gis:focus-visible {
  color: #fff;
  border-color: rgba(143, 209, 255, 0.56);
  background:
    linear-gradient(135deg, rgba(88, 160, 255, 0.98) 0%, rgba(45, 99, 212, 0.98) 100%);
}

.button--vk {
  color: #fff;
  border-color: rgba(73, 160, 255, 0.38);
  background:
    linear-gradient(135deg, rgba(79, 170, 255, 0.96) 0%, rgba(30, 104, 210, 0.96) 100%);
  box-shadow: 0 16px 28px rgba(27, 98, 206, 0.24);
}

.button--vk:hover,
.button--vk:focus-visible {
  color: #fff;
  border-color: rgba(126, 194, 255, 0.52);
  background:
    linear-gradient(135deg, rgba(93, 181, 255, 0.98) 0%, rgba(38, 118, 224, 0.98) 100%);
}

.button--reports {
  color: #fff;
  border-color: rgba(130, 172, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(106, 131, 255, 0.94) 0%, rgba(56, 84, 198, 0.96) 100%);
  box-shadow: 0 16px 28px rgba(48, 76, 182, 0.22);
}

.button--reports:hover,
.button--reports:focus-visible {
  color: #fff;
  border-color: rgba(168, 195, 255, 0.46);
  background:
    linear-gradient(135deg, rgba(120, 144, 255, 0.98) 0%, rgba(64, 94, 214, 0.98) 100%);
}

.site-footer {
  padding: 0.45rem 0 0.85rem;
}

.footer-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 26px;
  background:
    radial-gradient(circle at 7% 14%, rgba(110, 196, 255, 0.28), transparent 34%),
    linear-gradient(155deg, rgba(245, 249, 255, 0.94), rgba(220, 230, 255, 0.84));
  box-shadow:
    0 18px 36px rgba(20, 35, 96, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
}

.footer-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, rgba(87, 182, 255, 0.96), rgba(95, 121, 246, 0.92));
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(150px, 0.7fr) minmax(160px, 0.75fr) minmax(220px, 0.9fr);
  gap: clamp(0.75rem, 1.8vw, 1.08rem);
  padding: clamp(0.82rem, 2vw, 1.12rem);
}

.footer-brand {
  display: grid;
  gap: 0.48rem;
  align-content: start;
}

.footer-brand__logo {
  display: inline-flex;
  width: min(210px, 100%);
}

.footer-brand__logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(24, 39, 105, 0.12));
}

.footer-brand__text {
  max-width: 36rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.42;
}

.footer-column h2 {
  color: var(--accent-strong);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.footer-column h2 {
  margin: 0 0 0.08rem;
}

.footer-column a {
  width: fit-content;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--accent-strong);
  transform: translateX(2px);
}

.footer-column--actions {
  padding: 0.62rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.footer-column--actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.38;
}

.footer-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.34rem;
}

.footer-actions .button {
  width: 100%;
  padding: 0.42rem 0.58rem;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 22px rgba(47, 73, 199, 0.12);
}

.footer-actions .button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-color: transparent;
}

.footer-actions .button--primary:hover,
.footer-actions .button--primary:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, #6ebeff, #3656e7);
}

.footer-actions .button--ghost {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(32, 49, 66, 0.1);
}

.footer-actions .button:hover,
.footer-actions .button:focus-visible {
  transform: translateY(-1px);
}

.footer-service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.footer-service-links a {
  padding: 0.3rem 0.52rem;
  border-radius: 999px;
  color: var(--accent-strong);
  background: rgba(95, 121, 246, 0.1);
  font-size: 0.72rem;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 0.8rem;
  padding: 0.54rem clamp(0.82rem, 2vw, 1.12rem);
  border-top: 1px solid rgba(95, 121, 246, 0.12);
  color: var(--muted);
  font-size: 0.76rem;
  background: rgba(255, 255, 255, 0.35);
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 18px 30px rgba(47, 73, 199, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

body.is-consent-details-open {
  overflow: hidden;
}

.personal-consent-modal {
  position: fixed;
  right: clamp(0.9rem, 2vw, 1.35rem);
  bottom: clamp(0.9rem, 2vw, 1.35rem);
  z-index: 115;
  width: min(calc(100% - 28px), 380px);
  pointer-events: none;
}

.personal-consent-modal__dialog {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.72rem 0.85rem;
  align-items: start;
  padding: 0.95rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(228, 239, 255, 0.88)),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    0 22px 50px rgba(10, 24, 77, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  opacity: 0;
  pointer-events: auto;
  transform: translateY(18px) scale(0.96);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.personal-consent-modal.is-visible .personal-consent-modal__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.personal-consent-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 14px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 24px rgba(47, 73, 199, 0.22);
}

.personal-consent-modal__copy {
  display: grid;
  gap: 0.34rem;
}

.personal-consent-modal__copy h2 {
  margin: 0;
  color: #16285d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  line-height: 1.12;
}

.personal-consent-modal__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.42;
}

.personal-consent-modal__link {
  width: fit-content;
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.personal-consent-modal__link:hover,
.personal-consent-modal__link:focus-visible {
  color: #1737c8;
}

.personal-consent-modal__ok {
  grid-column: 2;
  justify-self: end;
  min-width: 78px;
  padding: 0.58rem 0.95rem;
  border-radius: 16px;
  font-size: 0.84rem;
}

.personal-consent-details {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
}

.personal-consent-details__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(119, 201, 255, 0.24), transparent 34%),
    radial-gradient(circle at 80% 18%, rgba(52, 100, 255, 0.32), transparent 34%),
    rgba(5, 16, 55, 0.7);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.personal-consent-details__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  width: min(100%, 760px);
  max-height: min(86vh, 760px);
  overflow: auto;
  padding: clamp(1.15rem, 3vw, 1.7rem);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(230, 239, 255, 0.9)),
    rgba(255, 255, 255, 0.88);
  box-shadow:
    0 32px 80px rgba(10, 24, 77, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.personal-consent-details.is-visible .personal-consent-details__backdrop {
  opacity: 1;
}

.personal-consent-details.is-visible .personal-consent-details__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.personal-consent-details__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(95, 121, 246, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: #16285d;
  font-size: 1.45rem;
  line-height: 1;
}

.personal-consent-details__header {
  display: grid;
  gap: 0.55rem;
  padding-right: 4.5rem;
}

.personal-consent-details__header h2 {
  margin: 0;
  color: #16285d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 4vw, 2.35rem);
  line-height: 1.08;
}

.personal-consent-details__header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.personal-consent-details__content {
  display: grid;
  gap: 0.78rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(95, 121, 246, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(231, 240, 255, 0.72));
}

.personal-consent-details__content p,
.personal-consent-details__note {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.personal-consent-details__content p:first-child {
  color: #22366b;
  font-weight: 700;
}

.personal-consent-details__note {
  padding: 0.75rem 0.9rem;
  border-radius: 18px;
  background: rgba(95, 121, 246, 0.08);
  font-size: 0.92rem;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 27, 32, 0.74);
  backdrop-filter: blur(8px);
}

.gallery-modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  width: min(calc(100% - 32px), 1080px);
  margin: 6vh auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.gallery-modal__figure {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.gallery-modal__figure img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

.gallery-modal__figure figcaption {
  text-align: center;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.32);
}

.gallery-modal[data-gallery-group="guide-info"] .gallery-modal__dialog {
  width: min(calc(100% - 32px), 720px);
  grid-template-columns: 1fr;
  padding-top: 4rem;
}

.gallery-modal[data-gallery-group="guide-info"] .gallery-modal__figure {
  justify-items: center;
}

.gallery-modal[data-gallery-group="guide-info"] .gallery-modal__figure img {
  width: auto;
  max-width: min(100%, 520px);
  max-height: 76vh;
}

.gallery-modal[data-gallery-group="guide-info"] .gallery-modal__nav {
  display: none;
}

.gallery-modal__close,
.gallery-modal__nav {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  font-size: 1.5rem;
}

.gallery-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 90;
  transform: translateX(-50%) translateY(16px);
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(30, 92, 152, 0.96);
  color: #fff;
  box-shadow: 0 18px 32px rgba(30, 92, 152, 0.24);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

[hidden] {
  display: none !important;
}

.is-filtered-out {
  display: none !important;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-ready-for-reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(22px);
}

@media (max-width: 1120px) {
  .hero-grid,
  .character-section,
  .main-layout,
  .about-layout,
  .housing-layout,
  .reports-layout {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand,
  .footer-column--actions {
    grid-column: 1 / -1;
  }

  .header-main {
    grid-template-columns: 1fr;
    min-height: 100svh;
    padding-top: 11rem;
  }

  .header-dashboard {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    justify-self: stretch;
    max-width: none;
  }

  .brand {
    width: min(100%, 760px);
    max-width: 100%;
    transform: none;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .sticky-nav-shell--hero {
    top: 4.9rem;
  }

  .hero-section--video {
    min-height: auto;
  }

  .hero-section--video .hero-grid {
    min-height: 620px;
  }

  .utility-bar__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .brand img {
    width: min(300px, 78vw);
  }

  .header-dashboard {
    display: none;
  }

  .header-main {
    min-height: 100svh;
    padding-top: 8.4rem;
  }

  .section-illustration {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: start;
  }

  .site-nav {
    display: none;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    padding: 0.8rem;
    border-radius: 24px;
    background: rgba(6, 17, 27, 0.52);
    white-space: normal;
  }

  .site-nav.is-open {
    display: grid;
  }

  .brand {
    transform: none;
  }

  .hero-metrics,
  .feature-grid,
  .info-grid,
  .service-overview,
  .housing-stats {
    grid-template-columns: 1fr;
  }

  .tabs__controls,
  .filter-chips {
    width: 100%;
  }

  .hero-actions,
  .footer-actions {
    display: grid;
  }

  .character-card {
    min-height: auto;
  }

  .hero-photo-strip__stage {
    min-height: 260px;
  }

  .hero-section--video .hero-grid {
    min-height: 540px;
  }

  .hero-card--immersive {
    padding-top: 3rem;
  }

  .hero-card--immersive h1 {
    max-width: 12ch;
    font-size: clamp(2.4rem, 10vw, 4.4rem);
  }

  .schedule-list li,
  .news-schedule li {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-modal__dialog {
    grid-template-columns: 1fr;
    padding-top: 4rem;
  }

  .gallery-modal__nav {
    justify-self: center;
  }

  .sticky-nav-shell--hero {
    top: 4.8rem;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .header-main {
    min-height: 100svh;
    padding: 7.6rem 1rem 1.35rem;
    border-radius: 0;
  }

  .sticky-nav-shell--hero {
    top: 4.55rem;
  }

  .utility-bar__grid {
    gap: 0.5rem;
  }

  .utility-bar__grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    gap: 0.62rem;
    padding: 0.78rem;
  }

  .footer-brand__logo {
    width: min(176px, 100%);
  }

  .footer-brand__text {
    font-size: 0.78rem;
    line-height: 1.34;
  }

  .footer-column--actions p {
    display: none;
  }

  .utility-pill,
  .hero-card,
  .feature-card,
  .section-card,
  .footer-shell {
    border-radius: 22px;
  }

  .button {
    width: 100%;
  }

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

  .footer-bottom {
    display: grid;
  }

  .tabs__controls,
  .filter-chips {
    padding: 0.4rem;
    border-radius: 18px;
  }

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

  .sticky-nav-shell {
    margin-top: -0.35rem;
    padding-bottom: 0.45rem;
  }

  .hero-section--video {
    padding-bottom: 3rem;
  }

  .hero-section--video .hero-grid {
    min-height: 500px;
  }

  .hero-card--immersive .hero-text {
    max-width: 100%;
  }

  .character-card {
    gap: 0.4rem;
    padding: 0.9rem;
  }

  .comfort-services {
    grid-template-columns: 1fr;
  }

  .scenario-link {
    width: 100%;
  }

  .topic-card {
    top: 0.75rem;
    right: -1.2rem;
    width: 168px;
    min-width: 0;
    height: 124px;
    opacity: 0.12;
  }

  .topic-card--contacts {
    top: 1.15rem;
    right: -1.25rem;
    width: 150px;
    min-width: 0;
    height: 132px;
    opacity: 0.92;
  }

  .topic-card--about {
    top: 1.35rem;
    right: -1.35rem;
    width: 172px;
    min-width: 0;
    height: 130px;
    opacity: 0.92;
  }

  .topic-card--services {
    top: 1.15rem;
    right: -1.65rem;
    width: 178px;
    min-width: 0;
    height: 142px;
    opacity: 0.72;
  }

  .topic-card--housing {
    top: 1.2rem;
    right: -1.45rem;
    width: 174px;
    min-width: 0;
    height: 136px;
    opacity: 0.72;
  }

  .topic-card--documents {
    top: 1.15rem;
    right: -1.55rem;
    width: 174px;
    min-width: 0;
    height: 138px;
    opacity: 0.72;
  }

  .topic-card--reports {
    top: 1.05rem !important;
    right: -1.25rem !important;
    width: 152px !important;
    min-width: 0 !important;
    max-width: 152px !important;
    height: 126px !important;
    opacity: 0.72;
  }

  .topic-card--faq {
    top: 1.2rem;
    right: -1.5rem;
    width: 174px;
    min-width: 0;
    height: 136px;
    opacity: 0.72;
  }

  .topic-card--news {
    top: 1.05rem;
    right: -1.25rem;
    width: 152px;
    min-width: 0;
    height: 126px;
    opacity: 0.72;
  }

  #about .section-heading {
    max-width: none;
  }

  #contacts .section-heading {
    max-width: none;
    padding-right: 0;
  }

  #services .section-heading {
    max-width: none;
  }

  #housing .section-heading {
    max-width: none;
  }

  #documents .section-heading {
    max-width: none;
  }

  #reports .section-heading {
    max-width: none;
  }

  #faq .section-heading {
    max-width: none;
  }

  #news .section-heading {
    max-width: none;
  }

  .topic-card svg,
  .topic-card__image,
  .side-column .topic-card svg {
    width: 168px;
  }

  .address-cloud li,
  .street-breakdown span,
  .report-files a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .address-directory__head,
  .address-directory__row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding: 0.85rem 0.95rem;
  }

  .address-directory__head {
    display: none;
  }

  .personal-consent-modal {
    right: 0.7rem;
    bottom: 0.7rem;
    width: calc(100% - 1.4rem);
  }

  .personal-consent-modal__dialog {
    grid-template-columns: 1fr;
    padding: 0.92rem;
    border-radius: 24px 24px 18px 18px;
  }

  .personal-consent-modal__icon {
    justify-self: start;
  }

  .personal-consent-modal__ok {
    grid-column: 1;
    justify-self: stretch;
  }

  .personal-consent-details {
    padding: 0.7rem;
    align-items: end;
  }

  .personal-consent-details__dialog {
    max-height: 88vh;
    padding: 1rem;
    border-radius: 24px 24px 18px 18px;
  }

  .personal-consent-details__header {
    padding-right: 0;
  }

  .personal-consent-details__content {
    padding: 0.85rem;
  }
}
