:root {
  --ink: #272b38;
  --ink-soft: #4d5260;
  --cream: #fbf7ef;
  --paper: #fffdf8;
  --sand: #e8d2ad;
  --sand-deep: #d5b986;
  --leaf: #245f63;
  --leaf-dark: #183f45;
  --lime: #68a844;
  --heart: #c4073d;
  --line: rgba(39, 43, 56, 0.14);
  --shadow: 0 22px 70px rgba(39, 43, 56, 0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --container: 1180px;
  --font: "Golos Text", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}

.skip-link:focus {
  top: 16px;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

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

.section {
  padding: 88px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(20px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(251, 247, 239, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 210px;
}

.brand-logo {
  width: 216px;
  height: auto;
  max-height: 62px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--leaf);
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  align-items: center;
  padding-top: 72px;
  background:
    radial-gradient(circle at 9% 12%, rgba(104, 168, 68, 0.13), transparent 28%),
    linear-gradient(135deg, var(--paper), var(--cream));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: 0;
}

.page-title {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.1;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.2;
}

.hero-lead {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.accordion-item:focus-visible {
  outline: 2px solid var(--heart);
  outline-offset: 2px;
}

.button-primary {
  background: var(--leaf);
  color: #fff;
}

.button-primary:hover {
  background: var(--leaf-dark);
}

.button-secondary {
  border-color: rgba(36, 95, 99, 0.28);
  background: rgba(255, 253, 248, 0.7);
  color: var(--leaf-dark);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  padding: 8px 12px;
  border: 1px solid rgba(36, 95, 99, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 253, 248, 0.7);
  color: var(--leaf-dark);
  font-size: 13px;
  font-weight: 800;
}

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

.hero-visual img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -18px 26px auto auto;
  width: 138px;
  height: 138px;
  border: 2px solid rgba(104, 168, 68, 0.26);
  transform: rotate(11deg);
}

.hero-badge {
  position: absolute;
  right: 28px;
  top: 82%;
  max-width: 310px;
  padding: 20px;
  border: 1px solid rgba(232, 210, 173, 0.8);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 18px 50px rgba(39, 43, 56, 0.12);
}

.hero-badge strong,
.hero-badge span {
  display: block;
}

.hero-badge strong {
  margin-bottom: 6px;
}

.hero-badge span {
  color: var(--ink-soft);
  font-size: 14px;
}

.two-column,
.split-panel,
.mentor-grid,
.documents-grid,
.faq-grid,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 56px;
  align-items: start;
}

.intro,
.team {
  background: var(--paper);
}

.intro-text {
  color: var(--ink-soft);
  font-size: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.program-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.team-card {
  min-height: 248px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.team-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center top;
  background: linear-gradient(145deg, var(--sand), #f3e4ca);
}

.team-card h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.team-card p {
  min-height: 50px;
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 14px;
}

.team-card a {
  display: block;
  color: var(--leaf);
  font-size: 14px;
  font-weight: 800;
}

.program-card,
.support-grid article,
.story-card,
.form-card,
.mentor-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 40px rgba(39, 43, 56, 0.06);
}

.program-card {
  padding: 30px;
}

.program-card.large {
  grid-row: span 2;
  min-height: 420px;
  background: linear-gradient(145deg, var(--leaf), var(--leaf-dark));
  color: #fff;
}

.program-card-club {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #6d5bd0 0%, #8068dc 55%, #5b4ac2 100%) !important;
}

.program-card-club::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  top: -80px;
  right: -80px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff7ab6 0%, #ff4e9d 60%, transparent 75%);
  opacity: 0.85;
  pointer-events: none;
}

.program-card-club::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  bottom: -50px;
  right: 30%;
  border-radius: 50%;
  background: radial-gradient(circle, #ffae5c 0%, #ff8520 70%, transparent 85%);
  opacity: 0.85;
  pointer-events: none;
}

.program-card-club > * {
  position: relative;
  z-index: 1;
}

.program-card-club .card-number {
  color: #ffd24d !important;
}

.program-card.large p,
.program-card.large a {
  color: rgba(255, 255, 255, 0.96);
}

.card-number {
  display: block;
  margin-bottom: clamp(24px, 4vw, 48px);
  color: var(--heart);
  font-size: 48px;
  line-height: 1;
}

.program-card.large .card-number {
  color: var(--sand);
}

.program-card p,
.support-grid p,
.story-card p,
.documents p,
.contacts p,
.mentor p {
  color: var(--ink-soft);
}

.program-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--leaf);
  font-weight: 800;
}

.help-section {
  background:
    linear-gradient(180deg, rgba(232, 210, 173, 0.28), rgba(232, 210, 173, 0)),
    var(--cream);
}

.split-panel {
  align-items: center;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 38px;
  font-weight: 600;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--leaf);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 8'/></svg>");
  background-size: 16px 16px;
  background-position: center;
  background-repeat: no-repeat;
}

.program-card-club .check-list li::before,
.club-hero .check-list li::before {
  background-color: #ff9d3d;
}

.form-card {
  display: grid;
  gap: 16px;
  padding: 28px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(39, 43, 56, 0.18);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%234d5260' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 6 8 10 12 6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
  cursor: pointer;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.mentor {
  background: var(--paper);
}

.mentor-card {
  padding: 34px;
  background: linear-gradient(160deg, var(--sand), #f5ead6);
}

.mentor-visual {
  position: sticky;
  top: 112px;
  min-height: 650px;
}

.mentor-photo-main,
.mentor-photo-small {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mentor-photo-main {
  height: 620px;
}

.mentor-photo-small {
  position: absolute;
  right: -22px;
  bottom: 42px;
  width: 46%;
  height: 260px;
  border: 10px solid var(--paper);
}

.mentor-content {
  display: grid;
  gap: 24px;
}

.mentor-note {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(36, 95, 99, 0.18);
  border-radius: var(--radius);
  background: var(--paper);
}

.mentor-note strong {
  font-size: 18px;
}

.mentor-note span {
  color: var(--ink-soft);
}

.steps {
  display: grid;
  gap: 18px;
}

.step {
  position: relative;
  padding: 24px 24px 24px 84px;
  border-top: 1px solid var(--line);
}

.step span {
  position: absolute;
  left: 20px;
  top: 26px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--leaf);
  color: #fff;
  font-weight: 800;
}

.support-header {
  justify-content: space-between;
  margin-bottom: 34px;
}

.support-header > div {
  max-width: 780px;
}

.support-grid,
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.support-grid article,
.story-card {
  padding: 26px;
}

.story-card span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--heart);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stories {
  background: var(--paper);
}

.stories-grid .section-heading {
  margin: 0;
}

.documents-grid {
  align-items: center;
}

.docs-page {
  padding-top: 56px;
}

.docs-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  align-items: start;
}

.docs-hero {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 8px;
}

.docs-hero .eyebrow {
  grid-column: 1;
}

.docs-hero .page-title {
  grid-column: 1;
  margin-bottom: 0;
}

.docs-hero p:last-child {
  grid-column: 2;
  max-width: 560px;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 16px;
}

.info-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 40px rgba(39, 43, 56, 0.06);
}

.org-card,
.files-card,
.offer-card {
  grid-column: span 7;
}

.bank-card,
.contacts-card {
  grid-column: span 5;
}

.info-card h2 {
  margin-bottom: 16px;
  font-size: 23px;
}

.requisites-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.requisites-list div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(39, 43, 56, 0.1);
}

.requisites-list div:last-child {
  border-bottom: 0;
}

.requisites-list dt {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.requisites-list dd {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.requisites-list.compact div {
  grid-template-columns: 155px 1fr;
}

.files-card .doc-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.files-card .doc-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 58px;
  padding: 14px 16px;
  font-size: 14px;
}

.files-card .doc-list a span {
  min-width: 0;
  line-height: 1.35;
}

.files-card .doc-list a::after {
  float: none;
  align-self: center;
  justify-self: end;
  white-space: nowrap;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.offer-grid h3 {
  margin-bottom: 10px;
  font-size: 17px;
}

.compact-list {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.contacts-card .program-links {
  margin-top: 0;
}

.contacts-card .program-links a {
  padding: 14px 16px;
}

.program-page {
  min-height: calc(100vh - 84px);
  display: grid;
  align-items: center;
}

.program-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 56px;
  align-items: center;
}

.program-page-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.program-links {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.program-links a {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--leaf);
  font-weight: 800;
}

.program-details {
  background: var(--paper);
}

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

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

@media (max-width: 640px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.process-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.process-grid span {
  display: block;
  margin-bottom: 24px;
  color: var(--heart);
  font-size: 48px;
  font-weight: 800;
}

.process-grid h3 {
  font-size: 19px;
}

.process-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.doc-list {
  display: grid;
  gap: 12px;
}

.doc-list a {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
}

.doc-list a::after {
  content: "скоро";
  float: right;
  color: var(--ink-soft);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.doc-list a.doc-ready::after {
  content: "PDF";
  color: var(--leaf);
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion-item {
  display: grid;
  grid-template-columns: 1fr auto;
  width: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.accordion-item span {
  font-weight: 800;
}

.accordion-item strong {
  color: var(--heart);
  font-size: 24px;
  line-height: 1;
}

.accordion-item p {
  grid-column: 1 / -1;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--ink-soft);
  transition: max-height 220ms ease, margin-top 220ms ease;
}

.accordion-item[aria-expanded="true"] p {
  max-height: 180px;
  margin-top: 14px;
}

.contacts {
  padding-bottom: 104px;
}

.contact-panel {
  padding: 38px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(232, 210, 173, 0.34), rgba(255, 253, 248, 0.92)),
    var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-panel .eyebrow {
  color: var(--leaf);
}

.contact-panel p {
  color: var(--ink-soft);
}

.contact-copy {
  align-self: center;
}

.contact-stack {
  display: grid;
  gap: 18px;
}

.direct-contacts,
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.direct-card,
.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(39, 43, 56, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.82);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.direct-card:hover,
.social-card:hover {
  transform: translateY(-2px);
  border-color: rgba(36, 95, 99, 0.28);
  background: #fff;
}

.contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1.5px solid rgba(36, 95, 99, 0.2);
  background: rgba(36, 95, 99, 0.06);
  color: var(--leaf);
}

.direct-card strong,
.direct-card small,
.social-card strong,
.social-card small {
  display: block;
}

.direct-card strong,
.social-card strong {
  line-height: 1.25;
}

.direct-card small,
.social-card small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid p {
  max-width: 560px;
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.footer-grid div:last-child {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--leaf);
  font-weight: 800;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
  }

  .site-nav {
    position: fixed;
    inset: 77px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .hero-grid,
  .two-column,
  .split-panel,
  .mentor-grid,
  .documents-grid,
  .program-page-grid,
  .docs-layout,
  .faq-grid,
  .process-grid,
  .contact-panel,
  .program-layout,
  .team-grid,
  .support-grid,
  .stories-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 0;
    height: auto;
  }

  .hero-visual img {
    aspect-ratio: 4 / 3;
  }

  .mentor-visual {
    position: relative;
    top: auto;
    min-height: 520px;
  }

  .mentor-photo-main {
    height: 520px;
  }

  .mentor-photo-small {
    right: 18px;
    bottom: 22px;
    width: 42%;
    height: 210px;
  }

  .program-card.large {
    min-height: 0;
  }

  .docs-hero,
  .org-card,
  .bank-card,
  .contacts-card,
  .files-card,
  .offer-card {
    grid-column: 1 / -1;
  }

  .docs-hero {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .docs-hero .eyebrow,
  .docs-hero .page-title,
  .docs-hero p:last-child {
    grid-column: auto;
  }

  .card-number {
    margin-bottom: 32px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .site-header {
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 164px;
    max-height: 52px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 31px;
  }

  .hero-lead,
  .intro-text {
    font-size: 17px;
  }

  .hero-actions,
  .support-header,
  .footer-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-badge {
    position: static;
    max-width: none;
    margin-top: 14px;
  }

  .contact-panel {
    padding: 28px;
  }

  .mentor-visual {
    min-height: auto;
  }

  .mentor-photo-main {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .mentor-photo-small {
    position: static;
    width: 100%;
    height: auto;
    margin-top: 12px;
    border: 0;
    aspect-ratio: 4 / 3;
  }

  .direct-contacts,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .requisites-list div,
  .requisites-list.compact div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .files-card .doc-list,
  .offer-grid {
    grid-template-columns: 1fr;
  }
}

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

.club-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 120px;
  background: linear-gradient(135deg, #6d5bd0 0%, #8068dc 55%, #5b4ac2 100%);
  color: #fff;
  isolation: isolate;
}

.club-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.club-eyebrow {
  display: inline-block;
  margin-bottom: 28px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.club-title {
  margin: 0 0 20px;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.club-title span {
  font-weight: 400;
  opacity: 0.92;
}

.club-lead {
  max-width: 620px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.55;
}

.club-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.club-cta {
  background: #ff9d3d;
  color: #2b1d0a;
  border: none;
}

.club-cta:hover {
  background: #ffae5c;
}

.club-cta-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.club-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.club-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: 1;
  pointer-events: none;
}

.club-blob-pink {
  width: 360px;
  height: 360px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle at 35% 35%, #ff7ab6 0%, #ff4e9d 60%, transparent 75%);
  opacity: 0.85;
}

.club-blob-orange {
  width: 220px;
  height: 220px;
  bottom: -60px;
  right: 18%;
  background: radial-gradient(circle at 40% 40%, #ffae5c 0%, #ff8520 70%, transparent 85%);
  opacity: 0.9;
}

.club-blob-yellow {
  width: 140px;
  height: 140px;
  top: 40%;
  right: 8%;
  background: radial-gradient(circle, #ffd24d 0%, #ffb52a 75%, transparent 90%);
  opacity: 0.8;
}

.club-squiggle {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 60% 40% at 10% 20%, rgba(255, 255, 255, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 30% at 90% 80%, rgba(255, 122, 182, 0.25), transparent 70%);
}

@media (max-width: 720px) {
  .club-hero { padding: 72px 0 96px; }
  .club-blob-pink { width: 260px; height: 260px; top: -100px; right: -90px; }
  .club-blob-orange { width: 160px; height: 160px; bottom: -40px; right: -20px; }
  .club-blob-yellow { display: none; }
}

/* Блок партнёра-фонда на странице программы */
.partner-support {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.partner-support .container {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  gap: 32px;
  align-items: center;
}

.partner-label {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partner-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  transition: transform 320ms cubic-bezier(0.22,1,0.36,1), box-shadow 320ms ease;
}

.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -16px rgba(39,43,56,0.22);
}

.partner-logo {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  background: var(--leaf-dark);
  overflow: hidden;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-logo-fallback {
  font-size: 28px;
  font-weight: 800;
  color: var(--leaf);
}

.partner-info { display: grid; gap: 4px; }
.partner-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}
.partner-role {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.partner-link {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--leaf);
}

@media (max-width: 720px) {
  .partner-support .container { grid-template-columns: 1fr; gap: 18px; }
  .partner-card { flex-wrap: wrap; }
}

/* Декоративные фоновые квадраты */
.section.programs,
.section.team,
.section.stories,
.section.support {
  position: relative;
  overflow: hidden;
}

.section.programs::before,
.section.team::after,
.section.stories::before,
.section.support::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 2px solid rgba(104, 168, 68, 0.22);
  z-index: 0;
}

.section.programs::before {
  width: 320px;
  height: 320px;
  top: 80px;
  right: -120px;
  transform: rotate(13deg);
}

.section.team::after {
  width: 380px;
  height: 380px;
  bottom: -160px;
  left: -140px;
  transform: rotate(-9deg);
  border-color: rgba(61, 97, 72, 0.18);
}

.section.stories::before {
  width: 280px;
  height: 280px;
  top: -100px;
  left: -100px;
  transform: rotate(-15deg);
}

.section.support::after {
  width: 340px;
  height: 340px;
  bottom: 40px;
  right: -120px;
  transform: rotate(8deg);
  border-color: rgba(218, 78, 78, 0.18);
}

.section.programs > *,
.section.team > *,
.section.stories > *,
.section.support > * {
  position: relative;
  z-index: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

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

.program-card,
.team-card,
.story-card,
.support-grid article,
.form-card,
.program-page-card {
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 380ms cubic-bezier(0.22, 1, 0.36, 1),
              filter 380ms ease,
              border-color 380ms ease;
  will-change: transform, filter;
}

/* Светлые карточки на ховере темнеют */
.program-card:hover,
.team-card:hover,
.story-card:hover,
.support-grid article:hover,
.form-card:hover,
.program-page-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -24px rgba(39, 43, 56, 0.28);
  filter: brightness(0.96);
}

/* Тёмные карточки на ховере светлеют */
.program-card.large:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 64px -28px rgba(46, 79, 58, 0.55);
  filter: brightness(1.12);
}

.program-card-club:hover {
  box-shadow: 0 32px 64px -28px rgba(109, 91, 208, 0.55);
  filter: brightness(1.1);
}

.team-avatar {
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.team-card:hover .team-avatar {
  transform: scale(1.04);
}

.button {
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

a {
  transition: color 200ms ease, opacity 200ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .program-card:hover,
  .team-card:hover,
  .story-card:hover,
  .support-grid article:hover,
  .form-card:hover,
  .program-page-card:hover,
  .button:hover {
    transform: none;
  }
}

/* Мозаика наставников */
.stories-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  grid-auto-flow: dense;
  gap: 10px;
}

.mosaic-item {
  overflow: hidden;
  border-radius: var(--radius);
  margin: 0;
  opacity: 0;
  transition: opacity 650ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mosaic-item--tall { grid-row: span 2; }
.mosaic-item--wide { grid-column: span 2; }

/* направленные стартовые позиции */
.mosaic-item:nth-child(1) { transform: translateX(-60px); }
.mosaic-item:nth-child(2) { transform: translateY(-60px); }
.mosaic-item:nth-child(3) { transform: translateX(60px); }
.mosaic-item:nth-child(4) { transform: translateY(60px); }
.mosaic-item:nth-child(5) { transform: translateX(60px); }
.mosaic-item:nth-child(6) { transform: translateY(60px); }

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mosaic-item:hover img { transform: scale(1.06); }

.stories-mosaic.mosaic-visible .mosaic-item { opacity: 1; transform: none; }
.stories-mosaic.mosaic-visible .mosaic-item:nth-child(1) { transition-delay: 0ms; }
.stories-mosaic.mosaic-visible .mosaic-item:nth-child(2) { transition-delay: 100ms; }
.stories-mosaic.mosaic-visible .mosaic-item:nth-child(3) { transition-delay: 180ms; }
.stories-mosaic.mosaic-visible .mosaic-item:nth-child(4) { transition-delay: 260ms; }
.stories-mosaic.mosaic-visible .mosaic-item:nth-child(5) { transition-delay: 340ms; }
.stories-mosaic.mosaic-visible .mosaic-item:nth-child(6) { transition-delay: 420ms; }

@media (max-width: 720px) {
  .stories-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .mosaic-item--wide { grid-column: span 2; }
}

@media (max-width: 440px) {
  .stories-mosaic { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .mosaic-item--tall, .mosaic-item--wide { grid-row: span 1; grid-column: span 1; }
}

@media (prefers-reduced-motion: reduce) {
  .mosaic-item { opacity: 1; transform: none; transition: none; }
}

/* Hero collage */
@keyframes float-top {
  0%, 100% { transform: translateX(-60%) rotate(-4deg) translateY(0); }
  50%       { transform: translateX(-60%) rotate(-4deg) translateY(-14px); }
}
@keyframes float-right {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50%       { transform: rotate(3deg) translateY(-10px); }
}
@keyframes float-bottom {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50%       { transform: rotate(-2deg) translateY(-18px); }
}
@keyframes float-blob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.hero-collage {
  position: relative;
  align-self: stretch;
}

.collage-photo {
  position: absolute;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 8px 28px rgba(39,43,56,0.13);
}
.collage-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 400ms ease;
}
.collage-photo:hover img { transform: scale(1.04); }

.hero-collage::before { display: none; }

.collage-photo--top {
  top: 0;
  left: 50%;
  transform: translateX(-60%) rotate(-4deg);
  width: 260px;
  height: 270px;
  animation: float-top 4.5s ease-in-out infinite;
  z-index: 25;
}
.collage-photo--right {
  top: 10%;
  right: 0;
  width: 215px;
  height: 225px;
  animation: float-right 3.8s ease-in-out infinite 0.6s;
  z-index: 25;
}
.collage-photo--bottom {
  top: 42%;
  left: 18%;
  width: 205px;
  height: 215px;
  animation: float-bottom 5s ease-in-out infinite 1.2s;
  z-index: 25;
}

.collage-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.collage-blob--teal {
  width: 64px; height: 64px;
  top: -8px; left: 30%;
  background: rgba(36,95,99,0.14);
  animation: float-blob 3.5s ease-in-out infinite;
}
.collage-blob--sand {
  width: 40px; height: 40px;
  bottom: 24%; right: 12%;
  background: rgba(213,185,134,0.55);
  border-radius: 10px;
  animation: float-blob 4.2s ease-in-out infinite 0.5s;
}
.collage-blob--heart {
  width: 24px; height: 24px;
  top: 58%; left: 42%;
  background: rgba(196,7,61,0.1);
  animation: float-blob 3.8s ease-in-out infinite 1s;
}

@media (max-width: 980px) {
  .hero-collage { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .collage-photo, .collage-blob { animation: none; }
  .collage-photo--top   { transform: translateX(-60%) rotate(-4deg); }
  .collage-photo--right { transform: rotate(3deg); }
  .collage-photo--bottom{ transform: rotate(-2deg); }
}
