/* ОНИКС — дизайн-система (цвета, шрифт и скругления сняты с текущего сайта) */
:root {
  --blue: #064ee3;
  --blue-600: #0541c0;
  --blue-400: #3369d9;
  --blue-50: #e6edfc;
  --violet: #8f7cf0;
  --ink: #060607;
  --text: #333333;
  --muted: #5b5b5b;
  --subtle: #848484;
  --line: #e7e7ee;
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --card: #ffffff;
  --r-lg: 25px;
  --r-md: 20px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .05);
  --shadow-lg: 0 20px 50px rgba(6, 30, 90, .12);
  --container: 1170px;
  --gutter: 20px;
  --header-h: 94px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; color: var(--text); font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid rgba(6, 78, 227, .45); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
svg { width: 1em; height: 1em; flex: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Типографика ---------- */
.h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 500; line-height: 1.12; letter-spacing: -.02em; }
.h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; letter-spacing: -.02em; }
.h2 em, .h1 em, .consult__title em { font-style: normal; color: var(--blue); }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-size: 13px; font-weight: 500; line-height: 1.3; white-space: nowrap; }
.pill svg { width: 14px; height: 14px; }
.pill--glass { background: rgba(255, 255, 255, .2); color: #fff; backdrop-filter: blur(6px); }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 28px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; text-align: center; transition: background .2s, transform .2s, box-shadow .2s; }
.btn:hover { background: var(--blue-600); box-shadow: 0 10px 24px rgba(6, 78, 227, .25); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn--lg { min-height: 62px; padding: 18px 38px; }
.btn--block { width: 100%; }
.btn--ghost { background: var(--blue-50); color: var(--blue); }
.btn--ghost:hover { background: #d6e2fb; box-shadow: none; }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { background: #f0f4ff; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-size: 17px; line-height: 1.3; flex: none; }
.logo img { width: 50px; height: 50px; }
.nav { display: flex; align-items: center; gap: 30px; margin: 0 auto; }
.nav__link { color: var(--text); text-decoration: none; font-size: 16px; padding: 8px 0; background: none; border: 0; display: inline-flex; align-items: center; gap: 4px; transition: color .2s; }
.nav__link:hover, .nav__link.is-active { color: var(--blue); }
.nav__drop { position: relative; }
.i-chev { width: 16px; height: 16px; transition: transform .2s; }
.nav__menu { position: absolute; top: calc(100% + 10px); left: -16px; min-width: 260px; padding: 8px; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s; }
.nav__menu::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__menu a { display: block; padding: 10px 14px; border-radius: 12px; text-decoration: none; color: var(--text); }
.nav__menu a:hover, .nav__menu a[aria-current] { background: var(--blue-50); color: var(--blue); }
.nav__drop:hover .nav__menu, .nav__drop.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__drop:hover .i-chev, .nav__drop.is-open .i-chev { transform: rotate(180deg); }
.header__contacts { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.3; }
.header__phone { font-size: 18px; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header__cta { padding: 0; border: 0; background: none; color: var(--blue); font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--blue); color: var(--blue); transition: .2s; }
.socials a:hover { background: var(--blue); color: #fff; }
.socials svg { width: 17px; height: 17px; }
.socials--glass a { width: 44px; height: 44px; border-color: rgba(255, 255, 255, .7); color: #fff; }
.socials--glass a:hover { background: #fff; color: var(--blue); }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: 12px; background: var(--blue-50); position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 12px; width: 20px; height: 2px; background: var(--blue); border-radius: 2px; transition: .25s; content: ''; }
.burger span { top: 21px; }
.burger span::before { left: 0; top: -6px; }
.burger span::after { left: 0; top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Секции ---------- */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--tight { padding-top: 0; padding-bottom: 0; }
.section--alt { background: var(--bg-alt); }
.section + .section--alt, .section--alt + .section { }
.s-head { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; align-items: start; margin-bottom: clamp(32px, 4vw, 54px); }
.s-head .pill { justify-self: start; margin-top: 10px; }
.s-head__sub { margin-top: 14px; color: var(--muted); font-size: 17px; }
.s-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 > *, .grid-3 > *, .s-head > *, .hero__in > *, .about > *, .consult > *, .ads > *, .partner > *, .questions > * { min-width: 0; }
.center-row { display: flex; justify-content: center; margin-top: 40px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--muted); }
.card__h { font-size: 22px; margin-bottom: 24px !important; }
.card--icon svg { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--blue-50); color: var(--blue); margin-bottom: 22px; }
.card .btn { margin-top: 26px; }

/* ---------- Hero ---------- */
.hero { background: var(--bg-alt); padding: clamp(48px, 7vw, 110px) 0; margin-bottom: clamp(48px, 7vw, 110px); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero .h1 { margin: 22px 0 28px; }
.hero__lead { font-size: 18px; color: var(--muted); max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

/* Мокап статистики Авито */
.mock { position: relative; aspect-ratio: 1.25; max-width: 540px; margin-left: auto; width: 100%; }
.mock__card { position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 14px 16px; }
.mock__card--a { left: 0; top: 4%; width: 82%; transform: rotate(-4deg); z-index: 2; }
.mock__card--b { left: 6%; top: 40%; width: 80%; transform: rotate(-4deg); z-index: 3; }
.mock__card--c { right: 0; top: 52%; width: 48%; z-index: 1; padding-top: 22%; }
.mock__row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.mock__row b { font-size: 15px; color: var(--ink); }
.mock__chip { font-size: 10px; padding: 3px 8px; border-radius: 999px; background: #f2f2f5; color: var(--muted); }
.mock__bars { display: flex; align-items: flex-end; gap: 3px; height: 74px; padding: 6px; background: #f4f4f6; border-radius: 10px; }
.mock__bars i { flex: 1; border-radius: 3px 3px 0 0; min-height: 4px; }
.b-blue { background: linear-gradient(#58c4f6, #2aa8ef); }
.b-violet { background: linear-gradient(#b4a3ff, var(--violet)); }
.b-violet:nth-child(3n) { background: linear-gradient(#58c4f6, #2aa8ef); }
.mock__kpi { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); margin-bottom: 6px; }
.mock__kpi b { color: var(--ink); }
.mock__line { height: 4px; border-radius: 4px; background: #eef1f7; margin-top: 8px; }
.mock__line i { display: block; height: 100%; border-radius: inherit; background: var(--blue-400); }

/* ---------- О нас ---------- */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.about .h2 { margin: 20px 0 22px; }
.about__lead { color: var(--muted); font-size: 17px; max-width: 560px; margin-bottom: 28px; }
.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.checklist b { color: var(--text); font-weight: 600; }
.i-cc { width: 22px; height: 22px; color: var(--blue); margin-top: 1px; }
.checklist--sm { gap: 18px; }
.about__photo { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); aspect-ratio: 5 / 6; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo figcaption { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; flex-direction: column; padding: 16px 20px; border-radius: var(--r-md); background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); }
.about__photo figcaption b { color: var(--ink); font-weight: 600; font-size: 17px; }
.about__photo figcaption span { color: var(--muted); font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: clamp(56px, 7vw, 90px); }
.stat { padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.stat b { display: block; font-size: clamp(34px, 3.4vw, 46px); font-weight: 500; color: var(--blue); line-height: 1; letter-spacing: -.02em; }
.stat__l { display: block; margin: 12px 0 8px; color: var(--subtle); font-size: 14px; }
.stat p { color: var(--muted); font-size: 14px; line-height: 1.45; }

/* ---------- Партнёр Авито ---------- */
.partner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.partner .h2 { margin: 20px 0; }
.partner__text { color: var(--muted); font-size: 17px; max-width: 520px; }
.partner__badge { justify-self: end; width: min(100%, 340px); padding: 34px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 6px; }
.partner__badge b { font-size: 34px; font-weight: 700; color: var(--ink); }
.partner__badge span { color: var(--muted); }
.partner__dots { display: grid; grid-template-columns: repeat(2, 22px); gap: 6px; margin-bottom: 14px; }
.partner__dots i { width: 22px; height: 22px; border-radius: 50%; }
.partner__dots i:nth-child(1) { background: #00aaff; }
.partner__dots i:nth-child(2) { background: #97cf26; }
.partner__dots i:nth-child(3) { background: #ff6163; }
.partner__dots i:nth-child(4) { background: #a169f7; }

/* Нумерованный список шагов */
.steps-list { counter-reset: s; display: grid; gap: 18px; }
.steps-list li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.steps-list li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 14px; font-weight: 600; }
.steps-list b { color: var(--text); font-weight: 600; }

/* ---------- Консультация / Аудит ---------- */
.consult { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: stretch; }
.consult__card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); color: #fff; background: radial-gradient(120% 120% at 30% 30%, #9bb3f7 0%, #7d8af0 45%, #8b7ae8 100%); }
.consult__title { color: #fff; font-size: clamp(26px, 3vw, 38px); line-height: 1.2; }
.consult__list { display: grid; gap: 12px; }
.consult__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.consult__list .i-cc { color: #fff; }
.consult__list b { font-weight: 700; }
.consult .socials { margin-top: auto; }
.consult__form { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.consult__form-title { font-size: 26px; margin-bottom: 22px; }

/* ---------- Форма ---------- */
.lead-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field__label { font-size: 14px; color: var(--muted); padding: 0; }
.field__input { width: 100%; height: 54px; padding: 0 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-alt); font: inherit; color: var(--text); transition: border-color .2s, background .2s; }
.field__input::placeholder { color: #a6a6b0; }
.field__input:focus { outline: none; border-color: var(--blue); background: #fff; }
.field__input.is-invalid { border-color: #e5484d; background: #fff7f7; }
.choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice label { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: grid; place-items: center; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-alt); font-size: 15px; transition: .2s; cursor: pointer; }
.choice input:checked + span { border-color: var(--blue); background: var(--blue-50); color: var(--blue); font-weight: 600; }
.choice input:focus-visible + span { outline: 3px solid rgba(6, 78, 227, .35); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--subtle); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); }
.consent.is-invalid { color: #e5484d; }
.consent a { color: var(--blue); }
.form-error { color: #e5484d; font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Преимущества ---------- */
.adv-top { margin-bottom: 30px; }
.card--media { display: flex; flex-direction: column; padding: 24px 24px 30px; }
.card__media { display: grid; place-items: center; height: 300px; margin-bottom: 26px; border-radius: var(--r-md); background: var(--bg-alt); overflow: hidden; padding: 24px; }
.card__media .mock { max-width: 360px; margin: 0 auto; aspect-ratio: 1.45; }
.card__media .mock__card--c { display: none; }
.card__media--violet { background: linear-gradient(160deg, #ece7ff, #ddd5ff); }
.budget { width: min(100%, 300px); background: #fff; border-radius: 18px; padding: 18px; box-shadow: var(--shadow-lg); font-size: 12px; }
.budget__row { display: flex; justify-content: space-between; gap: 10px; color: var(--subtle); }
.budget__row span { display: flex; flex-direction: column; }
.budget__row b { color: var(--ink); font-size: 15px; }
.budget__label { margin: 14px 0 8px; font-weight: 600; color: var(--ink); }
.budget__opts { display: flex; gap: 6px; }
.budget__opts i { flex: 1; font-style: normal; text-align: center; padding: 8px 0; border-radius: 10px; background: #f3f3f6; }
.budget__opts i.on { background: var(--ink); color: #fff; }
.card--small { padding: 24px; }
.mini { display: inline-flex; flex-direction: column; padding: 12px 18px; margin-bottom: 22px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.mini span { font-size: 12px; color: var(--subtle); }
.mini b { font-size: 20px; font-weight: 600; color: var(--ink); }
.mini small { font-size: 11px; color: #19a35b; font-weight: 600; }

/* ---------- Объявления ---------- */
.ads { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; align-items: start; }
.ads__list { counter-reset: a; display: grid; gap: 26px; }
.ads__list li { counter-increment: a; position: relative; padding-left: 50px; }
.ads__list li::before { content: counter(a); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 600; font-size: 15px; }
.ads__list h3 { font-size: 19px; margin-bottom: 4px; }
.ads__list p { color: var(--muted); font-size: 15px; }
.listing { background: #fff; border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-lg); font-size: 13px; }
.listing__top { display: flex; flex-wrap: wrap; gap: 12px; color: var(--subtle); font-size: 12px; }
.listing__rate { color: #19a35b; font-weight: 600; }
.listing__head { display: flex; justify-content: space-between; margin: 10px 0 16px; font-size: 22px; color: var(--ink); }
.listing__head b { font-weight: 700; }
.listing__body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.listing__photo { border-radius: 16px; padding: 20px; color: #fff; background: linear-gradient(150deg, #20324f, #3d5a85); display: flex; flex-direction: column; gap: 10px; }
.listing__photo > span { font-size: 18px; font-weight: 800; text-transform: uppercase; }
.listing__photo ul { display: grid; gap: 6px; }
.listing__body > * { min-width: 0; }
.listing__photo li { display: flex; flex-wrap: wrap; gap: 4px 10px; justify-content: space-between; padding: 6px 10px; background: rgba(255, 255, 255, .12); border-radius: 8px; }
.listing__photo em { font-style: normal; font-weight: 700; align-self: flex-start; padding: 6px 12px; border-radius: 8px; background: #ffd23f; color: var(--ink); }
.listing__side { display: flex; flex-direction: column; gap: 8px; }
.listing__btn { font-style: normal; text-align: center; padding: 12px; border-radius: 10px; background: #19a35b; color: #fff; font-weight: 600; }
.listing__btn--alt { background: #00aaff; }
.listing__q { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.listing__q span { align-self: flex-start; padding: 6px 10px; border-radius: 10px; background: #f2f2f5; }
.listing__today { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: #f2f2f5; }
.listing__today b { color: #19a35b; }

/* ---------- Кейсы ---------- */
.case-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.case-card__img { display: block; text-decoration: none; aspect-ratio: 16 / 9; background: var(--blue-50); }
.case-card__img img { width: 100%; height: 100%; object-fit: cover; }
.case-card__ph { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 26px; background: radial-gradient(100% 140% at 100% 0%, #c7d6fb 0%, var(--blue-50) 60%); }
.case-card__ph b { font-size: 26px; font-weight: 600; color: var(--blue); line-height: 1.15; }
.case-card__tag { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.case-card__body { display: flex; flex-direction: column; gap: 18px; padding: 24px 26px 26px; flex: 1; }
.case-card__title { font-size: 20px; line-height: 1.35; }
.case-card__title a { text-decoration: none; }
.case-card__title a:hover { color: var(--blue); }
.case-card__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.case-card__metrics li { display: flex; flex-direction: column; padding: 12px; border-radius: 14px; background: var(--bg-alt); }
.case-card__metrics b { color: var(--blue); font-size: 19px; font-weight: 600; line-height: 1.2; }
.case-card__metrics span { font-size: 12px; color: var(--subtle); line-height: 1.3; margin-top: 4px; }
.case-card__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; }
.case-card__author { font-size: 14px; color: var(--subtle); }

/* ---------- Этапы ---------- */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: st; }
.stages li { padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.stages__n { display: block; font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 40px; }
.stages h3 { font-size: 20px; margin-bottom: 10px; }
.stages p { color: var(--muted); font-size: 15px; }

/* ---------- Тарифы ---------- */
.tariffs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }
.tariff { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.tariff__name { font-size: 24px; margin-bottom: 12px; }
.tariff__desc { color: var(--muted); font-size: 15px; min-height: 72px; }
.tariff__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 26px 0 22px; }
.tariff__price b { font-size: 34px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.tariff__price s { color: var(--subtle); font-size: 18px; }
.tariff__list { display: grid; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.tariff__list li { display: flex; gap: 10px; font-size: 15px; color: var(--muted); }
.tariff__list svg { width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }
.tariff--featured { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 24px 60px rgba(6, 78, 227, .3); }
.tariff--featured .tariff__name, .tariff--featured .tariff__price b { color: #fff; }
.tariff--featured .tariff__desc, .tariff--featured .tariff__list li { color: rgba(255, 255, 255, .85); }
.tariff--featured .tariff__price s { color: rgba(255, 255, 255, .6); }
.tariff--featured .tariff__list { border-top-color: rgba(255, 255, 255, .2); }
.tariff--featured .tariff__list svg { color: #fff; }
.tariff__badge { position: absolute; top: -14px; left: 32px; padding: 5px 14px; border-radius: 999px; background: #fff; color: var(--blue); font-size: 13px; font-weight: 700; box-shadow: var(--shadow); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 900px; margin-left: auto; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: box-shadow .2s; }
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; font-size: 18px; font-weight: 500; color: var(--text); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.i-plus { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--blue-50); color: var(--blue); transition: transform .25s; }
.faq__item[open] .i-plus { transform: rotate(45deg); }
.faq__a { padding: 0 26px 24px; color: var(--muted); }

/* ---------- Остались вопросы ---------- */
.questions { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-lg); background: var(--blue); color: rgba(255, 255, 255, .88); }
.questions__title { color: #fff; font-size: clamp(28px, 3.4vw, 42px); margin: 18px 0 14px; }
.questions__actions { display: grid; gap: 12px; }
.questions__actions .btn { justify-content: flex-start; padding-left: 24px; }

/* ---------- Подвал ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 70px 0 30px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.logo--light { color: #fff; margin-bottom: 18px; }
.footer__brand p { max-width: 320px; margin-bottom: 22px; }
.socials--footer a { border-color: rgba(255, 255, 255, .3); color: #fff; }
.socials--footer a:hover { background: #fff; color: var(--ink); border-color: #fff; }
.footer__h { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__phone { color: #fff; font-size: 18px; font-weight: 600; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .5); }

/* ---------- Модальные окна ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(6, 6, 7, .5); backdrop-filter: blur(3px); animation: fade .2s; }
.modal__box { position: relative; width: min(100%, 480px); max-height: calc(100vh - 40px); overflow: auto; padding: 36px 32px 32px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg); animation: pop .25s; }
.modal__box--center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--bg-alt); color: var(--text); }
.modal__close svg { width: 18px; height: 18px; }
.modal__title { font-size: 26px; padding-right: 40px; margin-bottom: 8px; }
.modal__box--center .modal__title { padding: 0; margin: 0; }
.modal__lead { color: var(--muted); margin-bottom: 22px; }
.modal__box--center .modal__lead { margin: 0; }
.modal__lead a { color: var(--blue); }
.thanks__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--blue-50); color: var(--blue); }
.thanks__icon svg { width: 30px; height: 30px; }
body.modal-open { overflow: hidden; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* ---------- Внутренние страницы (общие) ---------- */
.crumbs { margin-bottom: 26px; font-size: 14px; color: var(--subtle); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: #c4c4cc; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.page-hero { background: var(--bg-alt); padding: clamp(36px, 5vw, 70px) 0 clamp(44px, 6vw, 80px); }
.page-hero .h1 { margin: 18px 0 18px; max-width: 900px; }
.page-hero__lead { color: var(--muted); font-size: 18px; max-width: 720px; }
.prose { max-width: 760px; font-size: 17px; line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 1.9em; }
.prose h3 { font-size: 21px; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 0; display: grid; gap: .5em; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ''; position: absolute; left: 6px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.prose ol { counter-reset: p; }
.prose ol li { counter-increment: p; position: relative; padding-left: 34px; }
.prose ol li::before { content: counter(p); position: absolute; left: 0; top: .15em; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-size: 13px; font-weight: 700; }
.prose a { color: var(--blue); }
.prose strong { font-weight: 700; }
.prose blockquote { margin: 1.5em 0; padding: 20px 24px; border-left: 4px solid var(--blue); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--blue-50); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose img { border-radius: var(--r-md); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.prose th, .prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.prose th { background: var(--bg-alt); font-weight: 600; }
.prose tr:last-child td { border-bottom: 0; }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .socials--header { display: none; }
  .nav { gap: 22px; }
}
@media (max-width: 1024px) {
  :root { --header-h: 74px; }
  .burger { display: block; }
  .header__contacts { margin-left: auto; }
  .header__cta { display: none; }
  .nav { position: fixed; inset: var(--header-h) 0 0; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 16px var(--gutter) 40px; background: #fff; overflow: auto; }
  .menu-open .nav { display: flex; animation: fade .2s; }
  .menu-open { overflow: hidden; }
  .nav__link { padding: 16px 0; font-size: 19px; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; }
  .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 8px 12px; display: none; min-width: 0; }
  .nav__drop.is-open .nav__menu { display: block; }
  .nav__drop:hover .nav__menu { display: none; }
  .nav__drop.is-open:hover .nav__menu { display: block; }
  .hero__in, .about, .partner, .consult, .ads, .questions { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .mock { max-width: 460px; margin: 0 auto; }
  .stats, .stages { grid-template-columns: repeat(2, 1fr); }
  .tariffs { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .tariff__desc { min-height: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .partner__badge { justify-self: start; }
  .about__photo { max-width: 460px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .header__contacts { display: none; }
  .logo { font-size: 14px; }
  .logo img { width: 40px; height: 40px; }
  .s-head { grid-template-columns: 1fr; gap: 14px; }
  .s-head .pill { margin-top: 0; }
  .grid-2, .grid-3, .stats, .stages { grid-template-columns: 1fr; }
  .stats { gap: 14px; }
  .stages__n { margin-bottom: 18px; }
  .card, .tariff { padding: 24px; }
  .card__media { height: 240px; padding: 16px; }
  .listing__body { grid-template-columns: 1fr; }
  .case-card__metrics b { font-size: 16px; }
  .faq__item summary { font-size: 16px; padding: 18px 20px; }
  .faq__a { padding: 0 20px 20px; }
  .hero__actions .btn { width: 100%; }
  .mock__card--c { display: none; }
  .mock { aspect-ratio: 1.45; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .modal__box { padding: 30px 20px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Страницы услуг: Профи.ру и др. ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-4 > * { min-width: 0; }
.card--step { position: relative; }
.card__num { position: absolute; top: 28px; right: 28px; font-size: 14px; font-weight: 700; color: #c4ccdf; }
.page-hero .hero__in .crumbs { margin-bottom: 20px; }
.page-hero .hero__actions { margin-top: 36px; }

.orders { max-width: 500px; margin-left: auto; display: grid; gap: 12px; }
.orders__head { display: flex; align-items: baseline; gap: 10px; padding: 0 4px; }
.orders__head b { font-size: 18px; color: var(--ink); font-weight: 700; }
.orders__head span { color: var(--subtle); font-size: 14px; }
.order { background: #fff; border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.order--active { box-shadow: var(--shadow-lg); border-color: rgba(6, 78, 227, .25); }
.order__top { display: flex; justify-content: space-between; gap: 12px; }
.order__top b { color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.35; }
.order__top span { flex: none; color: var(--blue); font-weight: 700; font-size: 14px; }
.order__meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; font-size: 12px; color: var(--subtle); }
.order__chat { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.order__msg { align-self: flex-end; max-width: 85%; padding: 9px 12px; border-radius: 14px 14px 4px 14px; background: var(--blue); color: #fff; font-size: 13px; line-height: 1.4; }
.order__msg--client { align-self: flex-start; border-radius: 14px 14px 14px 4px; background: #f1f2f6; color: var(--text); }
.order__done { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 12px; border-radius: 12px; background: #e9f8ef; color: #12804a; font-size: 13px; font-weight: 600; }
.order__done svg { width: 16px; height: 16px; }

.price-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--blue); color: #fff; box-shadow: 0 24px 60px rgba(6, 78, 227, .3); }
.price-card > * { min-width: 0; }
.price-card .tariff__name, .price-card .tariff__price b { color: #fff; }
.price-card .tariff__desc { color: rgba(255, 255, 255, .85); min-height: 0; max-width: 460px; }
.price-card__per { font-size: 18px; color: rgba(255, 255, 255, .75); }
.price-card__note { margin-top: 16px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.price-card__list { margin: 0; padding: 28px; border: 0; border-radius: var(--r-md); background: rgba(255, 255, 255, .1); }
.price-card__list li { color: #fff; font-size: 16px; }
.price-card__list svg { color: #fff; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .orders { margin: 0 auto; }
  .page-hero .hero__visual { order: 2; }
  .price-card { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .grid-4 { grid-template-columns: 1fr; }
  .price-card .btn { width: 100%; }
  .price-card__list { padding: 20px; }
}

/* ---------- Авито ADS ---------- */
.stats--top { margin-top: 0; }
.pill--sm { font-size: 12px; padding: 4px 10px; }
.chips-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.chips-grid li { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; font-weight: 500; line-height: 1.35; min-width: 0; }
.adsmock { position: relative; max-width: 500px; margin-left: auto; padding: 0 0 40px; }
.adsmock__feed { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 78%; padding: 16px; border-radius: 26px; background: #fff; box-shadow: var(--shadow-lg); }
.adsmock__item { display: flex; flex-direction: column; gap: 6px; }
.adsmock__item i { display: block; aspect-ratio: 1; border-radius: 14px; background: #eef0f5; position: relative; }
.adsmock__item span { height: 9px; border-radius: 5px; background: #eef0f5; width: 90%; }
.adsmock__item span.s { width: 55%; }
.adsmock__item--ad i { background: linear-gradient(140deg, #d8e3fc, #9db6f4); }
.adsmock__item--ad i b { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 8px; background: #ff4053; color: #fff; font-size: 11px; }
.adsmock__item--ad em { font-style: normal; font-size: 10px; color: var(--subtle); }
.adsmock__item--ad span { height: auto; background: none; width: auto; font-size: 12px; line-height: 1.3; color: var(--ink); }
.adsmock__item--ad span.t { font-weight: 600; }
.adsmock__item--ad span.p { font-weight: 700; }
.adsmock__panel { position: absolute; right: 0; bottom: 0; width: 56%; padding: 18px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); font-size: 12px; }
.adsmock__panel > b { display: block; font-size: 14px; color: var(--ink); margin-bottom: 10px; }
.adsmock__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.adsmock__chips span { padding: 4px 9px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-weight: 600; }
.adsmock__kpi { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid var(--line); color: var(--muted); }
.adsmock__kpi b { color: var(--ink); }
@media (max-width: 1024px) {
  .chips-grid { grid-template-columns: 1fr 1fr; }
  .adsmock { margin: 0 auto; }
}
@media (max-width: 720px) {
  .chips-grid { grid-template-columns: 1fr; }
  .adsmock__feed { width: 86%; }
  .adsmock__panel { width: 66%; }
}

/* ---------- Кейсы ---------- */
.case-card__img img { object-position: center; }
.case-h1 { font-size: clamp(30px, 4vw, 48px); }
.case-facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 0 0 32px; }
.case-facts dt { font-size: 13px; color: var(--subtle); }
.case-facts dd { margin: 2px 0 0; font-weight: 600; color: var(--text); }
.case-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; }
.case-metrics li { padding: 22px 24px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.case-metrics b { display: block; font-size: clamp(26px, 3vw, 38px); font-weight: 600; color: var(--blue); line-height: 1.1; letter-spacing: -.02em; }
.case-metrics span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }
.section--case { padding-top: clamp(40px, 5vw, 70px); }
.case-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 50px; align-items: start; }
.case-cover { margin: 0 0 40px; }
.case-cover img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.case-cover figcaption { margin-top: 10px; font-size: 13px; color: var(--subtle); text-align: center; }
.case-body .prose > h2:first-child { margin-top: 0; }
.case-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.case-cta { padding: 28px; border-radius: var(--r-lg); background: var(--blue-50); }
.case-cta h2 { font-size: 24px; margin-bottom: 10px; }
.case-cta p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.case-cta__tg { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: var(--blue); font-weight: 600; text-decoration: none; }
@media (max-width: 1024px) {
  .case-layout { grid-template-columns: minmax(0, 1fr); }
  .case-aside { position: static; }
}
@media (max-width: 720px) {
  .case-metrics { grid-template-columns: 1fr; gap: 10px; }
  .case-metrics li { padding: 16px 18px; }
  .case-facts { gap: 10px 24px; }
}

/* ---------- Блог ---------- */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.post-card__img { display: block; aspect-ratio: 16 / 9; text-decoration: none; background: var(--blue-50); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__ph { height: 100%; display: flex; align-items: flex-end; padding: 22px; background: radial-gradient(100% 140% at 100% 0%, #c7d6fb 0%, var(--blue-50) 60%); }
.post-card__ph span { font-size: 22px; font-weight: 600; color: var(--blue); }
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.post-card__meta { display: flex; gap: 12px; font-size: 13px; color: var(--subtle); }
.post-card__meta span { color: var(--blue); font-weight: 600; }
.post-card__title { font-size: 20px; line-height: 1.3; }
.post-card__title a { text-decoration: none; }
.post-card__title a:hover { color: var(--blue); }
.post-card__desc { color: var(--muted); font-size: 15px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 14px; color: var(--subtle); }
.post-h1 { font-size: clamp(30px, 4.2vw, 52px); }
.post-author { display: flex; align-items: center; gap: 14px; }
.post-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--ink); }
.post-author b { display: block; color: var(--text); font-weight: 600; }
.post-author span { display: block; font-size: 13px; color: var(--subtle); max-width: 560px; line-height: 1.4; }
.tldr { margin-bottom: 28px; padding: 22px 26px; border-radius: var(--r-md); background: var(--blue-50); border-left: 4px solid var(--blue); }
.tldr b { display: block; margin-bottom: 6px; color: var(--blue); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.tldr p { font-size: 17px; line-height: 1.65; color: var(--text); }
.toc { margin-bottom: 36px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--r-md); }
.toc b { display: block; margin-bottom: 10px; font-weight: 600; }
.toc ol { counter-reset: t; display: grid; gap: 6px; }
.toc li { counter-increment: t; display: flex; gap: 10px; }
.toc li::before { content: counter(t) '.'; color: var(--subtle); min-width: 20px; }
.toc a { color: var(--blue); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.post-bio { display: flex; gap: 18px; align-items: center; margin-top: 50px; padding: 24px; border-radius: var(--r-md); background: var(--bg-alt); }
.post-bio img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; background: var(--ink); }
.post-bio b { font-size: 17px; color: var(--ink); }
.post-bio p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.post-bio a { color: var(--blue); }
.page-hero--post .h1 { margin: 16px 0 24px; }
@media (max-width: 1024px) { .grid-3 .post-card:last-child:nth-child(odd) { grid-column: auto; } }
