/* Архетипические духи — прототип сайта по макету «Финальная версия».
   Токены: примитив → смысл. Компоненты берут только смысловые. */

:root {
  /* примитивы */
  --emerald-950: #0c2a24;
  --emerald-900: #10342c;
  --emerald-800: #16443a;
  --ivory-50: #fbf8f2;
  --ivory-100: #f5f1e8;
  --ivory-200: #ebe5d8;
  --brass-500: #a8864e;
  --brass-400: #c2a36b;
  --ink-900: #1d2421;
  --ink-600: #4c5651;
  --ink-500: #5f6964;

  /* смысл */
  --bg: var(--ivory-50);
  --bg-alt: var(--ivory-100);
  --surface: #ffffff;
  --line: var(--ivory-200);
  --text: var(--ink-900);
  --text-soft: var(--ink-600);
  --text-muted: var(--ink-500);
  --brand: var(--emerald-900);
  --brand-deep: var(--emerald-950);
  --on-brand: var(--ivory-50);
  --accent: var(--brass-500);
  --accent-soft: var(--brass-400);
  --focus: var(--brass-500);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-pill: 999px;
  --r-card: 14px;
  --shadow: 0 1px 2px rgba(16, 52, 44, .06), 0 8px 24px rgba(16, 52, 44, .06);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--brand); color: var(--on-brand); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.kicker { margin: 0 0 6px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-muted); }
.display { font: 400 clamp(38px, 4.6vw, 60px)/1.04 var(--serif); letter-spacing: -.01em; margin: 0 0 14px; color: var(--brand-deep); }
.h2 { font: 400 clamp(30px, 3.4vw, 42px)/1.12 var(--serif); margin: 0 0 16px; color: var(--brand-deep); }
.h2--light { color: var(--on-brand); }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 28px; border-radius: var(--r-pill); font-weight: 500; font-size: 15px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s var(--ease), color .2s var(--ease), transform .15s var(--ease); touch-action: manipulation; }
.btn:active { transform: scale(.98); }
.btn--dark { background: var(--brand); color: var(--on-brand); }
.btn--dark:hover { background: var(--brand-deep); }
.btn--ghost { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--ghost:hover { background: var(--brand); color: var(--on-brand); }
.btn--sm { min-height: 40px; padding: 0 22px; font-size: 14px; }
.btn--wide { width: 100%; }
.btn svg { width: 20px; height: 20px; }
.link { background: none; border: 0; padding: 8px 0; font-size: 14px; color: var(--brand); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; color: var(--brand-deep); transition: background .2s var(--ease); }
.icon-btn:hover { background: var(--bg-alt); }

/* шапка */
.top { position: sticky; top: 0; z-index: 40; background: transparent; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.top.is-scrolled { background: rgba(251, 248, 242, .94); backdrop-filter: blur(8px); border-bottom-color: var(--line); }
.top__row { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: grid; justify-items: center; text-decoration: none; font-family: var(--serif); text-transform: uppercase; letter-spacing: .2em; color: var(--brand-deep); line-height: 1.15; }
.logo__line { font-size: 17px; }
.logo__line--sub { font-size: 14px; display: flex; align-items: center; gap: 10px; }
.logo__line--sub::before, .logo__line--sub::after { content: ""; width: 34px; height: 1px; background: var(--accent); }
.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a { text-decoration: none; font-size: 14px; color: var(--text); padding: 10px 0; }
.nav a:hover { color: var(--brand); }
.top__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.top__cta { margin-left: 10px; }
.langs { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 2px; margin-right: 6px; background: rgba(255, 255, 255, .55); }
.langs__btn { min-width: 36px; min-height: 32px; padding: 0 8px; border: 0; border-radius: var(--r-pill); background: transparent; font: 500 12px var(--sans); letter-spacing: .06em; color: var(--text-soft); cursor: pointer; transition: background .2s, color .2s; }
.langs__btn:hover { color: var(--brand); }
.langs__btn.is-on { background: var(--brand); color: var(--on-brand); }
.cart { position: relative; }
.cart__count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.burger { display: none; }

/* первый экран: фото во всю правую половину, шапка поверх */
.hero { --sky: #e9e8df; position: relative; margin-top: -72px; padding-top: 72px; min-height: 660px; overflow: hidden;
  background: linear-gradient(90deg, #f7f4ee 0, #f3f1ea 40%, var(--sky) 62%, var(--sky) 100%); }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); min-height: 588px; align-items: center; }
.hero__text { padding: 40px 0 48px; }
.hero__lead { font: 400 26px/1.3 var(--serif); margin: 0 0 18px; color: var(--brand-deep); }
.hero__body { max-width: 400px; color: var(--text-soft); margin: 0 0 30px; font-size: 15px; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.perks { display: flex; gap: 52px; list-style: none; padding: 0; margin: 0; font-size: 13px; color: var(--text-soft); line-height: 1.35; }
.perks li { display: grid; justify-items: center; gap: 10px; text-align: center; }
.ico { width: 44px; height: 44px; stroke-width: 1.1; color: var(--brand-deep); }
.hero__media { position: absolute; z-index: 1; top: 0; bottom: 0; right: 0; width: 52%; }
.hero__photo { position: absolute; left: 0; bottom: 0; height: calc(100% - 84px); width: auto; max-width: none; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 80%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 80%, transparent 100%); }
.hero__flowers { position: absolute; right: 0; bottom: 0; width: 36%; max-width: 340px; height: auto;
  -webkit-mask-image: radial-gradient(ellipse at 100% 100%, #000 45%, transparent 72%); mask-image: radial-gradient(ellipse at 100% 100%, #000 45%, transparent 72%); }
.hero__aside { position: absolute; right: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); top: 150px; margin: 0; font: 400 12px/2.1 var(--serif); letter-spacing: .26em; text-transform: uppercase; color: var(--text-soft); }
.hero__aside::after { content: ""; display: block; width: 1px; height: 80px; background: var(--accent); margin-top: 22px; }

/* «живой» первый экран без видео: медленное приближение фото и дыхание цветов.
   Только transform — без перерасчёта раскладки; при «уменьшить движение» выключено. */
.hero__photo { transform-origin: 60% 40%; animation: heroDrift 22s ease-in-out infinite alternate; }
.hero__flowers { transform-origin: 100% 100%; animation: flowersSway 9s ease-in-out infinite alternate; }
@keyframes heroDrift { from { transform: scale(1); } to { transform: scale(1.07) translate(-1%, 1%); } }
@keyframes flowersSway { from { transform: rotate(0deg) scale(1); } to { transform: rotate(-1.4deg) scale(1.03); } }
@media (max-width: 860px) {
  .hero__photo { animation-name: heroDriftMobile; }
  @keyframes heroDriftMobile { from { transform: translateX(-50%) scale(1); } to { transform: translateX(-50%) scale(1.06); } }
}

/* декоративные листья по краям блоков */
.deco { position: absolute; z-index: 0; pointer-events: none; height: 100%; width: auto; top: 0; }

/* интро */
.intro { position: relative; overflow: hidden; padding: 64px 0; background: var(--bg); }
.intro .wrap { position: relative; z-index: 1; }
.deco--intro { right: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.intro__text { color: var(--text-soft); max-width: 520px; margin: 0; }
.badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; text-align: center; font-size: 14px; color: var(--text-soft); line-height: 1.35; }
.badges li { display: grid; justify-items: center; gap: 12px; }
.badge { display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); }
.badge svg { width: 36px; height: 36px; stroke-width: 1.2; }

/* шаги */
.steps { position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 0, #17483c, var(--brand-deep) 72%); color: var(--on-brand); padding: 44px 0 52px; }
.steps .wrap { position: relative; z-index: 1; }
.deco--steps-l { left: 0; -webkit-mask-image: linear-gradient(270deg, transparent, #000 45%); mask-image: linear-gradient(270deg, transparent, #000 45%); }
.deco--steps-r { right: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0 40px; margin: 26px 0 0; }
.steps__list li { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 14px; row-gap: 6px; align-items: center; }
.steps__n { grid-row: 1; font: 300 40px/1 var(--serif); color: var(--accent-soft); }
.steps__list img { grid-row: 1; width: 92px; height: 92px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(194, 163, 107, .55); }
.steps__list b { grid-column: 2; font-weight: 400; font-size: 16px; margin-top: 10px; }
.steps__list span:last-child { grid-column: 2; color: rgba(251, 248, 242, .78); font-size: 14px; line-height: 1.4; }

/* тест */
.test { padding: 72px 0; background: var(--bg-alt); }
.test__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.test__text { color: var(--text-soft); max-width: 340px; margin: 0; }
.test__form { background: var(--surface); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.test__label { margin: 0 0 12px; font-weight: 500; font-size: 14px; }
.test__fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.test__fields input { width: 100%; min-width: 0; min-height: 48px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; font: 400 16px var(--sans); background: var(--bg); color: var(--text); }
.test__fields input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(168, 134, 78, .25); }
.test__fields input[aria-invalid="true"] { border-color: #a23a2c; }
.test__error { margin: -4px 0 12px; color: #a23a2c; font-size: 14px; }
.test__safe { display: flex; gap: 10px; align-items: center; justify-content: center; margin: 14px 0 0; font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.test__quote { display: flex; gap: 22px; align-items: center; margin: 0; font: 400 17px/1.45 var(--serif); color: var(--text-soft); }
.test__quote figcaption { min-width: 150px; }
.test__quote img { width: 180px; border-radius: 6px; object-fit: cover; }

/* результат теста */
.result { margin-top: 36px; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 28px; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; align-items: start; animation: rise .35s var(--ease); }
.result img { border-radius: 10px; box-shadow: var(--shadow); }
.result__lead { margin: 0 0 4px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.result__name { font: 400 34px/1.1 var(--serif); margin: 0 0 6px; color: var(--brand-deep); }
.result__energy { margin: 0 0 18px; font: italic 400 18px var(--serif); color: var(--text-soft); }
.roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0 0 20px; }
.roles button { width: 100%; text-align: left; border: 1px solid var(--line); background: var(--bg); border-radius: 12px; padding: 10px 14px; cursor: pointer; transition: border-color .2s; }
.roles button:hover { border-color: var(--accent); }
.roles small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.roles strong { display: block; font: 400 18px var(--serif); color: var(--brand-deep); }
.roles span { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* каталог */
.catalog { padding: 64px 0 56px; }
.catalog__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.card { background: #fbf9f4; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-align: center; padding: 16px 0 14px; display: flex; flex-direction: column; height: 100%; cursor: pointer; transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card.is-active { border-color: var(--accent); }
.card h3 { margin: 0; font: 400 20px var(--serif); color: var(--brand-deep); }
.card p { margin: 2px 12px 10px; font-size: 13px; color: var(--text-soft); line-height: 1.3; }
.card__img { aspect-ratio: 190 / 118; overflow: hidden; background: var(--bg-alt); margin-bottom: 10px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__img--art img { object-fit: cover; object-position: center 22%; }
.card__price { font-weight: 500; font-size: 14px; margin-top: auto; }
.card__more { font-size: 13px; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; margin-top: 4px; }

/* карточка аромата */
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr) minmax(0, .75fr); max-width: calc(var(--wrap) - 48px); margin: 0 auto 64px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; scroll-margin-top: 84px; }
.product__media { background: var(--brand-deep); min-height: 320px; }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__body { padding: 36px 32px; }
.product__kicker { margin: 0; font: 400 20px var(--serif); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-deep); }
.product__motto { margin: 2px 0 12px; font: 400 26px/1.2 var(--serif); color: var(--brand-deep); }
.product__text { color: var(--text-soft); font-size: 15px; margin: 0 0 20px; max-width: 460px; }
.sizes { display: flex; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.size { min-height: 44px; padding: 0 22px; border-radius: var(--r-pill); border: 1px solid var(--brand); background: transparent; color: var(--brand); cursor: pointer; font-variant-numeric: tabular-nums; transition: background .2s, color .2s; }
.size.is-on { background: var(--brand); color: var(--on-brand); }
.product__buy { display: flex; gap: 14px; align-items: center; max-width: 420px; }
.like { border: 1px solid var(--line); width: 52px; height: 48px; border-radius: var(--r-pill); flex: none; }
.like[aria-pressed="true"] svg { fill: var(--accent); stroke: var(--accent); }
.notes { padding: 36px 28px; border-left: 1px solid var(--line); }
.notes h4 { margin: 0 0 16px; font-weight: 500; font-size: 15px; }
.notes ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.notes li { display: flex; gap: 14px; align-items: center; }
.notes__img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.notes__dot { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 400 15px var(--serif); color: var(--on-brand); }
.notes__dot--top { background: var(--accent-soft); color: var(--brand-deep); }
.notes__dot--mid { background: var(--emerald-800); }
.notes__dot--base { background: #6b4a33; }
.notes b { display: block; font-size: 14px; font-weight: 500; }
.notes div span { font-size: 13px; color: var(--text-muted); }

/* свечи — тихий раздел */
.candles { padding: 36px 0; background: var(--bg); border-top: 1px solid var(--line); }
.candles__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.candles__art { width: 118px; height: auto; display: block; stroke: none; stroke-width: 0; }
.candles__flame { transform-origin: 60px 37px; animation: flicker 2.6s ease-in-out infinite alternate; }
.candles__glow { transform-origin: 60px 24px; animation: glow 2.6s ease-in-out infinite alternate; }
@keyframes flicker { 0% { transform: scale(1, 1) rotate(0deg); } 40% { transform: scale(.94, 1.06) rotate(-2deg); } 100% { transform: scale(1.03, .96) rotate(1.5deg); } }
@keyframes glow { from { opacity: .75; transform: scale(1); } to { opacity: 1; transform: scale(1.08); } }
.candles h2 { margin: 0 0 4px; font: 400 24px/1.2 var(--serif); color: var(--brand-deep); }
.candles p { margin: 0; color: var(--text-soft); font-size: 15px; max-width: 560px; }

/* о мастере */
.master { padding: 72px 0; background: var(--bg-alt); }
.master__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.master__photo { width: 100%; border-radius: 14px; box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; }
.master__text { color: var(--text-soft); margin: 0 0 14px; max-width: 460px; }
.master .btn { margin-top: 10px; }

/* запрос */
.request { position: relative; padding: 40px 0; background: var(--bg); overflow: hidden; }
.request .wrap { position: relative; z-index: 1; }
.request__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, .8fr); gap: 40px; align-items: center; }
.request__img { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.request__text { color: var(--text-soft); max-width: 440px; margin: 0 0 20px; }
.request__chips { border-left: 1px solid var(--line); padding-left: 32px; }
.request__label { margin: 0 0 12px; font-weight: 500; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chip { min-height: 36px; padding: 0 16px; font-size: 13px; border-radius: var(--r-pill); border: 0; background: var(--ivory-200); color: var(--text-soft); cursor: pointer; transition: background .2s, color .2s; }
.chip:hover, .chip[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); }

/* подвал */
.foot { padding: 28px 0; border-top: 1px solid var(--line); background: var(--bg); }
.foot__row { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.foot__logo { font-family: var(--serif); text-transform: uppercase; letter-spacing: .2em; font-size: 14px; color: var(--brand-deep); }
.foot__nav { display: flex; gap: 24px; margin-left: auto; font-size: 13px; }
.foot__nav a { text-decoration: none; color: var(--text-soft); padding: 8px 0; }
.foot__social { display: flex; gap: 4px; }
.foot__social a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--brand-deep); border-radius: 50%; }
.foot__copy { margin: 0; font-size: 12px; color: var(--text-muted); line-height: 1.4; }

/* уведомление */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--brand-deep); color: var(--on-brand); padding: 12px 20px; border-radius: 12px; font-size: 14px; box-shadow: var(--shadow); z-index: 60; animation: rise .25s var(--ease); max-width: calc(100% - 32px); }

/* ── адаптив ─────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .test__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .test__quote { display: none; }
  .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .master__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .notes { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
  .notes ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .request__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .request__img { display: none; }
}
@media (max-width: 860px) {
  .burger { display: inline-grid; }
  .top__cta { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; gap: 0; margin: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .hero { min-height: 0; display: flex; flex-direction: column; background: var(--sky); }
  .hero__media { position: relative; order: 1; width: 100%; height: 420px; }
  .hero__photo { left: 50%; transform: translateX(-50%); -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 22%); mask-image: linear-gradient(0deg, transparent 0, #000 22%); }
  .hero__flowers { width: 38%; }
  .hero__aside { display: none; }
  .hero__grid { order: 2; grid-template-columns: minmax(0, 1fr); min-height: 0; background: linear-gradient(180deg, var(--sky), #f7f4ee 30%); }
  .hero__text { padding: 8px 0 32px; }
  .deco { opacity: .5; }
  .intro__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .steps__list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 36px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result { grid-template-columns: 120px minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .top__row { gap: 12px; min-height: 64px; }
  .nav { top: 64px; }
  .logo__line { font-size: 14px; } .logo__line--sub { font-size: 12px; }
  .hero__cta .btn { width: 100%; }
  .perks { gap: 18px; justify-content: space-between; }
  .badges { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; font-size: 12px; }
  .badge { width: 60px; height: 60px; }
  .steps__list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 14px; }
  .steps__list img { width: 68px; height: 68px; }
  .steps__n { font-size: 30px; }
  .steps__list b { font-size: 15px; }
  .test__grid { grid-template-columns: minmax(0, 1fr); }
  .catalog__head { flex-direction: column; align-items: flex-start; }
  .grid { gap: 12px; }
  .card { padding: 12px 10px; }
  .card h3 { font-size: 17px; }
  .product { grid-template-columns: minmax(0, 1fr); }
  .product__body { padding: 24px 16px; }
  .notes { padding: 24px 16px; }
  .notes ul { grid-template-columns: minmax(0, 1fr); }
  .request__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .request__chips { border-left: 0; padding-left: 0; }
  .result { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .result img { max-width: 160px; }
  .foot__nav { margin-left: 0; flex-wrap: wrap; gap: 4px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 620px) {
  .candles__row { grid-template-columns: auto minmax(0, 1fr); }
  .candles__row .btn { grid-column: 1 / -1; width: 100%; }
}

/* Декор и подпись первого экрана не должны ложиться на текст */
@media (max-width: 1280px) {
  .hero__aside { display: none; }
  .deco--intro, .deco--steps-l, .deco--steps-r { opacity: .28; }
}
@media (max-width: 620px) {
  .product { margin: 0 16px 48px; }
  .steps__list b, .steps__list span:last-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .langs { margin-right: 0; }
  .langs__btn { min-width: 30px; padding: 0 5px; font-size: 11px; }
  .top__actions .icon-btn[data-soon] { display: none; }
}
