/* PERSOMA — тёмная тема, шрифт Manrope (Google Fonts) */

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

:root {
  --wine: #c45a78;
  --wine-dark: #7b1e3a;
  --wine-light: rgba(123, 30, 58, 0.22);
  --wine-muted: #d4a0b0;
  --bg: #0a0a0a;
  --bg-elevated: #141414;
  --ink: #f2f2f2;
  --ink-secondary: rgba(255, 255, 255, 0.68);
  --ink-muted: rgba(255, 255, 255, 0.45);
  --dark: #000000;
  --dark-elevated: #141414;
  --dark-card: #1a1a1a;
  --surface: #161616;
  --surface-alt: #222222;
  --card: #1c1c1c;
  --card-hover: #262626;
  --white: #ffffff;
  --border: rgba(255, 255, 255, 0.1);
  --border-dark: rgba(255, 255, 255, 0.16);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.55);
  --radius-shell: 32px;
  --radius: 24px;
  --radius-sm: 20px;
  --radius-xs: 16px;
  --radius-pill: 100px;
  --radius-btn: 8px;
  --radius-btn-lg: 12px;
  --font: "Manrope", system-ui, -apple-system, sans-serif;
  --header-h: 64px;
  --transition: 0.25s ease;
  --container: 1400px;
  --shell-inset: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body.persoma-body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
}

strong,
b {
  font-weight: 500;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - var(--shell-inset) * 2));
  margin-inline: auto;
}

.section-shell {
  margin-inline: 4px;
  padding: 56px 0;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}

.section-shell--dark {
  background: var(--surface-alt);
  border-color: var(--border-dark);
  color: var(--white);
}

.section-shell--faq {
  margin-top: 4px;
}

@media (min-width: 1024px) {
  .section-shell {
    padding: 100px 0;
    border-radius: var(--radius-shell);
  }
}

@media (min-width: 1280px) {
  .section-shell {
    width: calc(100% - 40px);
    max-width: var(--container);
    margin-inline: auto;
  }
}

/* Header — тёмный sticky */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow:
    0 0 2px rgba(0, 0, 0, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.35);
}

.site-header .site-nav a {
  color: var(--ink);
}

.site-header .site-nav a:hover {
  color: var(--ink-secondary);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
  padding-block: 13px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo img {
  height: 48px;
  width: auto;
  flex-shrink: 0;
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}

.site-logo__name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.site-logo__tagline {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--white);
  max-width: 210px;
}

.site-logo__light {
  color: var(--white);
}

.site-logo__accent {
  color: #e8384f;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 1;
  min-width: 0;
}

.site-maso {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-left: 20px;
  border-left: 1px solid var(--border);
}

.site-maso__logo {
  height: 32px;
  width: auto;
}

.site-maso__link {
  display: inline-flex;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.site-maso__link:hover {
  opacity: 0.82;
}

.site-maso__license {
  margin: 0;
  font-size: 10px;
  line-height: 1.35;
  color: var(--ink-muted);
  max-width: 220px;
}

.site-branding--footer {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.site-maso--footer {
  display: flex;
  padding-left: 0;
  border-left: none;
  gap: 8px;
}

.site-maso__caption {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.site-maso__expansion {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-muted);
  max-width: 280px;
}

.site-maso__logo--footer {
  height: 56px;
  width: auto;
}

.site-footer__org {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--ink-muted);
  max-width: 420px;
}

.badge--start {
  border-color: rgba(255, 255, 255, 0.24);
}

.expert-block {
  display: grid;
  gap: 32px;
  align-items: center;
}

.expert-block__media {
  max-width: 420px;
  margin-inline: auto;
}

.expert-block__media img {
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 1;
}

.expert-block__media--portrait {
  max-width: 340px;
}

.expert-block__media--portrait img {
  aspect-ratio: 3 / 4;
}

.expert-block__content .section__title.expert-block__label {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--ink-secondary);
}

.expert-block__name {
  margin: 0 0 16px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.expert-block__lead {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 16px;
}

.expert-block__content p {
  margin: 0 0 16px;
  color: var(--ink-secondary);
}

@media (max-width: 899px) {
  .site-branding {
    gap: 12px;
  }

  .site-logo__tagline {
    max-width: 140px;
    font-size: 10px;
  }
}

@media (min-width: 900px) {
  .site-maso {
    display: flex;
  }

  .expert-block {
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 48px;
  }

  .expert-block--hr {
    grid-template-columns: minmax(220px, 340px) 1fr;
  }
}

@media (min-width: 1024px) {
  .site-header .site-logo {
    padding-left: 30px;
  }
}

.site-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.site-nav a {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.mobile-nav a {
  color: var(--ink);
  font-weight: 500;
  padding: 8px 0;
}

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

/* Buttons — ui-button Skillbox */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color 150ms ease-out,
    color 150ms ease-out,
    border-color 150ms ease-out;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
}

.btn--primary {
  background: var(--wine-dark);
  color: var(--white);
  border-color: var(--wine-dark);
}

.btn--primary:hover {
  background: var(--wine);
  border-color: var(--wine);
}

.btn--white {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.btn--white:hover {
  background: #e8e8e8;
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-dark);
}

.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: var(--card-hover);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--sm {
  padding: 9px 20px;
  font-size: 14px;
  border-radius: var(--radius-btn);
}
.btn--lg {
  padding: 17px 32px;
  font-size: 18px;
  border-radius: var(--radius-btn-lg);
}
.btn--block {
  width: 100%;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  line-height: 16px;
}

.badge--wine {
  background: var(--wine);
  color: var(--white);
}
.badge--dark {
  background: var(--dark-card);
  color: var(--white);
}
.badge--outline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.badge--outline-dark {
  background: var(--card);
  color: var(--ink-secondary);
  border: 1px solid var(--border);
}
.badge--sm {
  padding: 4px 12px;
  font-size: 12px;
}

/* Hero — фоновое изображение на весь блок */
.hero {
  padding: 8px 4px 4px;
}

.hero__shell {
  position: relative;
  max-width: var(--container);
  margin-inline: auto;
  padding: 48px 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  background: var(--dark);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  display: block;
  width: 100%;
  height: 80%;
  object-fit: cover;
  object-position: left top;
}

@media (min-width: 1025px) {
  .hero__bg img {
    display: block;
    width: 100%;
    height: 70%;
    object-fit: contain;
    object-position: right;
  }

  .hero__overlay {
    background: linear-gradient(
      268deg,
      rgba(0, 0, 0, 0.01) 0%,
      rgba(0, 0, 0, 0.25) 62%,
      rgba(0, 0, 0, 0.85) 100%
    );
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    268deg,
    rgba(0, 0, 0, 0.01) 0%,
    rgba(0, 0, 0, 0.25) 62%,
    rgba(0, 0, 0, 0.85) 100%
  );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero__grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.hero__content {
  max-width: 720px;
}

.hero__eyebrow {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 16px;
  line-height: 22px;
}

.hero__title {
  font-size: 36px;
  font-weight: 500;
  line-height: 38px;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

.hero__title-sub {
  display: block;
  margin-top: 8px;
  font-size: 0.52em;
  font-weight: 400;
  line-height: 1.3;
  color: var(--wine-muted);
}

.hero__subtitle {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  max-width: 560px;
  line-height: 22px;
}

.hero__bar {
  margin-top: auto;
  padding-top: 8px;
}

.hero__benefits {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__benefit-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: rgba(22, 22, 22, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.hero__benefit-card::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--wine) 0%, var(--wine-muted) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.hero__benefit-card:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 90, 120, 0.45);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero__benefit-num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(
    145deg,
    rgba(123, 30, 58, 0.45) 0%,
    rgba(22, 22, 22, 0.9) 100%
  );
  color: var(--wine-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(196, 90, 120, 0.25);
}

.hero__benefit-body {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.hero__benefit-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.hero__benefit-desc {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-secondary);
}

@media (min-width: 768px) {
  .hero__shell {
    padding-bottom: 32px;
    min-height: 560px;
  }

  .hero__title {
    font-size: 46px;
    line-height: 48px;
    letter-spacing: -0.01em;
  }
}

@media (min-width: 1024px) {
  .hero__shell {
    padding: 48px 44px 48px;
    border-radius: var(--radius-shell);
    min-height: 640px;
  }

  .hero__title {
    font-size: 52px;
    line-height: 54px;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
  }

  .hero__eyebrow {
    margin-bottom: 24px;
  }

  .hero__benefits {
    flex-direction: row;
    gap: 12px;
    margin-top: 48px;
  }

  .hero__benefit-card {
    flex: 1 1 0;
    flex-direction: column;
    gap: 20px;
    padding: 28px 24px 24px;
    border-radius: var(--radius);
  }

  .hero__benefit-card::before {
    top: auto;
    bottom: auto;
    left: 24px;
    right: 24px;
    width: auto;
    height: 3px;
    border-radius: 3px 3px 0 0;
  }

  .hero__benefit-num {
    width: 48px;
    height: 48px;
    font-size: 14px;
    border-radius: 16px;
  }

  .hero__benefit-title {
    font-size: 17px;
  }
}

@media (min-width: 1280px) {
  .hero__shell {
    width: calc(100% - 40px);
    min-height: 720px;
    padding: 56px 44px 64px;
  }

  .hero__title {
    font-size: 60px;
    line-height: 60px;
    letter-spacing: -0.01em;
    margin-bottom: 32px;
  }

  .hero__content {
    max-width: 820px;
  }
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

/* Promo strip — ui-info Skillbox */
.promo-strip {
  padding: 32px 0 48px;
}

.promo-strip__shell {
  padding: 32px 20px;
  border-radius: var(--radius-xs);
  background: var(--surface);
  border: 1px solid var(--border);
}

.promo-strip__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.promo-strip__title {
  font-size: 28px;
  font-weight: 500;
  line-height: 30px;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.promo-strip__text {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 16px;
  line-height: 22px;
  max-width: 640px;
}

@media (min-width: 768px) {
  .promo-strip__shell {
    padding: 32px;
  }
}

@media (min-width: 1024px) {
  .promo-strip__shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 48px;
    border-radius: var(--radius-sm);
  }

  .promo-strip__inner {
    grid-template-columns: 1fr auto;
    flex: 1;
    gap: 32px;
  }

  .promo-strip__title {
    font-size: 32px;
    line-height: 36px;
    margin-bottom: 8px;
  }
}

/* Sections */
.section {
  padding: 48px 0;
}

.section--surface {
  background: transparent;
}

.section--dark {
  background: transparent;
  color: var(--white);
  margin: 0;
  border-radius: 0;
  padding: 32px 0;
}

.section--dark .section-shell--dark {
  color: var(--white);
}

.section--dark .section__title {
  color: var(--white);
}

@media (min-width: 1280px) {
  .section--dark .section-shell--dark {
    width: calc(100% - 40px);
    max-width: var(--container);
    margin-inline: auto;
  }
}
.section--hidden {
  display: none;
}

.section__head {
  margin-bottom: 32px;
  max-width: 776px;
}

@media (min-width: 1024px) {
  .section__head {
    margin-bottom: 56px;
  }
}
.section__head--center {
  text-align: center;
  margin-inline: auto;
}

.section__label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-secondary);
  margin-bottom: 12px;
}

.section--dark .section__label {
  color: rgba(255, 255, 255, 0.55);
}

.section__title {
  font-size: 32px;
  font-weight: 500;
  line-height: 34px;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

@media (min-width: 1024px) {
  .section__title {
    font-size: 40px;
    line-height: 42px;
  }
}

.section__desc {
  font-size: 16px;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 22px;
}

.section--dark .section__desc {
  color: rgba(255, 255, 255, 0.65);
}

.section__cta {
  margin-top: 48px;
  text-align: center;
}

/* Why cards — universal-list-v2 Skillbox */
.why-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.why-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  min-height: auto;
}

@media (min-width: 1024px) {
  .why-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-card {
    padding: 32px;
    border-radius: var(--radius-shell);
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
}

.why-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  margin: 0 0 8px;
}

.why-card__title--accent {
  color: var(--wine);
}

.why-card__text {
  margin: 0;
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 16px;
  font-weight: 500;
}

/* Audience — universal-list-v2 */
.cards-grid {
  display: grid;
  gap: 8px;
}

.cards-grid--4 {
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .cards-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .cards-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.audience-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
}

@media (min-width: 1024px) {
  .audience-card {
    padding: 32px;
    border-radius: var(--radius-shell);
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}

.audience-card:hover {
  transform: none;
  background: var(--card-hover);
  border-color: var(--border-dark);
}

.audience-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--wine-light);
  margin-bottom: 0;
  position: relative;
  flex-shrink: 0;
}

.audience-card__icon::after {
  content: "";
  position: absolute;
  inset: 8px;
  background: var(--wine);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.audience-card__icon[data-icon="users"]::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E");
}
.audience-card__icon[data-icon="calc"]::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 14H7v-2h5v2zm5 0h-2v-2h2v2zm0-4H7v-2h10v2zm0-4H7V7h10v2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 14H7v-2h5v2zm5 0h-2v-2h2v2zm0-4H7v-2h10v2zm0-4H7V7h10v2z'/%3E%3C/svg%3E");
}
.audience-card__icon[data-icon="child"]::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
}
.audience-card__icon[data-icon="office"]::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20 6h-4V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-6 0h-4V4h4v2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20 6h-4V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-6 0h-4V4h4v2z'/%3E%3C/svg%3E");
}
.audience-card__icon[data-icon="lead"]::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
}
.audience-card__icon[data-icon="biz"]::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z'/%3E%3C/svg%3E");
}
.audience-card__icon[data-icon="team"]::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M16 4c0-1.11.89-2 2-2s2 .89 2 2-.89 2-2 2-2-.89-2-2zm4 18v-6h2.5l-2.54-7.63A2.01 2.01 0 0018.06 7H16c-.8 0-1.54.37-2.01 1l-2.7 3.6c-.34.45-.49 1-.43 1.55L12 18H9v-5H7v10h13z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M16 4c0-1.11.89-2 2-2s2 .89 2 2-.89 2-2 2-2-.89-2-2zm4 18v-6h2.5l-2.54-7.63A2.01 2.01 0 0018.06 7H16c-.8 0-1.54.37-2.01 1l-2.7 3.6c-.34.45-.49 1-.43 1.55L12 18H9v-5H7v10h13z'/%3E%3C/svg%3E");
}
.audience-card__icon[data-icon="start"]::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z'/%3E%3C/svg%3E");
}

.audience-card__title {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 8px;
  line-height: 20px;
}

.audience-card__text {
  font-size: 14px;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 16px;
  font-weight: 500;
}

/* Skills — resume-v3 */
.skills-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 1024px) {
  .skills-block {
    grid-template-columns: 380px 1fr;
    gap: 48px;
  }
}

.skills-block__media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
}

@media (min-width: 1024px) {
  .skills-block__media {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    border-radius: var(--radius-sm);
  }
}

.skills-block__media img {
  display: block;
  width: 100%;
  aspect-ratio: 400 / 480;
  object-fit: cover;
  object-position: center;
}

.skills-block__role {
  display: block;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-secondary);
  margin-bottom: 8px;
}

.skills-block__heading {
  font-size: 28px;
  font-weight: 500;
  line-height: 30px;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}

.skills-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skills-list li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 22px;
  color: var(--ink-secondary);
}

.skills-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wine);
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 56px;
}

@media (min-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.skill-card__title {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 8px;
  line-height: 20px;
}

.skill-card__text {
  font-size: 14px;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 16px;
  font-weight: 500;
}

.skill-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
}

@media (min-width: 1024px) {
  .skill-card {
    padding: 32px;
    border-radius: var(--radius-shell);
  }
}

.skill-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.tag-практика {
  background: rgba(45, 106, 79, 0.28);
  color: #8fd4b0;
}
.tag-для-работы {
  background: var(--wine-light);
  color: var(--wine-muted);
}
.tag-для-бизнеса {
  background: rgba(74, 61, 107, 0.32);
  color: #c4b5e8;
}
.tag-автоматизация {
  background: rgba(139, 90, 43, 0.28);
  color: #e8c08a;
}
.tag--sm {
  font-size: 10px;
  padding: 2px 8px;
}

.skill-card__title {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.3;
}

.skill-card__text {
  font-size: 14px;
  color: var(--ink-secondary);
  margin: 0;
}

/* Gallery — вертикальные кейсы (912×1168) */
.gallery-scroll {
  --gallery-ratio: 912 / 1168;
  display: flex;
  gap: 12px;
  margin: 0 -4px 40px;
  padding: 4px 4px 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gallery-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  position: relative;
  flex: 0 0 min(240px, 70vw);
  scroll-snap-align: start;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--card);
  aspect-ratio: var(--gallery-ratio);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.12) 0%,
    transparent 28%,
    rgba(0, 0, 0, 0.45) 72%,
    rgba(0, 0, 0, 0.9) 100%
  );
  pointer-events: none;
}

.gallery-card:hover {
  border-color: rgba(196, 90, 120, 0.45);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  transform: translateY(-4px);
}

.gallery-card__media {
  position: absolute;
  inset: 0;
}

.gallery-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.45s ease-out;
}

.gallery-card:hover .gallery-card__media img {
  transform: scale(1.04);
}

.gallery-card__index {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--wine-muted);
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.gallery-card__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  margin: 0;
  padding: 18px 16px 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--white);
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .gallery-scroll {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 48px;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
  }

  .gallery-card {
    flex: unset;
    width: 100%;
    max-width: none;
  }
}

@media (min-width: 1024px) {
  .gallery-scroll {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 56px;
  }

  .gallery-card__label {
    padding: 20px 18px 18px;
    font-size: 16px;
  }
}

/* Program */
.program-stats {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px 28px 0;
  gap: 0;
}

@media (min-width: 1024px) {
  .program-stats {
    margin: 0 -24px 48px 0;
  }
}

.program-stats__item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 12px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  color: var(--ink-secondary);
}

.program-stats__item::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M16.667 5L7.5 14.167 3.333 10' stroke='%23c45a78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

@media (min-width: 1024px) {
  .program-stats__item {
    margin-right: 24px;
    margin-bottom: 24px;
  }
}

.program-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .program-accordion {
    border-radius: var(--radius-shell);
  }
}

.program-item {
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid var(--border);
}

.program-item:last-child {
  border-bottom: none;
}

.program-item__trigger {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  transition: background var(--transition);
}

@media (min-width: 1024px) {
  .program-item__trigger {
    padding: 24px 32px;
  }
}

.program-item__trigger:hover {
  background: var(--card-hover);
}

.program-item__num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  background: #1b1b1b;
  border-radius: 12px;
  border: 1px solid #282828;
}

@media (min-width: 1024px) {
  .program-item__num {
    width: 56px;
    height: 56px;
    font-size: 16px;
    border-radius: 16px;
  }
}

.program-item__main {
  flex: 1;
  min-width: 0;
}

.program-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.program-item__duration {
  font-size: 14px;
  color: var(--ink-muted);
  font-weight: 500;
  line-height: 16px;
}

.program-item__title {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: var(--ink);
}

.program-item__chevron {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-alt);
  position: relative;
  margin-top: 4px;
  transition: transform var(--transition);
}

.program-item__chevron::before,
.program-item__chevron::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 2px;
  background: var(--ink-secondary);
}

.program-item__chevron::before {
  left: 10px;
  transform: translateY(-50%) rotate(45deg);
}
.program-item__chevron::after {
  right: 10px;
  transform: translateY(-50%) rotate(-45deg);
}

.program-item.is-open .program-item__chevron {
  transform: rotate(180deg);
}

.program-item__panel {
  padding: 0 28px 24px 88px;
}

.program-item__topics {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.program-item__topics li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--ink-secondary);
}

.program-item__topics li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wine);
}

/* Project */
.project-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.project-block__visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--dark);
}

.project-block__visual img {
  display: block;
  width: 100%;
  aspect-ratio: 1037 / 768;
  object-fit: cover;
  object-position: center;
}

.project-block--hr .project-block__visual {
  background: var(--bg);
  border-color: var(--border-dark);
}

.project-block--hr .project-block__visual img {
  width: 100%;
  aspect-ratio: 991 / 768;
  object-fit: cover;
  object-position: center;
}

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

.check-list li {
  position: relative;
  padding-left: 32px;
  font-size: 16px;
  color: var(--ink-secondary);
  line-height: 1.45;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--wine-muted);
  background: var(--wine-light);
  border-radius: 50%;
}

/* Format */
.format-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 768px) {
  .format-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .format-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.format-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
}

@media (min-width: 1024px) {
  .format-card {
    padding: 32px;
    border-radius: var(--radius-shell);
  }
}

.format-card__num {
  font-size: 32px;
  font-weight: 500;
  color: var(--ink);
  line-height: 36px;
  margin-bottom: 16px;
}

.format-card h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 8px;
  line-height: 20px;
}

.format-card p {
  font-size: 14px;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 16px;
  font-weight: 500;
}

/* Certificate */
.certificate-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.certificate-block__visual {
  max-width: 82%;
  justify-self: center;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--card);
}

.certificate-block__visual img {
  display: block;
  width: 100%;
  aspect-ratio: 482 / 396;
  object-fit: cover;
  object-position: center;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.review-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
}

@media (min-width: 1024px) {
  .review-card {
    padding: 32px;
    border-radius: var(--radius-shell);
  }
}

.section--dark .review-card__text {
  color: rgba(255, 255, 255, 0.7);
  line-height: 22px;
}

.section--dark .review-card__author span {
  color: rgba(255, 255, 255, 0.45);
}

.section--dark .review-card__author strong {
  color: var(--white);
  font-weight: 500;
}

.review-card__stars {
  color: #f5a623;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-card__text {
  font-size: 16px;
  color: var(--ink-secondary);
  margin: 0 0 24px;
  line-height: 1.6;
}

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

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--wine-light);
  color: var(--wine);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.review-card__author strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.review-card__author span {
  font-size: 13px;
  color: var(--ink-muted);
}

/* Telegram-скриншоты отзывов */
.reviews-screenshots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
  max-width: 960px;
  margin-inline: auto;
}

.reviews-screenshots__item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  margin: 0;
}

.reviews-screenshots__trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  position: relative;
  transition: transform var(--transition);
}

.reviews-screenshots__trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.reviews-screenshots__trigger:hover::after,
.reviews-screenshots__trigger:focus-visible::after {
  opacity: 1;
}

.reviews-screenshots__trigger:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 2px;
}

.reviews-screenshots__trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

@media (max-width: 1023px) {
  .reviews-screenshots {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 4px;
    margin-bottom: 24px;
    max-width: none;
  }

  .reviews-screenshots__item {
    flex: 0 0 min(240px, 68vw);
    scroll-snap-align: start;
    aspect-ratio: 9 / 15;
  }
}

@media (min-width: 1024px) {
  .reviews-screenshots__item {
    aspect-ratio: 9 / 13;
    max-height: 420px;
  }
}

.reviews-screenshots--hr {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1200px;
  margin-inline: auto;
  margin-bottom: 32px;
  align-items: stretch;
}

.reviews-screenshots--hr .reviews-screenshots__item {
  display: flex;
  flex-direction: column;
  margin: 0;
  aspect-ratio: auto;
  max-height: none;
  min-height: 0;
  height: 100%;
}

.reviews-screenshots--hr .reviews-screenshots__trigger {
  display: flex;
  flex: 1;
  min-height: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.04);
}

.reviews-screenshots--hr .reviews-screenshots__trigger img {
  width: 100%;
  height: auto;
  max-height: min(480px, 58vh);
  object-fit: contain;
  object-position: top center;
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .reviews-screenshots--hr {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
  }
}

@media (min-width: 1024px) {
  .reviews-screenshots--hr .reviews-screenshots__item {
    aspect-ratio: auto;
    max-height: none;
  }
}

@media (max-width: 1023px) {
  .reviews-screenshots--hr {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 4px;
    max-width: none;
  }

  .reviews-screenshots--hr .reviews-screenshots__item {
    flex: 0 0 min(240px, 68vw);
    scroll-snap-align: start;
    aspect-ratio: auto;
    max-height: none;
  }

  .reviews-screenshots--hr .reviews-screenshots__trigger {
    min-height: 0;
  }
}

/* Лайтбокс отзывов */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: zoom-out;
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  max-width: min(520px, 92vw);
  max-height: calc(100vh - 48px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-lg);
}

.lightbox__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox__close:hover {
  background: var(--card-hover);
}

body.lightbox-open {
  overflow: hidden;
}

/* Pop-up: консультация / exit intent */
.popup {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.popup[hidden] {
  display: none !important;
}

.popup__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.popup__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 28px 28px;
  box-shadow: var(--shadow-lg);
}

.popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.popup__close:hover {
  background: var(--card-hover);
}

.popup__title {
  margin: 0 32px 12px 0;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  line-height: 1.25;
}

.popup__text {
  margin: 0 0 20px;
  color: var(--ink-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.popup__form {
  min-height: 80px;
}

/* Bitrix24 CRM — кнопка отправки как .btn--primary */
.b24-form-btn-block {
  width: 100%;
}

.b24-form-btn-block .b24-form-btn {
  width: 100%;
}

.b24-form-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  padding: 13px 24px !important;
  font-family: var(--font) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
  border-radius: var(--radius-btn) !important;
  border: 1px solid var(--wine-dark) !important;
  background: var(--wine-dark) !important;
  color: var(--white) !important;
  cursor: pointer !important;
  transition:
    background-color 150ms ease-out,
    border-color 150ms ease-out !important;
}

.b24-form-btn:hover,
.b24-form-btn:focus {
  background: var(--wine) !important;
  border-color: var(--wine) !important;
  color: var(--white) !important;
}

body.popup-open {
  overflow: hidden;
}

.section--hidden {
  display: none !important;
}

/* Tariffs — карточки как Skillbox pricing */
.tariffs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .tariffs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .tariffs-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .tariff-card {
    padding: 28px 20px;
  }

  .tariff-card__name {
    font-size: 18px;
    line-height: 22px;
  }

  .tariff-card__features li {
    font-size: 13px;
  }
}

.tariff-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-shell);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
}

.program-timeline {
  display: none;
}

.section-shell--program {
  margin-top: 4px;
}

.tariff-card--featured {
  background: linear-gradient(
    160deg,
    rgba(123, 30, 58, 0.55) 0%,
    #1a1014 55%,
    var(--card) 100%
  );
  border-color: rgba(196, 90, 120, 0.45);
  color: var(--white);
}

.tariff-card--featured .tariff-card__desc,
.tariff-card--featured .tariff-card__features li {
  color: rgba(255, 255, 255, 0.7);
}

.tariff-card__badge {
  position: absolute;
  top: -14px;
  left: 28px;
  background: var(--wine);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.tariff-card__name {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 20px;
  line-height: 24px;
}

.tariff-card__desc {
  font-size: 14px;
  color: var(--ink-secondary);
  margin: 0 0 28px;
  line-height: 1.5;
}

.tariff-card__price {
  margin: 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.tariff-card__price-value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.tariff-card__price-old {
  font-size: 16px;
  color: var(--ink-muted);
  text-decoration: line-through;
}

.tariff-card--featured .tariff-card__price-old {
  color: rgba(255, 255, 255, 0.45);
}

.tariff-card--featured .tariff-card__price-value {
  color: var(--white);
}

.tariff-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 28px;
}

.tariff-card__features li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.45;
}

.tariff-card__feature--no {
  color: var(--ink-muted);
}

.tariff-card__feature--no::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--ink-muted);
  font-weight: 700;
}

.tariff-card__feature--note {
  padding-left: 0;
  font-size: 12px;
  color: var(--ink-muted);
  font-style: italic;
}

.tariff-card__feature--note::before {
  content: none;
}

.tariff-card__feature--highlight {
  color: var(--ink);
  font-weight: 700;
}

.tariff-card--featured .tariff-card__feature--yes {
  color: rgba(255, 255, 255, 0.85);
}

.tariff-card--featured .tariff-card__feature--no {
  color: rgba(255, 255, 255, 0.45);
}

.tariff-card--featured .tariff-card__feature--note {
  color: rgba(255, 255, 255, 0.45);
}

.tariff-card--featured .tariff-card__feature--highlight {
  color: var(--white);
}

.tariff-card__feature--yes::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--wine);
  font-weight: 800;
}

.tariff-card--featured .tariff-card__feature--yes::before {
  color: var(--wine-muted);
}

.tariff-card--featured .tariff-card__feature--no::before {
  color: rgba(255, 255, 255, 0.45);
}

.tariff-card .btn--outline {
  border-color: var(--border);
}

.tariff-card--featured .btn--primary {
  background: var(--wine);
}

/* FAQ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .faq-accordion {
    border-radius: var(--radius-shell);
  }
}

.faq-item {
  background: var(--card);
  border-radius: 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  text-align: left;
  color: var(--ink);
  transition: background var(--transition);
}

@media (min-width: 1024px) {
  .faq-item__trigger {
    padding: 24px 32px;
    font-size: 18px;
    line-height: 22px;
  }
}

.faq-item__trigger:hover {
  background: var(--card-hover);
}

.faq-item__chevron {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-alt);
  position: relative;
  transition: transform var(--transition);
}

.faq-item__chevron::before,
.faq-item__chevron::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 2px;
  background: var(--ink-secondary);
}

.faq-item__chevron::before {
  left: 10px;
  transform: translateY(-50%) rotate(45deg);
}
.faq-item__chevron::after {
  right: 10px;
  transform: translateY(-50%) rotate(-45deg);
}

.faq-item.is-open .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__panel {
  padding: 0 28px 24px;
}

.faq-item__panel p {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  color: var(--ink-secondary);
}

/* Final CTA */
.final-cta-section {
  background: transparent;
  color: var(--ink);
  padding: 48px 0;
}

.final-cta-section .container {
  width: calc(100% - 8px);
  max-width: var(--container);
  margin-inline: auto;
  padding: 56px 24px;
  border-radius: var(--radius-sm);
  background: linear-gradient(
    135deg,
    #2a1520 0%,
    #161016 45%,
    var(--surface-alt) 100%
  );
  border: 1px solid rgba(196, 90, 120, 0.35);
  color: var(--white);
}

@media (min-width: 1280px) {
  .final-cta-section .container {
    width: calc(100% - 40px);
  }
}

@media (min-width: 1024px) {
  .final-cta-section .container {
    padding: 80px 64px;
    border-radius: var(--radius-shell);
  }
}

.final-cta {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.final-cta__title {
  font-size: 32px;
  font-weight: 500;
  line-height: 34px;
  margin: 0 0 16px;
}

@media (min-width: 1024px) {
  .final-cta__title {
    font-size: 40px;
    line-height: 42px;
  }
}

.final-cta__desc {
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 22px;
}

.final-cta__points {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  max-width: 400px;
  margin-inline: auto;
  margin-bottom: 32px;
}

.final-cta__points li {
  padding-left: 24px;
  position: relative;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
}

.final-cta__points li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--wine-muted);
  font-weight: 700;
}

/* Cross-promo: другой курс */
.course-promo {
  padding: 0 0 48px;
}

.course-promo__shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(196, 90, 120, 0.28);
  background: linear-gradient(
    145deg,
    rgba(42, 21, 32, 0.95) 0%,
    var(--surface) 42%,
    var(--surface-alt) 100%
  );
  box-shadow: var(--shadow-lg);
  transition:
    border-color var(--transition),
    transform var(--transition);
}

.course-promo__shell:hover {
  border-color: rgba(196, 90, 120, 0.5);
}

.course-promo__media {
  display: block;
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background: var(--bg);
}

.course-promo__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(10, 10, 10, 0.75) 100%
  );
  pointer-events: none;
}

.course-promo__media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.course-promo__shell:hover .course-promo__media img {
  transform: scale(1.03);
}

.course-promo__body {
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.course-promo__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wine-muted);
  margin-bottom: 12px;
}

.course-promo__title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
}

.course-promo__subtitle {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--wine-muted);
}

.course-promo__text {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-secondary);
  max-width: 52ch;
}

.course-promo__tags {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.course-promo__tags li {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
}

@media (min-width: 1024px) {
  .course-promo {
    padding-bottom: 64px;
  }

  .course-promo__shell {
    grid-template-columns: 1.05fr 1fr;
    border-radius: var(--radius-shell);
    align-items: stretch;
  }

  .course-promo--reverse .course-promo__shell {
    grid-template-columns: 1fr 1.05fr;
  }

  .course-promo--reverse .course-promo__media {
    order: 2;
  }

  .course-promo--reverse .course-promo__body {
    order: 1;
  }

  .course-promo__media {
    min-height: 100%;
  }

  .course-promo__media::after {
    background: linear-gradient(
      90deg,
      transparent 35%,
      rgba(10, 10, 10, 0.55) 100%
    );
  }

  .course-promo--reverse .course-promo__media::after {
    background: linear-gradient(
      270deg,
      transparent 35%,
      rgba(10, 10, 10, 0.55) 100%
    );
  }

  .course-promo__body {
    padding: 48px 56px;
    justify-content: center;
  }

  .course-promo__title {
    font-size: 36px;
  }
}

/* Footer — ui-footer Skillbox */
.site-footer {
  background: var(--bg);
  color: rgba(255, 255, 255, 0.65);
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1fr 2fr;
  gap: 40px;
  align-items: start;
}

.site-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer__tagline {
  font-size: 14px;
  margin: 16px 0 0;
  max-width: 300px;
  line-height: 1.5;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__links a,
.site-footer__link-btn {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font);
  cursor: pointer;
  text-align: left;
}

.site-footer__links a:hover,
.site-footer__link-btn:hover {
  color: var(--white);
}

.site-footer__legal {
  font-size: 12px;
  line-height: 1.6;
}

.site-footer__legal p {
  margin: 0 0 8px;
}

.site-footer__phone {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-footer__phone a {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

.site-footer__phone a:hover {
  color: var(--wine-muted);
}

.site-footer__phone-note {
  font-size: 12px;
  color: var(--ink-muted);
}

.site-footer__email {
  margin: 0;
}

.site-footer__email a {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.site-footer__email a:hover {
  color: var(--white);
}

.site-footer__address {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 240px;
}

.site-footer__legal-links {
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}

.site-footer__legal-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__legal-links a:hover {
  color: var(--white);
}

.site-footer__legal-sep {
  color: rgba(255, 255, 255, 0.35);
}

/* Responsive */
@media (max-width: 1024px) {
  .skills-block,
  .project-block,
  .certificate-block,
  .promo-strip__inner {
    grid-template-columns: 1fr;
  }

  .promo-strip__inner {
    text-align: left;
  }

  .promo-strip__inner .btn {
    width: 100%;
  }

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

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

  .tariffs-grid {
    grid-template-columns: 1fr;
    max-width: none;
    margin-inline: 0;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  .site-nav,
  .header-cta {
    display: none;
  }
  .burger {
    display: flex;
  }

  .site-logo img {
    height: 40px;
  }

  .site-maso__logo--footer {
    height: 40px;
  }

  .site-logo__name {
    font-size: 17px;
  }

  .section {
    padding: 40px 0;
  }

  .hero__grid {
    text-align: center;
  }

  .hero__bg img {
    object-position: center;
  }
  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.95) 42%,
      rgba(0, 0, 0, 0.85) 100%
    );
  }

  .hero__eyebrow,
  .hero__subtitle,
  .hero__title {
    text-align: center;
  }

  .hero__subtitle {
    margin-inline: auto;
  }

  .hero__bar {
    width: 100%;
  }

  .hero__bar .btn {
    width: 100%;
  }

  .hero__benefits {
    flex-direction: row;
    gap: 12px;
    margin-top: 28px;
    margin-inline: -16px;
    padding: 4px 16px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hero__benefits::-webkit-scrollbar {
    display: none;
  }

  .hero__benefit-card {
    flex: 0 0 min(300px, 88vw);
    scroll-snap-align: start;
    text-align: left;
  }

  .program-item__panel {
    padding-left: 28px;
  }

  .hero__badges {
    justify-content: center;
  }

  .hero__badges .badge--outline:last-child {
    display: none;
  }
}

@media (max-width: 600px) {
  .cards-grid--4,
  .format-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .container {
    width: calc(100% - 32px);
  }

  .section-shell,
  .hero__shell,
  .final-cta-section .container {
    margin-inline: 4px;
    width: auto;
  }
}
