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

:root {
  --chi-space-950: #080418;
  --chi-space-900: #0d0428;
  --chi-space-850: #140736;
  --chi-space-800: #1a0845;
  --chi-indigo-800: #3c1f87;
  --chi-indigo-700: #564592;
  --chi-purple-600: #652ad4;
  --chi-violet-500: #724cf9;
  --chi-lavender-400: #9f74e2;
  --chi-gold-500: #f2d46b;
  --chi-yellow-500: #ffe448;
  --chi-white: #f5f4ff;
  --chi-surface: #f7f5fc;
  --chi-text-dark: #564592;
  --chi-text-light: rgba(245, 244, 255, 0.92);
  --chi-text-muted: rgba(245, 244, 255, 0.68);
  --chi-border-purple: rgba(101, 42, 212, 0.3);
  --chi-border-gold: rgba(242, 212, 107, 0.32);
  --font-display: "Unbounded", sans-serif;
  --font-body: "Nunito", sans-serif;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 17px;
  --text-lg: 19px;
  --title-card: clamp(20px, 1.7vw, 24px);
  --title-section: clamp(32px, 3.2vw, 44px);
  --title-page: clamp(42px, 5vw, 64px);
  --title-hero: clamp(54px, 7.2vw, 108px);
  --container: 1220px;
  --container-text: 980px;
  --radius-sm: 16px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --section-y: clamp(48px, 6vw, 78px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--chi-text-light);
  background: var(--chi-space-950);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.62;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

main {
  position: relative;
  z-index: 1;
}

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

.space-background {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(101, 42, 212, 0.18), transparent 36%),
    linear-gradient(160deg, #080418 0%, #140736 52%, #1a0845 100%);
}

.space-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.44;
  filter: saturate(1.02) brightness(0.78);
}

.space-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, transparent, rgba(8, 4, 24, 0.2) 42%, rgba(8, 4, 24, 0.76)),
    linear-gradient(180deg, rgba(8, 4, 24, 0.15), rgba(8, 4, 24, 0.78));
}

.star-field,
.meteor-field {
  position: absolute;
  inset: 0;
}

.star-field i {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 2px;
  height: 2px;
  border-radius: 50%;
  opacity: 0.25;
  background: var(--chi-white);
  box-shadow: 0 0 7px rgba(255, 255, 255, 0.85);
  animation: twinkle var(--speed) ease-in-out infinite;
  animation-delay: var(--delay);
}

.meteor-field i {
  position: absolute;
  top: -15%;
  left: 80%;
  width: 2px;
  height: 110px;
  border-radius: 999px;
  opacity: 0;
  background: linear-gradient(180deg, transparent, var(--chi-white), var(--chi-gold-500));
  box-shadow: 0 0 12px rgba(242, 212, 107, 0.65);
  transform: rotate(-46deg);
  animation: meteor 11s ease-in infinite;
}

.meteor-field i:nth-child(2) {
  left: 48%;
  height: 86px;
  animation-delay: 4.2s;
  animation-duration: 13s;
}

.meteor-field i:nth-child(3) {
  left: 95%;
  height: 135px;
  animation-delay: 7.6s;
  animation-duration: 15s;
}

@keyframes twinkle {
  50% { opacity: 0.9; transform: scale(1.6); }
}

@keyframes meteor {
  0%, 70% { opacity: 0; transform: translate3d(0, 0, 0) rotate(-46deg); }
  72% { opacity: 0.9; }
  80% { opacity: 0; transform: translate3d(-460px, 460px, 0) rotate(-46deg); }
  100% { opacity: 0; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  display: flex;
  min-height: 112px;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(22px, 3vw, 48px);
  border-bottom: 2px solid rgba(159, 116, 226, 0.34);
  background: rgba(8, 4, 24, 0.94);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

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

.brand img,
.footer-brand img {
  width: 62px;
  height: 62px;
  padding: 5px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.25);
}

.brand > span {
  display: flex;
  flex-direction: column;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.025em;
}

.brand em {
  margin-top: 5px;
  color: var(--chi-white);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.075em;
}

.brand small {
  margin-top: 3px;
  color: var(--chi-gold-500);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.12em;
}

.desktop-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
}

.desktop-nav > a,
.nav-dropdown > summary {
  padding: 15px clamp(12px, 1vw, 19px);
  color: rgba(245, 244, 255, 0.94);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

.desktop-nav > a + a,
.desktop-nav > a + .nav-dropdown,
.desktop-nav > .nav-dropdown + a,
.desktop-nav > .nav-dropdown + .nav-dropdown {
  border-left: 1px solid rgba(245, 244, 255, 0.18);
}

.desktop-nav > a:hover,
.desktop-nav > a.active,
.nav-dropdown > summary:hover,
.nav-dropdown.active > summary,
.dropdown-panel a.active {
  color: var(--chi-gold-500);
}

.nav-dropdown {
  position: relative;
}

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

.nav-dropdown summary::after {
  content: "⌄";
  margin-left: 6px;
}

.dropdown-panel {
  position: absolute;
  top: 50px;
  left: 50%;
  display: grid;
  width: 235px;
  padding: 10px;
  border: 1px solid var(--chi-border-purple);
  border-radius: 16px;
  background: rgba(20, 7, 54, 0.98);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.42);
  transform: translateX(-50%);
}

.dropdown-panel a {
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 14px;
}

.dropdown-panel a:hover,
.dropdown-panel a:focus-visible {
  color: var(--chi-gold-500);
  background: rgba(101, 42, 212, 0.16);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.phone-button {
  font-size: 21px;
  line-height: 1;
}

.phone-button span {
  transform: translateY(-1px);
}

.registration-modal {
  width: min(100%, 780px);
  color: var(--chi-text-light);
}

.registration-modal h2 {
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1.15;
}

.registration-modal > p {
  margin: 0 0 14px;
  color: var(--chi-text-muted);
}

.registration-hours,
.cabinet-link {
  display: block;
  margin: 10px 0;
  padding: 12px 15px;
  border: 1px solid rgba(159, 116, 226, 0.3);
  border-radius: 14px;
  background: rgba(114, 76, 249, 0.1);
}

.cabinet-link {
  color: var(--chi-gold-500);
  font-weight: 900;
}

.registration-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.registration-form > label,
.registration-children,
.registration-form > .add-child,
.registration-form > .consent,
.registration-form > .registration-submit,
.registration-form > .registration-error {
  grid-column: 1 / -1;
}

.registration-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.registration-form label > span {
  color: var(--chi-gold-500);
}

.registration-form input,
.registration-form select,
.registration-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid rgba(159, 116, 226, 0.42);
  border-radius: 12px;
  outline: none;
  color: var(--chi-white);
  background: rgba(8, 4, 24, 0.72);
}

.registration-form input:focus,
.registration-form select:focus,
.registration-form textarea:focus {
  border-color: var(--chi-gold-500);
  box-shadow: 0 0 0 3px rgba(242, 212, 107, 0.12);
}

.registration-children {
  display: grid;
  gap: 12px;
}

.registration-children fieldset {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.65fr 1.4fr;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(159, 116, 226, 0.28);
  border-radius: 16px;
}

.registration-children legend {
  padding-inline: 7px;
  color: var(--chi-gold-500);
  font-weight: 900;
}

.remove-child,
.add-child {
  border: 1px solid rgba(159, 116, 226, 0.35);
  border-radius: 999px;
  cursor: pointer;
  color: var(--chi-white);
  background: rgba(101, 42, 212, 0.14);
}

.remove-child {
  position: absolute;
  top: -33px;
  right: 8px;
  padding: 5px 10px;
  font-size: 12px;
}

.add-child {
  justify-self: start;
  padding: 10px 16px;
  font-weight: 900;
}

.registration-form .consent {
  display: flex;
  align-items: flex-start;
  font-size: 14px;
}

.registration-form .consent input {
  width: 20px;
  min-height: 20px;
  margin-top: 2px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.registration-submit {
  width: 100%;
}

.registration-error {
  margin: 0;
  color: #ffb1bf;
  text-align: center;
}

.registration-success {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid var(--chi-border-gold);
  border-radius: 18px;
  text-align: center;
  background: rgba(242, 212, 107, 0.08);
}

.registration-success strong {
  color: var(--chi-gold-500);
  font-size: 22px;
}

.primary-button,
.ghost-button,
.icon-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button {
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  background: linear-gradient(135deg, var(--chi-violet-500), var(--chi-purple-600));
  box-shadow: 0 12px 28px rgba(101, 42, 212, 0.3);
}

.ghost-button {
  padding: 0 24px;
  border: 1px solid rgba(159, 116, 226, 0.35);
  color: var(--chi-white);
  background: rgba(13, 4, 40, 0.7);
}

.icon-button {
  width: 44px;
  min-height: 44px;
  border: 0;
  color: #24103e;
  background: var(--chi-gold-500);
  box-shadow: 0 8px 20px rgba(242, 212, 107, 0.22);
}

.primary-button:hover,
.ghost-button:hover,
.icon-button:hover {
  transform: translateY(-2px);
}

.compact-action {
  min-height: 46px;
  padding-inline: 16px;
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 90px);
  max-height: 940px;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
  align-items: center;
  overflow: hidden;
  padding: clamp(52px, 7vh, 88px) max(30px, calc((100vw - 1220px) / 2)) 58px;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  content: "";
  pointer-events: none;
  background: linear-gradient(transparent, rgba(8, 4, 24, 0.95));
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.eyebrow,
.section-label,
.section-heading > span,
.modal-kicker {
  color: var(--chi-gold-500);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  padding: 9px 14px;
  border: 1px solid var(--chi-border-gold);
  border-radius: 999px;
  background: rgba(242, 212, 107, 0.07);
}

.hero h1 {
  max-width: 900px;
  margin: 24px 0 0;
  color: transparent;
  background: linear-gradient(110deg, #fff 3%, #d9c8ff 43%, var(--chi-gold-500) 92%);
  background-clip: text;
  font-family: var(--font-display);
  font-size: var(--title-hero);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.hero-subtitle {
  margin: 15px 0 20px;
  color: var(--chi-gold-500);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.hero-intro {
  color: var(--chi-text-muted);
  font-size: 18px;
  line-height: 1.45;
}

.hero-intro strong {
  display: block;
  margin-bottom: 12px;
  color: var(--chi-white);
  font-size: 21px;
  line-height: 1.35;
}

.hero-intro p {
  margin: 4px 0;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 27px;
}

.mascot-wrap {
  position: relative;
  z-index: 2;
  align-self: end;
  justify-self: center;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
}

.mascot-wrap > img {
  position: relative;
  z-index: 2;
  display: block;
  width: min(25vw, 350px);
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 24px 42px rgba(0, 0, 0, 0.45));
}

.mascot-glow {
  position: absolute;
  inset: 18% 7% 4%;
  border-radius: 50%;
  background: rgba(114, 76, 249, 0.42);
  filter: blur(58px);
}

.mascot-note {
  position: absolute;
  right: -10px;
  bottom: 14%;
  z-index: 3;
  display: grid;
  min-width: 180px;
  padding: 13px 16px;
  border: 1px solid var(--chi-border-gold);
  border-radius: 16px;
  text-align: left;
  background: rgba(13, 4, 40, 0.9);
  backdrop-filter: blur(10px);
}

.mascot-note small,
.mascot-note em {
  color: var(--chi-text-muted);
  font-size: 12px;
  font-style: normal;
}

.mascot-note strong {
  color: var(--chi-gold-500);
  font-family: var(--font-display);
  font-size: 19px;
}

.promise-section {
  padding-block: 48px 58px;
}

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

.promise-card,
.difference-card {
  border: 1px solid rgba(126, 88, 206, 0.25);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(31, 15, 67, 0.92), rgba(13, 6, 35, 0.94));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.promise-card {
  min-height: 185px;
  padding: 25px 28px;
}

.promise-card > span {
  color: var(--chi-gold-500);
  font-size: 12px;
  letter-spacing: 0.25em;
}

.promise-card p {
  margin: 14px 0 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
}

.meaning-route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  text-align: center;
}

.meaning-route small {
  color: var(--chi-text-muted);
}

.meaning-route strong {
  color: var(--chi-gold-500);
  font-size: 16px;
}

.camp-badge {
  width: fit-content;
  max-width: 100%;
  margin: 20px auto 0;
  padding: 9px 16px;
  border: 1px solid var(--chi-border-purple);
  border-radius: 999px;
  color: var(--chi-text-muted);
  font-size: 14px;
  text-align: center;
  background: rgba(13, 4, 40, 0.62);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 34px;
  border-block: 1px solid rgba(159, 116, 226, 0.18);
}

.stats-grid span {
  display: grid;
  padding: 22px 14px;
  color: var(--chi-text-muted);
  text-align: center;
}

.stats-grid span + span {
  border-left: 1px solid rgba(159, 116, 226, 0.18);
}

.stats-grid b {
  color: var(--chi-gold-500);
  font-family: var(--font-display);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.15;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.09);
  color: white;
  background: linear-gradient(90deg, #3c1f87, #652ad4, #3c1f87);
}

.ticker div {
  width: max-content;
  padding: 13px 0;
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  animation: ticker 25s linear infinite;
}

.inner-hero {
  display: grid;
  min-height: min(660px, calc(100vh - 112px));
  align-content: center;
  justify-items: start;
  padding-block: clamp(78px, 10vw, 150px);
}

.inner-hero h1 {
  width: min(100%, 980px);
  margin: 16px 0 20px;
  font-family: var(--font-display);
  font-size: var(--title-page);
  line-height: 1.12;
}

.inner-hero > p {
  width: min(100%, 820px);
  margin: 0;
  color: var(--chi-text-muted);
  font-size: clamp(18px, 2vw, 24px);
}

.inner-content {
  padding-bottom: var(--section-y);
}

.registration-page-card {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--chi-border-purple);
  border-radius: var(--radius-md);
  background: rgba(20, 7, 54, 0.82);
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.anniversary {
  padding-block: 54px 62px;
  text-align: center;
}

.anniversary > span {
  color: var(--chi-gold-500);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

.anniversary h2 {
  margin: 15px auto 27px;
  font-family: var(--font-display);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.2;
}

.countdown {
  display: grid;
  width: min(100%, 720px);
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0 auto;
}

.countdown span {
  display: grid;
  padding: 18px 10px;
  border: 1px solid var(--chi-border-gold);
  border-radius: 18px;
  background: rgba(20, 7, 54, 0.72);
}

.countdown b {
  color: var(--chi-gold-500);
  font-family: var(--font-display);
  font-size: clamp(27px, 4vw, 44px);
  line-height: 1.1;
}

.countdown small {
  color: var(--chi-text-muted);
  font-size: 13px;
}

.content-section,
.faq-section {
  padding-block: var(--section-y);
}

.section-heading {
  width: min(100%, var(--container-text));
  margin: 0 auto 34px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading h2,
.democracy-section h2,
.phone-modal h2,
.wishka-modal h2 {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-size: var(--title-section);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.section-heading p {
  margin: 8px auto;
  color: var(--chi-text-muted);
  font-size: 18px;
  line-height: 1.62;
}

.section-heading strong {
  color: var(--chi-white);
}

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

.difference-card {
  padding: 26px;
}

.difference-card > span {
  color: var(--chi-gold-500);
  font-family: var(--font-display);
  font-size: 12px;
}

.difference-card h3,
.reason-card h3,
.team-card h3 {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-size: var(--title-card);
  line-height: 1.28;
}

.difference-card > strong {
  display: block;
  margin-bottom: 10px;
  color: var(--chi-gold-500);
  font-size: 17px;
}

.difference-card p {
  margin: 8px 0;
  color: var(--chi-text-muted);
}

.single-accordion {
  display: grid;
  gap: 10px;
}

.main-accordion {
  margin-top: 28px;
}

.accordion-item {
  overflow: hidden;
  border: 1px solid rgba(126, 88, 206, 0.25);
  border-radius: 18px;
  background: rgba(20, 7, 54, 0.82);
}

.accordion-item > button {
  display: flex;
  width: 100%;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 22px;
  border: 0;
  color: white;
  cursor: pointer;
  text-align: left;
  background: linear-gradient(110deg, #564592, #3c1f87);
}

.accordion-item > button span {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.accordion-item > button b {
  flex: 0 0 auto;
  font-size: 27px;
  line-height: 1;
}

.accordion-content {
  padding: 24px 28px 28px;
  color: var(--chi-text-dark);
  background: var(--chi-surface);
}

.accordion-content h4 {
  margin: 22px 0 7px;
  color: #3c1f87;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.35;
}

.accordion-content h4:first-child {
  margin-top: 0;
}

.accordion-content p {
  margin: 9px 0;
}

.accordion-content ul {
  margin: 9px 0 14px;
  padding-left: 22px;
}

.feature-panel {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 28px;
}

.feature-panel.text-only > div {
  width: min(100%, 880px);
  margin-inline: auto;
}

.image-slot {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 250px;
  place-items: center;
  border-radius: 18px;
  background:
    radial-gradient(circle at 70% 20%, rgba(114, 76, 249, 0.42), transparent 45%),
    linear-gradient(145deg, #140736, #3c1f87);
}

.image-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-slot.is-placeholder > span {
  display: grid;
  max-width: 260px;
  gap: 7px;
  padding: 25px;
  color: var(--chi-text-light);
  text-align: center;
}

.image-slot.is-placeholder b {
  color: var(--chi-gold-500);
  font-family: var(--font-display);
}

.image-slot.is-placeholder small {
  color: var(--chi-text-muted);
}

.reasons-section,
.team-section {
  padding-block: var(--section-y);
  color: var(--chi-text-dark);
  background: linear-gradient(180deg, rgba(247, 245, 252, 0.98), rgba(235, 228, 249, 0.98));
}

.reasons-section .section-heading > span,
.team-section .section-heading > span {
  color: var(--chi-purple-600);
}

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

.reason-card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(86, 69, 146, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(25, 8, 70, 0.12);
}

.reason-card > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--chi-purple-600);
  font-family: var(--font-display);
  font-size: 12px;
}

.reason-card h3 {
  color: #3c1f87;
  font-size: 19px;
}

.reason-card p {
  margin: 0;
  color: #64558e;
  font-size: 16px;
}

.wishka-teasers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.wishka-teasers button {
  position: relative;
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  padding: 28px;
  border: 0;
  border-radius: 24px;
  color: white;
  cursor: pointer;
  text-align: left;
  background:
    radial-gradient(circle at 82% 16%, rgba(242, 212, 107, 0.5), transparent 17%),
    radial-gradient(circle at 70% 50%, rgba(114, 76, 249, 0.65), transparent 37%),
    linear-gradient(145deg, #0d0428, #3c1f87);
}

.wishka-teasers button::after {
  position: absolute;
  top: 14%;
  right: 9%;
  width: 130px;
  height: 130px;
  content: "";
  border: 1px solid rgba(242, 212, 107, 0.38);
  border-radius: 50%;
  box-shadow: 0 0 38px rgba(242, 212, 107, 0.15);
}

.wishka-teasers small,
.wishka-teasers strong,
.wishka-teasers span {
  position: relative;
  z-index: 1;
}

.wishka-teasers small {
  color: var(--chi-gold-500);
  font-weight: 800;
}

.wishka-teasers strong {
  margin: 6px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.4vw, 34px);
}

.wishka-teasers span {
  font-weight: 800;
}

.democracy-section {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 42px;
  padding-block: var(--section-y);
}

.democracy-section > div {
  width: min(100%, 900px);
  margin-inline: auto;
}

.democracy-section .image-slot {
  min-height: 470px;
}

.democracy-section p {
  color: var(--chi-text-muted);
  font-size: 18px;
}

.democracy-section strong {
  color: var(--chi-white);
}

.faq-accordion {
  width: min(100%, var(--container-text));
  margin: 0 auto;
}

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

.team-card {
  overflow: hidden;
  border-radius: 18px;
  background: white;
  box-shadow: 0 12px 30px rgba(25, 8, 70, 0.12);
}

.team-card .image-slot {
  min-height: 245px;
  border-radius: 0;
}

.team-card > div:last-child {
  padding: 17px 18px 20px;
}

.team-card h3 {
  margin: 0 0 5px;
  color: #3c1f87;
  font-size: 17px;
}

.team-card p {
  margin: 0;
  color: #77669f;
  font-size: 15px;
}

.team-carousel {
  display: grid;
  grid-auto-columns: minmax(240px, 1fr);
  grid-auto-flow: column;
  gap: 12px;
  overflow-x: auto;
  margin-top: 25px;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.team-carousel .image-slot {
  min-height: 180px;
  scroll-snap-align: start;
}

.team-closing {
  margin: 28px 0 0;
  color: #3c1f87;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  text-align: center;
}

.site-footer {
  border-top: 1px solid rgba(159, 116, 226, 0.2);
  background: rgba(8, 4, 24, 0.96);
}

.footer-main {
  display: grid;
  min-height: 230px;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 35px;
  padding-block: 38px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 72px;
  height: 72px;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 18px;
}

.footer-brand p {
  margin: 3px 0 0;
  color: var(--chi-gold-500);
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px 18px;
  color: var(--chi-text-muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--chi-gold-500);
}

.copyright {
  color: var(--chi-text-muted);
  font-size: 13px;
  text-align: right;
}

.copyright strong,
.copyright span {
  display: block;
  color: var(--chi-white);
}

.copyright p {
  margin: 7px 0 0;
}

.floating-contact,
.floating-trust,
.scroll-top {
  position: fixed;
  z-index: 55;
  border: 1px solid var(--chi-border-gold);
  box-shadow: 0 13px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.floating-contact {
  bottom: 22px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px 8px 8px;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(60, 31, 135, 0.94);
}

.floating-contact > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: #25133b;
  background: var(--chi-gold-500);
}

.floating-contact > span img {
  width: 34px;
  height: 34px;
  padding: 2px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}

.floating-contact strong {
  font-size: 12px;
  line-height: 1.1;
}

.floating-trust {
  right: 20px;
  bottom: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(86, 69, 146, 0.95);
}

.floating-trust > span {
  grid-row: 1 / 3;
  align-self: center;
  margin-right: 8px;
}

.floating-trust strong {
  color: var(--chi-gold-500);
  font-size: 11px;
}

.floating-trust small {
  color: var(--chi-text-muted);
  font-size: 11px;
}

.scroll-top {
  top: 52%;
  left: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(20, 7, 54, 0.88);
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  padding: 22px;
  place-items: center;
  background: rgba(4, 1, 13, 0.78);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  width: min(100%, 500px);
  max-height: min(88vh, 900px);
  overflow: auto;
  padding: 30px;
  border: 1px solid var(--chi-border-purple);
  border-radius: 24px;
  color: var(--chi-text-light);
  background: linear-gradient(145deg, #1a0845, #0d0428);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.55);
}

.modal-card.modal-large {
  width: min(100%, 1040px);
}

.modal-close {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  width: 38px;
  height: 38px;
  margin: -8px -8px 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;
  background: rgba(8, 4, 24, 0.9);
  font-size: 26px;
  line-height: 1;
}

.phone-modal > p {
  color: var(--chi-text-muted);
}

.phone-modal > a {
  display: grid;
  margin-top: 12px;
  padding: 15px 17px;
  border: 1px solid rgba(159, 116, 226, 0.26);
  border-radius: 15px;
  background: rgba(114, 76, 249, 0.1);
}

.phone-modal > a small {
  color: var(--chi-text-muted);
}

.phone-modal > a strong {
  color: var(--chi-gold-500);
  font-family: var(--font-display);
  font-size: 19px;
}

.wishka-modal {
  display: grid;
  gap: 28px;
}

.wishka-modal-hero,
.wishka-story {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 26px;
}

.wishka-modal .image-slot {
  min-height: 330px;
}

.wishka-modal p,
.wishka-modal li {
  color: var(--chi-text-muted);
}

.wishka-modal h3 {
  margin: 0 0 10px;
  color: var(--chi-gold-500);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.35;
}

.wishka-story,
.wishka-project {
  padding-top: 25px;
  border-top: 1px solid rgba(159, 116, 226, 0.2);
}

.wishka-carousel {
  display: grid;
  grid-auto-columns: minmax(210px, 1fr);
  grid-auto-flow: column;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.wishka-carousel .image-slot {
  min-height: 215px;
  scroll-snap-align: start;
}

.wishka-project {
  width: min(100%, 820px);
  margin: 0 auto;
}

@media (max-width: 1780px) {
  .site-header {
    gap: 14px;
    min-height: 102px;
    padding-inline: 18px;
  }

  .brand {
    min-width: 220px;
  }

  .brand img {
    width: 62px;
    height: 62px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand em {
    font-size: 7px;
  }

  .brand small {
    font-size: 8px;
  }

  .desktop-nav {
    gap: 0;
    font-size: 14px;
  }

  .desktop-nav > a,
  .nav-dropdown > summary {
    padding: 13px 10px;
  }

  .header-actions {
    gap: 6px;
  }

  .compact-action {
    min-height: 46px;
    padding-inline: 12px;
    font-size: 10px;
  }

  .icon-button {
    width: 40px;
    min-height: 40px;
  }
}

@media (max-width: 1420px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 18px;
    padding-block: 12px 10px;
  }

  .desktop-nav {
    order: 3;
    flex: 1 0 100%;
    justify-content: center;
    border-top: 1px solid rgba(245, 244, 255, 0.12);
  }

  .desktop-nav > a,
  .nav-dropdown > summary {
    padding: 12px clamp(13px, 1.35vw, 20px);
    font-size: 15px;
  }

  .header-actions {
    margin-left: auto;
  }

  .mobile-menu {
    display: none;
  }

  .mobile-menu {
    position: relative;
  }

  .mobile-menu > summary {
    padding: 12px 19px;
    border: 1px solid var(--chi-border-purple);
    border-radius: 999px;
    cursor: pointer;
    list-style: none;
    font-size: 16px;
    font-weight: 900;
  }

  .mobile-panel {
    position: absolute;
    top: 50px;
    right: 0;
    display: grid;
    width: min(330px, calc(100vw - 30px));
    max-height: 70vh;
    overflow: auto;
    padding: 12px;
    border: 1px solid var(--chi-border-purple);
    border-radius: 18px;
    background: #140736;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  }

  .mobile-panel a {
    padding: 13px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 16px;
    font-weight: 800;
  }

  .reason-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .site-header {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding-block: 12px;
  }

  .mobile-menu {
    display: block;
  }
}

@media (max-width: 780px) {
  :root {
    --text-base: 16px;
    --section-y: 44px;
  }

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

  .site-header {
    min-height: 78px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand em {
    display: none;
  }

  .brand small {
    font-size: 8px;
  }

  .registration-form,
  .registration-children fieldset {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: calc(100vh - 78px);
    max-height: none;
    grid-template-columns: 1fr;
    padding: 54px 20px 42px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .hero-subtitle {
    font-size: 20px;
    letter-spacing: 0.05em;
  }

  .mascot-wrap {
    margin-top: -35px;
    justify-self: end;
  }

  .mascot-wrap > img {
    width: min(72vw, 370px);
  }

  .mascot-note {
    right: 0;
    min-width: 155px;
  }

  .promise-grid,
  .difference-grid,
  .wishka-teasers,
  .democracy-section,
  .wishka-modal-hero,
  .wishka-story {
    grid-template-columns: 1fr;
  }

  .promise-card {
    min-height: auto;
    padding: 22px;
  }

  .promise-card p {
    font-size: 17px;
  }

  .meaning-route {
    display: grid;
    gap: 5px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid span:nth-child(3) {
    border-top: 1px solid rgba(159, 116, 226, 0.18);
    border-left: 0;
  }

  .stats-grid span:nth-child(4) {
    border-top: 1px solid rgba(159, 116, 226, 0.18);
  }

  .feature-panel {
    grid-template-columns: 1fr;
  }

  .feature-panel .image-slot {
    min-height: 230px;
  }

  .accordion-content {
    padding: 20px;
  }

  .democracy-section {
    gap: 25px;
  }

  .democracy-section .image-slot {
    min-height: 320px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .copyright {
    text-align: left;
  }

  .floating-trust {
    display: none;
  }

  .scroll-top {
    top: auto;
    right: 16px;
    bottom: 78px;
    left: auto;
  }

  .modal-layer {
    padding: 10px;
  }

  .modal-card {
    padding: 21px;
    border-radius: 18px;
  }
}

@media (max-width: 520px) {
  .countdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .reason-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

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

  .team-card {
    display: grid;
    grid-template-columns: 125px 1fr;
  }

  .team-card .image-slot {
    min-height: 150px;
  }

  .floating-contact {
    right: 16px;
    bottom: 16px;
    left: auto;
  }

  .floating-contact strong {
    display: none;
  }

  .floating-contact {
    padding: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .star-field i,
  .meteor-field i,
  .ticker div {
    animation: none;
  }

  .meteor-field {
    display: none;
  }
}
