/* ==========================================================
   Цедра — стили сайта
   Цвета и размеры меняются в одном месте — в :root ниже.
   ========================================================== */
:root {
  --bg: #FFFBF7;          /* фон страницы */
  --surface: #FFFFFF;     /* карточки */
  --tint: #FFF4EB;        /* светло-оранжевые секции */
  --tint-2: #FFE7D6;
  --text: #1F1A17;
  --muted: #6F6560;
  --line: #F0E4DA;
  --field: #EADCD0;
  --accent: #EE5F12;      /* основной оранжевый */
  --accent-hover: #D9520B;
  --accent-ink: #C04A0C;  /* оранжевый для мелкого текста */
  --accent-soft: #FFB685;
  --dark: #1F1A17;
  --error: #C5221F;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(60, 30, 10, .04), 0 8px 24px rgba(60, 30, 10, .06);
  --shadow-lg: 0 24px 60px rgba(120, 50, 10, .14);
  --ring: 0 0 0 4px rgba(238, 95, 18, .16);
  --container: 1160px;
  --header-h: 72px;
  --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: 17px; line-height: 1.6;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
svg { display: block; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid rgba(238, 95, 18, .45); outline-offset: 2px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent); }

/* ---------- Логотип ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 25px; font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.logo__mark { width: 32px; height: 32px; stroke: none; }
.logo--light { color: #fff; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border: 1.5px solid transparent; border-radius: 999px;
  font-size: 16px; font-weight: 700; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(238, 95, 18, .28); }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(238, 95, 18, .34); }
.btn--ghost { background: transparent; color: var(--text); border-color: #E6D5C7; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn--lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn__icon { width: 20px; height: 20px; transition: transform .2s; }
.btn:hover .btn__icon { transform: translateX(3px); }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 251, 247, .85); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav__link { font-size: 15px; font-weight: 600; color: var(--muted); transition: color .2s; }
.nav__link:hover { color: var(--text); }
.nav__cta { display: none; }
.burger {
  display: none; width: 44px; height: 44px; padding: 0; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer;
}
.burger svg { width: 22px; height: 22px; }
.burger__close, .nav-open .burger__open { display: none; }
.nav-open .burger__close { display: block; }

/* ---------- Первый экран ---------- */
.hero { padding: 72px 0 104px; }
.hero__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px;
  border-radius: 999px; background: var(--tint); color: var(--accent-ink); font-size: 14px; font-weight: 700;
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
.hero__title { margin: 24px 0 20px; font-size: clamp(36px, 4.4vw, 58px); font-weight: 800; line-height: 1.06; letter-spacing: -0.035em; }
.hero__lead { max-width: 560px; font-size: 19px; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 32px; font-size: 15px; font-weight: 600; }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 20px; height: 20px; color: var(--accent); stroke-width: 2.4; }

.hero__visual { position: relative; display: flex; justify-content: center; padding: 24px 0 40px; }
.hero__circle {
  position: absolute; top: 50%; left: 50%; width: 440px; height: 440px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 32% 30%, #FFD9BC 0%, #FFA163 48%, var(--accent) 100%);
}
.hero__circle::after { content: ""; position: absolute; inset: 22px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .45); }
.chat {
  position: relative; width: 100%; max-width: 360px; overflow: hidden;
  background: var(--surface); border-radius: 28px; box-shadow: var(--shadow-lg);
}
.chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.chat__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.chat__avatar svg { width: 22px; height: 22px; }
.chat__name { display: block; font-size: 15px; line-height: 1.3; }
.chat__status { display: block; font-size: 13px; font-weight: 600; color: #2E8B57; }
.chat__body { display: flex; flex-direction: column; gap: 10px; min-height: 400px; padding: 20px 20px 64px; background: #FBF7F3; }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; }
.msg--bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg--me { align-self: flex-end; background: var(--accent); color: #fff; font-weight: 600; border-bottom-right-radius: 6px; }
.msg-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.msg-btns span { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--accent-ink); }
.msg-btns .is-picked { background: var(--tint-2); border-color: var(--accent-soft); }
.msg, .msg-btns { animation: pop .5s ease both; animation-delay: calc(.4s + var(--d) * .7s); }
.notify {
  position: absolute; left: -24px; bottom: 16px; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-lg);
  font-size: 14px; line-height: 1.35; animation: pop .6s ease 4.6s both;
}
.notify__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--accent); display: grid; place-items: center; }
.notify__icon svg { width: 22px; height: 22px; }
.notify b { display: block; }
.notify b + span { display: block; font-size: 13px; color: var(--muted); }

@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(238, 95, 18, .45); }
  70% { box-shadow: 0 0 0 10px rgba(238, 95, 18, 0); }
  100% { box-shadow: 0 0 0 0 rgba(238, 95, 18, 0); }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Секции ---------- */
.section { padding: 104px 0; }
.section--tint { background: var(--tint); }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__label {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink);
}
.section__label::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--accent); }
.section__title { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.03em; }
.section__lead { margin-top: 16px; font-size: 18px; color: var(--muted); }

/* ---------- Услуги ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  display: flex; flex-direction: column; padding: 32px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card--main { border-color: var(--accent-soft); }
.service-card__icon { width: 56px; height: 56px; margin-bottom: 24px; border-radius: 16px; background: var(--tint); color: var(--accent); display: grid; place-items: center; }
.service-card__icon svg { width: 28px; height: 28px; }
.service-card--main .service-card__icon { background: var(--accent); color: #fff; }
.service-card__title { font-size: 26px; font-weight: 800; }
.service-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { padding: 4px 12px; border-radius: 999px; background: var(--tint); color: var(--accent-ink); font-size: 13px; font-weight: 700; transition: background-color .2s, color .2s; }
.tag:hover { background: var(--accent); color: #fff; }
.service-card__text { margin-top: 12px; font-size: 16px; color: var(--muted); }
.service-card__list { display: grid; gap: 10px; margin: 20px 0 28px; font-size: 15.5px; }
.service-card__list li { position: relative; padding-left: 22px; }
.service-card__list li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-soft); }
.service-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 24px; border-top: 1px dashed var(--line); }
.service-card__price { font-size: 20px; font-weight: 800; }

/* ---------- Для кого ---------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.audience-card { padding: 28px; background: var(--surface); border: 1px solid #F6E3D3; border-radius: var(--radius); }
.audience-card h3 { display: flex; align-items: baseline; gap: 12px; font-size: 19px; font-weight: 800; }
.audience-card h3::before { content: ""; flex-shrink: 0; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); transform: translateY(-2px); }
.audience-card p { margin-top: 10px; font-size: 15.5px; color: var(--muted); }

/* ---------- Почему мы ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.why__head { position: sticky; top: calc(var(--header-h) + 32px); }
.why__head .btn { margin-top: 32px; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-item { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.why-item__icon { width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; background: var(--tint); color: var(--accent); display: grid; place-items: center; }
.why-item__icon svg { width: 24px; height: 24px; }
.why-item h3 { font-size: 19px; font-weight: 800; }
.why-item p { margin-top: 8px; font-size: 15.5px; color: var(--muted); }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; padding: 28px; background: var(--surface); border-radius: var(--radius); }
.step__num { display: inline-block; margin-bottom: 20px; padding: 4px 10px; border-radius: 8px; background: var(--tint); color: var(--accent-ink); font-size: 15px; font-weight: 800; }
.step h3 { font-size: 19px; font-weight: 800; }
.step p { margin-top: 8px; font-size: 15.5px; color: var(--muted); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 46px; right: -13px; z-index: 1; width: 9px; height: 9px;
  border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg);
}

/* ---------- Заявка ---------- */
.order { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.order__info { position: sticky; top: calc(var(--header-h) + 32px); }
.order__info .section__title { font-size: clamp(30px, 3vw, 40px); }
.order__perks { display: grid; gap: 14px; margin-top: 32px; font-weight: 600; }
.order__perks li { display: flex; align-items: center; gap: 12px; }
.order__perks svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--tint); color: var(--accent); stroke-width: 2.6; }

.form { position: relative; padding: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; margin-bottom: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
fieldset.field { display: block; }
fieldset.field .field__label { margin-bottom: 10px; }
fieldset.field .field__error { margin-top: 8px; }
.field--full { grid-column: 1 / -1; }
.field__label { padding: 0; font-size: 14px; font-weight: 700; }
.field__label i { font-style: normal; color: var(--accent); }
.field__label small { margin-left: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.field__input {
  width: 100%; height: 52px; padding: 0 16px; font-size: 16px;
  background: #FFFDFB; border: 1.5px solid var(--field); border-radius: 14px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
textarea.field__input { height: auto; min-height: 120px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.field__input::placeholder { color: #B3A79F; }
.field__input:hover { border-color: #DCC6B5; }
.field__input:focus { outline: none; background: #fff; border-color: var(--accent); box-shadow: var(--ring); }
.field__error { display: none; font-size: 13px; font-weight: 600; color: var(--error); }
.field.is-invalid .field__error { display: block; }
.field.is-invalid .field__input { border-color: var(--error); }

/* Переключатель Telegram / E-mail */
.switch { display: inline-flex; align-self: flex-start; gap: 4px; padding: 4px; border-radius: 14px; background: var(--tint); }
.switch label { position: relative; cursor: pointer; }
.switch input, .chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.switch span { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; font-size: 15px; font-weight: 700; color: var(--muted); transition: background-color .2s, color .2s, box-shadow .2s; }
.switch svg { width: 18px; height: 18px; }
.switch input:checked + span { background: var(--surface); color: var(--accent-ink); box-shadow: 0 1px 3px rgba(60, 30, 10, .12); }
.switch input:focus-visible + span, .chip input:focus-visible + span { outline: 3px solid rgba(238, 95, 18, .45); outline-offset: 2px; }

/* Выбор услуг */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px;
  background: #FFFDFB; border: 1.5px solid var(--field); border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: border-color .2s, background-color .2s, color .2s;
}
.chip span::before { content: ""; width: 16px; height: 16px; border: 1.5px solid #D9C4B3; border-radius: 5px; background: #fff center / 12px no-repeat; transition: .2s; }
.chip:hover span { border-color: var(--accent-soft); }
.chip input:checked + span { background: var(--tint); border-color: var(--accent); color: var(--accent-ink); }
.chip input:checked + span::before {
  border-color: var(--accent); background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.field.is-invalid .chip span { border-color: #F1B5AE; }

/* Согласие */
.check { position: relative; display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.check input { position: absolute; width: 22px; height: 22px; margin: 0; opacity: 0; }
.check__box { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; flex-shrink: 0; border: 1.5px solid #D9C4B3; border-radius: 7px; background: #fff; color: #fff; transition: .2s; }
.check__box svg { width: 14px; height: 14px; stroke-width: 3.2; opacity: 0; transition: opacity .15s; }
.check input:checked + .check__box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .check__box svg { opacity: 1; }
.check input:focus-visible + .check__box { outline: 3px solid rgba(238, 95, 18, .45); outline-offset: 2px; }
.check__text a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.field.is-invalid .check__box { border-color: var(--error); }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.spinner { display: none; width: 22px; height: 22px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.form.is-loading .spinner { display: block; }
.form.is-loading .form__submit { pointer-events: none; opacity: .85; }
.form__status { margin-top: 14px; font-size: 14px; font-weight: 600; text-align: center; color: var(--error); }
.form__status:empty { display: none; }

.form.is-sent > :not(.form__success) { display: none; }
.form__success { padding: 48px 8px; text-align: center; }
.form__success-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 12px 32px rgba(238, 95, 18, .35); animation: pop .5s ease both; }
.form__success-icon svg { width: 36px; height: 36px; stroke-width: 2.6; }
.form__success h3 { font-size: 28px; font-weight: 800; }
.form__success p { max-width: 380px; margin: 12px auto 28px; color: var(--muted); }

/* ---------- Вопросы ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid #F6E3D3; border-radius: 18px; transition: box-shadow .2s; }
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; font-size: 17px; font-weight: 700; list-style: none; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg { width: 22px; height: 22px; color: var(--accent); transition: transform .25s; }
.faq__item[open] summary svg { transform: rotate(45deg); }
.faq__item p { padding: 0 24px 22px; font-size: 16px; color: var(--muted); }

/* ---------- Подвал ---------- */
.footer { padding: 72px 0 32px; background: var(--dark); color: #CFC6C0; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { max-width: 300px; margin: 16px 0 24px; font-size: 15px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer__col h3 { margin-bottom: 4px; font-size: 15px; font-weight: 800; color: #fff; }
.footer__col a { display: inline-flex; align-items: center; gap: 10px; width: fit-content; transition: color .2s; }
.footer__col a:hover { color: #FF9A5C; }
.footer__col svg { width: 18px; height: 18px; color: var(--accent-soft); }
.footer__note { font-size: 13px; color: #9C918A; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #9C918A; }

/* ---------- Документы (политика, согласие) ---------- */
.doc { padding: 56px 0 96px; }
.doc__inner { max-width: 820px; }
.doc__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; font-size: 15px; font-weight: 700; color: var(--accent-ink); }
.doc__back svg { width: 18px; height: 18px; transform: rotate(180deg); }
.doc h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; }
.doc__meta { margin-top: 12px; font-size: 15px; color: var(--muted); }
.doc h2 { margin: 40px 0 12px; font-size: 22px; font-weight: 800; }
.doc p, .doc li { font-size: 16px; color: #3D3531; }
.doc p + p { margin-top: 12px; }
.doc ul { display: grid; gap: 8px; margin: 12px 0; }
.doc ul li { position: relative; padding-left: 20px; }
.doc ul li::before { content: ""; position: absolute; left: 2px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-soft); }
.doc a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.doc__card { margin-top: 32px; padding: 24px 28px; border-radius: var(--radius); background: var(--tint); }
.fill { padding: 0 4px; border-radius: 4px; background: var(--tint-2); } /* данные, которые нужно заполнить */
.footer--mini { padding: 28px 0; }
.footer--mini .footer__bottom { margin: 0; padding: 0; border: 0; }

/* ---------- Декор по бокам ---------- */
.hero, .section { position: relative; isolation: isolate; overflow-x: clip; }
/* точечная сетка, видна только по краям */
.hero::before, .section::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--dot, rgba(238, 95, 18, .28)) 1.4px, transparent 1.8px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 22%, transparent 78%, #000 100%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 22%, transparent 78%, #000 100%);
}
/* мягкое оранжевое свечение на первом экране */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(520px 420px at 0% 15%, rgba(255, 170, 110, .28), transparent 70%),
    radial-gradient(560px 480px at 100% 90%, rgba(255, 140, 70, .18), transparent 70%);
}
.section--tint { background: linear-gradient(180deg, #FFF4EB 0%, #FFEFE2 100%); }
/* контурные дольки цитруса по краям секций */
.deco {
  position: absolute; z-index: -1; width: 340px; height: 340px; pointer-events: none;
  color: var(--accent); opacity: .18; stroke-width: 1.1; animation: spinSlow 90s linear infinite;
}
.deco--r { top: 72px; right: -150px; }
.deco--l { bottom: 56px; left: -150px; animation-direction: reverse; }
.deco--sm { width: 200px; height: 200px; opacity: .14; }
.deco--sm.deco--r { right: -70px; }
.deco--sm.deco--l { left: -70px; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@media (max-width: 1080px) {
  .deco { display: none; }
  .hero::before, .section::before { -webkit-mask-image: none; mask-image: none; opacity: .35; }
}

/* ---------- Насыщенные блоки ---------- */
:root { --bg: #FFF6EE; }
.header { background: rgba(255, 246, 238, .86); }
.hero { background: linear-gradient(180deg, #FFE6D2 0%, #FFF0E4 55%, var(--bg) 100%); }

/* Логотип — выразительный шрифт */
.logo { font-family: "Unbounded", var(--font); font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text small { margin-top: 4px; font-size: 8.5px; font-weight: 500; letter-spacing: .5em; text-transform: uppercase; color: var(--accent-ink); }
.logo--light .logo__text small { color: #FF9A5C; }
.logo__mark { width: 36px; height: 36px; }

/* Живой чат на первом экране: сообщения появляются по очереди и повторяются */
.chat__body.is-live > .msg, .chat__body.is-live > .msg-btns { display: none; animation: none; }
.chat__body.is-live > .msg.is-shown { display: block; animation: pop .35s ease both; }
.chat__body.is-live > .msg-btns.is-shown { display: flex; animation: pop .35s ease both; }
.chat__body.is-live .msg-btns .is-picked { background: var(--surface); border-color: var(--line); transition: background-color .25s, border-color .25s, transform .25s; }
.chat__body.is-live .msg-btns.is-chosen .is-picked { background: var(--tint-2); border-color: var(--accent); transform: scale(1.06); }
.typing { display: inline-flex; align-self: flex-start; gap: 4px; padding: 13px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; border-bottom-left-radius: 6px; animation: pop .25s ease both; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: #C9B8AC; animation: typing 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.notify.is-live { animation: none; opacity: 0; transform: translateY(12px) scale(.97); transition: opacity .4s ease, transform .4s ease; }
.notify.is-live.is-shown { opacity: 1; transform: none; }

/* Тёмная секция */
.section--dark { --dot: rgba(255, 150, 90, .22); background: #1F1A17; color: #F3ECE7; }
.section--dark .section__title { color: #fff; }
.section--dark .section__lead { color: #BDB2AB; }
.section--dark .section__label { color: #FF9A5C; }
.section--dark .why-item { background: #2A2420; border-color: rgba(255, 255, 255, .07); }
.section--dark .why-item h3 { color: #fff; }
.section--dark .why-item p { color: #B8ADA6; }
.section--dark .why-item__icon { background: rgba(238, 95, 18, .16); color: #FF8A4C; }
.section--dark .deco { color: #FF8A4C; opacity: .16; }

/* Оранжевая секция с формой */
.section--accent { --dot: rgba(238, 95, 18, .22); background: linear-gradient(135deg, #FFE4CF 0%, #FFD5B6 55%, #FFC9A3 100%); }
.section--accent .order__perks svg { background: rgba(255, 255, 255, .7); color: var(--accent); }
.section--accent .deco { opacity: .2; }
.section--accent .form { border-color: transparent; box-shadow: 0 30px 70px rgba(160, 70, 10, .16); }

/* Светло-оранжевые секции поярче */
.section--tint { background: linear-gradient(180deg, #FFEBDC 0%, #FFE3CF 100%); }
.service-card, .why-item:not(.section--dark .why-item) { box-shadow: 0 1px 2px rgba(60, 30, 10, .03), 0 10px 30px rgba(120, 50, 10, .05); }


/* ---------- Появление при прокрутке ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { width: 100%; max-width: 480px; margin: 0 auto; }
  .services, .audience, .steps, .footer__top { grid-template-columns: 1fr 1fr; }
  .service-card--main { grid-column: 1 / -1; }
  .why, .order, .faq { grid-template-columns: 1fr; gap: 40px; }
  .why__head, .order__info { position: static; }
  .step::after { display: none; }
}
@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .header__cta { margin-left: auto; }
  .header__inner { gap: 12px; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding: 14px 0; font-size: 18px; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav__cta { display: inline-flex; margin-top: 20px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 36px; }
  .section__lead { font-size: 17px; }
  .hero { padding: 40px 0 72px; }
  .hero__lead { font-size: 17px; }
  .hero__actions .btn { width: 100%; }
  .hero__circle { width: 320px; height: 320px; }
  .notify { left: 0; }
  .services, .audience, .why__grid, .steps, .form__grid, .footer__top { grid-template-columns: 1fr; }
  .service-card, .audience-card, .why-item, .step { padding: 24px; }
  .form { padding: 24px 16px; border-radius: 22px; }
  .footer__top { gap: 32px; }
}
@media (max-width: 560px) {
  .header__cta { display: none; }
  .burger { margin-left: auto; }
  .nav { padding: 8px 16px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
