/* =================== PRELOADER =================== */
.is-preloading { overflow: hidden; }

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 25% 30%, rgba(14, 0, 203, 0.10), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(239, 38, 120, 0.10), transparent 55%),
    rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  transition: opacity .55s cubic-bezier(.4, 0, .2, 1), visibility .55s ease;
  overflow: hidden;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

/* плавающие декоративные пятна на фоне для glossy-эффекта */
.preloader__deco {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  opacity: 0.55;
}
.preloader__deco--1 {
  width: 360px;
  height: 360px;
  background: #0E00CB;
  top: -100px;
  left: -120px;
  animation: preloaderFloat 9s ease-in-out infinite;
}
.preloader__deco--2 {
  width: 320px;
  height: 320px;
  background: #EF2678;
  bottom: -120px;
  right: -100px;
  animation: preloaderFloat 11s ease-in-out infinite reverse;
}
.preloader__deco--3 {
  width: 240px;
  height: 240px;
  background: #EF2678;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.25;
  animation: preloaderFloat 13s ease-in-out infinite;
}

@keyframes preloaderFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, 30px) scale(1.1); }
}
.preloader__deco--3 {
  /* override animation transform to preserve centering */
  animation: preloaderFloat3 13s ease-in-out infinite;
}
@keyframes preloaderFloat3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(calc(-50% + 30px), calc(-50% + 20px)) scale(1.15); }
}

.preloader__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 40px;
}

.preloader__logo {
  width: clamp(140px, 18vw, 200px);
  height: auto;
  display: block;
  animation: preloaderLogoPulse 1.8s ease-in-out infinite;
  filter: drop-shadow(0 6px 20px rgba(14, 0, 203, 0.18));
}

@keyframes preloaderLogoPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.05); opacity: 0.88; }
}

.preloader__progress {
  width: clamp(220px, 28vw, 320px);
  height: 4px;
  background: rgba(14, 0, 203, 0.10);
  border-radius: 999px;
  overflow: hidden;
}

.preloader__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--c-pink, #EF2678), var(--c-blue, #0E00CB));
  border-radius: 999px;
  transition: width .2s ease;
  box-shadow: 0 0 12px rgba(239, 38, 120, 0.5);
}

.preloader__percent {
  font-family: 'Golos Text', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-blue, #0E00CB);
  font-variant-numeric: tabular-nums;
}

/* =================== TOKENS =================== */
:root {
  --c-blue: #0E00CB;
  --c-blue-dk: #08007a;
  --c-pink: #EF2678;
  --c-pink-dk: #c91560;
  --c-pink-lt: #ffe3ef;
  --c-blue-lt: #ebe9ff;
  --c-gray: #EDEDED;
  --c-gray-2: #f7f7f7;
  --c-gray-3: #f1f1f4;
  --c-text: #0A0A0A;
  --c-text-mute: #5a5a66;
  --c-white: #FFFFFF;

  --font-display: 'Golos Text', system-ui, sans-serif;
  --font-script: 'Caveat', cursive;

  --container: 1200px;
  --pad-x: clamp(16px, 4vw, 40px);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;

  --shadow-sm: 0 4px 16px rgba(14, 0, 203, 0.06);
  --shadow-md: 0 12px 40px rgba(14, 0, 203, 0.08);
  --shadow-lg: 0 24px 60px rgba(14, 0, 203, 0.12);

  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  margin: 0 auto;
}
.container--narrow { max-width: 820px; }

/* =================== LUCIDE ICONS =================== */
[data-lucide] {
  width: 1em;
  height: 1em;
  stroke-width: 1.75;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

/* =================== TYPOGRAPHY =================== */
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.h3 {
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.h3--centered { text-align: center; margin: 64px 0 36px; }
.h3--light { color: var(--c-white); }
.h2--light { color: var(--c-white); }

.lead {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--c-text-mute);
  max-width: 760px;
}

.lead--light { color: rgba(255, 255, 255, 0.8); }
.lead--mb { margin-top: 18px; margin-bottom: 56px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-pink);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--c-pink);
  border-radius: 2px;
}

.eyebrow--light { color: rgba(255, 255, 255, 0.85); }
.eyebrow--light::before { background: rgba(255, 255, 255, 0.6); }

.ink-pink { color: var(--c-pink); }
.ink-blue { color: var(--c-blue); }

/* =================== BUTTONS =================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}

.btn [data-lucide] { font-size: 18px; }
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--lg [data-lucide] { font-size: 20px; }
.btn--block { width: 100%; }

.btn__heart {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
  margin-top: -3px;
  transform-origin: center;
  animation: btnHeartbeat 1.6s ease-in-out infinite;
}
.btn--lg .btn__heart { width: 22px; height: 22px; margin-top: -3px; }

@keyframes btnHeartbeat {
  0%, 100% { transform: rotate(-15deg) scale(1.4); }
  15%      { transform: rotate(-15deg) scale(1.6); }
  30%      { transform: rotate(-15deg) scale(1.4); }
  45%      { transform: rotate(-15deg) scale(1.54); }
  60%      { transform: rotate(-15deg) scale(1.4); }
}

.btn--pink { background: var(--c-pink); color: #fff; }
.btn--pink:hover { background: var(--c-pink-dk); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(239, 38, 120, 0.35); }

.btn--blue { background: var(--c-blue); color: #fff; }
.btn--blue:hover { background: var(--c-blue-dk); transform: translateY(-1px); }

.btn--ghost { background: transparent; color: var(--c-text); border: 2px solid var(--c-text); padding: 14px 30px; }
.btn--ghost:hover { background: var(--c-text); color: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-blue);
  font-weight: 600;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color .2s var(--ease), gap .2s var(--ease);
}
.link-arrow [data-lucide] { font-size: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover { border-color: var(--c-blue); }
.link-arrow:hover [data-lucide] { transform: translateX(4px); }

/* =================== HEADER =================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
  min-height: 108px;
  transition: min-height .35s var(--ease);
}

.header.is-scrolled .header__inner {
  min-height: 64px;
}
.header.is-scrolled .header__logo img {
  height: 46px;
}

.header__logo img {
  height: 92px;
  width: auto;
  display: block;
  transition: height .35s var(--ease);
}

.header__nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.header__nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--c-text);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.header__nav a:hover { color: var(--c-blue); border-color: var(--c-blue); }

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

.header__burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 10px 8px;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
}

.header__burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
  transform-origin: center;
}

.header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* hero — плашка стратегического партнёра в углу фото */
.hero__partner-card {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(14, 0, 203, 0.18), 0 2px 6px rgba(14, 0, 203, 0.1);
  border: 1px solid rgba(14, 0, 203, 0.06);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.hero__partner-card::before {
  content: '';
  position: absolute;
  left: 14px;
  top: -1px;
  width: 32px;
  height: 3px;
  background: var(--c-pink);
  border-radius: 0 0 4px 4px;
}

.hero__partner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(14, 0, 203, 0.2), 0 4px 10px rgba(14, 0, 203, 0.1);
}

.hero__partner-card__label {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-text-mute);
  white-space: nowrap;
}

.hero__partner-card__logo {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  height: 18px;
}
.hero__partner-card__logo img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--c-white);
  z-index: 49;
  padding: 100px var(--pad-x) 40px;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  overflow-y: auto;
}

.mobile-menu.is-open { transform: translateX(0); }

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu__nav a {
  font-size: 24px;
  font-weight: 600;
  color: var(--c-text);
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.mobile-menu__nav a:hover { color: var(--c-blue); }

/* =================== HERO =================== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h, 108px));
  padding: 30px 0 clamp(40px, 6vw, 80px);
  background: linear-gradient(180deg, #fff 0%, #f5f3ff 100%);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__deco {
  position: absolute;
  opacity: 0.85;
  filter: drop-shadow(0 8px 30px rgba(14, 0, 203, 0.12));
}

.hero__deco--spot {
  width: clamp(220px, 26vw, 380px);
  bottom: -10%;
  right: 8%;
  opacity: 0.22;
  transform: rotate(15deg);
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}

.hero__text { min-width: 0; }

/* hero фото справа — плейсхолдер */
.hero__photo {
  position: relative;
  z-index: 2;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(14, 0, 203, 0.18);
  width: 100%;
}

.hero__photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
  }
  .hero__text { order: 2; }
  .hero__photo {
    order: 1;
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 4 / 3;
  }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50%      { transform: translateY(-14px) rotate(var(--rot, 0deg)); }
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__kicker {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-blue);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 5.5vw, 75px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  max-width: 14ch;
}

.hero__heart {
  display: inline-flex;
  align-items: center;
  width: 0.95em;
  height: 0.95em;
  vertical-align: -0.15em;
  margin-left: 4px;
  animation: heartbeat 1.6s ease-in-out infinite;
}
.hero__heart img { width: 100%; height: 100%; object-fit: contain; }

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15%      { transform: scale(1.15); }
  30%      { transform: scale(1); }
  45%      { transform: scale(1.1); }
  60%      { transform: scale(1); }
}

.hero__lead {
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--c-text-mute);
  max-width: 620px;
  margin-bottom: 40px;
}

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

/* =================== SECTIONS =================== */
.section {
  padding: clamp(60px, 8vw, 120px) 0;
  position: relative;
}

.section--about      { background: var(--c-white); }
.section--projects   { background: var(--c-gray-2); }
.section--help       { background: var(--c-blue); color: #fff; position: relative; overflow: hidden; }
.section--partners   { background: var(--c-white); }
.section--team       { background: var(--c-gray-2); }
.section--goals      { background: var(--c-gray-2); }
.section--principles { background: var(--c-blue); color: #fff; position: relative; overflow: hidden; }
.section--bms        { background: var(--c-text); color: #fff; }
.section--news       { background: var(--c-white); }
.section--contacts   { background: var(--c-gray-2); }

.section--help::before,
.section--principles::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: var(--c-pink);
  opacity: 0.18;
  border-radius: 50% 40% 60% 50%;
  top: -200px;
  right: -200px;
  filter: blur(60px);
  pointer-events: none;
}

.section--principles::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--c-pink);
  opacity: 0.12;
  border-radius: 60% 40% 50% 50%;
  bottom: -180px;
  left: -180px;
  filter: blur(60px);
  pointer-events: none;
}

/* =================== SECTION DECO =================== */
.section { overflow: hidden; }

.section-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  filter: drop-shadow(0 6px 20px rgba(14, 0, 203, 0.08));
}

.section-deco--bird-tr {
  width: clamp(60px, 6vw, 90px);
  top: 6%;
  right: 6%;
  transform: rotate(8deg);
  animation: floaty 12s ease-in-out infinite;
}

.section-deco--flower-bl {
  width: clamp(90px, 10vw, 150px);
  bottom: 4%;
  left: 2%;
  transform: rotate(-8deg);
  opacity: 0.55;
  animation: floaty 14s ease-in-out infinite reverse;
}

.section-deco--flower-tr {
  width: clamp(80px, 9vw, 130px);
  top: 5%;
  right: 4%;
  transform: rotate(12deg);
  opacity: 0.55;
  animation: floaty 13s ease-in-out infinite;
}

.section-deco--bird-bl {
  width: clamp(50px, 5vw, 80px);
  bottom: 8%;
  left: 5%;
  transform: rotate(-6deg) scaleX(-1);
  animation: floaty 11s ease-in-out infinite reverse;
}

.section .container { position: relative; z-index: 1; }

@media (max-width: 720px) {
  .section-deco--bird-tr,
  .section-deco--bird-bl,
  .section-deco--flower-bl,
  .section-deco--flower-tr { opacity: 0.4; }
}

/* =================== PULL-QUOTE (editorial) =================== */
.pull-quote {
  position: relative;
  margin: 0;
  padding: 0;
}

.pull-quote__mark {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 96px;
  line-height: 0.7;
  color: var(--c-pink);
  font-weight: 700;
  margin-bottom: -12px;
  user-select: none;
}

.pull-quote__text {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: var(--c-text);
  margin: 0 0 16px 0;
  max-width: 28ch;
}

.pull-quote__author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-script);
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1;
  color: var(--c-blue);
  font-weight: 700;
  font-style: normal;
}
.pull-quote__author::before {
  content: '';
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* light-вариант для тёмных секций */
.pull-quote--light .pull-quote__mark { color: rgba(255, 255, 255, 0.7); }
.pull-quote--light .pull-quote__text { color: #fff; }
.pull-quote--light .pull-quote__author { color: #fff; opacity: 0.95; }

/* размещение в секциях */

/* «Кто мы» — между подзаголовком и founder-блоком; правый отступ → выглядит как эпиграф */
.about__quote {
  margin: 36px 0 0;
  padding-left: clamp(0px, 5vw, 60px);
  max-width: 820px;
}

/* «Художники как никто» — компактная между заголовком и описанием */
.project__quote {
  margin: 8px 0 20px;
}
.project__quote .pull-quote__mark { font-size: 64px; margin-bottom: -8px; }
.project__quote .pull-quote__text {
  font-size: clamp(17px, 1.4vw, 20px);
  max-width: 38ch;
  margin-bottom: 10px;
}
.project__quote .pull-quote__author {
  font-size: 22px;
}

/* «Хочу помочь» — Ганди как манифест-эпиграф */
.help__quote {
  position: relative;
  z-index: 1;
  margin: 0 0 56px;
  max-width: 720px;
}

/* «Партнёры» — Китайская пословица как закрытие */
.partners__closing {
  position: relative;
  margin: 64px 0 0;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.partners__closing .pull-quote {
  max-width: 720px;
}

/* =================== ABOUT (Card grid) =================== */
.ab-v3 { padding-top: clamp(60px, 8vw, 120px); }

/* (старые варианты v1/v2 удалены — был только выбор) */
.__legacy_unused_v1 {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: auto auto auto;
  gap: clamp(28px, 4vw, 56px);
  grid-template-areas:
    "head  quote"
    "lead  photo"
    "letter photo";
}

.ab1__head { grid-area: head; }
.ab1__head .eyebrow { margin-bottom: 18px; }

.ab1__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin: 0;
}

.ab1__quote {
  grid-area: quote;
  position: relative;
  padding: 24px 28px 24px 64px;
  background: linear-gradient(135deg, rgba(14, 0, 203, 0.04), rgba(239, 38, 120, 0.06));
  border-radius: 20px;
  align-self: start;
}
.ab1__quote-mark {
  position: absolute;
  top: 8px;
  left: 16px;
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 1;
  color: var(--c-pink);
  font-weight: 700;
}
.ab1__quote p {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.35;
  font-weight: 500;
  color: var(--c-text);
  margin: 0 0 12px 0;
}
.ab1__quote-author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-script);
  font-size: 22px;
  color: var(--c-blue);
  font-weight: 700;
}
.ab1__quote-author::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.ab1__lead {
  grid-area: lead;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--c-text-mute);
  max-width: 580px;
  margin: 0;
  align-self: start;
}

.ab1__photo {
  grid-area: photo;
  margin: 0;
  position: relative;
}
.ab1__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  display: block;
}
.ab1__photo figcaption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 12px;
}
.ab1__photo figcaption strong {
  display: block;
  font-family: var(--font-script);
  font-size: 28px;
  color: var(--c-blue);
  line-height: 1;
  margin-bottom: 4px;
}
.ab1__photo figcaption span {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--c-text-mute);
}

.ab1__letter {
  grid-area: letter;
  align-self: start;
}
.ab1__hello {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-blue);
  margin: 0 0 18px 0 !important;
}
.ab1__letter p {
  margin: 0 0 14px 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
}
.ab1__sign-warm {
  margin-top: 20px !important;
  color: var(--c-text-mute);
  font-style: italic;
}
.ab1__sign-name {
  font-family: var(--font-script);
  font-size: 28px;
  color: var(--c-blue);
  font-style: normal;
  font-weight: 700;
}

@media (max-width: 960px) {
  .ab1 {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "quote" "lead" "photo" "letter";
  }
  .ab1__photo img { aspect-ratio: 4 / 3; }
}

/* ===== ВАРИАНТ 2: cinematic hero ===== */
.ab2__hero {
  position: relative;
  height: clamp(380px, 50vw, 560px);
  overflow: hidden;
}
.ab2__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.7);
}
.ab2__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 0, 203, 0.3) 0%, rgba(10, 10, 10, 0.85) 100%);
}
.ab2__hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 50px !important;
  padding-top: 50px !important;
  color: #fff;
}
.ab2__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 18px 0 18px 0;
  max-width: 900px;
}
.ab2__lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
}

.ab2__body {
  padding-top: clamp(48px, 6vw, 80px) !important;
  padding-bottom: clamp(48px, 6vw, 80px) !important;
}

.ab2__quote {
  position: relative;
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
  padding: 32px 20px 0;
}
.ab2__quote::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--c-pink);
  margin: 0 auto 24px;
  border-radius: 2px;
}
.ab2__quote p {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 16px 0;
  color: var(--c-text);
}
.ab2__quote cite {
  font-family: var(--font-script);
  font-size: clamp(20px, 1.6vw, 24px);
  color: var(--c-blue);
  font-weight: 700;
  font-style: normal;
}

.ab2__letter {
  max-width: 760px;
  margin: 0 auto;
  columns: 2;
  column-gap: 48px;
}
.ab2__hello {
  column-span: all;
  font-size: 26px !important;
  font-weight: 700;
  color: var(--c-blue);
  margin: 0 0 20px 0;
}
.ab2__letter p {
  margin: 0 0 14px 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  break-inside: avoid;
}

.ab2__sign {
  column-span: all;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.ab2__sign-text { display: block; }
.ab2__sign-line {
  display: block;
  color: var(--c-text-mute);
  font-style: italic;
  font-size: 14px;
  margin-bottom: 2px;
}
.ab2__sign-name {
  display: block;
  font-family: var(--font-script);
  font-size: 40px;
  color: var(--c-blue);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}
.ab2__sign-role {
  display: block;
  font-size: 12px;
  color: var(--c-text-mute);
  letter-spacing: 0.03em;
}
.ab2__sign-flower {
  width: 90px;
  flex-shrink: 0;
  transform: rotate(-8deg);
}

@media (max-width: 720px) {
  .ab2__letter { columns: 1; }
}

/* ===== ВАРИАНТ 3: card grid ===== */
.ab3__head {
  text-align: center;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.ab3__head .eyebrow { margin-bottom: 18px; }
.ab3__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin: 0 auto;
  max-width: 880px;
}
.ab3__lead {
  margin: 22px auto 0;
  max-width: 760px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--c-text-mute);
}

.ab3__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  grid-template-areas:
    "photo quote whom"
    "photo letter letter";
}

.ab3__card {
  background: #fff;
  border: 1px solid rgba(14, 0, 203, 0.08);
  border-radius: 22px;
  padding: 28px;
  margin: 0;
  position: relative;
}

.ab3__card--photo {
  grid-area: photo;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ab3__card--photo img {
  width: 100%;
  flex: 1;
  min-height: 320px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.ab3__card--photo figcaption {
  padding: 22px 24px;
  background: linear-gradient(180deg, transparent, rgba(14, 0, 203, 0.04));
}
.ab3__role {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-pink);
  display: block;
  margin-bottom: 6px;
}
.ab3__card--photo figcaption strong {
  display: block;
  font-family: var(--font-script);
  font-size: 32px;
  color: var(--c-blue);
  line-height: 1;
  margin-bottom: 8px;
}
.ab3__org {
  display: block;
  font-size: 13px;
  color: var(--c-text-mute);
  line-height: 1.4;
}

.ab3__card--quote {
  grid-area: quote;
  background: linear-gradient(135deg, rgba(239, 38, 120, 0.05), rgba(14, 0, 203, 0.04));
  border-color: transparent;
}
.ab3__quote-icon {
  width: 28px !important;
  height: 28px !important;
  color: var(--c-pink);
  margin-bottom: 12px;
}
.ab3__card--quote p {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.3;
  font-weight: 500;
  margin: 0 0 12px 0;
}
.ab3__card--quote cite {
  font-family: var(--font-script);
  font-size: 22px;
  color: var(--c-blue);
  font-weight: 700;
  font-style: normal;
}

.ab3__card-icon {
  width: 28px !important;
  height: 28px !important;
  padding: 6px;
  background: var(--c-blue-lt);
  color: var(--c-blue);
  border-radius: 8px;
  margin-bottom: 14px;
  box-sizing: content-box !important;
}

.ab3__card--whom { grid-area: whom; }
.ab3__card--whom h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-text);
  margin: 0 0 14px 0;
}
.ab3__card--whom ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.ab3__card--whom li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--c-text);
}
.ab3__card--whom li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--c-pink);
  border-radius: 50%;
}

.ab3__card--letter { grid-area: letter; }
.ab3__letter-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.ab3__letter-head h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}
.ab3__letter-head .ab3__card-icon { margin-bottom: 0; }

.ab3__card--letter .ab3__hello {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-blue);
  margin: 0 0 12px 0 !important;
}
.ab3__card--letter p {
  margin: 0 0 12px 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-text);
}
.ab3__sign {
  margin: 18px 0 0 0 !important;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-style: italic;
  font-size: 13px !important;
  color: var(--c-text-mute) !important;
}
.ab3__sign-name {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--font-script);
  font-size: 22px;
  color: var(--c-text);
  font-weight: 700;
  font-style: normal;
}

@media (max-width: 960px) {
  .ab3__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "photo photo"
      "letter letter"
      "quote whom";
  }
  .ab3__card--photo img { min-height: 280px; }
}
@media (max-width: 640px) {
  .ab3__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "photo" "letter" "quote" "whom";
  }
}

/* =================== PROJECTS =================== */

/* шапка раздела: заголовок слева + карточка-цитата справа */
.projects__head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.projects__head-text { min-width: 0; }
.projects__head-text .eyebrow { margin-bottom: 18px; }

.projects__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin: 0 0 18px 0;
}

.projects__lead {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--c-text-mute);
  max-width: 540px;
  margin: 0;
}

.projects__quote {
  position: relative;
  margin: 0;
  padding: 28px 30px;
  background: linear-gradient(135deg, rgba(239, 38, 120, 0.06) 0%, rgba(14, 0, 203, 0.05) 100%);
  border: 1px solid rgba(14, 0, 203, 0.08);
  border-radius: 22px;
}

.projects__quote-icon {
  width: 30px !important;
  height: 30px !important;
  color: var(--c-pink);
  margin-bottom: 14px;
}

.projects__quote p {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--c-text);
  margin: 0 0 14px 0;
}

.projects__quote cite {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-script);
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 700;
  font-style: normal;
  color: var(--c-blue);
  line-height: 1;
}
.projects__quote cite::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

@media (max-width: 960px) {
  .projects__head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
  }
}

.project {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  margin-bottom: 80px;
}

.project--reverse { grid-template-columns: 1fr 1.05fr; }
.project--reverse .project__media { order: 2; }

.project__media { position: relative; }

.project__content { position: relative; }

.project__content-deco {
  position: absolute;
  right: -16%;
  bottom: 2%;
  width: clamp(110px, 16%, 180px);
  opacity: 0.85;
  pointer-events: none;
  transform-origin: center;
  animation: projectDecoFloat 14s ease-in-out infinite;
  filter: drop-shadow(0 10px 24px rgba(14, 0, 203, 0.12));
  z-index: 0;
}

.project__content-deco--reverse {
  animation: projectDecoFloatReverse 16s ease-in-out infinite;
}

@media (max-width: 960px) {
  .project__content-deco { right: -4%; bottom: -4%; width: 100px; }
}

@keyframes projectDecoFloat {
  0%   { transform: translate(0, 0) rotate(0deg); }
  20%  { transform: translate(-10px, -16px) rotate(-7deg); }
  40%  { transform: translate(6px, -26px) rotate(5deg); }
  60%  { transform: translate(12px, -14px) rotate(8deg); }
  80%  { transform: translate(-4px, -8px) rotate(-3deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes projectDecoFloatReverse {
  0%   { transform: translate(0, 0) rotate(0deg); }
  20%  { transform: translate(8px, -14px) rotate(6deg); }
  40%  { transform: translate(-6px, -22px) rotate(-5deg); }
  60%  { transform: translate(-12px, -10px) rotate(-9deg); }
  80%  { transform: translate(4px, -6px) rotate(3deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

.project__photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  border-radius: var(--radius);
  overflow: hidden;
}

/* грид фотографий «Художники как никто» — асимметрия 1 крупная + сетка */
.project__photo-grid--art {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 8px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
}
.project__photo-grid--art .project-thumb:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.project-thumb {
  position: relative;
  border: 0;
  padding: 0;
  background: var(--c-gray-2);
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 10px;
  display: block;
  transition: transform .25s var(--ease);
}
.project-thumb:hover { transform: translateY(-2px); }
.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s var(--ease);
}
.project-thumb:hover img { transform: scale(1.05); }

.project-thumb.is-hidden {
  display: none !important;
}

.project-thumb--more {
  position: relative;
}
.project-thumb--more::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(14, 0, 203, 0.75) 100%);
  transition: opacity .25s var(--ease);
  pointer-events: none;
}
.project-thumb--more:hover::after { opacity: 0.85; }

.project-thumb__count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--c-blue);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.project-thumb__count [data-lucide] { width: 14px; height: 14px; }

/* большое фото для «Давай дружить!» */
.project-hero {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 12;
  background: var(--c-gray-2);
  box-shadow: 0 16px 40px rgba(14, 0, 203, 0.12);
}
.project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease);
}
.project-hero:hover img { transform: scale(1.04); }

.project-hero__zoom,
.project-hero__count {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--c-blue);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.project-hero__zoom {
  top: 14px;
  right: 14px;
  padding: 10px;
  border-radius: 50%;
}
.project-hero__zoom [data-lucide] { width: 18px; height: 18px; }
.project-hero__count {
  bottom: 14px;
  left: 14px;
}
.project-hero__count [data-lucide] { width: 16px; height: 16px; }

.ph-slot, .ph-block {
  background: linear-gradient(135deg, #f1efff 0%, #ffe9f3 100%);
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  color: rgba(14, 0, 203, 0.35);
  font-size: 13px;
  text-align: center;
  border-radius: var(--radius-sm);
}

.ph-slot [data-lucide] { font-size: 28px; opacity: 0.6; }
.ph-block [data-lucide] { font-size: 40px; opacity: 0.6; }

.ph-block--lg { aspect-ratio: 16 / 12; border-radius: var(--radius); }

.project__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--c-blue-lt);
  color: var(--c-blue);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.project__tag [data-lucide] { font-size: 16px; }

.project__title {
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 18px;
  color: var(--c-blue);
}

.project__lead {
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 18px;
  color: var(--c-text);
}

.project__content p { margin-bottom: 14px; color: var(--c-text); }
.project__content p:last-of-type { margin-bottom: 0; }

.project__tasks {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.project__tasks li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--c-text);
}
.project__tasks li [data-lucide] {
  width: 22px;
  height: 22px;
  font-size: 14px;
  background: var(--c-pink);
  color: #fff;
  border-radius: 50%;
  padding: 4px;
  margin-top: 2px;
}

/* subprojects — 3 + 2 layout */
.subprojects {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.subproject {
  grid-column: span 2;
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.subproject:nth-child(n+4) { grid-column: span 3; }

.subproject:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.subproject__photo {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #e8e4ff 0%, #ffe1ed 100%);
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  overflow: hidden;
}
.subproject__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s var(--ease);
}
.subproject:hover .subproject__photo img { transform: scale(1.05); }

.subproject__count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--c-blue);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.subproject__count [data-lucide] { width: 13px; height: 13px; }

.subproject__ph { font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; }

.subproject__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
}

.subproject__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.subproject__icon {
  width: 40px !important;
  height: 40px !important;
  background: var(--c-pink-lt);
  color: var(--c-pink);
  border-radius: 10px;
  padding: 9px;
  font-size: 22px;
  flex-shrink: 0;
}

.subproject h4 {
  font-size: 19px;
  font-weight: 600;
  color: var(--c-blue);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}

.subproject p { font-size: 15px; line-height: 1.55; color: var(--c-text-mute); }

.ph-mini { color: rgba(14, 0, 203, 0.35); font-size: 13px; }
.ph-mini--light { color: rgba(255, 255, 255, 0.5); }

/* =================== HELP =================== */
.section--help .h2 { margin: 14px 0 48px; }

/* шапка раздела на синем фоне: заголовок слева + карточка-цитата справа */
.help__head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 80px);
  position: relative;
  z-index: 1;
}

.help__head-text { min-width: 0; }
.help__head-text .eyebrow { margin-bottom: 18px; }

.help__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 18px 0;
}

.help__lead {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-width: 540px;
  margin: 0;
}

.help__quote {
  position: relative;
  margin: 0;
  padding: 28px 30px;
  background: #fff;
  border: 1px solid rgba(14, 0, 203, 0.08);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.help__quote-icon {
  width: 30px !important;
  height: 30px !important;
  color: var(--c-pink);
  margin-bottom: 14px;
}

.help__quote p {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--c-text);
  margin: 0 0 14px 0;
}

.help__quote cite {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-script);
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 700;
  font-style: normal;
  color: var(--c-blue);
  line-height: 1;
}
.help__quote cite::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

@media (max-width: 960px) {
  .help__head {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}

.help-card {
  background: var(--c-white);
  color: var(--c-text);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-rows: 220px 1fr;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.help-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.help-card__photo {
  position: relative;
  background: linear-gradient(135deg, #e9e6ff 0%, #ffd9ea 100%);
  border: 0;
  padding: 0;
  cursor: zoom-in;
  overflow: hidden;
  display: block;
  width: 100%;
}
.help-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s var(--ease);
}
.help-card:hover .help-card__photo img { transform: scale(1.04); }

.help-card__zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  color: var(--c-blue);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.help-card:hover .help-card__zoom { opacity: 1; transform: translateY(0); }
.help-card__zoom [data-lucide] { width: 18px; height: 18px; }

/* logo-badge поверх фото */
.help-card__badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: #fff;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform .25s var(--ease);
  pointer-events: none;
}
.help-card:hover .help-card__badge { transform: rotate(-3deg) scale(1.05); }
.help-card__badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 640px) {
  .help-card__badge { width: 60px; height: 60px; bottom: 10px; left: 10px; padding: 5px; border-radius: 14px; }
}

.help-card__body { padding: 28px; }

.help-card__partner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--c-text-mute);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 600;
}
.help-card__partner [data-lucide] { font-size: 14px; color: var(--c-pink); }

.help-card h3 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--c-blue);
  margin-bottom: 14px;
  line-height: 1.1;
}

.help-card__body p { margin-bottom: 24px; color: var(--c-text); }

/* =================== PARTNERS — editorial list =================== */
.section--partners .h2 { margin: 10px 0 0; }

/* шапка раздела — заголовок слева, карточка-цитата справа */
.partners__head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.partners__head-text { min-width: 0; }
.partners__head-text .eyebrow { margin-bottom: 18px; }

.partners__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin: 0 0 18px 0;
}

.partners__lead {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--c-text-mute);
  max-width: 540px;
  margin: 0;
}

.partners__quote {
  position: relative;
  margin: 0;
  padding: 28px 30px;
  background: linear-gradient(135deg, rgba(239, 38, 120, 0.06) 0%, rgba(14, 0, 203, 0.05) 100%);
  border: 1px solid rgba(14, 0, 203, 0.08);
  border-radius: 22px;
}

.partners__quote-icon {
  width: 30px !important;
  height: 30px !important;
  color: var(--c-pink);
  margin-bottom: 14px;
}

.partners__quote p {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--c-text);
  margin: 0 0 14px 0;
}

.partners__quote cite {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-script);
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 700;
  font-style: normal;
  color: var(--c-blue);
  line-height: 1;
}
.partners__quote cite::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

@media (max-width: 960px) {
  .partners__head {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.partners-list {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.partner-row {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.partner-row__link {
  display: grid;
  grid-template-columns: 80px 64px 1fr auto;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding: 28px 16px 28px 8px;
  color: var(--c-text);
  transition: background .3s var(--ease), padding-left .3s var(--ease);
}

.partner-row__link:hover {
  background: var(--c-gray-2);
  padding-left: 20px;
}

.partner-row__num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1;
  color: rgba(14, 0, 203, 0.25);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  transition: color .3s var(--ease);
}

.partner-row__link:hover .partner-row__num { color: var(--c-pink); }

.partner-row__icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-blue-lt);
  color: var(--c-blue);
  border-radius: 16px;
  font-size: 26px;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}

.partner-row__link:hover .partner-row__icon {
  background: var(--c-blue);
  color: #fff;
  transform: rotate(-6deg);
}

.partner-row__title {
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
  color: var(--c-text);
}

.partner-row__text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--c-text-mute);
  max-width: 56ch;
}

.partner-row__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--c-text);
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.partner-row__cta [data-lucide] { font-size: 16px; transition: transform .25s var(--ease); }

.partner-row__link:hover .partner-row__cta {
  background: var(--c-pink);
  border-color: var(--c-pink);
  color: #fff;
}
.partner-row__link:hover .partner-row__cta [data-lucide] {
  transform: translate(2px, -2px);
}

/* =================== DIVIDER (perebivka) =================== */
.divider {
  position: relative;
  min-height: clamp(420px, 60vw, 720px);
  overflow: hidden;
  background: var(--c-blue);
}

.divider__media {
  position: absolute;
  inset: -15% 0;
  background-image: url('../images/divider.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform, scale;
  transform: translate3d(0, 0, 0) scale(1.12);
  transition: transform .15s linear;
}

.divider__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 0, 203, 0.45) 0%, rgba(14, 0, 203, 0.25) 50%, rgba(239, 38, 120, 0.35) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

@media (max-width: 640px) {
  .divider { min-height: 320px; }
}

/* =================== TEAM =================== */
.section--team .h2 { margin: 10px 0 0; }

.team-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 24px;
  margin-bottom: 80px;
}

.team-featured {
  position: relative;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.team-featured__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-blue-lt) 0%, var(--c-pink-lt) 100%);
}

.team-featured__photo-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(14, 0, 203, 0.4);
}
.team-featured__photo-ph [data-lucide] { font-size: 80px; }

.team-featured__photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-featured__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--c-pink);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 14px rgba(239, 38, 120, 0.35);
}
.team-featured__badge [data-lucide] { font-size: 14px; }

.team-featured figcaption { position: relative; z-index: 1; }
.team-featured__role {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-pink);
  font-weight: 600;
  margin-bottom: 6px;
}
.team-featured__name {
  display: block;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--c-blue);
  margin-bottom: 10px;
  line-height: 1.1;
}
.team-featured p { font-size: 15px; line-height: 1.55; color: var(--c-text-mute); }

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

.team-card {
  background: var(--c-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.team-card__photo {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(14,0,203,0.1) 0%, rgba(239,38,120,0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(14, 0, 203, 0.35);
  overflow: hidden;
}
.team-card__photo [data-lucide] { font-size: 44px; }
.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-card figcaption {
  padding: 14px 18px 18px;
  text-align: left;
}
.team-card figcaption strong { display: block; font-weight: 600; font-size: 15px; color: var(--c-text); }
.team-card figcaption span { display: block; font-size: 13px; color: var(--c-text-mute); margin-top: 4px; }

/* Friends — те же карточки что и .team-card */
.friends { margin-top: 56px; }
.friends .h3 { margin-bottom: 8px; }
.friends__hint {
  color: var(--c-text-mute);
  margin: 0 0 24px;
  font-size: 14px;
  font-style: italic;
}

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

/* Карточка-ссылка для «По плану» — растягивающийся anchor поверх всей карточки */
.team-card { position: relative; }
.team-card__stretched {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-decoration: none;
}
.team-card--link:hover figcaption strong { color: var(--c-blue); }

/* Логотип-аватар (для «По плану») — белый фон, тонкая обводка */
.team-card__photo--logo {
  background: #fff !important;
  padding: 28px;
  box-sizing: border-box;
  border: 1px solid rgba(14, 0, 203, 0.12);
}
.team-card__photo--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* =================== GOALS =================== */
.section--goals .h2 { margin: 10px 0 0; }

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

/* 5 целей: 3 сверху + 2 снизу по центру */
.goals--five {
  grid-template-columns: repeat(6, 1fr);
}
.goals--five .goal { grid-column: span 2; }
.goals--five .goal:nth-child(4) { grid-column: 2 / span 2; }
.goals--five .goal:nth-child(5) { grid-column: 4 / span 2; }

.goal {
  position: relative;
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  overflow: hidden;
}

.goal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--c-pink) 0%, var(--c-blue) 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s var(--ease);
}

.goal:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.goal:hover::before { transform: scaleY(1); }

.goal__num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-weight: 500;
  font-size: 36px;
  line-height: 1;
  color: rgba(14, 0, 203, 0.1);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  transition: color .3s var(--ease);
}

.goal:hover .goal__num { color: var(--c-pink); }

.goal__icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-blue-lt);
  color: var(--c-blue);
  border-radius: 16px;
  font-size: 26px;
  margin-bottom: 20px;
  transition: background .3s var(--ease), color .3s var(--ease);
}

.goal:hover .goal__icon { background: var(--c-blue); color: #fff; }

.goal h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--c-text);
  letter-spacing: -0.01em;
}
.goal p { font-size: 15px; line-height: 1.55; color: var(--c-text-mute); }

/* =================== PRINCIPLES =================== */
.section--principles .h2 { margin: 10px 0 0; }

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}

.principle {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.principle:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.principle__icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-pink);
  color: #fff;
  border-radius: 16px;
  font-size: 26px;
  box-shadow: 0 6px 20px rgba(239, 38, 120, 0.35);
  transition: transform .3s var(--ease);
}

.principle:hover .principle__icon { transform: rotate(-8deg) scale(1.04); }

.principle h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--c-text);
  letter-spacing: -0.01em;
}
.principle p { font-size: 14.5px; line-height: 1.55; color: var(--c-text-mute); }

/* =================== BMS =================== */
.section--bms { padding: clamp(60px, 6vw, 90px) 0; }

.bms {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.bms__left .h2 { margin: 10px 0 18px; }
.bms__left p { color: rgba(255, 255, 255, 0.75); margin-bottom: 14px; max-width: 540px; }
.bms__left strong { color: #fff; }

.bms__logo {
  position: relative;
  aspect-ratio: 16 / 10;
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 50px;
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.bms__logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}
.bms__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

.bms__logo-link {
  position: absolute;
  bottom: 14px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-text-mute);
  transition: color .2s var(--ease);
}
.bms__logo-link [data-lucide] { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.bms__logo:hover .bms__logo-link { color: var(--c-blue); }
.bms__logo:hover .bms__logo-link [data-lucide] { transform: translate(2px, -2px); }

/* =================== NEWS =================== */
.section--news .h2 { margin: 10px 0 48px; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 28px;
}

/* =================== NEWS SLIDER =================== */
.news-slider {
  position: relative;
  margin-bottom: 28px;
}
.news-slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 44px) / 3);
  gap: 22px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 4px 14px;
  scroll-padding: 4px;
}
.news-slider__track::-webkit-scrollbar { display: none; }
.news-slider__track .news-card {
  scroll-snap-align: start;
  height: 100%;
}

.news-slider__btn {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: 0 6px 22px rgba(14, 0, 203, .16);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--c-blue);
  z-index: 5;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .25s var(--ease);
}
.news-slider__btn:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 28px rgba(14, 0, 203, .26);
}
.news-slider__btn--prev { left: -22px; }
.news-slider__btn--next { right: -22px; }
.news-slider__btn [data-lucide] { width: 22px; height: 22px; }
.news-slider__btn.is-disabled {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.85);
}

@media (max-width: 1100px) {
  .news-slider__track { grid-auto-columns: calc((100% - 22px) / 2); }
  .news-slider__btn--prev { left: -6px; }
  .news-slider__btn--next { right: -6px; }
}
@media (max-width: 720px) {
  .news-slider__track {
    grid-auto-columns: calc(100% - 36px); /* видно «хвостик» следующей — намекает что листается */
    gap: 16px;
    padding-right: 24px;
  }
  .news-slider__btn { display: none; }
}

.news-card {
  position: relative;
  background: var(--c-gray-2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* Stretched link: вся карточка кликабельная через заголовок-ссылку */
.news-card__title-link {
  color: inherit;
  text-decoration: none;
  outline: none;
}
.news-card__title-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.news-card:hover .news-card__title-link { color: var(--c-blue); }

.news-card__photo {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #e9e6ff 0%, #ffd9ea 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(14, 0, 203, 0.35);
  overflow: hidden;
  position: relative;
}
.news-card__photo [data-lucide] { font-size: 42px; }

a.news-card__photo,
button.news-card__photo {
  text-decoration: none;
  cursor: pointer;
}
button.news-card__photo {
  border: 0;
  padding: 0;
  background: #f4f4f8;
  display: block;
  width: 100%;
}

.news-card__count {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.news-card__count [data-lucide] { width: 14px; height: 14px; }
.news-card__count--video {
  background: rgba(239, 38, 120, 0.92);
}
.news-card__photo--filled { background: #f4f4f8; }
.news-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s var(--ease);
}
.news-card:hover .news-card__photo img { transform: scale(1.04); }

.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-blue);
  text-decoration: none;
  letter-spacing: 0.01em;
  align-self: flex-start;
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.news-card__more [data-lucide] { width: 14px; height: 14px; }
.news-card:hover .news-card__more { gap: 10px; color: var(--c-pink); }

/* =================== ARTICLE PAGE =================== */
.article {
  padding: clamp(20px, 3vw, 36px) 0 clamp(60px, 8vw, 120px);
}

.article__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-text-mute);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: clamp(28px, 4vw, 48px);
  transition: color .25s var(--ease), gap .25s var(--ease);
}
.article__back:hover { color: var(--c-blue); gap: 12px; }
.article__back [data-lucide] { width: 18px; height: 18px; }
.article__back--bottom {
  margin-top: clamp(36px, 5vw, 64px);
  margin-bottom: 0;
}

.article__head { margin-bottom: clamp(24px, 3vw, 36px); }
.article__date {
  display: inline-block;
  font-size: 13px;
  color: var(--c-pink);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.article__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin: 0;
}

.article__hero {
  margin: clamp(28px, 4vw, 44px) 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(14, 0, 203, .12);
}
.article__hero img,
.article__hero video {
  display: block;
  width: 100%;
  height: auto;
}
.article__hero--video {
  background: #111;
}
.article__hero--video video {
  max-height: 70vh;
  object-fit: contain;
  background: #111;
}

.article__body { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.7; color: var(--c-text); }
.article__body p { margin: 0 0 18px; }
.article__body p:last-child { margin-bottom: 0; }
.article__body a {
  color: var(--c-blue);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.article__body a:hover { color: var(--c-pink); }

.article__gallery-title {
  margin: clamp(36px, 5vw, 56px) 0 18px;
  font-size: 22px;
  font-weight: 700;
  color: var(--c-text);
}
.article__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.article__thumb {
  position: relative;
  border: 0;
  padding: 0;
  background: #f4f4f8;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 14px;
  display: block;
  aspect-ratio: 4 / 3;
  transition: transform .25s var(--ease);
}
.article__thumb:hover { transform: translateY(-2px); }
.article__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s var(--ease);
}
.article__thumb:hover img { transform: scale(1.04); }

.article__cta {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 20px;
  align-items: center;
  margin-top: clamp(36px, 5vw, 56px);
  padding: 24px 28px;
  background: linear-gradient(135deg, #efebff 0%, #ffe6f1 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(14, 0, 203, .08);
}
.article__cta-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue);
}
.article__cta-icon [data-lucide] { width: 26px; height: 26px; }
.article__cta-text h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--c-text);
}
.article__cta-text p {
  margin: 0;
  font-size: 14px;
  color: var(--c-text-mute);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .article__cta {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 20px;
  }
  .article__cta-icon { margin: 0 auto; }
  .article__gallery { grid-template-columns: 1fr; }
}

.news-card__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.news-card time {
  display: inline-block;
  font-size: 12px;
  color: var(--c-pink);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.news-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--c-text);
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.25em * 2);
}
.news-card p {
  font-size: 15px;
  color: var(--c-text-mute);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.news-empty-hint { color: var(--c-text-mute); font-size: 14px; font-style: italic; }

/* =================== CONTACTS =================== */
.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contacts__info .h2 { margin: 10px 0 30px; }

.contacts__list { display: grid; gap: 20px; }
.contacts__list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }

.contacts__icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-blue-lt);
  color: var(--c-blue);
  border-radius: 12px;
  font-size: 20px;
}

.contacts__label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  font-weight: 600;
  margin-bottom: 4px;
}

.contacts__list a { color: var(--c-blue); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
.contacts__list a:hover { border-color: var(--c-blue); }

.contacts__socials { display: flex; gap: 10px; margin-top: 4px; }
.contacts__socials a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: var(--c-blue);
  color: #fff !important;
  border-radius: 50%;
  font-size: 18px;
  border: none !important;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.contacts__socials a:hover { background: var(--c-pink); transform: translateY(-2px); }

/* Form */
.contacts__form {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 16px;
}

.form__intro { color: var(--c-text-mute); margin-bottom: 6px; font-size: 15px; }

.contacts__form label { display: grid; gap: 6px; }
.contacts__form label > span {
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--c-text-mute);
  font-weight: 600;
}

.contacts__form input,
.contacts__form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px;
  background: var(--c-gray-2);
  transition: border-color .2s var(--ease), background .2s var(--ease);
  resize: vertical;
}

.contacts__form input:focus,
.contacts__form textarea:focus {
  outline: none;
  border-color: var(--c-blue);
  background: #fff;
}

.form__consent {
  display: grid !important;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 12px !important;
  font-size: 12.5px;
  color: var(--c-text-mute);
  line-height: 1.5;
  cursor: pointer;
  padding: 8px 4px 4px;
  margin-top: 4px;
}

/* hide native checkbox */
.form__consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* custom box */
.form__consent-box {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-white);
  border: 1.5px solid rgba(14, 0, 203, 0.25);
  border-radius: 6px;
  color: transparent;
  margin-top: 1px;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
  flex-shrink: 0;
}
.form__consent-box [data-lucide] {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}

.form__consent:hover .form__consent-box {
  border-color: var(--c-pink);
}

.form__consent input:checked + .form__consent-box {
  background: var(--c-pink);
  border-color: var(--c-pink);
  color: #fff;
  transform: scale(1.02);
}

.form__consent input:focus-visible + .form__consent-box {
  outline: 2px solid var(--c-blue);
  outline-offset: 2px;
}

.form__consent-text { color: var(--c-text-mute); }

.form__consent-text a {
  color: var(--c-blue);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(14, 0, 203, 0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color .2s var(--ease);
}
.form__consent-text a:hover {
  text-decoration-color: var(--c-blue);
}

.form__status { font-size: 14px; color: var(--c-blue); min-height: 20px; }
.form__status.is-success { color: #1a9b3b; }
.form__status.is-error { color: #d22; }

/* =================== WORKS PAGE =================== */
.section--no-pad { padding: 0; }

.works-hero {
  background: linear-gradient(180deg, #fff 0%, #f5f3ff 100%);
  padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px);
}

.works-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-mute);
  margin-bottom: 24px;
  transition: color .2s var(--ease);
}
.works-hero__back:hover { color: var(--c-blue); }
.works-hero__back [data-lucide] { font-size: 16px; }

.works-hero .h2 { margin: 12px 0 18px; }

.works-filter {
  background: var(--c-white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 22px 0 22px;
}

.works-filter__bar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.works-filter__group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.works-filter__label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-text-mute);
  margin-right: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--c-blue); color: var(--c-blue); }
.chip.is-active {
  background: var(--c-blue);
  border-color: var(--c-blue);
  color: #fff;
}

.works { padding: clamp(36px, 5vw, 64px) 0 clamp(60px, 8vw, 100px); }

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.work-card {
  background: var(--c-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex;
  flex-direction: column;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.work-card.is-hidden { display: none; }

.work-card__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--c-gray-2);
  border: 0;
  cursor: zoom-in;
  padding: 0;
  display: block;
  overflow: hidden;
}

.work-card__ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8e4ff 0%, #ffd9ea 100%);
  color: var(--c-blue);
  font-size: 13px;
  font-weight: 600;
}
.work-card__ph [data-lucide] { font-size: 38px; opacity: 0.45; }
.work-card__ph span { opacity: 0.55; }

.work-card__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  color: var(--c-blue);
  border-radius: 50%;
  opacity: 0;
  transition: opacity .2s var(--ease);
}
.work-card__photo:hover .work-card__zoom { opacity: 1; }
.work-card__zoom [data-lucide] { width: 18px; height: 18px; }

.work-card__body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; gap: 6px; }

.work-card__title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--c-blue);
  line-height: 1.2;
}

.work-card__meta {
  font-size: 13px;
  color: var(--c-text-mute);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.work-card__sep { opacity: 0.5; }
.work-card__author { font-weight: 600; color: var(--c-text); }

.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn--sm [data-lucide] { font-size: 14px; }

.work-card__cta { margin-top: 8px; }

.works-empty {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  padding: 60px 0;
  color: var(--c-text-mute);
  font-size: 15px;
}
.works-empty.is-shown { display: flex; }
.works-empty [data-lucide] { width: 42px; height: 42px; opacity: 0.5; }

/* commission strip */
.section--commission {
  background: var(--c-blue);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section--commission::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--c-pink);
  opacity: 0.18;
  border-radius: 50%;
  bottom: -200px;
  right: -180px;
  filter: blur(60px);
  pointer-events: none;
}

.commission {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.commission__text .h2 { margin: 14px 0 18px; }
.commission__text p { color: rgba(255, 255, 255, 0.85); margin-bottom: 28px; max-width: 540px; }

.commission__deco img {
  width: 100%;
  max-width: 240px;
  margin-left: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.35;
}

@media (max-width: 720px) {
  .commission { grid-template-columns: 1fr; }
  .commission__deco { display: none; }
}

/* modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.7);
}
.modal__panel {
  position: relative;
  z-index: 1;
  max-width: 480px;
  width: 100%;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  max-height: 90vh;
  overflow: auto;
  transform: translateY(20px);
  transition: transform .25s var(--ease);
}
.modal.is-open .modal__panel { transform: translateY(0); }
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-gray-2);
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.modal__close:hover { background: var(--c-gray); }
.modal__inner { padding: 32px 28px 28px; }
.modal__inner .h3 { margin: 8px 0 12px; color: var(--c-blue); }
.modal__intro { color: var(--c-text-mute); font-size: 15px; margin-bottom: 22px; }
body.modal-open { overflow: hidden; }

/* =================== LIGHTBOX =================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s var(--ease);
  padding: 60px 40px;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox.is-open .lightbox__inner { transform: scale(1); opacity: 1; }

.lightbox__inner {
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  text-align: center;
  transform: scale(0.96);
  opacity: 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 160px);
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  display: block;
  margin: 0 auto;
  opacity: 0;
  transition: opacity .22s ease;
}
.lightbox__img.is-loaded { opacity: 1; }

.lightbox__caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  margin-top: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.2); transform: scale(1.05); }
.lightbox__close [data-lucide],
.lightbox__nav [data-lucide] { width: 24px; height: 24px; }

.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox__nav--next:hover { transform: translateY(-50%) scale(1.05); }

body.lb-open { overflow: hidden; }

/* trigger styling — клик-курсор и hover-эффект */
[data-lightbox] { cursor: zoom-in; transition: opacity .2s var(--ease); }
[data-lightbox]:hover { opacity: 0.9; }

/* Точки-индикаторы (пагинация) */
.lightbox__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 5;
}
.lightbox__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease), width .25s var(--ease);
}
.lightbox__dot.is-active {
  background: #fff;
  width: 22px;
  border-radius: 6px;
}
.lightbox__dot:hover { background: rgba(255, 255, 255, 0.7); }

@media (max-width: 640px) {
  .lightbox { padding: 60px 12px; }
  .lightbox__close, .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__close { top: 12px; right: 12px; }
  /* На мобиле стрелки маленькие и полупрозрачные — основной свайп пальцем */
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__nav { opacity: 0.6; }
  .lightbox__dots { bottom: 16px; }
}

/* =================== FOOTER =================== */
.footer {
  background: var(--c-text);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: clamp(32px, 5vw, 80px);
}

.footer__logo { height: 40px; margin-bottom: 16px; filter: invert(1) brightness(100); }
.footer__brand p { font-size: 14px; max-width: 280px; margin-bottom: 22px; }

.footer__socials { display: flex; gap: 10px; }
.footer__socials a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #fff !important;
  font-size: 16px;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.footer__socials a:hover { background: var(--c-pink); transform: translateY(-2px); }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer__col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer__col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color .2s var(--ease);
}
.footer__col a:hover { color: var(--c-pink); }

.footer__bottom {
  grid-column: 1 / -1;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ===== Po Plan credit ===== */
.po-plan-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  letter-spacing: .01em;
  color: #b9c5cf;
  text-decoration: none;
  opacity: .9;
  transition: opacity .2s ease;
}
.po-plan-credit:hover { opacity: 1; }

.po-plan-credit__logo {
  height: 12px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.po-plan-credit__text {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.po-plan-credit__prefix { color: inherit; }

.po-plan-credit__brand {
  color: var(--c-pink);
  text-decoration: underline dashed;
  text-decoration-color: var(--c-pink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-weight: 600;
}

.po-plan-credit:hover .po-plan-credit__brand {
  filter: brightness(1.15);
}

@media (max-width: 640px) {
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* =================== REVEAL ON SCROLL =================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =================== RESPONSIVE =================== */
@media (max-width: 1100px) {
  .goals { grid-template-columns: repeat(2, 1fr); }
  /* 5 целей на планшете: 2 колонки, последняя по центру через 4-col хак */
  .goals--five {
    grid-template-columns: repeat(4, 1fr);
  }
  .goals--five .goal { grid-column: span 2; }
  .goals--five .goal:nth-child(4) { grid-column: 1 / span 2; }
  .goals--five .goal:nth-child(5) { grid-column: 3 / span 2; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .team-layout { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .friends__list { grid-template-columns: repeat(3, 1fr); }
  .partners__head { grid-template-columns: 1fr; align-items: start; gap: 20px; }

  .partner-row__link {
    grid-template-columns: 60px 56px 1fr auto;
    gap: 20px;
  }
}

@media (max-width: 960px) {
  .header__nav { display: none; }
  .header__burger { display: flex; }

  .founder { grid-template-columns: 1fr; }
  .founder__photo { max-width: 360px; }

  .project,
  .project--reverse { grid-template-columns: 1fr; }
  .project--reverse .project__media { order: 0; }

  .subprojects { grid-template-columns: repeat(2, 1fr); }
  .subproject,
  .subproject:nth-child(n+4) { grid-column: span 1; }

  .bms { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .goals,
  .principles { grid-template-columns: 1fr; }
  /* 5 целей на мобиле: одна колонка, сбрасываем кастомные позиции */
  .goals--five {
    grid-template-columns: 1fr;
  }
  .goals--five .goal,
  .goals--five .goal:nth-child(4),
  .goals--five .goal:nth-child(5) {
    grid-column: auto;
  }
  .team-grid,
  .friends__list { grid-template-columns: repeat(2, 1fr); }

  .partner-row__link {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "num cta"
      "icon icon"
      "body body";
    gap: 14px;
    padding: 24px 8px;
  }
  .partner-row__num { grid-area: num; font-size: 32px; }
  .partner-row__icon { grid-area: icon; width: 48px; height: 48px; font-size: 22px; }
  .partner-row__body { grid-area: body; }
  .partner-row__cta { grid-area: cta; align-self: start; padding: 8px 14px; font-size: 12px; }
  .partner-row__title { font-size: 22px; }
}

@media (max-width: 640px) {
  .header__logo img { height: 52px; }
  .header__inner { min-height: 68px; }
  .header.is-scrolled .header__inner { min-height: 52px; }
  .header.is-scrolled .header__logo img { height: 36px; }

  /* кнопки hero — в один ряд, делят ширину */
  .hero__actions {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .hero__actions .btn {
    flex: 1;
    min-width: 0;
    padding: 14px 14px;
    font-size: 14px;
    white-space: nowrap;
  }
  .hero__actions .btn [data-lucide] { font-size: 16px; }

  .hero__partner {
    padding: 8px 14px;
    font-size: 10px;
    gap: 10px;
  }
  .hero__partner-divider { height: 12px; }
  .hero__partner-logo { height: 14px; }

  .hero { min-height: auto; padding: 20px 0 120px; }
  .hero__title { font-size: 42px; }

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

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

  .contacts__list li { grid-template-columns: 36px 1fr; }
  .contacts__icon { width: 36px; height: 36px; font-size: 18px; }

  .help-card { grid-template-rows: 180px 1fr; }

  .partner-card { padding: 28px 24px; }
  .partner-card__num { font-size: 44px; }
}

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