﻿/* =========================================================
   Залина · Avon & Faberlic — продающий лендинг
   ========================================================= */

:root {
  --pink: #D6006F;
  --pink-dark: #B0005B;
  --pink-light: #F2559A;
  --pink-soft: #FFE6F1;
  --pink-50: #FFF5F9;
  --yellow: #FFD84D;
  --ink: #1C1A22;
  --text: #24212B;
  --muted: #6C6676;
  --line: #EFE5EB;
  --white: #FFFFFF;
  --img-bg: #F3EFEA;
  --green: #138A4C;

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgba(28, 26, 34, .08);
  --shadow-lg: 0 24px 60px rgba(28, 26, 34, .16);
  --shadow-pink: 0 10px 24px rgba(214, 0, 111, .32);

  --gutter: clamp(16px, 4vw, 32px);
  --container: 1200px;
  --section: clamp(56px, 7vw, 104px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t: 200ms;

  --hero-grad: linear-gradient(135deg, #C80068 0%, #E0157F 50%, #F2559A 100%);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
mark { background: none; color: inherit; }
.sprite { position: absolute; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; opacity: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--white); text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }

/* ---------- Типографика ---------- */
.kicker { margin: 0 0 12px; font-size: .8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); }
.kicker--light { color: var(--yellow); }
.title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); line-height: 1.12; letter-spacing: -.02em; color: var(--ink); }
.title--light { color: var(--white); }
[data-max-discount] { white-space: nowrap; }
.subtitle { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem); line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }
.note { margin-top: 20px; font-size: .875rem; color: var(--muted); }
.note a, .faq__answer a, .consent a { color: var(--pink); font-weight: 600; text-underline-offset: 3px; }

.head { display: grid; gap: 12px 48px; margin-bottom: clamp(28px, 4vw, 48px); align-items: end; }
.head__note { margin: 0; color: var(--muted); max-width: 34em; }
.head--center { text-align: center; justify-items: center; }
@media (min-width: 900px) { .head:not(.head--center) { grid-template-columns: 1fr auto; } .head__note { max-width: 26em; } }

.chip {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px;
  padding: 8px 14px; border-radius: 999px;
  font-size: .8125rem; font-weight: 700; line-height: 1.2;
}
.chip svg { flex: none; }
.chip b { white-space: nowrap; }
.chip--light { background: rgba(255, 255, 255, .18); color: var(--white); }
.chip--pink { background: var(--pink-soft); color: var(--pink-dark); }
.chip--white { background: var(--white); color: var(--ink); }
.chip[hidden] { display: none; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border: 2px solid transparent; border-radius: 999px;
  font-weight: 800; font-size: .9375rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: transform var(--t) var(--ease), background-color var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .875rem; }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--pink); color: var(--white); box-shadow: var(--shadow-pink); }
.btn--primary:hover { background: var(--pink-dark); }
.btn--white { background: var(--white); color: var(--pink); box-shadow: 0 10px 24px rgba(80, 0, 40, .25); }
.btn--white:hover { background: var(--yellow); color: var(--ink); }
.btn--glass { background: rgba(255, 255, 255, .14); color: var(--white); border-color: rgba(255, 255, 255, .6); }
.btn--glass:hover { background: rgba(255, 255, 255, .24); border-color: var(--white); }
.btn--outline { background: var(--white); color: var(--pink); border-color: var(--pink); }
.btn--outline:hover { background: var(--pink-50); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #000; }
.btn.is-loading { opacity: .7; pointer-events: none; }

.link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; font-size: .9375rem; color: var(--pink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: rgba(214, 0, 111, .3); }
.link:hover { text-decoration-color: var(--pink); }
.inline-link { padding: 0; border: 0; background: none; color: var(--pink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); text-decoration: none; transition: background-color var(--t) var(--ease), color var(--t) var(--ease); }
.icon-btn:hover { background: var(--pink-50); color: var(--pink); }
.icon-btn--wa:hover { color: #1FA855; background: #EAF8EF; }
.icon-btn--tg:hover { color: #229ED9; background: #E8F5FC; }

.center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(28px, 4vw, 44px); }
.messengers { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Полоса акции ---------- */
.promo-bar { background: var(--ink); color: var(--white); font-size: .875rem; }
.promo-bar[hidden] { display: none; }
.promo-bar__inner { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 44px; }
.promo-bar p { margin: 0; padding: 8px 0; line-height: 1.35; }
.promo-bar__timer b { color: var(--yellow); font-variant-numeric: tabular-nums; }
.promo-bar a { flex: none; padding: 6px 14px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 800; text-decoration: none; }
.promo-bar a:hover { background: var(--white); }
@media (max-width: 639.98px) {
  .promo-bar { font-size: .8125rem; }
  .promo-bar__inner { justify-content: space-between; }
  .promo-bar__timer, .hide-sm { display: none; }
}

/* ---------- Шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: box-shadow var(--t) var(--ease); }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(28, 26, 34, .08); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--hero-grad); color: var(--white); flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text b { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; }
.logo__text small { font-size: .75rem; font-weight: 700; color: var(--pink); letter-spacing: .04em; }
.nav { display: none; gap: 4px; margin-inline: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .9375rem; text-decoration: none; transition: background-color var(--t) var(--ease), color var(--t) var(--ease); }
.nav a:hover { background: var(--pink-50); color: var(--pink); }
.header__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header__cta { display: none; margin-left: 8px; }
.icon-btn--wa, .icon-btn--tg { display: none; }
@media (min-width: 520px) { .header__cta { display: inline-flex; } .icon-btn--wa, .icon-btn--tg { display: inline-grid; } }
@media (min-width: 1040px) { .nav { display: flex; } .header__actions { margin-left: 0; } .menu-toggle { display: none; } }
@media (max-width: 519.98px) { :root { --header-h: 64px; } }

/* ---------- Мобильное меню ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(28, 26, 34, .5); opacity: 0; transition: opacity var(--t) var(--ease); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 100%); display: flex; flex-direction: column; overflow-y: auto; background: var(--white); padding: max(12px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) 20px; transform: translateX(100%); transition: transform 260ms var(--ease); }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; height: 56px; margin-bottom: 12px; }
.drawer__nav a { display: flex; align-items: center; min-height: 54px; border-bottom: 1px solid var(--line); font-weight: 800; font-size: 1.125rem; text-decoration: none; }
.drawer__nav a:hover { color: var(--pink); }
.drawer__foot { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }
.drawer__contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer__contacts a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; background: var(--pink-50); font-weight: 700; text-decoration: none; }
body.is-locked { overflow: hidden; }

/* ---------- Главный экран ---------- */
.hero { position: relative; overflow: hidden; background: var(--hero-grad); color: var(--white); padding: clamp(36px, 6vw, 72px) 0 clamp(96px, 10vw, 136px); }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 520px; height: 520px; right: -140px; top: -180px; background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 65%); }
.hero::after { width: 420px; height: 420px; left: -160px; bottom: -220px; background: radial-gradient(circle, rgba(255, 216, 77, .25), transparent 65%); }
.hero__inner { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
.hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.1rem + 3.8vw, 3.75rem); line-height: 1.08; letter-spacing: -.025em; margin-bottom: 20px; text-wrap: balance; }
.hero__title mark { display: inline-block; padding: 0 .18em; border-radius: .18em; background: var(--yellow); color: var(--ink); transform: rotate(-2deg); }
.hero__lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.55; color: rgba(255, 255, 255, .92); max-width: 32em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: .9375rem; font-weight: 600; }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust svg { flex: none; padding: 2px; border-radius: 50%; background: var(--yellow); color: var(--ink); }

.hero__visual { position: relative; height: 380px; max-width: 520px; width: 100%; margin-inline: auto; }
.hero__photo { position: absolute; overflow: hidden; border-radius: 22px; background: var(--img-bg); border: 6px solid var(--white); box-shadow: 0 24px 50px rgba(80, 0, 40, .35); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--main { width: 56%; aspect-ratio: 4 / 5; left: 22%; top: 0; transform: rotate(-3deg); z-index: 2; }
.hero__photo--a { width: 36%; aspect-ratio: 4 / 5; left: 0; top: 34%; transform: rotate(-9deg); z-index: 1; }
.hero__photo--b { width: 34%; aspect-ratio: 4 / 5; right: 0; top: 40%; transform: rotate(8deg); z-index: 3; }
.sticker { position: absolute; z-index: 4; display: grid; place-items: center; align-content: center; text-align: center; font-family: var(--font-display); font-weight: 700; line-height: 1; box-shadow: 0 12px 28px rgba(60, 0, 30, .3); }
.sticker small { display: block; margin-top: 4px; font-family: var(--font); font-weight: 800; font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; }
.sticker--yellow { width: 108px; height: 108px; border-radius: 50%; right: 4%; top: -2%; background: var(--yellow); color: var(--ink); font-size: 1.75rem; transform: rotate(10deg); }
.sticker--white { left: -2%; top: 6%; padding: 12px 16px; border-radius: 18px; background: var(--white); color: var(--pink); font-size: 1.125rem; transform: rotate(-6deg); }
.sticker--pink { left: 34%; bottom: 2%; padding: 12px 18px; border-radius: 18px; background: var(--ink); color: var(--white); font-size: 1rem; transform: rotate(4deg); }
.sticker--pink small { color: var(--yellow); }

@media (max-width: 559.98px) {
  .hero__actions .btn { width: 100%; }
  .hero__visual { height: 300px; }
  .sticker--yellow { width: 88px; height: 88px; font-size: 1.375rem; }
}
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .hero__visual { height: 500px; }
}

/* ---------- Секции ---------- */
.section { padding-block: var(--section); }
.section--soft { background: var(--pink-50); }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }

/* ---------- Выгоды ---------- */
.benefits { position: relative; z-index: 2; padding-top: 0; margin-top: clamp(-80px, -6vw, -56px); padding-bottom: clamp(48px, 6vw, 80px); }
.benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .benefit-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.benefit { display: flex; flex-direction: column; gap: 6px; padding: clamp(16px, 2.4vw, 26px); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-lg); }
.benefit__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 8px; border-radius: 16px; background: var(--pink-soft); color: var(--pink); }
.benefit b { font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, .9rem + .5vw, 1.25rem); line-height: 1.2; color: var(--ink); }
.benefit span:last-child { font-size: .875rem; line-height: 1.45; color: var(--muted); }

/* ---------- 3 шага ---------- */
.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.step__num { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 50%; background: var(--pink); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; box-shadow: var(--shadow-pink); }
.step h3 { font-size: 1.25rem; font-weight: 800; line-height: 1.3; margin-bottom: 8px; color: var(--ink); }
.step p { color: var(--muted); }
@media (min-width: 900px) {
  .step:not(:last-child)::after { content: ''; position: absolute; top: 56px; right: -24px; width: 24px; border-top: 3px dotted var(--pink-light); }
}
@media (max-width: 559.98px) { .center-actions .btn { width: 100%; } }

/* ---------- Наборы ---------- */
.sets { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.set { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.set:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.set__media { position: relative; display: block; width: 100%; padding: 0; border: 0; aspect-ratio: 1; background: var(--img-bg); overflow: hidden; }
.set__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.set:hover .set__media img { transform: scale(1.04); }
.set__badge { position: absolute; left: 12px; top: 12px; padding: 6px 12px; border-radius: 999px; background: var(--pink); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1rem; box-shadow: var(--shadow-pink); }
.set__brand { position: absolute; right: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .94); font-size: .6875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.set__body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.set__title { font-size: 1.125rem; font-weight: 800; line-height: 1.3; color: var(--ink); margin-bottom: 4px; }
.set__lead { font-size: .875rem; line-height: 1.45; color: var(--muted); margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.set__foot { margin-top: auto; display: grid; gap: 12px; }
.set__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.set__more { min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--pink); font-weight: 800; font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }

.price { display: grid; gap: 6px; justify-items: start; }
.price__row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price__now { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1; color: var(--ink); }
.price__old { font-size: .9375rem; color: var(--muted); text-decoration: line-through; }
.price__gift { display: inline-block; padding: 5px 10px; border-radius: 8px; background: var(--yellow); color: var(--ink); font-size: .8125rem; font-weight: 800; line-height: 1.3; }
.price__date { font-size: .75rem; color: var(--muted); }
.price__ask { font-weight: 700; color: var(--pink); }
.sets-more { display: flex; justify-content: center; margin-top: 28px; }
.set.is-extra { display: none; }
.sets.is-expanded .set.is-extra { display: flex; }

@media (max-width: 639.98px) {
  .sets { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .sets::-webkit-scrollbar { display: none; }
  .set { scroll-snap-align: start; }
  .set.is-extra { display: flex; }
  .sets-more { display: none; }
}

/* ---------- Акции ---------- */
.promo-grid { display: grid; gap: 20px; }
@media (min-width: 960px) { .promo-grid { grid-template-columns: 1.25fr 1fr; } }
.offer { display: grid; overflow: hidden; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.offer[hidden] { display: none; }
.offer__media { background: var(--img-bg); }
.offer__media img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.offer__body { display: flex; flex-direction: column; padding: clamp(20px, 3vw, 32px); }
.offer__body h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 1.1rem + .8vw, 1.625rem); line-height: 1.2; color: var(--ink); margin-bottom: 12px; }
.offer__body > p:not(.chip):not(.offer__small) { color: var(--muted); }
.offer__small { font-size: .75rem; color: var(--muted); }
.offer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: auto; padding-top: 20px; }
.offer .chip { align-self: flex-start; }
.offer .chip b { font-variant-numeric: tabular-nums; }
@media (min-width: 640px) { .offer--hot { grid-template-columns: .8fr 1.2fr; } .offer--hot .offer__media img { aspect-ratio: auto; } }

.start { margin-top: clamp(40px, 5vw, 64px); }
.start__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.start__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--pink-light) transparent; }
.start-card { scroll-snap-align: start; overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.start-card img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }
.start-card div { padding: 16px; }
.start-card b { display: block; margin-bottom: 4px; font-weight: 800; color: var(--ink); }
.start-card p { font-size: .875rem; line-height: 1.45; color: var(--muted); }
@media (min-width: 1100px) { .start__list { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; } }
@media (max-width: 639.98px) { .start__list { grid-auto-columns: 78%; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); } }

/* ---------- Заявка ---------- */
.lead-band { position: relative; overflow: hidden; background: var(--hero-grad); color: var(--white); padding-block: var(--section); }
.lead-band::before { content: ''; position: absolute; width: 600px; height: 600px; left: -200px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 65%); pointer-events: none; }
.lead-band__inner { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .lead-band__inner { grid-template-columns: 1fr 460px; gap: 64px; } }
.lead-band .title { margin-bottom: 24px; }
.ticks { display: grid; gap: 12px; font-weight: 600; font-size: 1.0625rem; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { flex: none; margin-top: 2px; padding: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); color: var(--ink); }
.ticks--dark { color: var(--ink); }
.ticks--dark svg { background: var(--pink-soft); color: var(--pink); }
.lead-band__alt { margin: 28px 0 0; font-weight: 700; opacity: .9; }
.lead-band .messengers { margin-top: 12px; }

.form-card { display: grid; gap: 16px; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--white); color: var(--text); box-shadow: var(--shadow-lg); }
.form-card__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; line-height: 1.2; color: var(--ink); }
.form-card__sub { margin: -8px 0 0; color: var(--muted); font-size: .9375rem; }
.form-card__note { margin: -6px 0 0; text-align: center; font-size: .8125rem; color: var(--muted); }
.form-card__set { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--pink-soft); color: var(--pink-dark); font-weight: 700; font-size: .9375rem; }
.form-card__set[hidden] { display: none; }

.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field__label { display: block; margin-bottom: 6px; font-size: .875rem; font-weight: 700; color: var(--ink); }
.field__opt { font-weight: 500; color: var(--muted); }
.field__error { margin: 6px 0 0; font-size: .8125rem; font-weight: 600; color: #C0223F; }
.field__error[hidden] { display: none; }
.input, select {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 2px solid var(--line); border-radius: 14px; background: #FCFAFB;
  font-size: 1rem; line-height: 1.4;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), background-color var(--t) var(--ease);
  -webkit-appearance: none; appearance: none;
}
textarea.input { resize: vertical; min-height: 76px; }
.input::placeholder { color: #A39CA8; }
.input:hover, select:hover { border-color: #E4CCD9; }
.input:focus, select:focus { outline: none; border-color: var(--pink); background: var(--white); box-shadow: 0 0 0 4px rgba(214, 0, 111, .12); }
.field.is-invalid .input { border-color: #E06A85; background: #FFF6F8; }
.select { position: relative; }
.select::after { content: ''; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--pink); border-bottom: 2px solid var(--pink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
select { padding-right: 44px; cursor: pointer; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8125rem; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--pink); cursor: pointer; }
.consent.is-invalid { color: #C0223F; }

.form__status { padding: 14px 16px; border-radius: 14px; font-size: .9375rem; line-height: 1.5; background: var(--pink-50); }
.form__status[hidden] { display: none; }
.form__status.is-ok { background: #E9F7EF; color: #0F5132; }
.form__status.is-warn { background: #FFF6DA; color: #5C4300; }
.form__status.is-error { background: #FDECEF; color: #7A1B2E; }
.form__status strong { display: block; margin-bottom: 2px; }
.form__status .btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* ---------- Категории ---------- */
.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 12px; }
@media (min-width: 900px) { .cats { grid-template-columns: repeat(6, 1fr); gap: 24px; } }
.cat { display: grid; justify-items: center; gap: 12px; text-align: center; text-decoration: none; font-weight: 800; font-size: .9375rem; line-height: 1.25; color: var(--ink); }
.cat img { width: 100%; max-width: 168px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--pink-soft), var(--shadow); background: var(--img-bg); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.cat:hover img { transform: translateY(-4px) scale(1.03); box-shadow: 0 0 0 3px var(--pink), var(--shadow-lg); }
.cat:hover span { color: var(--pink); }

/* ---------- Каталоги ---------- */
.catalogs { display: grid; gap: 20px; }
@media (min-width: 900px) { .catalogs { grid-template-columns: 1fr 1fr; } }
.catalog { position: relative; display: grid; grid-template-columns: 1fr 38%; align-items: end; min-height: 300px; overflow: hidden; border-radius: var(--radius-lg); color: var(--white); }
.catalog--avon { background: var(--hero-grad); }
.catalog--faberlic { background: linear-gradient(135deg, #2A2632 0%, #403848 100%); }
.catalog__body { padding: clamp(22px, 3vw, 36px); align-self: center; }
.catalog__body h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.15; margin-bottom: 10px; }
.catalog__body p:not(.chip) { color: rgba(255, 255, 255, .88); margin-bottom: 22px; }
.catalog__img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 559.98px) { .catalog { grid-template-columns: 1fr; } .catalog__img { height: 200px; } .catalog__body .btn { width: 100%; } }

/* ---------- Обо мне ---------- */
.about { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 420px 1fr; gap: 64px; } }
.about__photo { margin: 0; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; max-width: 420px; width: 100%; background: var(--hero-grad); box-shadow: var(--shadow-lg); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899.98px) { .about__photo:has(.about__placeholder) { aspect-ratio: 16 / 9; max-width: none; } }
.about__placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 100%; color: var(--white); text-align: center; padding: 24px; }
.about__placeholder span { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.25rem, 1.6rem + 3vw, 3.25rem); line-height: 1; }
.about__placeholder small { font-weight: 800; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.about__text .title { margin-bottom: 16px; }
.about__lead { font-size: 1.1875rem; font-weight: 600; color: var(--ink); }
.about__text > p { color: var(--muted); max-width: 36em; }
.about__text .ticks { margin-top: 20px; font-size: 1rem; }

/* ---------- Сотрудничество ---------- */
.partner { display: grid; gap: 20px; align-items: center; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-lg); border: 2px dashed var(--pink-soft); background: var(--white); }
.partner .subtitle { margin-bottom: 8px; }
.partner p { color: var(--muted); max-width: 44em; }
.partner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) { .partner { grid-template-columns: 1fr auto; gap: 40px; } }

/* ---------- Вопросы ---------- */
.faq__list { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq__item { border-radius: var(--radius); background: var(--white); box-shadow: 0 2px 10px rgba(28, 26, 34, .05); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 22px; cursor: pointer; list-style: none; font-weight: 800; font-size: 1.0625rem; line-height: 1.35; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg { flex: none; padding: 4px; width: 30px; height: 30px; border-radius: 50%; background: var(--pink-soft); color: var(--pink); transition: transform var(--t) var(--ease); }
.faq__item[open] summary svg { transform: rotate(45deg); }
.faq__answer { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Финал ---------- */
.final { position: relative; overflow: hidden; background: var(--hero-grad); color: var(--white); padding-block: clamp(64px, 8vw, 112px); text-align: center; }
.final::before { content: ''; position: absolute; width: 640px; height: 640px; right: -220px; bottom: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 216, 77, .28), transparent 65%); pointer-events: none; }
.final__inner { position: relative; max-width: 860px; }
.final__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.875rem, 1.2rem + 3vw, 3.25rem); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 16px; text-wrap: balance; }
.final__lead { font-size: 1.125rem; color: rgba(255, 255, 255, .92); max-width: 32em; margin-inline: auto; }
.final .chip b { font-variant-numeric: tabular-nums; color: var(--yellow); }

/* ---------- Подвал ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .78); padding: clamp(48px, 6vw, 72px) 0 max(28px, env(safe-area-inset-bottom)); font-size: .9375rem; }
.footer .logo { color: var(--white); }
.footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer__grid > div:first-child { grid-column: 1 / -1; }
.footer__grid a:not(.logo) { display: flex; align-items: center; gap: 8px; min-height: 36px; text-decoration: none; transition: color var(--t) var(--ease); }
.footer__grid a:not(.logo):hover { color: var(--yellow); }
.footer__about { margin-top: 14px; max-width: 28em; }
.footer__title { margin-bottom: 8px; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pink-light); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } .footer__grid > div:first-child { grid-column: auto; } }
.footer__legal::before { content: ''; height: 1px; margin-bottom: 12px; background: rgba(255, 255, 255, .12); }
.footer__legal { display: grid; gap: 8px; margin-top: 40px; font-size: .8125rem; color: rgba(255, 255, 255, .55); }
.footer__legal p { margin: 0; }
.footer__legal a { color: rgba(255, 255, 255, .85); }

/* ---------- Закреплённые кнопки (телефон) ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; padding: 10px max(12px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); background: rgba(255, 255, 255, .97); box-shadow: 0 -8px 24px rgba(28, 26, 34, .1); transform: translateY(110%); transition: transform var(--t) var(--ease); }
.sticky-cta .btn { min-height: 50px; padding: 0 12px; box-shadow: none; }
.sticky-cta .btn:hover { transform: none; }
.sticky-cta.is-visible { transform: none; }
@media (max-width: 899.98px) { .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- Окна ---------- */
dialog { padding: 0; border: 0; color: var(--text); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(28, 26, 34, .6); }
.modal { width: min(460px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; overflow: auto; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.modal--set { width: min(940px, calc(100% - 24px)); }
.modal__close { position: absolute; top: 10px; right: 10px; z-index: 3; background: var(--white); box-shadow: var(--shadow); }
.form-card--modal { box-shadow: none; padding-top: 28px; }
.set-view { display: grid; }
.set-view__media { background: var(--img-bg); }
.set-view__media img { width: 100%; height: auto; }
.set-view__body { padding: clamp(22px, 3vw, 32px); }
.set-view__body .chip { margin-bottom: 12px; }
.set-view__body .subtitle { margin-bottom: 14px; }
.set-view__body .price { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.set-view__label { margin-bottom: 10px; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.set-view__items { display: grid; gap: 6px; font-size: .9375rem; }
.set-view__items li { position: relative; padding-left: 20px; }
.set-view__items li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.set-view__codes { margin: 14px 0 20px; font-size: .8125rem; color: var(--muted); }
@media (min-width: 820px) {
  .set-view { grid-template-columns: 1fr 1fr; max-height: calc(100dvh - 24px); }
  .set-view__media, .set-view__body { overflow-y: auto; max-height: calc(100dvh - 24px); }
}
dialog[open] { animation: pop 220ms var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Появление ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .set:hover, .cat:hover img { transform: none; }
}

/* ---------- Регистрация в окне ---------- */
.modal--reg { width: min(560px, calc(100% - 24px)); height: min(920px, calc(100dvh - 24px)); overflow: hidden; }
.reg { display: flex; flex-direction: column; height: 100%; }
.reg__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 16px 12px 20px; border-bottom: 1px solid var(--line); }
.reg__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; line-height: 1.25; color: var(--ink); }
.reg__sub { margin: 4px 0 0; font-size: .8125rem; font-weight: 600; line-height: 1.4; color: var(--green); }
.reg__sub svg { display: inline-block; vertical-align: -3px; margin-right: 4px; }
.reg__frame { position: relative; flex: 1; min-height: 0; background: var(--pink-50); }
.reg__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--white); }
.reg__loading { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; font-weight: 700; color: var(--muted); }
.reg__loading[hidden] { display: none; }
.reg__fail { position: absolute; inset: 0; z-index: 2; display: grid; align-content: center; justify-items: center; gap: 16px; padding: 24px; text-align: center; background: var(--white); }
.reg__fail[hidden] { display: none; }
.reg__foot { padding: 12px 20px max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); }
.reg__foot p { margin: 0 0 8px; font-size: .75rem; color: var(--muted); }
.reg__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; }
@media (max-width: 599.98px) {
  .modal--reg { width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .reg__head { padding-top: max(12px, env(safe-area-inset-top)); }
}