/* =========================================================
   Дари Цветы! — стили
   Цвета и шрифты меняются в блоке :root ниже.
   ========================================================= */
:root {
  --paper: #FBF8F3;
  --ivory: #F3EDE4;
  --sand: #E8DFD2;
  --ink: #1D1B18;
  --muted: #6F675E;
  --moss: #1C2621;
  --moss-2: #26332C;
  --blush: #EBD3CA;
  --rose: #A9625F;
  --gold: #C4A274;
  --gold-2: #D8BC8E;
  --line: rgba(29, 27, 24, .12);
  --line-light: rgba(255, 255, 255, .16);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
em { font-style: italic; }

/* лёгкое «зерно» для премиального ощущения */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 140px) 0; }

.eyebrow {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
  color: var(--gold-2); margin: 0 0 18px;
}
.eyebrow--dark { color: var(--rose); }
.h2 {
  font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -.01em;
  font-size: clamp(38px, 5.2vw, 72px); margin: 0;
}
.h2 em, .hero__title em { color: var(--rose); font-weight: 400; }
.h2--light { color: var(--paper); }
.h2--light em { color: var(--gold-2); }
.lead { font-size: 18px; color: var(--muted); max-width: 46ch; }
.section__head { margin-bottom: clamp(36px, 5vw, 64px); }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 30px; border-radius: 100px;
  font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .4s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--moss); box-shadow: 0 10px 30px -10px rgba(196, 162, 116, .7); }
.btn--gold:hover { box-shadow: 0 16px 40px -10px rgba(196, 162, 116, .9); }
.btn--dark { background: var(--moss); color: var(--paper); }
.btn--dark:hover { background: var(--moss-2); }
.btn--ghost-light { border: 1px solid rgba(255,255,255,.4); color: #fff; backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--wide { width: 100%; }

/* Превью-полоса */
.preview-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; background: var(--rose); color: #fff; text-align: center; padding: 10px; font-size: 14px; }
.preview-bar a { text-decoration: underline; margin-left: 12px; }

/* ===== Шапка ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header-h);
  color: #fff; transition: background .4s, color .4s, box-shadow .4s, height .4s;
}
.header.is-solid {
  background: rgba(251, 248, 243, .86); backdrop-filter: blur(16px) saturate(1.4);
  color: var(--ink); box-shadow: 0 1px 0 var(--line); --header-h: 66px;
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-family: var(--serif); font-style: italic; font-size: 30px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.logo--light { color: var(--paper); font-size: 40px; }
.nav { display: flex; gap: 34px; font-size: 14px; letter-spacing: .04em; }
.nav a { position: relative; opacity: .9; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .4s var(--ease); transform-origin: right; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__right { display: flex; align-items: center; gap: 20px; }
.header__phone { font-size: 14px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .04em; padding: 6px 12px; border-radius: 100px; border: 1px solid currentColor; opacity: .85; white-space: nowrap; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #7BC88F; box-shadow: 0 0 0 0 rgba(123,200,143,.7); animation: pulse 2s infinite; }
.status.is-closed i { background: #D48A7E; animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(123,200,143,0); } 100% { box-shadow: 0 0 0 0 rgba(123,200,143,0); } }
.cart-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid currentColor; opacity: .9; transition: transform .3s; }
.cart-btn b { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: var(--moss); font-size: 11px; display: grid; place-items: center; }
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.18); } }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .3s; }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.nav-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ===== Главный экран ===== */
/* Композиция: текст слева · букет в центре · факты справа. Фон — тёмная «студия» с мягким светом за букетом. */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: #111813; }
.hero__media { position: absolute; inset: 0; }
.hero__backdrop { position: absolute; inset: 0; background:
  radial-gradient(ellipse 34% 52% at 50% 50%, rgba(62, 82, 68, .55), transparent 70%),
  radial-gradient(ellipse 80% 90% at 50% 45%, #22302680 0%, transparent 75%),
  radial-gradient(circle at 14% 24%, rgba(140, 170, 140, .14), transparent 180px),
  radial-gradient(circle at 86% 78%, rgba(196, 162, 116, .12), transparent 200px),
  linear-gradient(180deg, #151d17 0%, #111813 60%, #0d130f 100%); }
.hero__veil { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgba(13, 19, 15, .55) 0%, transparent 22%, transparent 80%, rgba(13, 19, 15, .7) 100%); }

.hero__stage { position: absolute; z-index: 1; top: var(--header-h); bottom: 0; left: 50%; translate: -50% 0; width: min(40vw, 640px); }
.hero__halo { position: absolute; inset: 4% 0 0; pointer-events: none;
  background: radial-gradient(ellipse 46% 44% at 50% 44%, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035) 50%, transparent 72%); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__fallback { position: absolute; left: 18%; right: 18%; top: 10%; height: 72%; width: 64%; object-fit: cover;
  border-radius: 999px 999px 24px 24px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 0 60px rgba(255, 255, 255, .12); transition: opacity .8s; }
.hero__stage.is-3d .hero__canvas { opacity: 1; }
.hero__stage.is-3d .hero__fallback { opacity: 0; }
.hero__hint { position: absolute; left: 50%; bottom: 5%; translate: -50% 0; margin: 0; display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .62); white-space: nowrap; transition: opacity .5s; pointer-events: none; }
.hero__hint i { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); animation: hintPulse 2.2s infinite; }
@keyframes hintPulse { 70% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.hero__stage.is-open .hero__hint { opacity: 0; }
.only-touch { display: none; }
@media (hover: none) { .only-touch { display: inline; } .only-hover { display: none; } }

.hero__content { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) min(40vw, 640px) 210px; align-items: center;
  min-height: 100svh; padding: calc(var(--header-h) + 40px) 0 clamp(48px, 8vh, 90px); pointer-events: none; }
.hero__content > * { pointer-events: auto; }
.hero__left { grid-column: 1; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, min(4.6vw, 9vh), 78px); line-height: .98; letter-spacing: -.015em; margin: 0 0 26px; max-width: 10ch; }
.hero__title em { color: var(--gold-2); }
.hero__sub { font-size: clamp(15px, 1.15vw, 17px); max-width: 34ch; color: rgba(255,255,255,.78); margin: 0 0 34px; font-weight: 300; }
.hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero__meta { grid-column: 3; align-self: end; display: flex; flex-direction: column; gap: 22px; padding-left: 24px; border-left: 1px solid var(--line-light);
  font-size: 13px; color: rgba(255,255,255,.8); letter-spacing: .02em; }
.hero__rating { display: flex; gap: 12px; align-items: center; color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.5; }
.hero__rating > b { font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1; color: #fff; }
.hero__rating:hover { color: #fff; }
.hero__fact { display: flex; flex-direction: column; gap: 5px; }
.hero__fact > span { font-size: 15px; font-weight: 600; color: #fff; line-height: 1.4; }
.hero__fact small { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.stars { color: var(--gold-2); letter-spacing: 2px; }
.hero__scroll { position: absolute; right: 40px; bottom: 40px; width: 1px; height: 80px; background: rgba(255,255,255,.25); overflow: hidden; }
.hero__scroll span { position: absolute; inset: 0; background: var(--gold-2); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

/* ===== Бегущая строка ===== */
.ticker { background: var(--moss); color: var(--gold-2); overflow: hidden; border-top: 1px solid var(--line-light); }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker__track span { font-family: var(--serif); font-style: italic; font-size: 22px; padding: 18px 28px; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.ticker__track span::after { content: "✦"; font-style: normal; font-size: 12px; color: var(--gold); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ===== Поводы ===== */
.occasions { padding-bottom: 40px; }
.occasions__list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.occasion {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 34px;
  padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; text-align: left;
  transition: transform .5s var(--ease), background .4s, color .4s, border-color .4s;
}
.occasion i { font-style: normal; font-size: 22px; color: var(--rose); transition: color .4s; }
.occasion b { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.1; }
.occasion small { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.occasion:hover, .occasion.is-active { background: var(--moss); color: var(--paper); border-color: var(--moss); transform: translateY(-4px); }
.occasion:hover i, .occasion.is-active i { color: var(--gold-2); }
.occasion:hover small, .occasion.is-active small { color: rgba(255,255,255,.6); }

/* ===== Каталог ===== */
.catalog { padding-top: 60px; }
.catalog__tools { display: flex; gap: 10px; }
.catalog__tools select {
  appearance: none; height: 46px; padding: 0 40px 0 18px; border-radius: 100px; border: 1px solid var(--line); background: #fff
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231D1B18' fill='none'/%3E%3C/svg%3E") no-repeat right 18px center;
  font-size: 14px; cursor: pointer;
}
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.tab, .pill {
  height: 42px; padding: 0 20px; border-radius: 100px; border: 1px solid var(--line); font-size: 14px;
  background: transparent; transition: background .3s, color .3s, border-color .3s;
}
.tab:hover, .pill:hover { border-color: var(--ink); }
.tab.is-active, .pill.is-active { background: var(--moss); color: var(--paper); border-color: var(--moss); }
.active-occasion { display: flex; align-items: center; gap: 12px; margin: -16px 0 28px; font-size: 14px; color: var(--muted); }
.active-occasion button { text-decoration: underline; color: var(--rose); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 22px; }
.card { cursor: pointer; display: flex; flex-direction: column; }
.card__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ivory); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.card:hover .card__media img { transform: scale(1.07); }
.card__badge { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 100px; background: rgba(251,248,243,.92); backdrop-filter: blur(6px); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.card__quick {
  position: absolute; left: 14px; right: 14px; bottom: 14px; height: 48px; border-radius: 100px;
  background: var(--moss); color: var(--paper); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  transform: translateY(calc(100% + 20px)); transition: transform .5s var(--ease);
}
.card:hover .card__quick { transform: none; }
.card__body { padding: 18px 4px 0; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card__name { font-family: var(--serif); font-size: 25px; line-height: 1.1; font-weight: 500; margin: 0; }
.card__desc { font-size: 13px; color: var(--muted); margin: 6px 4px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__price { font-size: 15px; font-weight: 600; white-space: nowrap; }
.card__price small { font-weight: 400; color: var(--muted); }
.catalog__empty { text-align: center; color: var(--muted); padding: 40px 0; }
.catalog__empty a { color: var(--rose); text-decoration: underline; }
.catalog__note { margin-top: 48px; font-size: 13px; color: var(--muted); text-align: center; }

/* ===== Сезон ===== */
.seasonal { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--moss); color: rgba(255,255,255,.8); min-height: 620px; }
.seasonal__media { overflow: hidden; }
.seasonal__media img { width: 100%; height: 100%; object-fit: cover; }
.seasonal__body { padding: clamp(48px, 8vw, 120px); align-self: center; }
.seasonal__body p:not(.eyebrow) { font-size: 17px; max-width: 44ch; margin: 24px 0 36px; font-weight: 300; }

/* ===== Конструктор ===== */
.builder { background: var(--ivory); }
.builder__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.builder__intro .lead { margin: 24px 0 40px; }
/* стилизованный цветок: лепестки красятся в выбранную гамму, цветок растёт с бюджетом */
.builder__preview { position: relative; width: min(340px, 80%); aspect-ratio: 1; transform-origin: 30% 50%; }
.builder__preview::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 1px dashed rgba(196,162,116,.5); animation: spin 60s linear infinite; }
.builder__preview::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--gold-2), var(--gold) 70%); box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.builder__preview span {
  position: absolute; left: 50%; top: 50%; width: 26%; height: 44%; margin: -44% 0 0 -13%;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; transform-origin: 50% 100%;
  transform: rotate(calc(var(--i) * 51.43deg));
  background: linear-gradient(180deg, var(--c, var(--blush)), color-mix(in srgb, var(--c, var(--blush)) 70%, #fff));
  box-shadow: inset 0 -10px 24px rgba(0,0,0,.08), 0 10px 24px -12px rgba(28,38,33,.35);
  transition: background .8s var(--ease);
}
.builder__preview span:nth-child(1) { --i: 0; } .builder__preview span:nth-child(2) { --i: 1; }
.builder__preview span:nth-child(3) { --i: 2; } .builder__preview span:nth-child(4) { --i: 3; }
.builder__preview span:nth-child(5) { --i: 4; } .builder__preview span:nth-child(6) { --i: 5; }
.builder__preview span:nth-child(7) { --i: 6; }
@keyframes spin { to { transform: rotate(360deg); } }
.builder__form { background: var(--paper); border-radius: 28px; padding: clamp(28px, 4vw, 48px); box-shadow: 0 40px 80px -40px rgba(28,38,33,.35); }

.field { margin-bottom: 26px; }
.field > label { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.field > label b { color: var(--ink); font-size: 15px; letter-spacing: 0; text-transform: none; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { height: 40px; padding: 0 18px; }
input[type=text], input[type=tel], input[type=date], input[type=time], input:not([type]), textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #fff; font-size: 15px; resize: vertical;
  transition: border-color .3s, box-shadow .3s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(196,162,116,.18); }
input[type=range] { width: 100%; accent-color: var(--moss); height: 30px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 100px; border: 1px solid var(--line); font-size: 13px; transition: border-color .3s, background .3s; }
.swatch i { display: flex; }
.swatch i span { width: 22px; height: 22px; border-radius: 50%; margin-left: -6px; border: 2px solid #fff; }
.swatch i span:first-child { margin-left: 0; }
.swatch.is-active { border-color: var(--moss); background: #fff; box-shadow: 0 0 0 1px var(--moss); }

/* ===== Обещания ===== */
.promises__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.promise { padding: 40px 36px 44px 0; border-bottom: 1px solid var(--line); position: relative; }
.promise:not(:nth-child(3n+1)) { padding-left: 36px; border-left: 1px solid var(--line); }
.promise__num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 20px; }
.promise h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; margin: 18px 0 10px; line-height: 1.1; }
.promise p { margin: 0; color: var(--muted); font-size: 15px; }

/* ===== Флорист ===== */
.florist { padding: 0 0 clamp(72px, 10vw, 140px); }
.florist__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.florist__photo { border-radius: 300px 300px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.florist__photo img { width: 100%; height: 100%; object-fit: cover; }
.florist blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.3; margin: 32px 0; padding-left: 28px; border-left: 2px solid var(--gold); }
.florist__facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.florist__facts li { display: flex; gap: 14px; color: var(--muted); }
.florist__facts li::before { content: "✦"; color: var(--gold); }

/* ===== Отзывы ===== */
.reviews { background: var(--moss); color: var(--paper); overflow: hidden; }
.reviews .h2 em { color: var(--gold-2); }
.reviews .eyebrow--dark { color: var(--gold-2); }
.rating-card { display: flex; align-items: center; gap: 18px; padding: 16px 26px 16px 20px; border: 1px solid var(--line-light); border-radius: 100px; font-size: 13px; color: rgba(255,255,255,.7); transition: background .3s; }
.rating-card:hover { background: rgba(255,255,255,.06); }
.rating-card > b { font-family: var(--serif); font-size: 48px; font-weight: 400; color: var(--paper); line-height: 1; }
.reviews__track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.reviews__track::-webkit-scrollbar { display: none; }
.review { flex: 0 0 min(420px, 85%); scroll-snap-align: start; padding: 36px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 22px; }
.review p { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.4; flex: 1; }
.review footer { display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.6); }
.review footer b { color: var(--paper); font-weight: 600; }
.reviews__nav { display: flex; gap: 10px; margin-top: 32px; }
.reviews__nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-light); color: var(--paper); font-size: 18px; transition: background .3s, color .3s; }
.reviews__nav button:hover { background: var(--gold-2); color: var(--moss); border-color: var(--gold-2); }

/* ===== Галерея ===== */
.gallery { overflow: hidden; }
.gallery__grid { display: flex; will-change: transform; }
.gallery__grid figure { margin: 0; flex: 0 0 24vw; aspect-ratio: 1; overflow: hidden; }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9); }
.gallery__grid figure:hover img { transform: scale(1.08); filter: saturate(1.1); }

/* ===== Уход ===== */
.care__inner, .faq__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 7vw, 110px); }
.care__list { list-style: none; counter-reset: c; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 36px; }
.care__list li { counter-increment: c; }
.care__list li::before { content: "0" counter(c); font-family: var(--serif); font-style: italic; font-size: 44px; color: var(--gold); line-height: 1; display: block; margin-bottom: 12px; }
.care__list h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0 0 6px; }
.care__list p { margin: 0; color: var(--muted); font-size: 15px; }

/* ===== FAQ ===== */
.faq { background: var(--ivory); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 20px; padding: 26px 0; font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.faq__q i { font-style: normal; font-family: var(--sans); font-size: 22px; font-weight: 300; transition: transform .4s var(--ease); flex: none; }
.faq__item.is-open .faq__q i { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { margin: 0 0 26px; color: var(--muted); max-width: 60ch; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ===== Контакты ===== */
.contacts { position: relative; min-height: 640px; display: flex; align-items: center; background: var(--moss); }
.contacts__map { position: absolute; inset: 0; filter: grayscale(.6) sepia(.15) contrast(1.02); }
.contacts__map iframe { width: 100%; height: 100%; border: 0; }
.contacts__card { position: relative; margin-left: max(24px, calc((100% - 1240px) / 2)); width: min(480px, calc(100% - 48px)); background: var(--moss); color: rgba(255,255,255,.78); padding: 48px; border-radius: 28px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.contacts__card dl { display: grid; grid-template-columns: auto 1fr; gap: 14px 24px; margin: 32px 0; font-size: 15px; }
.contacts__card dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); padding-top: 4px; }
.contacts__card dd { margin: 0; color: var(--paper); }
.contacts__card dd small { display: block; color: rgba(255,255,255,.55); font-size: 13px; margin-top: 2px; }
.contacts__actions { display: flex; flex-direction: column; gap: 14px; }
.messengers { display: flex; gap: 10px; flex-wrap: wrap; }
.messengers a { flex: 1; text-align: center; height: 48px; display: grid; place-items: center; border-radius: 100px; border: 1px solid var(--line-light); color: var(--paper); font-size: 14px; transition: background .3s; }
.messengers a:hover { background: rgba(255,255,255,.08); }

/* ===== Подвал ===== */
.footer { background: #141B17; color: rgba(255,255,255,.6); padding: 64px 0 48px; font-size: 14px; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; }
.footer p { margin: 6px 0; }
.footer__copy { grid-column: 1 / -1; border-top: 1px solid var(--line-light); padding-top: 24px; font-size: 12px; }

/* ===== Модалка товара ===== */
.modal, .drawer { position: fixed; inset: 0; z-index: 80; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20,26,22,.55); backdrop-filter: blur(6px); animation: fade .4s; }
@keyframes fade { from { opacity: 0; } }
.modal__dialog { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--paper); border-radius: 28px; overflow: hidden; animation: pop .5s var(--ease); max-height: calc(100svh - 40px); }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -46%); } }
.modal__dialog--product { width: min(1040px, calc(100% - 32px)); display: grid; grid-template-columns: 1fr 1fr; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(251,248,243,.92); font-size: 26px; line-height: 1; }
.pm__media { background: var(--ivory); min-height: 100%; }
.pm__media img { width: 100%; height: 100%; object-fit: cover; max-height: calc(100svh - 40px); }
.pm__body { padding: 48px 44px 40px; overflow-y: auto; max-height: calc(100svh - 40px); }
.pm__title { font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1; margin: 0 0 18px; }
.pm__desc { color: var(--muted); margin: 0 0 10px; }
.pm__comp { font-size: 14px; margin: 0 0 30px; }
.pm__comp span:first-child { color: var(--muted); }
.addons { display: grid; gap: 8px; }
.addon { display: flex; align-items: center; gap: 12px; font-size: 14px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.addon input { accent-color: var(--moss); width: 18px; height: 18px; }
.addon span { flex: 1; }
.addon small { color: var(--muted); }
.pm__buy { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 24px; border-top: 1px solid var(--line); }
.pm__price { font-family: var(--serif); font-size: 40px; line-height: 1; }
.pm__quick { margin-top: 16px; font-size: 14px; color: var(--rose); text-decoration: underline; text-underline-offset: 4px; }

/* ===== Корзина ===== */
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: var(--paper); display: flex; flex-direction: column; animation: slide .5s var(--ease); overflow-y: auto; }
@keyframes slide { from { transform: translateX(100%); } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); z-index: 1; }
.drawer__head h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; margin: 0; }
.drawer__head .modal__close { position: static; }
.drawer__items { padding: 8px 28px; }
.ci { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.ci img { width: 72px; height: 88px; object-fit: cover; border-radius: 10px; }
.ci h4 { font-family: var(--serif); font-size: 21px; font-weight: 500; margin: 0; line-height: 1.1; }
.ci small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.ci__qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 14px; }
.ci__qty button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); }
.ci__right { text-align: right; font-weight: 600; font-size: 14px; }
.ci__right button { display: block; margin: 8px 0 0 auto; font-size: 12px; color: var(--muted); text-decoration: underline; font-weight: 400; }
.drawer__empty { padding: 48px 0; text-align: center; color: var(--muted); }
.checkout { padding: 20px 28px 32px; }
.checkout .field { margin-bottom: 12px; }
.checkout__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.checkout__total b { font-family: var(--serif); font-size: 36px; font-weight: 400; }
.check { display: flex; gap: 10px; align-items: center; font-size: 14px; margin: 6px 0 20px; cursor: pointer; }
.check input { accent-color: var(--moss); width: 18px; height: 18px; }
.checkout__send { display: grid; gap: 10px; }
.checkout__send .btn { white-space: normal; height: auto; min-height: 52px; padding: 12px 20px; text-align: center; line-height: 1.3; }
.field--row > * { min-width: 0; }
/* подписи над датой и временем; на iPhone поля даты/времени не показывают подсказку и могут вылезать за край */
.mini-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mini-field > span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); padding-left: 4px; }
.mini-field input { -webkit-appearance: none; appearance: none; display: block; width: 100%; min-width: 0; max-width: 100%; min-height: 52px; text-align: left; }
.mini-field input::-webkit-date-and-time-value { text-align: left; }
.drawer__panel { overflow-x: hidden; }
.hint { display: block; font-size: 12px; color: var(--muted); margin-top: 10px; }

.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 120; background: var(--moss); color: var(--paper); padding: 14px 24px; border-radius: 100px; font-size: 14px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.4); animation: pop2 .4s var(--ease); max-width: calc(100% - 32px); text-align: center; }
@keyframes pop2 { from { opacity: 0; transform: translate(-50%, 10px); } }

.mobilebar { display: none; }

/* ===== Анимации при прокрутке (js/motion.js) ===== */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.hero__media, .hero__content { will-change: transform, opacity; }

/* лепестки и цветы, перекрывающие стык блоков */
.occasions, .seasonal, .bloom { position: relative; }
.drift { position: absolute; left: 0; right: 0; top: -170px; height: 340px; pointer-events: none; z-index: 5; }
.drift--low { top: -90px; }
.drift__item { position: absolute; margin: -50px 0 0 -50px; opacity: 0; will-change: transform, opacity; }
.drift__item svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 12px 18px rgba(40, 25, 20, .18)); }

/* заголовки выезжают по словам */
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .06em .16em; margin: 0 -.06em -.16em; }
.split .w > span { display: inline-block; transform: translateY(112%); transition: transform 1.1s var(--ease) calc(var(--wi) * 70ms + 120ms); }
.split.is-in .w > span { transform: none; }
.hero__title.split .w > span { transition-delay: calc(var(--wi) * 90ms + 250ms); }

/* фото открываются «шторкой» */
.wipe { transition: clip-path 1.6s var(--ease); }
.wipe--right { clip-path: inset(0 100% 0 0); }
.wipe--up { clip-path: inset(100% 0 0 0); }
.wipe.is-in { clip-path: inset(0 0 0 0); }
[data-parallax] img { will-change: transform; transform: scale(1.15); }

/* карточки каталога появляются волной */
.card.reveal { transition-delay: calc(var(--d, 0) * 90ms); }

/* ===== Распускающийся цветок ===== */
.bloom { height: 360vh; background: #121914; color: var(--paper); }
.bloom__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(ellipse 70% 80% at 32% 50%, #2B3A30 0%, #18211B 55%, #0F1511 100%); }
/* боке нарисовано мягкими градиентами, без фильтра размытия — ничего не пересчитывается при прокрутке */
.bloom__bokeh { position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background:
    radial-gradient(circle at 12% 22%, rgba(140, 170, 140, .3), transparent 110px),
    radial-gradient(circle at 78% 14%, rgba(224, 21, 126, .16), transparent 130px),
    radial-gradient(circle at 88% 70%, rgba(120, 150, 125, .26), transparent 120px),
    radial-gradient(circle at 22% 84%, rgba(255, 212, 59, .12), transparent 140px),
    radial-gradient(circle at 52% 8%, rgba(91, 36, 201, .14), transparent 100px),
    radial-gradient(circle at 62% 92%, rgba(140, 170, 140, .22), transparent 105px); }
.bloom__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bloom__inner { position: relative; z-index: 1; }
.bloom .h2 { color: var(--paper); }
.bloom .h2 em { color: var(--gold-2); }
.bloom .eyebrow--dark { color: var(--gold-2); }
.bloom.has-rose .bloom__flower, .bloom.has-rose .bloom__glow { display: none; }
.bloom.has-rose .bloom__text { text-shadow: 0 2px 24px rgba(10, 15, 12, .6); }
.bloom__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.bloom__stage { position: relative; width: min(100%, 76vh); aspect-ratio: 540 / 600; justify-self: center; }
.bloom__flower { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bloom__glow { position: absolute; left: 6%; right: 6%; top: 0; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(235, 211, 202, .95), rgba(235, 211, 202, .35) 45%, rgba(235, 211, 202, 0) 70%); transform: scale(.5); opacity: .25; will-change: transform, opacity; }
.bloom__steps { position: relative; min-height: 210px; margin-top: 40px; }
/* шаги сменяются по очереди: старый быстро уходит, новый появляется после него — тексты не накладываются */
.bloom__step { position: absolute; left: 0; right: 0; top: 0; opacity: 0; visibility: hidden; transform: translateY(22px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }
.bloom__step.is-past { transform: translateY(-22px); }
.bloom__step.is-active { opacity: 1; visibility: visible; transform: none;
  transition: opacity .55s var(--ease) .28s, transform .55s var(--ease) .28s, visibility 0s linear .28s; }
.bloom__step span { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold); }
.bloom__step h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 42px); line-height: 1.1; margin: 8px 0 12px; }
.bloom__step p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 17px; max-width: 40ch; }
.bloom__progress { display: flex; align-items: center; gap: 16px; font-size: 13px; letter-spacing: .12em; color: rgba(255, 255, 255, .6); }
.bloom__progress i { position: relative; flex: 0 1 220px; height: 1px; background: var(--line-light); }
.bloom__progress b { position: absolute; left: 0; top: -.5px; height: 2px; width: 0; background: var(--gold); }
.bloom.is-static { height: auto; }
.bloom.is-static .bloom__sticky { position: static; height: auto; padding: 100px 0; }
.bloom.is-static .bloom__steps { min-height: 0; }
.bloom.is-static .bloom__step { position: static; opacity: 1; transform: none; margin-bottom: 28px; }
.bloom.is-static .bloom__progress { display: none; }

/* Анимация появления */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal { transition-delay: calc(var(--i, 0) * 120ms + 150ms); }

/* ===== Адаптив ===== */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .occasions__list { grid-template-columns: repeat(3, 1fr); }
  .status { display: none; }
  .hero__content { grid-template-columns: minmax(0, 1fr) 46vw; align-content: center; }
  .hero__stage { left: auto; right: 0; translate: none; width: 46vw; }
  .hero__left { grid-row: 1; }
  .hero__meta { grid-column: 1; grid-row: 2; align-self: start; flex-direction: row; flex-wrap: wrap; gap: 18px 28px; margin-top: 32px;
    padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--line-light); }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav {
    position: fixed; inset: 0; top: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 26px;
    background: var(--moss); color: var(--paper); font-family: var(--serif); font-size: 36px; letter-spacing: 0;
    opacity: 0; pointer-events: none; transition: opacity .4s;
  }
  .nav-open .nav { opacity: 1; pointer-events: auto; }
  .nav-open .header { color: var(--paper); background: transparent; box-shadow: none; backdrop-filter: none; }
  .burger { display: block; }
  .header__phone { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .card__quick { display: none; }
  .card__name { font-size: 21px; }
  .card__body { flex-direction: column; gap: 4px; }
  .seasonal, .builder__inner, .florist__inner, .care__inner, .faq__inner { grid-template-columns: 1fr; }
  .seasonal__media { aspect-ratio: 4 / 3; }
  .builder__preview { display: none; }
  .bloom { height: 300vh; }
  .bloom.has-rose .bloom__inner { align-self: end; padding-bottom: 96px; }
  .bloom.has-rose .bloom__stage { display: none; }
  .bloom.has-rose .bloom__sticky::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 58%; pointer-events: none;
    background: linear-gradient(180deg, rgba(15, 21, 17, 0), rgba(15, 21, 17, .82) 42%, rgba(15, 21, 17, .92)); }
  .bloom__inner { grid-template-columns: 1fr; gap: 0; }
  .bloom__stage { width: min(80vw, 44svh); margin-bottom: 14px; }
  .bloom__text .h2 { font-size: clamp(32px, 8vw, 44px); }
  .bloom__text .eyebrow { margin-bottom: 10px; }
  .bloom__steps { min-height: 150px; margin-top: 18px; }
  .bloom__step h3 { font-size: 26px; margin: 4px 0 6px; }
  .bloom__step p { font-size: 15px; }
  .drift { top: -110px; height: 220px; }
  .promises__grid { grid-template-columns: 1fr 1fr; }
  .promise, .promise:not(:nth-child(3n+1)) { padding: 32px 20px 32px 0; border-left: 0; }
  .promise:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .gallery__grid figure { flex-basis: 46vw; }
  .modal__dialog--product { grid-template-columns: 1fr; overflow-y: auto; }
  .pm__media { min-height: 0; }
  .pm__media img { height: auto; aspect-ratio: 4 / 3; max-height: 46svh; }
  .pm__body { max-height: none; overflow: visible; padding: 32px 24px; }
  .contacts { flex-direction: column; align-items: stretch; }
  .contacts__map { position: relative; height: 360px; }
  .contacts__card { margin: -60px auto 40px; }
  .footer { padding-bottom: 110px; }
  .footer__inner { grid-template-columns: 1fr; }
  .mobilebar {
    display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    background: rgba(28,38,33,.94); backdrop-filter: blur(12px); border-radius: 100px; padding: 6px; color: var(--paper);
    box-shadow: 0 20px 40px -12px rgba(0,0,0,.45);
  }
  .mobilebar a, .mobilebar button { height: 46px; display: grid; place-items: center; font-size: 13px; font-weight: 600; letter-spacing: .04em; border-radius: 100px; }
  .mobilebar button { background: var(--gold-2); color: var(--moss); display: flex; justify-content: center; align-items: center; gap: 6px; }
  .mobilebar b { background: var(--moss); color: var(--paper); border-radius: 10px; padding: 0 7px; font-size: 11px; }
  .hero__scroll { display: none; }
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero__stage { position: relative; top: auto; bottom: auto; left: auto; right: auto; translate: none; width: 100%; height: 54svh; margin-top: var(--header-h); }
  .hero__content { grid-template-columns: 1fr; min-height: 0; padding: 30px 0 56px; }
  .hero__hint { bottom: 0; }
  .hero__left, .hero__meta { grid-column: 1; grid-row: auto; }
  .hero__title { max-width: none; font-size: clamp(38px, 10.5vw, 54px); }
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .cart-btn { display: none; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .occasions__list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .occasion { gap: 18px; padding: 18px; }
  .occasion b { font-size: 21px; }
  .catalog__tools { width: 100%; }
  .catalog__tools select { flex: 1; min-width: 0; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .card__desc { display: none; }
  .promises__grid { grid-template-columns: 1fr; }
  .promise:nth-child(even) { padding-left: 0; border-left: 0; }
  .care__list { grid-template-columns: 1fr; }
  .contacts__card { padding: 32px 24px; }
  .contacts__card dl { grid-template-columns: 1fr; gap: 4px; }
  .contacts__card dd { margin-bottom: 12px; }
  .hero__actions .btn { width: 100%; }
  .hero__meta { margin-top: 36px; }
  .review { padding: 26px; }
  .review p { font-size: 19px; }
  .faq__q { font-size: 22px; }
  .pm__title { font-size: 36px; }
  .pm__buy { flex-wrap: wrap; }
  .pm__buy .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .split .w > span { transform: none; }
  .wipe { clip-path: none; }
  .drift, .scroll-progress { display: none; }
}
