/* ============================================================
   Промо-лендинг Krita для Windows
   Оглавление:
   1. Переменные и база          6. Секции и заголовки
   2. Кнопки                     7. Возможности / Скриншоты
   3. Шапка и навигация          8. Галерея / Холст / Видео / Отзывы
   4. Хиро                       9. CTA «Скачать» и подвал
   5. Бегущая строка            10. Лайтбокс, анимации, адаптив
   ============================================================ */

/* 1. Переменные и база ---------------------------------------- */
:root {
  --bg-dark:   #0A111F;   /* фон тёмных секций */
  --bg-darker: #070D19;   /* шапка, подвал, лента */
  --bg-navy:   #0C1424;   /* секция с холстом */
  --panel:     #111C33;   /* тёмные карточки */
  --bg-light:  #F5F7FB;   /* светлые секции */
  --line-light:#E5EBF6;   /* рамки на светлом */
  --line-dark: rgba(255,255,255,.1);

  --ink:       #0D1526;   /* заголовки на светлом */
  --ink-soft:  #2A3650;
  --muted:     #5B6883;   /* текст на светлом */
  --faint:     #98A5BE;   /* сноски на светлом */
  --on-dark:   #F2F6FE;   /* заголовки на тёмном */
  --on-dark-2: #A7B6D4;   /* текст на тёмном */
  --on-dark-3: #7E90B4;   /* приглушённый на тёмном */

  --cyan:   #45D3E6;
  --blue:   #3E8DE8;
  --purple: #BE6AF0;
  --grad:      linear-gradient(100deg, var(--cyan), var(--blue) 55%, var(--purple));
  --grad-soft: linear-gradient(135deg, var(--cyan), var(--blue));

  --font-display: 'Unbounded', sans-serif;
  --font-text: 'Golos Text', 'Segoe UI', sans-serif;
  --radius: 18px;
  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-dark);
  color: var(--ink);
  font-family: var(--font-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd, dt { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; }
button { font: inherit; border: 0; background: none; padding: 0; cursor: pointer; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: #6FB0F2; }

::selection { background: var(--blue); color: #fff; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 2. Кнопки ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .25s, box-shadow .25s, background .25s;
}

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 38px rgba(62, 141, 232, .4);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(62, 141, 232, .55);
  color: #fff;
}

.btn--ghost {
  padding: 16px 28px;
  border: 1px solid rgba(255,255,255,.25);
  color: #EAF0FB;
  font-weight: 600;
  font-size: 16px;
}
.btn--ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

.btn--sm { padding: 10px 22px; font-size: 15px; }
.btn--lg { padding: 17px 34px; font-size: 17px; }
.btn--xl { padding: 20px 42px; font-size: 18px; }

/* 3. Шапка и навигация ----------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 13, 25, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2.5px;
  background: linear-gradient(90deg, var(--cyan), var(--blue) 55%, var(--purple));
  transform-origin: 0 50%;
  transform: scaleX(0);
}

.site-header__inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand__logo { height: 32px; display: block; }
.brand__badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8CA0C4;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav > a:not(.btn) { color: #B9C6DF; font-size: 15px; font-weight: 500; }
.site-nav > a:not(.btn):hover { color: #fff; }

/* 4. Хиро ------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 50% -10%, #16233F 0%, var(--bg-dark) 62%);
}

/* мягкие цветные пятна на фоне */
.hero__blobs { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; }
.blob--cyan   { width: 420px; height: 420px; left: -6%;  top: 4%;  background: rgba(69,211,230,.34);  filter: blur(90px);  animation: drift 14s ease-in-out infinite alternate; }
.blob--purple { width: 460px; height: 460px; right: -8%; top: 16%; background: rgba(190,106,240,.3);  filter: blur(95px);  animation: drift 16s ease-in-out -5s infinite alternate; }
.blob--blue   { width: 560px; height: 560px; left: 28%;  top: 48%; background: rgba(62,141,232,.28); filter: blur(100px); animation: drift 18s ease-in-out -9s infinite alternate; }

/* холст для следа кисти за курсором */
.hero__trail { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }

.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 84px;
  padding-bottom: 100px;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(17,28,51,.6);
  color: var(--on-dark-2);
  font-size: 13.5px;
  font-weight: 500;
  animation: fade-in .7s ease both;
}
.hero__badge img { width: 18px; height: 18px; }

.hero__title {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--on-dark);
  animation: fade-in .7s ease .1s both;
}

.hero__lead {
  margin: 26px auto 0;
  max-width: 640px;
  color: var(--on-dark-2);
  font-size: 18px;
  line-height: 1.65;
  animation: fade-in .7s ease .2s both;
}

.hero__actions {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fade-in .7s ease .3s both;
}

.hero__note {
  margin-top: 18px;
  color: var(--on-dark-3);
  font-size: 14px;
  animation: fade-in .7s ease .4s both;
}

.hero__stats {
  margin-top: 52px;
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  animation: fade-in .7s ease .5s both;
}
.stat { display: flex; flex-direction: column; gap: 5px; align-items: center; }
.stat__value { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.stat__label { font-size: 13px; color: var(--on-dark-3); }

/* макет окна программы */
.hero__window { position: relative; max-width: 960px; margin: 72px auto 0; }
.hero__window::before {
  content: '';
  position: absolute;
  inset: -60px -80px;
  background: radial-gradient(60% 55% at 50% 30%, rgba(62,141,232,.35), rgba(190,106,240,.16) 55%, transparent 75%);
  filter: blur(30px);
}

.window {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.14);
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(4,10,22,.6);
  transition: transform .18s ease-out;
  will-change: transform;
}
.window img { display: block; width: 100%; }

.window__titlebar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.window__dot { width: 10px; height: 10px; border-radius: 50%; background: #2E3F63; }
.window__title { flex: 1; text-align: center; font-size: 13px; color: #8CA0C4; }
.window__spacer { width: 44px; }

/* плавающие плашки вокруг окна */
.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15,24,44,.92);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  padding: 11px 16px;
  color: #EAF0FB;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(4,10,22,.5);
}
.chip--tl { top: -18px;   left: -34px;  animation: floaty 7s ease-in-out infinite; }
.chip--tr { top: 96px;    right: -38px; animation: floaty 8s ease-in-out -2.5s infinite; }
.chip--bl { bottom: -18px; left: -26px; animation: floaty 9s ease-in-out -5s infinite; }

.chip__icon {
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: #fff;
}
.chip__icon--cb { background: linear-gradient(135deg, var(--cyan), var(--blue)); }
.chip__icon--bp { background: linear-gradient(135deg, var(--blue), var(--purple)); }
.chip__icon--pc { background: linear-gradient(135deg, var(--purple), var(--cyan)); }

/* 5. Бегущая строка --------------------------------------------- */
.marquee {
  background: var(--bg-darker);
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 16px 0;
  overflow: hidden;
}
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 40px; padding: 0 20px; }
.marquee__item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .08em;
  color: #DEE8F8;
}
.marquee__item--dim { color: #55688F; }
.marquee__star {
  font-size: 13px;
  background: linear-gradient(100deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 6. Секции и заголовки ------------------------------------------ */
.section { padding: 96px 0; scroll-margin-top: 70px; }
.section--light { background: var(--bg-light); }
.section--white { background: #fff; }
.section--navy  { background: var(--bg-navy); position: relative; overflow: hidden; }

.section__glow {
  position: absolute;
  width: 520px; height: 520px;
  right: -10%; top: -20%;
  border-radius: 50%;
  background: rgba(62,141,232,.16);
  filter: blur(100px);
  pointer-events: none;
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto; }

.kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.8vw, 44px);
  color: var(--ink);
}
.section-title--onDark { color: var(--on-dark); }

.section-lead {
  margin: 16px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.section-lead--onDark { color: var(--on-dark-2); }

.section-foot { margin-top: 28px; text-align: center; font-size: 14px; color: var(--muted); }
.section-foot--small { margin-top: 22px; font-size: 13px; color: var(--faint); }
.credit { margin-top: 26px; font-size: 13px; color: var(--faint); }

/* 7а. Возможности ------------------------------------------------ */
.features-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(13,21,38,.09);
  border-color: #CDD9EC;
}

.feature-card__icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #fff;
  margin-bottom: 18px;
}
.feature-card__icon--cb { background: linear-gradient(135deg, var(--cyan), var(--blue)); }
.feature-card__icon--bp { background: linear-gradient(135deg, var(--blue), var(--purple)); }
.feature-card__icon--pc { background: linear-gradient(135deg, var(--purple), var(--cyan)); }

.feature-card h3 { font-size: 19px; font-weight: 700; color: var(--ink); }
.feature-card p { margin-top: 10px; font-size: 15px; line-height: 1.62; color: var(--muted); }

/* 7б. Скриншоты (табы) ------------------------------------------- */
.tabs {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tab {
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid #D8E0EE;
  background: #fff;
  color: #41506B;
  transition: all .25s;
}
.tab:hover { border-color: #AEC2E2; }
.tab.is-active {
  border-color: transparent;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 22px rgba(62,141,232,.3);
}

.shots {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 44px;
  align-items: center;
}

.shots__viewer {
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
  background: #EEF2F9;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(13,21,38,.12);
}
.shots__shot { display: none; width: 100%; height: 380px; object-fit: cover; }
.shots__shot.is-active { display: block; animation: fade-in .5s ease both; }

.shots__info { display: none; }
.shots__info.is-active { display: block; animation: fade-in .4s ease both; }
.shots__info h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--ink);
  line-height: 1.3;
}
.shots__info p { margin-top: 14px; font-size: 16px; line-height: 1.65; color: var(--muted); }

.checklist { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.checklist li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
}

/* 8а. Галерея ----------------------------------------------------- */
.gallery-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 20px;
}

.art-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: #fff;
}
.art-card__zoom { display: block; width: 100%; overflow: hidden; cursor: zoom-in; }
.art-card__zoom img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform .5s;
}
.art-card__zoom:hover img { transform: scale(1.04); }

.art-card figcaption {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}
.art-card b { font-size: 15px; color: var(--ink); }
.art-card figcaption span { font-size: 13px; color: var(--faint); white-space: nowrap; }

/* 8б. Интерактивный холст ----------------------------------------- */
.paint {
  max-width: 900px;
  margin: 44px auto 0;
  background: var(--panel);
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 30px 80px rgba(4,10,22,.5);
  position: relative;
  z-index: 1;
}

.paint__toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 4px 6px 14px;
}

.paint__swatches { display: flex; gap: 10px; align-items: center; }
.swatch {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--swatch);
  border: 2px solid rgba(255,255,255,.9);
  box-shadow: 0 1px 5px rgba(0,0,0,.45);
  transition: transform .2s, box-shadow .2s;
}
.swatch.is-active {
  transform: scale(1.25);
  box-shadow: 0 0 0 3px rgba(69,211,230,.65);
}

.paint__divider { width: 1px; height: 26px; background: rgba(255,255,255,.12); }
.paint__spring { flex: 1; }

.paint__size { display: flex; align-items: center; gap: 10px; color: #C9D6EC; font-size: 14px; }
.paint__size input { accent-color: var(--blue); width: 130px; cursor: pointer; }
.paint__size b { min-width: 44px; }

.paint__btn {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.22);
  color: #C9D6EC;
  transition: all .2s;
}
.paint__btn:hover { border-color: rgba(255,255,255,.45); color: #fff; }
.paint__btn.is-active { border-color: transparent; background: var(--blue); color: #fff; }

.paint__canvas-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
#paint-canvas {
  display: block;
  width: 100%;
  height: 380px;
  cursor: crosshair;
  touch-action: none;
  background: #fff;
}
.paint__hint {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  color: #9AA8C2;
  font-size: 15px;
  font-weight: 500;
  transition: opacity .4s;
}
.paint__hint.is-hidden { opacity: 0; }

/* 8в. Видео -------------------------------------------------------- */
.video-frame {
  max-width: 920px;
  margin: 44px auto 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: var(--bg-navy);
  box-shadow: 0 30px 70px rgba(13,21,38,.16);
}
.video-frame video { width: 100%; aspect-ratio: 16 / 9; display: block; background: #000; }

/* 8г. Отзывы -------------------------------------------------------- */
.reviews-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}

.review-card {
  background: var(--bg-light);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.review-card__stars {
  font-size: 17px;
  letter-spacing: 3px;
  background: linear-gradient(100deg, #F2B23E, #E8503A);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.review-card blockquote {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  flex: 1;
}

.review-card footer { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.review-card footer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review-card footer div { display: flex; flex-direction: column; gap: 2px; }
.review-card footer b { font-size: 15px; color: var(--ink); }
.review-card footer span { font-size: 13px; color: var(--faint); }

/* 9. CTA «Скачать» и подвал ----------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  background: radial-gradient(900px 500px at 20% 0%, #182B4E 0%, var(--bg-dark) 60%);
  padding: 110px 0;
  scroll-margin-top: 70px;
}

.cta__watermark {
  position: absolute;
  right: -70px; bottom: -64px;
  width: 260px;
  opacity: .16;
  animation: floaty 9s ease-in-out infinite;
  pointer-events: none;
}
.cta__glow {
  position: absolute;
  width: 480px; height: 480px;
  left: -8%; bottom: -40%;
  border-radius: 50%;
  background: rgba(190,106,240,.18);
  filter: blur(100px);
  pointer-events: none;
}

.cta__inner { position: relative; text-align: center; }

.cta__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 60px);
  color: var(--on-dark);
  line-height: 1.12;
}

.cta__lead {
  margin: 18px auto 0;
  max-width: 560px;
  color: var(--on-dark-2);
  font-size: 17px;
  line-height: 1.65;
}

.cta__action { margin-top: 36px; }
.cta__note { margin-top: 16px; font-size: 14px; color: var(--on-dark-3); }
.cta__note a { color: #9FC1F2; }
.cta__note a:hover { color: #fff; }

.cta__specs {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cta__specs li {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  color: #A9B8D6;
}

.site-footer { background: var(--bg-darker); border-top: 1px solid rgba(255,255,255,.06); }

.site-footer__cols {
  padding-top: 48px;
  padding-bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 40px 64px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.site-footer__about { display: flex; flex-direction: column; gap: 16px; max-width: 440px; }
.site-footer__logo { height: 30px; width: auto; align-self: flex-start; }
.site-footer__about p { font-size: 13px; line-height: 1.65; color: #5F7096; }

.site-footer__links { display: flex; flex-direction: column; gap: 12px; }
.site-footer__links h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8CA0C4;
}
.site-footer__links a { font-size: 14px; color: #B9C6DF; }
.site-footer__links a:hover { color: #fff; }

.site-footer__bottom {
  padding-top: 20px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #5F7096;
}

/* 10а. Лайтбокс ------------------------------------------------------ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(7,13,25,.9);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 44px;
  cursor: zoom-out;
  animation: fade-in .22s ease both;
}
.lightbox[hidden] { display: none; }

.lightbox figure {
  max-width: min(1100px, 92vw);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  animation: pop-in .28s cubic-bezier(.22,.7,.25,1) both;
}
.lightbox img {
  max-width: 100%;
  max-height: 76vh;
  border-radius: 14px;
  box-shadow: 0 40px 120px rgba(0,0,0,.6);
}
.lightbox figcaption { color: #B9C6DF; font-size: 14px; text-align: center; }

.lightbox__close {
  position: absolute;
  top: 22px; right: 26px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 19px;
  border: 1px solid rgba(255,255,255,.22);
  transition: background .2s;
}
.lightbox__close:hover { background: rgba(255,255,255,.22); }

/* 10б. Появление секций при прокрутке -------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.22,.7,.25,1), transform .7s cubic-bezier(.22,.7,.25,1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* 10в. Ключевые кадры ------------------------------------------------- */
@keyframes drift   { from { transform: translate(0,0) scale(1); } to { transform: translate(46px,-34px) scale(1.14); } }
@keyframes floaty  { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pop-in  { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .marquee__track, .blob, .chip, .cta__watermark { animation: none; }
  html { scroll-behavior: auto; }
}

/* 10г. Адаптив -------------------------------------------------------- */
@media (max-width: 900px) {
  .shots { grid-template-columns: 1fr; gap: 28px; }
  .chip--tl { left: -8px; }
  .chip--tr { right: -8px; }
  .chip--bl { left: -8px; }
}

@media (max-width: 760px) {
  .site-nav > a:not(.btn) { display: none; }
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .hero__inner { padding-top: 56px; padding-bottom: 72px; }
  .hero__stats { gap: 32px; }
  .paint__toolbar { gap: 12px; }
}
