:root {
  --ink: #222325;
  --muted: #5f646c;
  --line: rgba(255, 255, 255, 0.84);
  --paper: rgba(255, 255, 255, 0.68);
  --white: #ffffff;
  --teal: #17c5d1;
  --pink: #ef5db9;
  --violet: #7a58b1;
  --orange: #f3a64a;
  --shadow: 0 20px 70px rgba(61, 72, 83, 0.12);
  --radius: 24px;
  --fw-regular: 400;
  --fw-medium: 600;
  --fw-bold: 700;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-md: 18px;
  --text-lg: 22px;
  --text-xl: 32px;
  --text-xxl: 42px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  line-height: 1.5;
  background:
    radial-gradient(circle at 16% 28%, rgba(49, 203, 218, 0.18), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(241, 102, 84, 0.15), transparent 26%),
    radial-gradient(circle at 78% 72%, rgba(239, 93, 185, 0.12), transparent 30%),
    linear-gradient(120deg, #f9f1ed 0%, #f4f7ec 47%, #eef8fa 100%);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

.ym-noscript {
  position: absolute;
  left: -9999px;
}

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 8px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.92);
}

.brand img {
  width: min(300px, 55vw);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 999px;
  color: #2f3439;
  font-size: 15px;
  font-weight: var(--fw-bold);
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--violet);
  background: rgba(122, 88, 177, 0.08);
  outline: none;
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(122, 88, 177, 0.1);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--violet);
  transition: transform 220ms ease, opacity 220ms ease;
}

.menu-open .menu-button span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-open .menu-button span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-button span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.section-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 92px;
}

.hero {
  padding: 34px 0 10px;
}

.hero-card,
.support-card,
.art-card {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  min-height: 340px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: clamp(24px, 4vw, 46px) clamp(18px, 4vw, 38px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--violet);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: var(--fw-bold);
}

h1 {
  max-width: 520px;
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, var(--text-xxl));
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 470px;
  margin-bottom: 20px;
  color: #30343a;
  font-size: clamp(15px, 1.7vw, var(--text-base));
  line-height: 1.45;
}

.hero-actions,
.support-card {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.child-card a:hover,
.report-card a:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, #f1a044, #f7b35b);
  box-shadow: 0 14px 28px rgba(225, 129, 36, 0.22);
}

.button-ghost {
  color: var(--violet);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(122, 88, 177, 0.18);
}

.hero-visual {
  position: relative;
  min-height: 340px;
}

.hero-bg {
  position: absolute;
  inset: 11% auto auto 0;
  width: 86%;
  opacity: 0.86;
  filter: blur(2px) saturate(1.1);
}

.hero-boy {
  position: absolute;
  right: 33%;
  bottom: 0;
  width: min(330px, 76%);
  max-height: 104%;
  object-fit: contain;
  filter: drop-shadow(0 20px 22px rgba(48, 39, 56, 0.12));
}

.tag {
  position: absolute;
  right: 26px;
  bottom: 28px;
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: var(--fw-bold);
}

.section-heading {
  padding: 18px 0 24px;
  text-align: center;
}

.section-heading h2,
.section-title-row h2,
.faq h2,
.support-card h2,
.compact-title,
.impact-card h2,
.register-card h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.2vw, var(--text-xxl));
  line-height: 1.08;
  letter-spacing: 0;
}

.compact-title {
  margin-top: 18px;
  font-size: clamp(30px, 4vw, var(--text-xxl));
}

.how {
  padding-bottom: 26px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.step-card {
  min-height: 210px;
  padding: 22px 18px 20px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 14px 46px rgba(56, 69, 82, 0.08);
}

.step-illustration {
  position: relative;
  display: grid;
  place-items: center;
  height: 116px;
  margin-bottom: 14px;
}

.step-illustration img {
  width: 134px;
  height: 108px;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(36, 50, 62, 0.08));
}

.step-illustration .board-text {
  position: absolute;
  width: 92px;
  height: auto;
  opacity: 0;
  transform: translateY(4px) rotate(-2deg);
  transition: opacity 180ms ease, transform 180ms ease;
  filter: none;
}

.step-card:hover .board-text,
.step-card:focus-within .board-text {
  opacity: 1;
  transform: translateY(0) rotate(-2deg);
}

.chalk { color: #0fa5a8; }
.laptop { color: #8c8f96; }
.bouquet { color: #f08435; }
.globe { color: #12a8d0; }

.step-card h3 {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: var(--fw-bold);
  line-height: 1.25;
}

.step-card p {
  margin: 0;
  color: #50555d;
  font-size: 13px;
  line-height: 1.48;
}

.result-list {
  display: grid;
  gap: 10px;
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 0;
  color: #30343a;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.45;
  list-style: none;
}

.result-list li {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
}

.result-list li:last-child {
  white-space: nowrap;
}

.dot {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 8px;
  border-radius: 50%;
}

.pink { background: var(--pink); }
.orange { background: var(--orange); }
.teal { background: var(--teal); }

.children-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 292px));
  justify-content: center;
  gap: 36px;
  padding: 0 0 44px;
}

.child-card {
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 14px 46px rgba(56, 69, 82, 0.1);
}

.child-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
}

.child-card h3 {
  margin: 16px 0 8px;
  font-size: 18px;
  line-height: 1.16;
  text-transform: uppercase;
}

.child-card p {
  min-height: 0;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.45;
}

.child-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  border: 2px solid var(--pink);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-weight: var(--fw-bold);
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.child-card:nth-child(2) a {
  border-color: var(--teal);
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 32px;
  padding: 24px 0;
  text-align: center;
}

.section-title-row h2 {
  max-width: 760px;
}

.section-title-row p {
  max-width: 0;
  display: none;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(960px, 100%);
  margin-inline: auto;
  padding-bottom: 56px;
}

.report-card {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  height: 210px;
  min-height: 0;
  overflow: hidden;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
}

.report-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.report-card div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 16px;
}

.report-card h3 {
  margin: 0;
  font-size: var(--text-base);
  line-height: 1.15;
}

.report-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
}

.report-card a {
  align-self: flex-start;
  min-height: 36px;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: var(--text-xs);
  background: rgba(255, 255, 255, 0.86);
  font-weight: var(--fw-bold);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.video-section {
  padding-bottom: 70px;
}

.video-card {
  position: relative;
  display: block;
  width: min(880px, 100%);
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: #111;
  box-shadow: 0 22px 75px rgba(20, 35, 48, 0.2);
}

.video-card.is-playing .video-play-overlay,
.video-card.has-started .video-play-overlay {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.88);
}

.video-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  object-fit: cover;
}

.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(76px, 10vw, 108px);
  height: clamp(76px, 10vw, 108px);
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 48px rgba(20, 35, 48, 0.25);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.video-play-overlay span {
  width: 0;
  height: 0;
  margin-left: 7px;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 28px solid var(--violet);
}

.video-play-overlay:hover {
  background: var(--white);
  transform: translate(-50%, -50%) scale(1.06);
}

.video-play-overlay:focus-visible {
  outline: 4px solid rgba(122, 88, 177, 0.34);
  outline-offset: 5px;
}

.formats {
  padding-bottom: 60px;
}

.formats-layout {
  display: grid;
  grid-template-columns: minmax(320px, 390px) minmax(440px, 1fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.format-options {
  display: grid;
  gap: 12px;
}

.format-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  overflow: hidden;
  padding: 14px 108px 14px 28px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 28px rgba(70, 74, 78, 0.07);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.format-option:hover,
.format-option:focus-visible {
  border-color: rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 30px rgba(70, 74, 78, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.format-option.is-selected {
  border-color: rgba(255, 255, 255, 0.96);
  background: linear-gradient(135deg, rgba(242, 190, 126, 0.88), rgba(250, 219, 172, 0.9));
  box-shadow: 0 14px 30px rgba(70, 74, 78, 0.08);
  transform: none;
  outline: none;
}

.format-option[data-format="great"].is-selected {
  background: linear-gradient(135deg, rgba(151, 198, 211, 0.9), rgba(190, 221, 229, 0.92));
}

.format-option[data-format="classy"].is-selected {
  background: linear-gradient(135deg, rgba(202, 161, 182, 0.9), rgba(228, 199, 215, 0.92));
}

.format-option[data-format="super"].is-selected {
  background: linear-gradient(135deg, rgba(195, 203, 173, 0.92), rgba(224, 229, 205, 0.94));
}

.format-option.is-selected strong,
.format-option.is-selected small {
  color: var(--white);
}

.format-option strong {
  display: block;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.05;
}

.format-option small {
  display: block;
  margin-top: 2px;
  color: #5f646c;
  font-size: 13px;
  font-weight: var(--fw-bold);
}

.format-person {
  position: absolute;
  right: 10px;
  bottom: 0;
  width: 92px;
  max-height: 92px;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
}

.gratitude-card {
  position: relative;
  display: block;
  min-height: 360px;
  padding: clamp(18px, 3vw, 34px);
  border: 2px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
}

.format-preview {
  display: none;
  width: 100%;
  animation: softAppear 220ms ease;
}

.format-preview.is-active {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: clamp(12px, 2vw, 22px);
}

.format-preview-good.is-active {
  grid-template-columns: 1fr;
  place-items: center;
}

.format-preview-classy.is-active,
.format-preview-super.is-active {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.format-item {
  display: grid;
  gap: 8px;
  justify-items: center;
  min-width: 0;
  margin: 0;
}

.format-item figcaption {
  color: #282a2d;
  font-size: clamp(11px, 1.25vw, 14px);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.format-item img {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 18px 22px rgba(46, 55, 64, 0.13));
}

.format-item-wide img {
  width: min(430px, 100%);
  max-height: 280px;
}

.format-preview-great .format-item:nth-child(3) img,
.format-preview-super .format-item:nth-child(6) img,
.format-preview-super .format-item:nth-child(7) img {
  max-height: 118px;
}

@keyframes softAppear {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bagLevitate {
  0%, 100% {
    transform: translateY(-7px);
  }
  50% {
    transform: translateY(7px);
  }
}

.registration {
  padding-bottom: 36px;
}

.register-card {
  position: relative;
  overflow: hidden;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 36px);
  border: 2px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow);
}

.register-head {
  position: static;
  z-index: 2;
}

.register-card h2 {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-bottom: 24px;
  font-size: clamp(30px, 4vw, var(--text-xxl));
}

.form-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: calc(100% - 320px);
}

.form-grid label {
  display: grid;
  gap: 7px;
}

.form-grid span,
.consent span {
  color: #3c4249;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
}

.form-grid input,
.form-grid select {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  font-size: var(--text-sm);
  outline: 2px solid transparent;
  transition: outline-color 160ms ease, box-shadow 160ms ease;
}

.form-grid select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #777 50%), linear-gradient(135deg, #777 50%, transparent 50%);
  background-position: calc(100% - 18px) 18px, calc(100% - 12px) 18px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form-grid input:focus,
.form-grid select:focus {
  outline-color: rgba(122, 88, 177, 0.42);
  box-shadow: 0 0 0 5px rgba(122, 88, 177, 0.08);
}

.submit-button {
  align-self: end;
  min-width: 150px;
  border: 0;
  background: linear-gradient(135deg, #a98be8, #9d80de);
  cursor: pointer;
}

.consent {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: min(660px, calc(100% - 320px));
  margin-top: 18px;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--violet);
}

.consent span {
  font-size: 11px;
  line-height: 1.42;
}

.social-note {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: min(700px, calc(100% - 320px));
  margin: 18px 0 0 132px;
  color: #555b63;
  font-size: 12px;
  font-weight: var(--fw-bold);
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 7px 18px;
  border-radius: 8px;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.social-button:hover,
.social-button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.social-button-vk {
  background: #4c84d8;
}

.social-button-max {
  background: linear-gradient(135deg, #39b9ff 0%, #2d4df4 52%, #ad4add 100%);
  box-shadow: none;
  text-transform: none;
}

.register-books {
  position: absolute;
  left: 18px;
  right: auto;
  bottom: 14px;
  z-index: 1;
  width: 100px;
  opacity: 0.92;
  pointer-events: none;
}

.register-bell {
  position: absolute;
  top: 4px;
  right: 320px;
  width: 86px;
  object-fit: contain;
  transform: rotate(8deg);
  filter: drop-shadow(0 16px 18px rgba(46, 55, 64, 0.1));
}

.register-girl {
  position: absolute;
  right: 0;
  bottom: -8px;
  z-index: 1;
  width: min(320px, 29vw);
  max-height: 95%;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 18px 18px rgba(48, 39, 56, 0.1));
}

.form-status {
  position: relative;
  z-index: 2;
  min-height: 0;
  margin: 0;
  color: var(--violet);
  font-size: 14px;
  font-weight: var(--fw-bold);
  max-width: min(700px, calc(100% - 320px));
}

.form-toast {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(460px, calc(100% - 32px));
  padding: 20px 22px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 20%, rgba(23, 197, 209, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 255, 249, 0.96));
  box-shadow: 0 24px 80px rgba(54, 67, 61, 0.24);
  font-family: Arial, Helvetica, sans-serif;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-50% + 18px)) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
}

.form-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.form-toast-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, #58b86b, #25a86f);
  box-shadow: 0 10px 22px rgba(37, 168, 111, 0.24);
  font-size: 24px;
  font-weight: var(--fw-bold);
}

.form-toast strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.form-toast span {
  display: block;
  color: #555b63;
  font-size: 14px;
  line-height: 1.42;
}

.impact {
  padding-block: clamp(36px, 4.5vw, 48px);
}

.impact-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(420px, 1.18fr);
  align-items: center;
  justify-items: start;
  gap: clamp(26px, 5vw, 58px);
  padding: clamp(24px, 4vw, 46px);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 80px rgba(61, 72, 83, 0.14);
  text-align: left;
}

.impact-card h2 {
  max-width: 520px;
  margin-bottom: 0;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.04;
}

.impact-card img {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 2px solid var(--line);
  border-radius: 22px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.impact-card .button {
  min-height: 58px;
  min-width: 190px;
  padding-inline: 36px;
  font-size: 18px;
}

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 7vw, 70px);
  align-items: center;
  padding-bottom: 64px;
}

.faq-art {
  display: grid;
  justify-items: start;
}

.art-card {
  position: relative;
  display: grid;
  place-items: center;
  width: min(500px, 100%);
  aspect-ratio: 1.28 / 1;
  min-height: auto;
  overflow: hidden;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.art-card .soft-bg {
  position: absolute;
  width: 105%;
  opacity: 0.82;
  filter: blur(1px);
}

.bag {
  position: relative;
  z-index: 2;
  width: min(215px, 46%);
  filter: drop-shadow(0 22px 28px rgba(20, 91, 117, 0.16));
  animation: bagLevitate 3s ease-in-out infinite;
}

.bag-item {
  position: absolute;
  z-index: 1;
  width: 44px;
  opacity: 0;
  transform: translate(0, 70px) scale(0.25);
  transition: opacity 300ms ease, transform 700ms cubic-bezier(0.18, 0.9, 0.28, 1.2);
  pointer-events: none;
}

.bag-books {
  right: 31%;
  top: 45%;
  width: 82px;
}

.bag-penal {
  left: 35%;
  bottom: 39%;
  width: 74px;
}

.bag-eraser {
  right: 38%;
  bottom: 43%;
  width: 42px;
}

.bag-pencil {
  left: 39%;
  top: 47%;
  width: 34px;
}

.art-card.is-open .bag-books {
  opacity: 1;
  transform: translate(122px, -118px) rotate(11deg) scale(1);
}

.art-card.is-open .bag-penal {
  opacity: 1;
  transform: translate(-150px, 116px) rotate(-8deg) scale(1);
}

.art-card.is-open .bag-eraser {
  opacity: 1;
  transform: translate(154px, 118px) rotate(-10deg) scale(1);
}

.art-card.is-open .bag-pencil {
  opacity: 1;
  transform: translate(-168px, -124px) rotate(24deg) scale(0.72);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border-bottom: 1px solid rgba(34, 35, 37, 0.12);
}

.faq-item button {
  position: relative;
  width: 100%;
  min-height: 56px;
  padding: 14px 54px 14px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: clamp(16px, 2vw, var(--text-md));
  font-weight: var(--fw-bold);
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.faq-item button::before,
.faq-item button::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.faq-item button::before {
  content: "";
  right: 4px;
  width: 26px;
  height: 26px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.35);
}

.faq-item button::after {
  content: "+";
  right: 11px;
  color: #777;
  font-size: 28px;
  font-weight: var(--fw-bold);
  line-height: 1;
  transition: transform 180ms ease;
}

.faq-item.is-open button::after {
  content: "-";
  right: 13px;
  transform: translateY(-53%);
}

.faq-panel {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 260ms ease, opacity 180ms ease;
}

.faq-panel p {
  overflow: hidden;
  margin: 0;
  color: #31353a;
  font-size: var(--text-base);
  line-height: 1.58;
}

.faq-panel ol {
  overflow: hidden;
  margin: 0;
  padding-left: 22px;
  color: #31353a;
  font-size: var(--text-base);
  line-height: 1.58;
}

.faq-panel li + li {
  margin-top: 10px;
}

.faq-share-template {
  margin-top: 14px !important;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.48);
}

.faq-item.is-open .faq-panel {
  max-height: 1200px;
  opacity: 1;
  padding-bottom: 14px;
}

.faq-item.is-open .faq-share-template {
  padding-block: 16px;
}

.support {
  padding-bottom: 72px;
}

.support-card {
  justify-content: space-between;
  padding: clamp(24px, 4vw, 42px);
}

.support-card div {
  max-width: 690px;
}

.support-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

.site-footer {
  padding: 34px 20px 42px;
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.site-footer img {
  width: min(310px, 72vw);
  margin: 0 auto 18px;
}

.site-footer p {
  margin: 7px auto;
  color: #4f5359;
  font-size: 14px;
  line-height: 1.45;
}

.floating-actions {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 15;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.floating-actions.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.feedback-widget {
  position: relative;
}

.floating-button {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  color: var(--violet);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 36px rgba(52, 45, 70, 0.18);
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.feedback-toggle {
  color: var(--violet);
  background: rgba(255, 255, 255, 0.92);
}

.floating-button svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.feedback-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  display: grid;
  gap: 8px;
  min-width: 156px;
  padding: 10px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 44px rgba(52, 45, 70, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.feedback-widget.is-open .feedback-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.feedback-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: var(--fw-bold);
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.feedback-menu a:hover,
.feedback-menu a:focus-visible {
  color: var(--violet);
  background: rgba(122, 88, 177, 0.08);
  outline: none;
}

.feedback-icon {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  box-sizing: border-box;
  border-radius: 50%;
  color: var(--white);
  background: rgba(122, 88, 177, 0.92);
}

svg.feedback-icon {
  fill: currentColor;
}

.feedback-icon-telegram {
  padding: 5px 5px 5px 4px;
  background: #2aabee;
}

.feedback-icon-max {
  font-size: 9px;
  font-weight: var(--fw-bold);
  line-height: 1;
  background: linear-gradient(135deg, #39b9ff 0%, #2d4df4 52%, #ad4add 100%);
}

.feedback-icon-email {
  padding: 5px;
  background: var(--violet);
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 28, 33, 0.42);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  width: min(560px, 100%);
  padding: 34px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 24px 90px rgba(20, 25, 35, 0.32);
  animation: modalIn 220ms ease both;
}

.modal-card h2 {
  margin-bottom: 14px;
  font-size: 30px;
}

.modal-card p {
  margin: 0;
  color: #3b4047;
  font-size: 18px;
  line-height: 1.58;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(122, 88, 177, 0.1);
  color: var(--violet);
  font-size: 28px;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.floaty {
  animation: floaty 5s ease-in-out infinite;
}

.floaty-slow {
  animation: floaty 6.5s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

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

@media (max-width: 980px) {
  .menu-button {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 12px 20px 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 60px rgba(31, 40, 50, 0.12);
    transform: translateY(-130%);
    transition: transform 240ms ease;
  }

  .menu-open .main-nav {
    transform: translateY(0);
  }

  .tag {
    left: -380px;
    right: auto;
    bottom: 24px;
  }

  .section-title-row {
    display: block;
  }

  .formats-layout {
    grid-template-columns: minmax(300px, 390px) minmax(390px, 1fr);
    gap: 34px;
    width: 100%;
  }

  .hero-card {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  }

  .hero-boy {
    right: 28%;
    width: min(315px, 80%);
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .step-card {
    padding: 18px 14px 16px;
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: calc(100% - 300px);
  }

  .form-grid label:nth-child(6) {
    grid-column: span 1;
  }

  .register-books {
    width: 96px;
  }

  .register-bell {
    right: 300px;
    width: 74px;
    opacity: 0.7;
  }

  .register-girl {
    width: 275px;
  }

  .impact-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .impact-card h2 {
    max-width: 720px;
  }

  .impact-card img {
    grid-column: auto;
    grid-row: auto;
    max-width: 720px;
  }

  .report-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(403px, 100%);
  }
}

@keyframes floatyMobile {
  0%, 100% { transform: translateX(50%) translateY(0); }
  50% { transform: translateX(50%) translateY(-12px); }
}

@media (max-width: 900px) {
  .formats-layout {
    grid-template-columns: 1fr;
  }

  .format-options {
    width: min(520px, 100%);
    margin-inline: auto;
  }

  .gratitude-card {
    width: min(720px, 100%);
    margin-inline: auto;
  }
}

@media (max-width: 700px) {
  .site-header {
    height: 66px;
    padding-inline: 14px;
  }

  .main-nav {
    top: 66px;
  }

  .section-shell {
    width: min(100% - 28px, 1200px);
  }

  .hero {
    padding-top: 22px;
  }

  .hero-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding: 24px 20px 30px;
  }

  .hero-visual {
    min-height: 300px;
    order: -1;
  }

  .hero-boy {
    right: 50%;
    transform: translateX(50%);
  }

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

  .section-heading h2,
  .section-title-row h2,
  .faq h2,
  .support-card h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .result-list li {
    justify-content: flex-start;
    text-align: left;
  }

  .result-list li:last-child {
    white-space: normal;
  }

  .report-card {
    grid-template-columns: 1fr;
    height: auto;
  }

  .report-grid {
    grid-template-columns: 1fr;
    width: min(520px, 100%);
  }

  .report-card img {
    min-height: 220px;
  }

  .video-title {
    top: 18px;
    left: 18px;
    right: 18px;
  }

  .play-icon {
    width: 72px;
    height: 72px;
  }

  .art-card {
    width: min(420px, 100%);
    aspect-ratio: 1.28 / 1;
  }

  .bag {
    width: min(170px, 44%);
  }

  .art-card.is-open .bag-books {
    transform: translate(65px, -80px) rotate(11deg) scale(0.9);
  }

  .art-card.is-open .bag-penal {
    transform: translate(-92px, 78px) rotate(-8deg) scale(0.9);
  }

  .art-card.is-open .bag-eraser {
    transform: translate(86px, 80px) rotate(-10deg) scale(0.9);
  }

  .art-card.is-open .bag-pencil {
    transform: translate(-96px, -88px) rotate(24deg) scale(0.58);
  }

  .support-card {
    align-items: flex-start;
  }

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

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

  .formats-layout {
    grid-template-columns: 1fr;
  }

  .format-option strong {
    font-size: 19px;
  }

  .format-option {
    min-height: 92px;
    padding: 16px 116px 16px 18px;
  }

  .format-option small {
    font-size: 12px;
  }

  .gratitude-card {
    min-height: auto;
    padding: 18px;
  }

  .format-preview.is-active,
  .format-preview-classy.is-active,
  .format-preview-super.is-active {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .format-preview-good.is-active {
    grid-template-columns: 1fr;
  }

  .format-item img {
    max-height: 116px;
  }

  .format-item-wide img {
    max-height: 220px;
  }

  .format-item figcaption {
    font-size: 10px;
  }

  .format-person {
    right: 8px;
    width: 108px;
    max-height: 92px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .submit-button {
    width: 100%;
  }

  .register-books,
  .register-bell,
  .register-girl {
    display: none;
  }

  .consent,
  .social-note,
  .form-status {
    max-width: 100%;
  }

  .social-note {
    margin-left: 0;
  }

  .floating-actions {
    right: 18px;
    bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
  font-size: 12px;
