:root {
  --bg: #fbf9f6;
  --bg-elevated: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: #ffffff;
  --ink: #1f1830;
  --ink-muted: #5d5470;
  --line: rgba(31, 24, 48, 0.1);
  --gold: #e59c15;
  --gold-deep: #c27803;
  --cyan: #06b6d4;
  --pink: #ec4899;
  --purple: #8b5cf6;
  --green: #22c55e;
  --orange: #f97316;
  --radius: 16px;
  --radius-lg: 24px;
  --shell-width: 1320px;
  --shadow: 0 24px 80px rgba(31, 24, 48, 0.12);
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image: url('../images/background-pattern.jpg');
  background-repeat: repeat;
  background-size: 380px;
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Приглушаем узор в боковых полях, чтобы он не спорил с контентом */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(251, 249, 246, 0.62), rgba(251, 249, 246, 0.48));
}

/* Чистое «полотно» под контентом: узор остаётся только по бокам */
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--shell-width), 100%);
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 10% -6%, rgba(139, 92, 246, 0.1), transparent 62%),
    radial-gradient(820px 520px at 94% 10%, rgba(236, 72, 153, 0.08), transparent 62%),
    radial-gradient(760px 520px at 50% 108%, rgba(6, 182, 212, 0.09), transparent 62%),
    linear-gradient(180deg, #fffefc 0%, #fbf9f6 45%, #f6f2ec 100%);
  box-shadow:
    0 0 0 1px rgba(31, 24, 48, 0.06),
    0 0 70px rgba(31, 24, 48, 0.14);
}

body.nav-open { overflow: hidden; }

::selection {
  background: color-mix(in srgb, var(--purple) 50%, transparent);
  color: #fff;
}

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

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

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

button { font-family: inherit; }

.container {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.container--narrow { width: min(720px, calc(100% - 2rem)); }

main,
.footer {
  width: min(var(--shell-width), 100%);
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: min(var(--shell-width), 100%);
  margin-inline: auto;
  backdrop-filter: blur(16px);
  background: rgba(253, 251, 249, 0.82);
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}

.header--scrolled {
  background: rgba(253, 251, 249, 0.97);
  border-bottom-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--pink));
  color: #1a1028;
  font-size: 0.72rem;
  font-weight: 800;
}

.logo__text span { color: var(--ink-muted); font-weight: 600; }

.nav {
  display: none;
  gap: 1.6rem;
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-muted);
}

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

.header__actions {
  display: none;
  gap: 0.5rem;
  margin-left: auto;
}

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

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

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

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1rem 1.25rem;
  border-top: 1px solid var(--line);
  background: rgba(253, 251, 249, 0.99);
}

.mobile-nav[hidden] { display: none; }

.mobile-nav a:not(.btn) {
  padding: 0.5rem 0;
  color: var(--ink-muted);
  font-weight: 500;
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .header__actions { display: flex; margin-left: 0; }
  .burger, .mobile-nav { display: none !important; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, #ff9f43 100%);
  color: #ffffff;
  box-shadow: 0 8px 32px rgba(229, 156, 21, 0.35);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--gold-deep) 0%, #ff8c2a 100%);
  box-shadow: 0 12px 40px rgba(229, 156, 21, 0.45);
}

.btn--primary:focus-visible {
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.28), 0 12px 40px rgba(229, 156, 21, 0.45);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: color-mix(in srgb, var(--purple) 50%, transparent);
  background: rgba(139, 92, 246, 0.08);
}

.btn--sm { padding: 0.55rem 1rem; font-size: 0.85rem; }
.btn--lg { padding: 0.95rem 1.5rem; font-size: 1rem; }
.btn--block { width: 100%; }

.hero {
  position: relative;
  z-index: 1;
  min-height: min(92vh, 920px);
  display: flex;
  align-items: flex-end;
  padding: 2rem 0 3.5rem;
  overflow: hidden;
}

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

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(251, 249, 246, 0.94) 0%, rgba(251, 249, 246, 0.72) 42%, rgba(251, 249, 246, 0.28) 100%),
    linear-gradient(to top, rgba(251, 249, 246, 0.85) 0%, transparent 40%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: end;
}

@media (min-width: 980px) {
  .hero { align-items: center; padding: 5rem 0 4rem; }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 2rem; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5.4vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 1.2rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--pink) 52%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 36rem;
  margin: 0 0 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero__stats li { display: flex; flex-direction: column; }

.hero__stats strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--gold);
}

.hero__stats span {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.hero__visual {
  position: relative;
  min-height: 320px;
}

.device {
  position: relative;
  overflow: hidden;
  background: #e1dcd4;
}

.device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device__label {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.device--tv {
  border-radius: 18px;
  border: 10px solid #e1dcd4;
  box-shadow: var(--shadow), 0 0 0 1px rgba(229, 156, 21, 0.18);
  aspect-ratio: 16 / 10;
}

.device--phone {
  position: absolute;
  right: -4%;
  bottom: -12%;
  width: 38%;
  min-width: 128px;
  max-width: 210px;
  aspect-ratio: 9 / 18.5;
  border-radius: 28px;
  border: 8px solid #dcd7ce;
  box-shadow: 0 18px 50px rgba(31, 24, 48, 0.15);
  z-index: 2;
}

.device--phone img { object-position: top center; }

.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  padding: 0.85rem 0;
}

.marquee__track {
  display: flex;
  gap: 2.2rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink-muted);
  white-space: nowrap;
}

.marquee__track img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 8px rgba(229, 156, 21, 0.35));
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.section--photos { padding-top: 4.5rem; }

.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
  border-block: 1px solid var(--line);
}

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section__head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
}

.bento {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
  }
  .bento__wide { grid-column: span 2; }
  .bento figure:not(.bento__wide) { grid-column: span 1; }
  .bento figure:nth-child(2),
  .bento figure:nth-child(3) { grid-row: span 1; }
}

.bento figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 220px;
}

.bento img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bento figure:hover img { transform: scale(1.04); }

.bento figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.4rem 1.1rem 1rem;
  background: linear-gradient(transparent, rgba(31, 24, 48, 0.8));
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}

.roles {
  display: grid;
  gap: 1.25rem;
}

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

.role {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.role__shot {
  aspect-ratio: 16 / 10;
  background: #e1dcd4;
  overflow: hidden;
}

.role__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.role__shot--phone {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(229, 156, 21, 0.12), transparent 50%),
    #e1dcd4;
}

.role__shot--phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.role__meta { padding: 1.35rem 1.4rem 1.5rem; }

.role__meta span {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.role__meta h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.role__meta p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.stages-wrap { position: relative; }

.stages-nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stages-nav button {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
}

.stages-nav button:hover { border-color: var(--gold); }

.stages-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.stages-track::-webkit-scrollbar { display: none; }

.stage-card {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
  min-height: 210px;
}

.stage-card--final {
  border-color: color-mix(in srgb, var(--gold) 45%, transparent);
  background: linear-gradient(180deg, rgba(229, 156, 21, 0.1), var(--bg-card) 50%);
}

.stage-card__type {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.65rem;
}

.stage-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.stage-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.themes {
  display: grid;
  gap: 1.15rem;
}

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

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

.theme {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.theme:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(31, 24, 48, 0.12);
}

.theme img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.theme__body { padding: 1.25rem 1.35rem 1.45rem; }

.theme__body span {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.theme h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin: 0 0 0.4rem;
}

.theme p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.themes__note {
  text-align: center;
  margin: 1.75rem 0 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.features {
  display: grid;
  gap: 1.25rem;
}

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

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

.feature {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  transition: background 0.2s;
}

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

.feature__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.feature__icon--gold { background: rgba(229, 156, 21, 0.15); }
.feature__icon--cyan { background: rgba(6, 182, 212, 0.12); }
.feature__icon--pink { background: rgba(236, 72, 153, 0.12); }
.feature__icon--green { background: rgba(34, 197, 94, 0.12); }
.feature__icon--purple { background: rgba(139, 92, 246, 0.12); }
.feature__icon--orange { background: rgba(249, 115, 22, 0.12); }

.feature h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }

.feature p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.compare {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .compare { grid-template-columns: 1fr auto 1fr; gap: 1.5rem; }
}

.compare__col {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.compare__col--bad {
  background: rgba(220, 38, 38, 0.06);
  border-color: rgba(220, 38, 38, 0.2);
}

.compare__col--good {
  background: rgba(34, 197, 94, 0.06);
  border-color: rgba(34, 197, 94, 0.25);
}

.compare__col h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 1rem;
}

.compare__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.compare__col li {
  font-size: 0.92rem;
  color: var(--ink-muted);
  padding-left: 1.5rem;
  position: relative;
}

.compare__col--bad li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #d4533a;
  font-weight: 700;
}

.compare__col--good li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.compare__vs {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink-muted);
  opacity: 0.6;
}

.pricing {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

/* auto-fit + центрирование: две карточки не прижимаются влево */
@media (min-width: 900px) {
  .pricing {
    grid-template-columns: repeat(auto-fit, minmax(300px, 400px));
    justify-content: center;
  }
}

.price-card {
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
}

.price-card--featured {
  border-color: color-mix(in srgb, var(--gold) 50%, transparent);
  background: linear-gradient(180deg, rgba(229, 156, 21, 0.08) 0%, var(--bg-card) 40%);
  box-shadow: 0 0 0 1px rgba(229, 156, 21, 0.15), 0 24px 60px rgba(31, 24, 48, 0.12);
}

@media (min-width: 900px) {
  .price-card--featured { transform: scale(1.03); }
}

.price-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple);
  margin-bottom: 0.5rem;
}

.price-card--featured .price-card__tag { color: var(--gold); }

.price-card:first-child {
  border-color: color-mix(in srgb, var(--green) 35%, transparent);
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.06) 0%, var(--bg-card) 45%);
}

.price-card:first-child .price-card__tag { color: var(--green); }
.price-card:first-child .price-card__price span { color: var(--green); }

.price-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.price-card__price {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.price-card__price span { font-size: 2.5rem; }

.price-card__note {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: 0 0 1.25rem;
}

.price-card ul {
  flex: 1;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.price-card li {
  font-size: 0.88rem;
  color: var(--ink-muted);
  padding-left: 1.25rem;
  position: relative;
}

.price-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--cyan);
}

.pricing__note {
  text-align: center;
  margin: 2rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.faq { display: flex; flex-direction: column; gap: 0.75rem; }

.faq__item {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  overflow: hidden;
}

.faq__item summary {
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--purple);
  transition: transform 0.2s;
}

.faq__item[open] summary::after { transform: rotate(45deg); }

.faq__item p {
  margin: 0;
  padding: 0 1.25rem 1.1rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.cta {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.cta__inner {
  display: grid;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

@media (min-width: 860px) {
  .cta__inner { grid-template-columns: 0.9fr 1.1fr; }
}

.cta__photo { min-height: 240px; }

.cta__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__copy {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.cta__copy > p {
  margin: 0 0 1.5rem;
  color: var(--ink-muted);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta__fine {
  margin: 1rem 0 0 !important;
  font-size: 0.78rem !important;
}

.footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 5.5rem;
  border-top: 1px solid var(--line);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer__inner > p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.footer__links a:hover { color: var(--gold); }

.footer__copy {
  font-size: 0.78rem !important;
  opacity: 0.6;
}

.footer__legal {
  max-width: 36rem;
  font-size: 0.78rem !important;
  line-height: 1.45;
  opacity: 0.75;
}

.footer__legal a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.logo--footer { justify-content: center; }

.mobile-cta {
  position: fixed;
  z-index: 90;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #ff9f43);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 12px 40px rgba(229, 156, 21, 0.4);
}

@media (max-width: 899px) {
  body { padding-bottom: 5.25rem; }
  .mobile-cta { bottom: max(1rem, env(safe-area-inset-bottom)); }
}

@media (min-width: 900px) {
  .mobile-cta { display: none; }
  .footer { padding-bottom: 2.5rem; }
}

/* Раздел философии / манифеста */
.section--mission {
  padding: 5.5rem 0;
  position: relative;
  z-index: 1;
}

.mission-box {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  text-align: center;
}

.mission-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0.5rem auto 1.75rem;
  max-width: 600px;
}

.mission-text {
  text-align: left;
  max-width: 620px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  color: var(--ink-muted);
}

.mission-text p {
  margin: 0 0 1.25rem;
}

.mission-text p strong {
  color: var(--ink);
}

.mission-text p:last-child {
  margin-bottom: 0;
}

.mission-values {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  text-align: left;
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
}

@media (min-width: 640px) {
  .mission-values {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mission-value {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mission-value__emoji {
  font-size: 1.8rem;
  line-height: 1;
}

.mission-value h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin: 0.25rem 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.mission-value p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.mission-author {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  width: fit-content;
  max-width: 100%;
  background: rgba(31, 24, 48, 0.03);
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.mission-author__info {
  text-align: center;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.mission-author__info strong {
  font-size: 0.95rem;
  color: var(--ink);
}

.mission-author__info span {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal--1 { transition-delay: 0.08s; }
.reveal--2 { transition-delay: 0.16s; }
.reveal--3 { transition-delay: 0.24s; }
.reveal--4 { transition-delay: 0.32s; }

.section__more {
  margin-top: 2.25rem;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .badge__dot, .marquee__track { animation: none !important; }
}

/* ===== Главная: шаги, галерея, фильтр возраста, сравнение, оффер ===== */

.hero__title { font-size: clamp(2rem, 4.6vw, 3.3rem); }

.hero__fine {
  margin: -1.1rem 0 1.75rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: none;
}

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

.step {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
}

.step__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), #ff9f43);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.step h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.step p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-muted);
}

.needs {
  margin-top: 1.5rem;
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px dashed color-mix(in srgb, var(--purple) 40%, transparent);
  background: rgba(139, 92, 246, 0.05);
}

.needs h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1rem;
}

.needs ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem 2rem;
}

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

.needs li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.93rem;
  color: var(--ink-muted);
}

.needs li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

.needs strong { color: var(--ink); }

.needs a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Галерея настоящих экранов: ТВ + телефон поверх */
.gallery { position: relative; }

.gallery__nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.gallery__nav button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
}

.gallery__nav button:hover { border-color: var(--gold); }

.gallery__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 0 1rem;
  scrollbar-width: none;
}

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

.shot {
  flex: 0 0 min(560px, 86vw);
  margin: 0;
  scroll-snap-align: start;
}

.shot__screens {
  position: relative;
  display: block;
  width: 100%;
  padding: 0 0 1.5rem;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.shot__tv {
  width: 88%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  border: 8px solid #1d1a24;
  box-shadow: var(--shadow);
  background: #0b0a10;
}

.shot__phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 27%;
  aspect-ratio: 9 / 17;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
  border: 5px solid #1d1a24;
  box-shadow: 0 16px 40px rgba(31, 24, 48, 0.28);
  background: #0b0a10;
}

.shot figcaption {
  padding: 0.9rem 0.25rem 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
  max-width: 88%;
}

.shot figcaption span {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.3rem;
}

.shot figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

/* Фильтр сценариев по возрасту */
.age-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: -1.5rem 0 2rem;
}

.age-filter__btn {
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.age-filter__btn:hover { border-color: var(--gold); }

.age-filter__btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.theme.is-hidden,
.theme-mini.is-hidden { display: none; }

.themes-extra {
  display: grid;
  gap: 1rem;
  margin-top: 1.15rem;
}

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

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

.theme-mini {
  padding: 1.25rem 1.3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
}

.theme-mini span {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.theme-mini h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

.theme-mini p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.theme-mini--accent {
  border-color: color-mix(in srgb, var(--cyan) 45%, transparent);
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.09), var(--bg-card) 70%);
}

.theme-mini--accent span { color: var(--cyan); }

/* Сравнение с альтернативами */
.options {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

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

.option {
  position: relative;
  padding: 1.75rem 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
}

.option h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.option__price {
  margin: 0 0 1.1rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.option ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.option li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.option li.is-bad::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #d4533a;
  font-weight: 700;
}

.option li.is-good::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

.option--best {
  border-color: color-mix(in srgb, var(--gold) 55%, transparent);
  background: linear-gradient(180deg, rgba(229, 156, 21, 0.1) 0%, var(--bg-card) 45%);
  box-shadow: 0 0 0 1px rgba(229, 156, 21, 0.15), 0 24px 60px rgba(31, 24, 48, 0.12);
}

.option--best .option__price {
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.option__tag {
  position: absolute;
  top: -0.8rem;
  left: 1.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #ff9f43);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Оффер: один основной тариф + гарантия */
.offer {
  display: grid;
  gap: 1.25rem;
  max-width: 920px;
  margin-inline: auto;
}

@media (min-width: 860px) {
  .offer { grid-template-columns: 1.15fr 0.85fr; align-items: stretch; }
}

.offer__main,
.offer__guarantee {
  padding: 2rem 1.9rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
}

.offer__main {
  border-color: color-mix(in srgb, var(--gold) 50%, transparent);
  background: linear-gradient(180deg, rgba(229, 156, 21, 0.08) 0%, var(--bg-card) 40%);
  box-shadow: 0 0 0 1px rgba(229, 156, 21, 0.15), 0 24px 60px rgba(31, 24, 48, 0.12);
}

.offer__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
}

.offer__price {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0.35rem 0 0.15rem;
}

.offer__price span { font-size: 3rem; }

.offer__note {
  margin: 0 0 1.25rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.offer__list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.offer__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
}

.offer__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

.offer__alt {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  text-align: center;
}

.offer__alt a,
.offer__guarantee a {
  color: var(--purple);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.offer__guarantee {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-color: rgba(34, 197, 94, 0.3);
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.07), var(--bg-card) 55%);
}

.offer__shield {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(34, 197, 94, 0.14);
  color: #15803d;
}

.offer__guarantee h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.offer__guarantee p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-muted);
}

.offer__guarantee p strong { color: var(--ink); }

.offer__guarantee .offer__link {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Компактный блок ссылок на статьи */
.section--links { padding: 2.5rem 0 3.5rem; }

.links-title {
  margin: 0 0 1rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.links-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.links-list a {
  display: inline-block;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.links-list a:hover { color: var(--ink); border-color: var(--gold); }

/* Лайтбокс для скриншотов */
.lightbox {
  width: min(1280px, 94vw);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #0b0a10;
  overflow: hidden;
}

.lightbox::backdrop { background: rgba(10, 8, 18, 0.82); }

.lightbox img {
  width: 100%;
  height: auto;
  max-height: 92vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

/* width/height у img задают размеры по умолчанию — возвращаем пропорции */
.shot__tv,
.shot__phone { height: auto; }

.hero .device--tv { aspect-ratio: 16 / 9; }

.role__shot--pult { background: #fbf3e3; }

.role__shot--pult img {
  height: 100%;
  padding: 0.5rem;
  object-fit: contain;
  object-position: center;
}

.mission-text:last-child { margin-bottom: 0; }

@media (max-width: 599px) {
  .hero__stats { flex-wrap: nowrap; gap: 1rem; }
  .hero__stats strong { font-size: 1.05rem; }
  .hero__stats span { font-size: 0.75rem; line-height: 1.3; }
  .hero__fine { font-size: 0.8rem; }
  .device__label { font-size: 0.6rem; padding: 0.2rem 0.5rem; left: 0.5rem; bottom: 0.5rem; }
}
