:root {
  --blue: #0593c6;
  --blue-deep: #047aa6;
  --white: #fcffff;
  --pink: #db3996;
  --pink-deep: #c42a83;
  --ink: #0b2a3a;
  --ink-soft: #3d5866;
  --line: #d7ebf3;
  --radius: 28px;
  --head: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--blue);
  color: var(--white);
  font: 500 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }
.sec { padding: clamp(48px, 8vw, 96px) 0 0; }
.sub { font-size: 19px; max-width: 640px; margin-bottom: 28px; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 28px;
  background: var(--pink); color: #fff;
  font: 800 19px/1 var(--body); text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(120, 10, 70, .55), inset 0 -3px 0 rgba(0, 0, 0, .12);
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { background: var(--pink-deep); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--big { min-height: 64px; padding: 0 36px; font-size: 20px; }
.btn--white { background: var(--white); color: var(--pink); box-shadow: 0 10px 24px -10px rgba(0, 40, 60, .4); }
.btn--white:hover { background: #fff; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 10; background: var(--blue); box-shadow: 0 8px 20px -16px rgba(0, 30, 50, .5); }
.top__in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.logo { font: 800 17px/1 var(--head); }
.logo b { color: var(--white); background: var(--pink); padding: 3px 7px 4px; border-radius: 8px; margin-left: 2px; }

/* Первый экран */
.hero { padding: clamp(24px, 5vw, 56px) 0 0; }
.hero__in { display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr; }
.kicker { display: inline-block; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; background: rgba(252, 255, 255, .16); padding: 8px 14px; border-radius: 999px; margin-bottom: 18px; }
.kicker--pink { background: rgba(219, 57, 150, .1); color: var(--pink); }
.pink-u { background: linear-gradient(transparent 72%, var(--pink) 72%, var(--pink) 92%, transparent 92%); }
.lead { font-size: clamp(18px, 2.2vw, 21px); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 8px; }
.note { font-size: 15px; font-weight: 600; opacity: .92; }
.hero__img img { border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0, 30, 50, .55); }
@media (min-width: 900px) { .hero__in { grid-template-columns: 1fr 1.05fr; } }

/* Белые карточки */
.card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: 0 30px 60px -36px rgba(0, 30, 50, .5); }
.h2-dark, .h3-dark { color: var(--ink); }
.h3-dark { margin-top: 4px; }
.card p { color: var(--ink-soft); }
.muted { font-size: 15px; margin: 18px 0 0; }

.split { display: grid; gap: 20px; align-items: center; }
.split__img img { border-radius: var(--radius); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 32px; }
  .split--rev .split__img { order: 2; }
}

.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center; padding: 12px 16px; background: #eef7fb; border-radius: 16px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue); color: #fff; font: 800 17px/1 var(--head); }
.steps li:last-child { background: rgba(219, 57, 150, .1); }
.steps li:last-child::before { background: var(--pink); }
.steps b { color: var(--ink); font-size: 17px; }
.steps span { color: var(--ink-soft); font-size: 15px; }

/* Сферы */
.spheres { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .spheres { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .spheres { grid-template-columns: repeat(3, 1fr); } }
.sphere { background: var(--white); color: var(--ink); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease; }
.sphere:hover { transform: translateY(-4px); }
.sphere img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.sphere__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.sphere h3 { margin-bottom: 10px; }
.sphere p { color: var(--ink-soft); font-size: 16px; margin-bottom: 10px; }
.sphere p b { color: var(--ink); }
.who { font-size: 15px !important; }
.tag { align-self: flex-start; margin-top: auto; font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: 999px; background: #eef7fb; color: var(--blue-deep); }
.tag--ok { background: rgba(219, 57, 150, .1); color: var(--pink-deep); }
.sphere--cta { background: var(--pink); color: #fff; justify-content: center; align-items: flex-start; padding: 32px 28px; gap: 18px; }
.sphere--cta p { color: #fff; font: 600 22px/1.3 var(--head); margin: 0; }

/* Автор */
.author h2 { max-width: 640px; }
.author__cols { display: grid; gap: 4px 28px; margin-top: 8px; }
@media (min-width: 900px) { .author__cols { grid-template-columns: repeat(3, 1fr); } }
.ba { display: grid; gap: 12px; margin-top: 12px; }
@media (min-width: 640px) { .ba { grid-template-columns: 1fr 1fr; } }
.ba div { padding: 16px 20px; border-radius: 18px; background: #eef7fb; color: var(--ink-soft); }
.ba div:last-child { background: rgba(219, 57, 150, .1); }
.ba b { display: block; color: var(--ink); font: 800 15px/1.2 var(--head); margin-bottom: 4px; }
.ba div:last-child b { color: var(--pink); }

/* Что внутри и цена */
.inside { display: grid; gap: 20px; }
@media (min-width: 900px) { .inside { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.list li { position: relative; padding-left: 32px; color: var(--ink); }
.list li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px; background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.price { background: var(--white); color: var(--ink); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 60px -36px rgba(0, 30, 50, .5); }
.price img { aspect-ratio: 16 / 9; object-fit: cover; object-position: center 30%; width: 100%; }
.price__body { padding: clamp(22px, 3.5vw, 36px); display: flex; flex-direction: column; flex: 1; }
.price__label { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-deep); margin-bottom: 6px; }
.price__result { font-size: 18px; font-weight: 700; color: var(--ink); }
.price__value { font: 800 clamp(40px, 6vw, 56px)/1 var(--head); color: var(--ink); margin: 6px 0 14px; }
.price__value small { display: block; margin-top: 8px; font: 700 17px/1.2 var(--body); color: var(--ink); opacity: .7; }
.price__deal { background: rgba(219, 57, 150, .08); border: 2px dashed rgba(219, 57, 150, .45); border-radius: 18px; padding: 14px 16px; color: var(--ink) !important; font-size: 16px; }
.price__deal b { color: var(--pink); }
.price .btn { margin-top: auto; align-self: flex-start; }

.flow { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: f; display: grid; gap: 14px; }
.flow li { counter-increment: f; position: relative; padding-left: 46px; color: var(--ink); font-weight: 600; min-height: 32px; display: flex; align-items: center; }
.flow li::before { content: counter(f); position: absolute; left: 0; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 800 15px/1 var(--head); }
.flow li:last-child::before { background: var(--pink); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); color: var(--ink); border-radius: 20px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-weight: 800; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; font: 800 20px/1 var(--body); transition: rotate .2s ease; }
.faq details[open] summary::after { rotate: 45deg; }
.faq summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 8px; }
.faq details p { color: var(--ink-soft); margin: 0; padding: 0 0 20px; }

/* Финал */
.final { padding: clamp(56px, 9vw, 110px) 0; text-align: center; }
.final__in { background: var(--white); color: var(--ink); border-radius: calc(var(--radius) + 8px); padding: clamp(32px, 6vw, 64px) clamp(20px, 5vw, 64px); }
.final h2 { color: var(--ink); }
.final p { color: var(--ink-soft); max-width: 560px; margin-inline: auto; }
.final .btn { margin-top: 10px; }
.final__wait { margin-top: 14px; font-weight: 700; color: var(--pink) !important; }

/* Подвал */
.foot { background: var(--blue-deep); padding: 28px 0 100px; font-size: 14px; }
.foot__in { display: grid; gap: 8px; }
.foot p { margin: 0; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot__links a { text-underline-offset: 3px; }
.foot__req { opacity: .85; }
@media (min-width: 900px) { .foot { padding-bottom: 28px; } }

/* Липкая кнопка на телефоне */
.sticky { position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 20; translate: 0 140%; transition: translate .25s ease; }
.sticky.is-on { translate: 0 0; }
@media (min-width: 900px) { .sticky { display: none; } }

/* Узкие экраны: шапка в одну строку */
.logo, .btn { white-space: nowrap; }
@media (max-width: 420px) {
  .logo { font-size: 14px; }
  .btn--small { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .kicker { font-size: 12px; }
}

/* Меню «три полоски» — на всех страницах */
.top__right { display: flex; align-items: center; gap: 10px; }
.burger { width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--white); cursor: pointer; display: grid; place-content: center; gap: 5px; padding: 0; position: relative; z-index: 31; }
.burger span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.burger:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
.menu { position: fixed; inset: 0; z-index: 30; background: rgba(4, 60, 85, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.menu[hidden] { display: none; }
.menu__in { position: absolute; top: 0; right: 0; height: 100%; width: min(380px, 100%); overflow-y: auto; background: var(--white); color: var(--ink); padding: 80px 24px 28px; box-shadow: -20px 0 50px -20px rgba(0, 30, 50, .5); animation: menu-in .22s ease; }
@keyframes menu-in { from { transform: translateX(30px); opacity: 0; } }
.menu__home { display: block; font: 800 20px/1.2 var(--head); text-decoration: none; margin-bottom: 18px; }
.menu__title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-deep); margin: 18px 0 8px; }
.menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.menu li a { display: block; padding: 10px 12px; border-radius: 12px; text-decoration: none; font-weight: 700; }
.menu li a:hover, .menu li a[aria-current="page"] { background: #eef7fb; }
.menu li a[aria-current="page"] { color: var(--pink); }
.menu__cta { width: 100%; margin-top: 22px; }
body.menu-open { overflow: hidden; }
a.logo { text-decoration: none; }
@media (max-width: 560px) { .top__cta { display: none; } }
body.menu-open .sticky { opacity: 0; pointer-events: none; }
