/* Róssa Flowers — стили сайта. Палитра взята с аватарки: пудрово-голубой, белый, тонкая монограмма. */

:root {
  --powder: #c9d7e4;
  --powder-2: #dbe5ef;
  --mist: #eef3f8;
  --cream: #fbf8f4;
  --ink: #1d2b40;
  --ink-2: #4b5b72;
  --line: rgba(29, 43, 64, 0.12);
  --rose: #e04f7b;
  --rose-2: #f27fa0;
  --rose-deep: #c23a64;
  --blush: #f7d6df;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 28px;
  --pad: clamp(20px, 5vw, 72px);
  --header-h: 76px;
  --kit: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
em { font-style: italic; }

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 8px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow--light { color: rgba(244, 247, 251, 0.75); }

.h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.h2 em { color: var(--rose); font-weight: 400; }
.h2--light em { color: var(--rose-2); }

/* ---------- Монограмма ---------- */

.monogram .wreath { fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.monogram .w-bud { fill: currentColor; stroke: none; }
.monogram__r {
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 500;
  fill: currentColor;
}
.monogram--sm { width: 44px; height: 44px; }
.monogram--md { width: 72px; height: 72px; }
.monogram--xl { width: min(46vw, 240px); height: auto; color: #fff; }

/* ---------- Заставка ---------- */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--powder);
  color: #fff;
}
.preloader__inner { display: grid; justify-items: center; gap: 14px; }
.preloader__name {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: 0.08em;
}
.preloader__count {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.3em;
  opacity: 0.8;
}
.preloader__count span::after { content: "%"; }
html:not(.js) .preloader { display: none; }

/* ---------- Курсор и прогресс ---------- */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--rose);
  mix-blend-mode: multiply;
  pointer-events: none;
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 120;
  color: var(--rose);
}

/* ---------- Шапка ---------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 var(--pad);
  transition: background-color 0.4s var(--kit), box-shadow 0.4s var(--kit), translate 0.5s var(--kit);
}
.header.is-scrolled {
  background: rgba(238, 243, 248, 0.82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { translate: 0 -100%; }

.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.logo__text { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: 0.02em; }
.logo__text em { font-weight: 400; color: var(--ink-2); }

.nav { display: flex; gap: 30px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--kit);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; }

/* ---------- Кнопки ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.4s var(--kit);
}
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--rose-2), var(--rose) 45%, var(--rose-deep));
  box-shadow: 0 14px 34px -12px rgba(224, 79, 123, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn--primary:hover { box-shadow: 0 20px 44px -12px rgba(224, 79, 123, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(29, 43, 64, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: #fff; }
.btn--wa {
  min-height: 44px;
  padding: 0 20px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 6px 20px -10px rgba(29, 43, 64, 0.4);
}
.btn--wa svg { width: 18px; height: 18px; fill: #25d366; }
.btn--lg { min-height: 62px; padding: 0 38px; font-size: 17px; }
.btn__tag {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.25);
}
.btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; filter: grayscale(0.4); }

/* ---------- Первый экран ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) var(--pad) 90px;
  overflow: hidden;
  background: var(--powder);
}
.hero__media { position: absolute; inset: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(201, 215, 228, 0.92) 0%, rgba(201, 215, 228, 0.55) 34%, rgba(201, 215, 228, 0) 58%),
    linear-gradient(0deg, rgba(201, 215, 228, 0.5), rgba(201, 215, 228, 0) 30%);
}
.hero__content { position: relative; max-width: 640px; }
.hero__title { margin: 0; font-weight: 400; }
.hero__brand {
  display: block;
  font-family: var(--serif);
  font-size: clamp(96px, 17vw, 250px);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.hero__lead {
  display: block;
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.08;
  color: var(--ink);
}
.hero__sub { max-width: 470px; margin: 26px 0 34px; font-size: 17px; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__badge {
  position: absolute;
  right: var(--pad);
  bottom: 70px;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.hero__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.hero__badge text { font-size: 15.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; fill: currentColor; }
.hero__badge-core {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 40px;
  color: #fff;
  background: var(--rose);
  box-shadow: 0 12px 30px -10px rgba(224, 79, 123, 0.8);
  transition: transform 0.5s var(--kit);
}
.hero__badge:hover .hero__badge-core { transform: scale(1.1) rotate(-8deg); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1.5px solid rgba(29, 43, 64, 0.4);
  border-radius: 20px;
}
.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--ink);
  animation: scrolldot 1.8s var(--kit) infinite;
}
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Бегущая строка ---------- */

.ticker {
  --marquee-gap: 34px;
  padding: 22px 0;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}
.ticker__track { display: flex; align-items: center; gap: var(--marquee-gap); white-space: nowrap; }
.ticker span { font-family: var(--serif); font-size: clamp(24px, 3vw, 38px); font-style: italic; }
.ticker i { font-style: normal; color: var(--rose-2); font-size: 20px; }

/* ---------- Хиты ---------- */

.hits { background: var(--mist); overflow: hidden; }
.hits__track {
  display: flex;
  align-items: stretch;
  gap: 28px;
  padding: 120px var(--pad) 110px;
  width: max-content;
}
.hits__intro { width: min(430px, 80vw); flex: none; align-self: center; padding-right: 30px; }
.hits__text { max-width: 360px; margin: 26px 0 30px; color: var(--ink-2); }
.hits__hint { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.hits__hint span { width: 60px; height: 1px; background: currentColor; }

.hit {
  flex: none;
  width: clamp(280px, 25vw, 380px);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 30px 60px -40px rgba(29, 43, 64, 0.35);
  overflow: hidden;
}
.hit__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--powder); }
.hit__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--kit); }
.hit:hover .hit__media img { transform: scale(1.06); }
.hit__body { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px 24px; flex: 1; }
.hit__tag {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-deep);
  background: var(--blush);
}
.hit__name { margin: 6px 0 0; font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1.05; }
.hit__desc { margin: 0; font-size: 14px; color: var(--ink-2); }
.hit__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.hit__price { font-family: var(--serif); font-size: 30px; font-weight: 600; white-space: nowrap; }
.hit__btn {
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--ink);
  transition: background-color 0.3s;
}
.hit__btn:hover { background: var(--rose); }

.hit--cta {
  justify-content: center;
  gap: 18px;
  padding: 40px 34px;
  color: #fff;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(255, 255, 255, 0.25), transparent 60%),
    linear-gradient(160deg, var(--rose-2), var(--rose) 50%, var(--rose-deep));
}
.hit--cta__plus {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  font-size: 40px;
  font-weight: 300;
  transition: transform 0.6s var(--kit);
}
.hit--cta:hover .hit--cta__plus { transform: rotate(90deg) scale(1.08); }
.hit--cta__title { font-family: var(--serif); font-size: 48px; line-height: 1; }
.hit--cta__text { font-size: 15px; opacity: 0.9; }

/* ---------- Сцена приближения ---------- */

.fresh {
  position: relative;
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #c3486c;
}
.fresh__media { position: absolute; inset: 0; }
.fresh__video { width: 100%; height: 100%; object-fit: cover; }
.fresh__veil { position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(29, 43, 64, 0.15), rgba(29, 43, 64, 0.55)); }
.fresh__content { position: relative; max-width: 860px; padding: 0 var(--pad); text-align: center; }
.fresh__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 7vw, 100px);
  font-weight: 500;
  line-height: 0.98;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}
.fresh__title em { display: block; font-weight: 400; }
.fresh__text { max-width: 520px; margin: 26px auto 0; font-size: 18px; opacity: 0.92; }

/* ---------- Конструктор ---------- */

.builder {
  position: relative;
  padding: 130px var(--pad) 120px;
  background:
    radial-gradient(60% 50% at 15% 10%, rgba(255, 255, 255, 0.7), transparent 70%),
    linear-gradient(180deg, var(--powder-2), var(--mist));
}
.builder__head { max-width: 760px; margin-bottom: 56px; }
.builder__lead { max-width: 560px; margin: 24px 0 0; font-size: 17px; color: var(--ink-2); }
.builder__lead strong { color: var(--rose-deep); }

.builder__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.builder__stage-col { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }

.stage {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: calc(100svh - var(--header-h) - 200px);
  margin: 0 auto;
  width: 100%;
  border-radius: 36px;
  background:
    radial-gradient(70% 55% at 50% 38%, #ffffff 0%, rgba(255, 255, 255, 0.55) 45%, rgba(255, 255, 255, 0) 75%),
    linear-gradient(180deg, #dce6f0, #c9d7e4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 40px 80px -50px rgba(29, 43, 64, 0.5);
  overflow: hidden;
  isolation: isolate;
}
.stage__halo {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 70%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 127, 160, 0.28), rgba(242, 127, 160, 0) 65%);
  filter: blur(10px);
}
.stage__wrap {
  position: absolute;
  left: 50%;
  bottom: 1.5%;
  width: 56%;
  height: auto;
  translate: -50% 0;
  z-index: 1;
  filter: drop-shadow(0 24px 30px rgba(29, 43, 64, 0.22));
}
.stage__flowers { position: absolute; inset: 0; z-index: 2; }
.stage__flowers img {
  position: absolute;
  left: 0;
  top: 0;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 8px 10px rgba(29, 43, 64, 0.22));
  will-change: transform;
}
.stage__gifts { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.stage__gifts img {
  position: absolute;
  bottom: 2%;
  width: 34%;
  height: auto;
  filter: drop-shadow(0 16px 18px rgba(29, 43, 64, 0.28));
}
.stage__empty {
  position: absolute;
  left: 50%;
  top: 30%;
  z-index: 4;
  width: 70%;
  margin: 0;
  translate: -50% -50%;
  padding: 26px 22px;
  border: 1.5px dashed rgba(29, 43, 64, 0.25);
  border-radius: 50%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
  font-style: italic;
  line-height: 1.25;
  color: var(--ink-2);
}
.stage__discount {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  background: var(--rose);
  box-shadow: 0 12px 26px -10px rgba(224, 79, 123, 0.9);
  rotate: -12deg;
}

.total {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px 20px;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -36px rgba(29, 43, 64, 0.5);
}
.total__info { display: grid; gap: 2px; }
.total__count { font-size: 15px; font-weight: 600; }
.total__count b { font-size: 20px; }
.total__save { font-size: 13px; color: var(--rose-deep); }
.total__prices { display: grid; justify-items: end; line-height: 1.1; }
.total__old { font-size: 15px; color: var(--ink-2); }
.total__new { font-family: var(--serif); font-size: 40px; font-weight: 600; white-space: nowrap; }
.total__order { grid-column: 1 / -1; width: 100%; }

.picker { display: grid; gap: 22px; }
.presets { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.presets__label { font-size: 14px; color: var(--ink-2); margin-right: 4px; }
.chip {
  padding: 9px 16px;
  border: 1px solid rgba(29, 43, 64, 0.16);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.6);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip--clear { background: transparent; color: var(--ink-2); }

.tabs {
  position: relative;
  display: flex;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}
.tab {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 12px 10px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  transition: color 0.3s;
}
.tab.is-active { color: #fff; }
.tabs__ink {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  border-radius: 999px;
  background: var(--ink);
}

.flower-list,
.wrap-list,
.extra-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.flower-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.noscript-note { grid-column: 1 / -1; padding: 20px; border-radius: 20px; background: #fff; color: var(--ink-2); }

.fl {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  padding: 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 30px -26px rgba(29, 43, 64, 0.5);
  transition: box-shadow 0.4s var(--kit), background-color 0.3s;
}
.fl.is-on { background: #fff; box-shadow: 0 0 0 2px var(--rose-2), 0 18px 34px -24px rgba(224, 79, 123, 0.6); }
.fl__img {
  grid-row: 1 / 3;
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 6px 8px rgba(29, 43, 64, 0.18));
}
.fl__name { font-weight: 600; font-size: 15px; line-height: 1.2; }
.fl__meta { font-size: 13px; color: var(--ink-2); }
.fl__price { font-weight: 700; color: var(--ink); }
.fl__ctrl {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 4px;
  border-radius: 999px;
  background: var(--mist);
}
.fl__btn {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  background: #fff;
  box-shadow: 0 4px 10px -6px rgba(29, 43, 64, 0.5);
  transition: background-color 0.25s, color 0.25s;
}
.fl__btn--plus { color: #fff; background: var(--rose); }
.fl__btn:hover { background: var(--ink); color: #fff; }
.fl__btn:disabled { opacity: 0.35; pointer-events: none; }
.fl__count { min-width: 2ch; text-align: center; font-weight: 700; font-size: 17px; }

.wrap-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wo {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 16px 10px 14px;
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
  width: 100%;
  transition: box-shadow 0.4s var(--kit), background-color 0.3s;
}
.wo img { width: 64px; height: 96px; object-fit: contain; }
.wo span { font-size: 14px; font-weight: 600; line-height: 1.2; }
.wo[aria-pressed="true"] { background: #fff; box-shadow: 0 0 0 2px var(--rose-2), 0 18px 34px -24px rgba(224, 79, 123, 0.6); }
.panel__note { margin: 14px 0 0; font-size: 14px; color: var(--ink-2); }

.extra-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ex {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 22px;
  text-align: left;
  background: rgba(255, 255, 255, 0.72);
  transition: box-shadow 0.4s var(--kit), background-color 0.3s;
}
.ex img { width: 64px; height: 64px; object-fit: contain; }
.ex b { display: block; font-size: 15px; }
.ex small { font-size: 13px; color: var(--ink-2); }
.ex[aria-pressed="true"] { background: #fff; box-shadow: 0 0 0 2px var(--rose-2), 0 18px 34px -24px rgba(224, 79, 123, 0.6); }

.note-field {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 600;
}
.note-field__top { display: flex; align-items: center; gap: 10px; }
.note-field input { width: 20px; height: 20px; accent-color: var(--rose); }
.note-field b { color: var(--rose-deep); }
.note-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  font-weight: 400;
  font-size: 15px;
  color: var(--ink);
  background: var(--mist);
  resize: vertical;
}
.note-field textarea:disabled { opacity: 0.5; }

/* ---------- Подарки ---------- */

.gifts { padding: 120px 0 130px; background: var(--cream); overflow: hidden; }
.gifts__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--pad);
  margin-bottom: 50px;
}
.gifts__nav { display: flex; gap: 10px; }
.round-btn {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(29, 43, 64, 0.2);
  border-radius: 50%;
  font-size: 20px;
  background: transparent;
  transition: background-color 0.3s, color 0.3s;
}
.round-btn:hover { background: var(--ink); color: #fff; }
.gifts__slider { padding: 0 var(--pad); cursor: grab; }
.gifts__track { display: flex; gap: 24px; width: max-content; }
.gift {
  width: clamp(250px, 24vw, 320px);
  display: flex;
  flex-direction: column;
  padding: 18px 18px 22px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 30px 60px -44px rgba(29, 43, 64, 0.4);
}
.gift__img {
  aspect-ratio: 1;
  margin-bottom: 16px;
  border-radius: 22px;
  background: radial-gradient(circle at 50% 40%, #fff, var(--mist) 70%);
  overflow: hidden;
}
.gift__img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.9s var(--kit); }
.gift:hover .gift__img img { transform: scale(1.06) rotate(-2deg); }
.gift__name { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.1; }
.gift__meta { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }
.gift__row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; gap: 10px; }
.gift__price { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.gift__add {
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--rose);
  transition: background-color 0.3s;
}
.gift__add:hover { background: var(--ink); }
.gift__add.is-added { background: var(--ink); }
.gift--big { justify-content: flex-start; color: #fff; background: linear-gradient(160deg, #2b3f5c, var(--ink)); }
.gift--big .gift__meta { color: rgba(255, 255, 255, 0.75); }
.gift__big-num { margin: 10px 0 auto; font-family: var(--serif); font-size: 110px; line-height: 1; color: var(--rose-2); }

/* ---------- Почему мы ---------- */

.why { padding: 140px var(--pad); background: #1d2b40; color: #f4f7fb; transition: none; }
.why__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: auto auto;
  gap: 40px 56px;
  align-items: start;
}
.why__copy { grid-row: 1 / 3; }
.stats { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
.stat { display: grid; gap: 6px; padding-top: 20px; border-top: 1px solid rgba(244, 247, 251, 0.18); }
.stat b { font-family: var(--serif); font-size: clamp(54px, 6vw, 84px); font-weight: 500; line-height: 1; color: #fff; }
.stat span { font-size: 15px; color: rgba(244, 247, 251, 0.7); }

.why__photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.why__photo img { width: 100%; height: 118%; object-fit: cover; }
.why__photo--b { width: 82%; justify-self: end; }
.why__photo figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
}

/* ---------- Контакты ---------- */

.contacts { padding: 150px var(--pad) 130px; background: #eef3f8; }
.contacts__inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.contacts__title {
  margin: 0 auto;
  max-width: 980px;
  font-family: var(--serif);
  font-size: clamp(50px, 8vw, 124px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.contacts__title em { color: var(--rose); font-weight: 400; }
.contacts__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 46px 0 70px; }
.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; text-align: left; }
.place {
  display: grid;
  gap: 6px;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 30px 60px -46px rgba(29, 43, 64, 0.45);
  transition: transform 0.6s var(--kit), box-shadow 0.6s var(--kit);
}
.place:hover { box-shadow: 0 40px 70px -40px rgba(29, 43, 64, 0.5); }
.place__label { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose-deep); }
.place__addr { font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.1; }
.place__meta { font-size: 14px; color: var(--ink-2); }

/* ---------- Подвал ---------- */

.footer {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 60px var(--pad) 50px;
  text-align: center;
  color: var(--ink);
  background: var(--powder);
}
.footer p { margin: 0; font-size: 14px; }
.footer__small { color: var(--ink-2); font-size: 13px !important; }

/* ---------- Нижняя панель на телефоне ---------- */

.mobile-bar { display: none; }

/* ---------- Адаптив ---------- */

@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .builder__grid { grid-template-columns: 1fr; }
  .builder__stage-col { position: relative; top: 0; max-width: 560px; margin: 0 auto; width: 100%; }
  .stage { max-height: none; }
  .why__grid { grid-template-columns: 1fr; }
  .why__copy { grid-row: auto; }
  .why__photo--b { width: 100%; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
    margin: 0;
    font-family: var(--serif);
    font-size: 40px;
    background: var(--powder);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--kit), visibility 0.4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .header__cta { margin-left: auto; }
  .header__cta span { display: none; }
  .header__cta { width: 44px; padding: 0; }
  .burger {
    display: grid;
    place-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
  }
  .burger span { display: block; width: 18px; height: 2px; border-radius: 1px; background: #fff; transition: transform 0.4s var(--kit); }
  .burger { grid-auto-flow: row; align-content: center; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .logo__text { font-size: 22px; }
  .header { gap: 12px; }
}

@media (max-width: 767px) {
  /* вертикальный ролик: букет крупно сверху, текст на чистом фоне снизу */
  .hero { align-items: flex-end; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .hero__video { object-position: 50% 0%; }
  .hero__veil {
    background:
      linear-gradient(0deg, rgba(201, 215, 228, 0.96) 0%, rgba(201, 215, 228, 0.82) 34%, rgba(201, 215, 228, 0) 56%);
  }
  .hero__brand { font-size: clamp(84px, 25vw, 120px); }
  .hero__lead { font-size: clamp(24px, 7vw, 30px); margin-top: 8px; }
  .hero__sub { font-size: 15px; margin: 14px 0 20px; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { flex: 1 1 100%; min-height: 54px; }
  .hero__badge { display: none; }
  .hero__scroll { display: none; }

  /* хиты на телефоне листаются пальцем со «щелчком» по карточкам */
  .hits { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; }
  .hits::-webkit-scrollbar { display: none; }
  .hits__track { width: max-content; padding: 84px 16px 64px; gap: 14px; }
  .hits__intro { width: 82vw; padding: 0 8px 0 4px; }
  .hit { width: 76vw; }
  .hits__track > * { scroll-snap-align: center; }
  .hit__name { font-size: 30px; }
  .hit--cta__title { font-size: 42px; }
  .hits__hint span { animation: hint 1.6s var(--kit) infinite; transform-origin: left; }

  .builder { padding: 90px 16px 120px; }
  .builder__head { padding: 0 4px; margin-bottom: 34px; }
  .flower-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .fl { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 12px 10px 10px; }
  .fl__img { grid-row: auto; width: 72px; height: 72px; margin-bottom: 6px; }
  .fl__ctrl { width: 100%; }
  .wrap-list { gap: 8px; }
  .extra-list { grid-template-columns: 1fr; }
  .total__new { font-size: 34px; }
  .presets__label { width: 100%; }

  .gifts { padding: 90px 0 100px; }
  .gift { width: 74vw; }
  .gifts__nav { display: none; }

  .why { padding: 100px var(--pad); }
  .stats { gap: 26px 18px; }
  .places { grid-template-columns: 1fr; }
  .contacts { padding: 110px var(--pad) 100px; }
  .contacts__actions .btn { flex: 1 1 100%; }

  .mobile-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 10px 10px 20px;
    border-radius: 999px;
    background: rgba(29, 43, 64, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
    translate: 0 160%;
    transition: translate 0.6s var(--kit);
  }
  .mobile-bar.is-visible { translate: 0 0; }
  .mobile-bar__sum { display: grid; line-height: 1.15; }
  .mobile-bar__sum s { font-size: 12px; opacity: 0.6; }
  .mobile-bar__sum b { font-family: var(--serif); font-size: 26px; }
  .mobile-bar .btn { min-height: 46px; padding: 0 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__badge svg, .hero__scroll span { animation: none; }
}

/* ---------- Дополнения: лепестки, смена фона, заставка ---------- */

.petal {
  position: absolute;
  left: 0;
  top: 0;
  width: 11px;
  height: 15px;
  margin: -7px 0 0 -5px;
  border-radius: 80% 0 80% 0;
  box-shadow: 0 0 0 1px rgba(29, 43, 64, 0.06), 0 3px 6px rgba(29, 43, 64, 0.15);
  pointer-events: none;
}


.preloader .monogram__r { opacity: 0; animation: monoIn 1s 0.5s var(--kit) forwards; }
@keyframes monoIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 767px) {
  /* конструктор: сцена липнет сверху, список листается под ней, цену показывает нижняя панель */
  .builder__stage-col {
    position: sticky;
    top: calc(var(--header-h) + 6px);
    z-index: 6;
    padding: 8px 0 10px;
    margin: 0 -16px;
    width: auto;
    max-width: none;
    background: linear-gradient(180deg, var(--powder-2) 82%, rgba(219, 229, 239, 0));
  }
  .stage { width: auto; height: 42svh; max-height: 360px; aspect-ratio: 4 / 5; border-radius: 28px; }
  .stage__discount { width: 50px; height: 50px; font-size: 14px; top: 10px; right: 10px; }
  .stage__empty { font-size: 16px; padding: 14px; }
  .total { display: none; }
  .picker { position: relative; z-index: 1; padding-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .preloader .monogram__r { animation: none; opacity: 1; }
}
@keyframes hint { 0% { transform: scaleX(0.2); } 60% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hits__hint span { animation: none; } }

/* ---------- Каталог ---------- */

.catalog { padding: 120px var(--pad) 120px; background: var(--cream); }
.catalog__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.catalog__lead { max-width: 420px; margin: 0; color: var(--ink-2); }
.catalog__filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.catalog__filters .chip small { margin-left: 4px; font-weight: 500; opacity: 0.6; }
.chip.is-active { color: #fff; background: var(--ink); border-color: var(--ink); }
.catalog__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.cat-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 24px 50px -40px rgba(29, 43, 64, 0.45);
}
.cat-card[hidden] { display: none; }
.cat-card__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--powder); }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--kit); }
.cat-card:hover .cat-card__img img { transform: scale(1.05); }
.cat-card__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; flex: 1; }
.cat-card__name { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.1; }
.cat-card__desc { margin: 0; font-size: 13px; color: var(--ink-2); }
.cat-card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.cat-card__price { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.1; }
.cat-card__btn {
  flex: none;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--rose);
  transition: background-color 0.3s;
}
.cat-card__btn:hover { background: var(--ink); }
.catalog__more { display: flex; justify-content: center; margin-top: 36px; }
.catalog__more[hidden] { display: none; }

@media (max-width: 1100px) { .catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .catalog { padding: 90px 14px 90px; }
  .catalog__head { flex-direction: column; align-items: flex-start; gap: 16px; padding: 0 4px; }
  .catalog__filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -14px 20px; padding: 0 14px 4px; scrollbar-width: none; }
  .catalog__filters::-webkit-scrollbar { display: none; }
  .catalog__filters .chip { flex: none; }
  .catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-card { border-radius: 18px; }
  .cat-card__body { padding: 10px 11px 12px; }
  .cat-card__name { font-size: 18px; }
  .cat-card__desc { display: none; }
  .cat-card__row { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 8px; }
  .cat-card__price { font-size: 18px; }
  .cat-card__btn { text-align: center; padding: 9px 10px; }
}
.cat-card__price--ask { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink-2); }
@media (max-width: 767px) { .cat-card__price--ask { font-size: 13px; } }
