/* =========================================================
   CAMELLIA — цветочный магазин в Барнауле
   Белый + красно-розовый, светлая нежная эстетика.
   ========================================================= */

:root {
  --bg: #fffaf9;
  --bg-alt: #fff1f2;
  --surface: #ffffff;
  --surface-2: #ffe4e8;
  --ink: #2b1116;
  --ink-dim: #7a5158;
  --ink-faint: #a9848a;
  --rose: #e11d48;
  --rose-2: #fb7185;
  --wine: #9f1239;
  --gold: #fde047;
  --stamp: #b45163;
  --line: rgba(43, 17, 22, 0.1);
  --line-strong: rgba(43, 17, 22, 0.18);
  --shadow: 0 20px 50px -20px rgba(159, 18, 57, 0.22);
  --radius: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ff-head: "Playfair Display", "Georgia", serif;
  --ff-body: "Manrope", system-ui, sans-serif;
  --ff-tag: "Manrope", system-ui, sans-serif;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--ff-head); margin: 0; letter-spacing: 0.005em; }
p { margin: 0; }

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

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  min-height: 44px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s ease, border-color 0.25s ease;
}
.btn-rose {
  background: linear-gradient(135deg, var(--rose-2), var(--rose));
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(225, 29, 72, 0.55);
}
.btn-rose:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -10px rgba(225, 29, 72, 0.7); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}
.btn-outline:hover { border-color: var(--rose); color: var(--rose); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-block { width: 100%; }

.stars { color: var(--rose); letter-spacing: 2px; }

.section-eyebrow {
  font-family: var(--ff-tag);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--rose);
  margin: 0 0 10px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--ink);
}
.section-lead {
  color: var(--ink-dim);
  font-size: 17px;
  max-width: 640px;
  margin-bottom: 8px;
}

.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--bg-alt); }

.dot {
  width: 9px; height: 9px; border-radius: 50%;
  display: inline-block; margin-right: 8px;
  background: var(--ink-faint);
}
.dot.is-open { background: #4d9a5c; box-shadow: 0 0 0 4px rgba(77, 154, 92, 0.2); }
.dot.is-closed { background: var(--rose); box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.18); }

/* =========================================================
   ЗАГРУЗКА — РАСЦВЕТАЮЩИЙ ЦВЕТОК
   ========================================================= */
.bloom-loader {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  transition: opacity 0.5s ease 0.2s, visibility 0.5s ease 0.2s;
}
.bloom-flower { position: relative; width: 120px; height: 120px; }
.bloom-petal {
  position: absolute; top: 50%; left: 50%; width: 56px; height: 56px;
  border-radius: 60% 60% 60% 0;
  background: linear-gradient(135deg, var(--rose-2), var(--rose));
  transform: translate(-50%, -50%) rotate(0deg) scale(0);
  animation: petal-open 1.4s var(--ease) infinite;
}
.bloom-petal.p1 { transform-origin: center; animation-delay: 0s; --rot: 0deg; }
.bloom-petal.p2 { --rot: 72deg; animation-delay: 0.08s; }
.bloom-petal.p3 { --rot: 144deg; animation-delay: 0.16s; }
.bloom-petal.p4 { --rot: 216deg; animation-delay: 0.24s; }
.bloom-petal.p5 { --rot: 288deg; animation-delay: 0.32s; }
@keyframes petal-open {
  0% { transform: translate(-50%, -50%) rotate(var(--rot)) translateY(0) scale(0); opacity: 0; }
  55% { transform: translate(-50%, -50%) rotate(var(--rot)) translateY(-26px) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) rotate(var(--rot)) translateY(-26px) scale(1); opacity: 1; }
}
.bloom-core {
  position: absolute; top: 50%; left: 50%; width: 28px; height: 28px;
  border-radius: 50%; background: var(--gold);
  transform: translate(-50%, -50%) scale(0);
  animation: core-pop 1.4s var(--ease) 0.4s infinite;
  box-shadow: 0 0 24px rgba(253, 224, 71, 0.6);
}
@keyframes core-pop {
  0%, 20% { transform: translate(-50%, -50%) scale(0); }
  55%, 100% { transform: translate(-50%, -50%) scale(1); }
}
.bloom-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

/* =========================================================
   ШАПКА
   ========================================================= */
.top-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--header-h);
  background: rgba(255, 250, 249, 0.7);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.top-bar.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 250, 249, 0.92); }

.bar-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 28px;
}

.badge-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.badge-mark { width: 32px; height: 32px; color: var(--rose); flex-shrink: 0; }
.badge-mark-img { width: 40px; height: 40px; flex-shrink: 0; object-fit: contain; }
.badge-logo--footer .badge-mark-img { width: 56px; height: 56px; }
.badge-text {
  font-family: var(--ff-head); font-size: 22px; font-weight: 700; font-style: italic;
  letter-spacing: 0.01em; color: var(--ink); display: flex; align-items: baseline; gap: 8px;
}
.badge-sub {
  font-family: var(--ff-tag); font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: 0.14em;
  color: var(--rose); border: 1px solid var(--line-strong);
  border-radius: 4px; padding: 2px 6px; text-transform: uppercase;
}

.bar-nav { display: flex; gap: 26px; margin-left: 12px; flex: 1; }
.bar-nav a {
  font-size: 14.5px; font-weight: 600; color: var(--ink-dim); position: relative; padding: 6px 0;
  transition: color 0.2s ease;
}
.bar-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--rose); transition: width 0.25s ease;
}
.bar-nav a:hover { color: var(--ink); }
.bar-nav a:hover::after { width: 100%; }

.bar-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.bar-status { display: flex; font-family: var(--ff-tag); font-size: 12.5px; font-weight: 600; color: var(--ink-dim); align-items: center; }

.drawer-btn {
  display: none; width: 40px; height: 40px; flex-shrink: 0;
  align-items: center; justify-content: center; gap: 5px; flex-direction: column;
}
.drawer-btn span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.drawer-btn.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.drawer-btn.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- МОБИЛЬНАЯ ШТОРКА ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 250;
  background: rgba(43, 17, 22, 0.35);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.drawer.is-open { opacity: 1; pointer-events: auto; }
.drawer-sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--surface);
  border-top: 1px solid var(--line-strong);
  border-radius: 22px 22px 0 0;
  padding: 14px 24px 28px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  max-height: 82vh; overflow-y: auto;
  box-shadow: var(--shadow);
}
.drawer.is-open .drawer-sheet { transform: translateY(0); }
.drawer-grip { width: 40px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 0 auto 18px; }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a {
  font-family: var(--ff-head); font-size: 21px; font-weight: 600;
  padding: 13px 4px; border-bottom: 1px solid var(--line); color: var(--ink);
}
.drawer-foot { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.drawer-foot .bar-status { display: flex; justify-content: center; }

/* =========================================================
   ГЕРОЙ
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 56px) 0 0;
  background:
    linear-gradient(rgba(255, 250, 249, 0.82), rgba(255, 250, 249, 0.82)),
    url("images/hero-roses.jpg.jfif") center/cover no-repeat var(--bg);
}
.hero-petals { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.petal-fall {
  position: absolute; top: -40px; border-radius: 60% 60% 60% 0;
  background: linear-gradient(135deg, var(--rose-2), var(--rose));
  opacity: 0.55;
  animation-name: petal-fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes petal-fall {
  0% { transform: translateY(0) translateX(0) rotate(0deg); }
  100% { transform: translateY(120vh) translateX(var(--drift, 40px)) rotate(340deg); }
}
.hero-spot {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(225, 29, 72, 0.1), transparent 60%);
  opacity: 0; transition: opacity 0.4s ease;
}
.hero-spot.is-active { opacity: 1; }

.hero-inner {
  position: relative; z-index: 2; isolation: isolate;
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-tag); font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--wine); margin: 0 0 22px; text-transform: uppercase;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.18); animation: pulse-dot 2.4s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero-title {
  font-size: clamp(36px, 5.4vw, 60px);
  font-weight: 600; line-height: 1.1; margin: 0 0 22px;
}
.hero-title-accent { color: var(--rose); font-style: italic; }

.hero-sub { font-size: 18px; color: var(--ink-dim); max-width: 480px; margin-bottom: 32px; }

.hero-cta-line {
  font-family: var(--ff-tag); font-size: 15px; font-weight: 700; color: var(--wine);
  letter-spacing: 0.02em; margin: 0 0 14px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 8px; }

.hero-visual { display: flex; flex-direction: column; gap: 22px; }
.hero-rig { width: 100%; height: auto; max-height: 320px; }
.rig-glow { fill: rgba(251, 113, 133, 0.18); filter: blur(10px); }
.rig-stem {
  fill: none; stroke: #5c8a5f; stroke-width: 3.2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: stroke-dashoffset 1.8s var(--ease);
}
.rig-leaf { fill: #6fa06f; opacity: 0; transform: scale(0.6); transform-origin: center; transition: opacity 0.6s ease 1.1s, transform 0.6s var(--ease) 1.1s; }
.rig-leaf path { fill: #6fa06f; }
.hero-rig.is-drawn .rig-stem { stroke-dashoffset: 0 !important; }
.hero-rig.is-drawn .rig-leaf { opacity: 1; transform: scale(1); }
.rig-bloom { opacity: 0; transform: scale(0.5); transform-origin: 200px 160px; transition: opacity 0.7s var(--ease) 0.5s, transform 0.7s var(--ease) 0.5s; }
.hero-rig.is-drawn .rig-bloom { opacity: 1; transform: scale(1); }
.rig-petal { fill: var(--rose-2); opacity: 0.9; }
.rig-petal:nth-child(1) { fill: var(--rose); }
.rig-petal:nth-child(4) { fill: var(--rose); }
.rig-core { fill: var(--gold); }

.hero-ticket {
  background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: 14px;
  padding: 18px 20px; box-shadow: var(--shadow);
  font-family: var(--ff-tag);
}
.ticket-row { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 12px; }
.ticket-row span { color: var(--ink-faint); letter-spacing: 0.06em; font-weight: 700; }
.ticket-row b { color: var(--ink); font-weight: 600; text-align: right; }
.ticket-link { display: block; margin-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--rose); }
.ticket-link:hover { color: var(--wine); }

.hero-plates {
  position: relative; z-index: 2; margin-top: 56px;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.plate {
  padding: 26px 20px; text-align: center;
  border-right: 1px solid var(--line);
}
.plate:last-child { border-right: none; }
.plate-num {
  display: block; font-family: var(--ff-head); font-size: clamp(26px, 3vw, 34px);
  color: var(--rose); font-weight: 700; margin-bottom: 4px;
}
.plate-label { font-size: 12.5px; color: var(--ink-faint); letter-spacing: 0.02em; }

/* =========================================================
   ПРЕИМУЩЕСТВА — USP
   ========================================================= */
.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.usp-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 22px; display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.usp-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.usp-card .row-icon { flex-shrink: 0; }
.usp-title { font-size: 17px; font-weight: 700; margin: 0; }
.usp-desc { color: var(--ink-dim); font-size: 14.5px; margin: 0; }
.usp-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.usp-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.usp-grid .reveal:nth-child(4) { transition-delay: 0.06s; }
.usp-grid .reveal:nth-child(5) { transition-delay: 0.12s; }
.usp-grid .reveal:nth-child(6) { transition-delay: 0.18s; }
.usp-grid .reveal:nth-child(7) { transition-delay: 0.06s; }
.usp-grid .reveal:nth-child(8) { transition-delay: 0.12s; }
.usp-grid .reveal:nth-child(9) { transition-delay: 0.18s; }

/* =========================================================
   ЛЕНТА
   ========================================================= */
.belt {
  overflow: hidden; background: var(--rose);
  border-top: 1px solid rgba(0, 0, 0, 0.06); border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 12px 0;
}
.belt-track { display: flex; width: max-content; gap: 28px; animation: belt-scroll 26s linear infinite; }
.belt-track span { font-family: var(--ff-head); font-style: italic; font-size: 15px; letter-spacing: 0.08em; color: #fff; white-space: nowrap; }
@keyframes belt-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.belt:hover .belt-track { animation-play-state: paused; }

/* =========================================================
   УСЛУГИ — LEDGER
   ========================================================= */
.ledger { max-width: 1180px; margin: 0 auto; padding: 96px 24px; display: grid; grid-template-columns: 340px 1fr; gap: 60px; }
.ledger-pin { align-self: start; position: sticky; top: calc(var(--header-h) + 32px); }
.ledger-desc { color: var(--ink-dim); margin: 6px 0 30px; max-width: 320px; }
.ledger-progress { display: flex; align-items: center; gap: 8px; font-family: var(--ff-tag); }
.ledger-progress-num { font-size: 22px; color: var(--rose); font-weight: 700; }
.ledger-progress-total { color: var(--ink-faint); font-size: 14px; }
.ledger-progress-bar { flex: 1; height: 2px; background: var(--line); margin-left: 10px; position: relative; overflow: hidden; }
.ledger-progress-bar i { position: absolute; inset: 0; width: 16.6%; background: var(--rose); transition: width 0.3s ease; display: block; }

.ledger-rows { display: flex; flex-direction: column; }
.ledger-row {
  display: grid; grid-template-columns: 44px 44px 1fr; gap: 18px; align-items: start;
  padding: 30px 0; border-bottom: 1px solid var(--line);
  transition: opacity 0.4s ease;
}
.ledger-row:first-child { padding-top: 4px; }
.row-num { font-family: var(--ff-tag); color: var(--ink-faint); font-size: 14px; font-weight: 700; padding-top: 6px; }
.row-icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--surface);
  border: 1px solid var(--line-strong); color: var(--rose);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s var(--ease), color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.row-icon svg { width: 22px; height: 22px; flex-shrink: 0; }
.row-body { min-width: 0; }
.row-title { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.row-desc { color: var(--ink-dim); font-size: 15.5px; max-width: 560px; }
.ledger-row.is-active .row-icon { color: #fff; background: var(--rose); border-color: var(--rose); transform: scale(1.08) rotate(-6deg); }

/* =========================================================
   PHOTO PLACEHOLDER (переиспользуется в каталоге)
   ========================================================= */
.ph-fill {
  width: 100%; height: 100%;
  background:
    linear-gradient(160deg, rgba(251, 113, 133, 0.22), transparent 60%),
    repeating-linear-gradient(45deg, var(--surface-2) 0 2px, var(--surface) 2px 14px);
  display: flex; align-items: flex-end; padding: 12px;
  border: 1px solid var(--line); transition: transform 0.6s var(--ease);
}
.ph-fill span { font-family: var(--ff-tag); font-weight: 700; font-size: 12px; color: var(--wine); background: rgba(255, 255, 255, 0.75); padding: 4px 9px; border-radius: 6px; }

/* =========================================================
   КАТАЛОГ — КАТЕГОРИИ
   ========================================================= */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.cat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column; gap: 16px; padding-bottom: 20px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cat-photo { aspect-ratio: 4 / 3; border-radius: 14px 14px 0 0; overflow: hidden; }
.cat-photo .ph-fill { border-radius: 14px 14px 0 0; border: none; }
.cat-card:hover .ph-fill { transform: scale(1.05); }
.cat-title { font-size: 18px; font-weight: 600; margin: 0; padding: 0 20px; }
.cat-card .btn { margin: 0 20px; align-self: flex-start; }

/* =========================================================
   КАТАЛОГ — ЦВЕТЫ ПО ВИДАМ
   ========================================================= */
.flower-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.flower-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding-bottom: 16px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.flower-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.flower-photo { aspect-ratio: 1 / 1; border-radius: 14px 14px 0 0; overflow: hidden; }
.flower-photo .ph-fill { border-radius: 14px 14px 0 0; border: none; }
.flower-card:hover .ph-fill { transform: scale(1.05); }
.flower-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.flower-card:hover .flower-img { transform: scale(1.05); }
.flower-name { font-size: 15px; font-weight: 600; margin: 4px 0 0; padding: 0 16px; line-height: 1.3; }
.flower-price { font-family: var(--ff-head); font-size: 17px; color: var(--rose); font-weight: 700; padding: 0 16px; }

.cat-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.cat-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.cat-grid .reveal:nth-child(4) { transition-delay: 0.06s; }
.cat-grid .reveal:nth-child(5) { transition-delay: 0.12s; }
.cat-grid .reveal:nth-child(6) { transition-delay: 0.18s; }
.flower-grid .reveal:nth-child(2) { transition-delay: 0.05s; }
.flower-grid .reveal:nth-child(3) { transition-delay: 0.1s; }
.flower-grid .reveal:nth-child(4) { transition-delay: 0.15s; }
.flower-grid .reveal:nth-child(5) { transition-delay: 0.05s; }
.flower-grid .reveal:nth-child(6) { transition-delay: 0.1s; }
.flower-grid .reveal:nth-child(7) { transition-delay: 0.15s; }
.flower-grid .reveal:nth-child(8) { transition-delay: 0.05s; }
.flower-grid .reveal:nth-child(9) { transition-delay: 0.1s; }
.flower-grid .reveal:nth-child(10) { transition-delay: 0.15s; }

/* =========================================================
   КАК ЗАКАЗАТЬ — LINE
   ========================================================= */
.line-wrap { max-width: 1180px; margin: 56px auto 0; padding: 0 24px 20px; position: relative; }
.line-belt { position: absolute; top: 37px; left: 24px; right: 24px; width: calc(100% - 48px); height: 4px; display: none; }
.line-belt path { fill: none; stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 6 8; }
@media (min-width: 1081px) { .line-belt { display: block; } }
.line-stops { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; position: relative; }
.stop { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 18px; position: relative; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.stop:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stop-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--rose); color: var(--rose);
  font-family: var(--ff-tag); font-weight: 700; font-size: 12.5px; margin-bottom: 14px;
}
.stop-title { font-size: 17px; margin-bottom: 8px; font-weight: 600; }
.stop-desc { font-size: 14px; color: var(--ink-dim); }

/* =========================================================
   ФОТО — WALL
   ========================================================= */
.wall { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; grid-auto-flow: dense; gap: 14px; margin-top: 36px; }
.frame { border-radius: 14px; overflow: hidden; opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.frame.is-visible { opacity: 1; transform: translateY(0); }
.frame--wide { grid-column: span 2; }
.frame-fill {
  width: 100%; height: 100%;
  background:
    linear-gradient(160deg, rgba(251, 113, 133, 0.22), transparent 60%),
    repeating-linear-gradient(45deg, var(--surface-2) 0 2px, var(--surface) 2px 14px);
  display: flex; align-items: flex-end; padding: 14px;
  border: 1px solid var(--line); transition: transform 0.6s var(--ease);
}
.frame:hover .frame-fill { transform: scale(1.05); }
.frame-fill span { font-family: var(--ff-tag); font-weight: 700; font-size: 12.5px; color: var(--wine); background: rgba(255, 255, 255, 0.75); padding: 4px 9px; border-radius: 6px; }

/* =========================================================
   ОТЗЫВЫ — BOARD
   ========================================================= */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.ticket-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 16px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.ticket-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ticket-stamp {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--ff-tag); font-weight: 700; font-size: 10.5px; letter-spacing: 0.1em;
  color: var(--stamp); border: 1.5px solid var(--stamp); border-radius: 6px;
  padding: 3px 7px; transform: rotate(8deg); opacity: 0.85;
}
.tc-text { font-size: 15px; color: var(--ink-dim); line-height: 1.6; }
.tc-author { font-size: 14px; font-weight: 700; margin-top: auto; }
.tc-author span { font-weight: 400; color: var(--ink-faint); font-size: 12.5px; }

/* =========================================================
   ВОПРОСЫ — MANUAL
   ========================================================= */
.manual { max-width: 760px; margin-top: 36px; }
.clause { border-bottom: 1px solid var(--line); }
.clause-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 4px; text-align: left; font-size: 17px; font-weight: 700;
}
.clause-toggle { font-family: var(--ff-tag); color: var(--rose); font-size: 20px; flex-shrink: 0; transition: transform 0.3s ease; }
.clause.is-open .clause-toggle { transform: rotate(45deg); }
.clause-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.clause-a p { padding: 0 4px 20px; color: var(--ink-dim); font-size: 15px; max-width: 620px; }

/* =========================================================
   КОНТАКТЫ — DESK
   ========================================================= */
.desk { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 36px; }
.desk-info { display: flex; flex-direction: column; gap: 30px; }
.info-row h3 { font-size: 13px; font-family: var(--ff-tag); font-weight: 700; letter-spacing: 0.1em; color: var(--ink-faint); margin-bottom: 10px; text-transform: uppercase; }
.info-row p { font-size: 16px; margin-bottom: 4px; }
.info-sub { color: var(--ink-faint); font-size: 13.5px; display: flex; align-items: center; }
.info-link { color: var(--rose); font-weight: 700; }
.info-link:hover { color: var(--wine); }

.hours { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-bottom: 10px; }
.hours td { padding: 6px 0; border-bottom: 1px solid var(--line); color: var(--ink-dim); }
.hours td:last-child { text-align: right; font-family: var(--ff-tag); font-weight: 600; }
.hours tr.is-today td { color: var(--ink); font-weight: 700; }
.hours tr.is-today td:last-child { color: var(--rose); }

.desk-map { display: flex; flex-direction: column; gap: 14px; }
.map-art { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); }
.map-pulse { fill: rgba(225, 29, 72, 0.28); animation: map-ping 2.2s ease-out infinite; transform-origin: 210px 130px; }
@keyframes map-ping { 0% { r: 5; opacity: 0.7; } 100% { r: 24; opacity: 0; } }
.map-label { fill: var(--ink); font-family: var(--ff-head); font-weight: 700; font-size: 15px; }
.map-label--sm { fill: var(--ink-faint); font-family: var(--ff-tag); font-size: 11px; }
.map-actions { display: flex; gap: 10px; }

.section-cta { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 14px; }

/* =========================================================
   ФУТЕР
   ========================================================= */
.plate-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 44px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.badge-logo--footer { margin-bottom: 6px; }
.footer-text { color: var(--ink-dim); font-size: 14px; }
.footer-copy { color: var(--ink-faint); font-size: 13px; }

/* =========================================================
   ПОПАП: СВЯЗЬ С ФЛОРИСТОМ
   ========================================================= */
.contact-modal {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(43, 17, 22, 0.4);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.contact-modal.is-open { opacity: 1; pointer-events: auto; }
.contact-modal-sheet {
  position: relative; width: 100%; max-width: 380px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 22px;
  padding: 30px 26px 26px; box-shadow: var(--shadow);
  transform: translateY(16px) scale(0.96); opacity: 0;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
}
.contact-modal.is-open .contact-modal-sheet { transform: translateY(0) scale(1); opacity: 1; }
.contact-modal-close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--ink-faint);
  transition: background 0.2s ease, color 0.2s ease;
}
.contact-modal-close svg { width: 16px; height: 16px; }
.contact-modal-close:hover { background: var(--bg-alt); color: var(--rose); }
.contact-modal-title { font-size: 22px; margin: 0 0 8px; padding-right: 20px; }
.contact-modal-sub { color: var(--ink-dim); font-size: 14px; margin-bottom: 22px; }
.contact-modal-actions { display: flex; flex-direction: column; gap: 12px; }
.contact-modal-actions .btn svg { width: 19px; height: 19px; }

/* =========================================================
   FAB / TO-TOP
   ========================================================= */
.fab-group { position: fixed; right: 22px; bottom: 22px; z-index: 150; display: flex; flex-direction: column-reverse; align-items: center; gap: 12px; }
.fab-menu { display: flex; flex-direction: column-reverse; gap: 12px; align-items: center; }
.fab-item, .fab-toggle {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.fab-item { background: var(--surface); border: 1px solid var(--line-strong); color: var(--rose); opacity: 0; transform: translateY(10px) scale(0.8); pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; }
.fab-item svg { width: 24px; height: 24px; }
.fab-group.is-open .fab-item { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.fab-group.is-open .fab-item:nth-child(1) { transition-delay: 0.05s; }
.fab-group.is-open .fab-item:nth-child(2) { transition-delay: 0.1s; }
.fab-toggle {
  background: linear-gradient(135deg, var(--rose-2), var(--rose));
  color: #fff; position: relative;
  animation: fab-breathe 2.6s ease-in-out infinite;
}
@keyframes fab-breathe { 0%, 100% { box-shadow: 0 10px 26px -10px rgba(225, 29, 72, 0.55); } 50% { box-shadow: 0 10px 30px -6px rgba(225, 29, 72, 0.75); } }
.fab-toggle svg { width: 24px; height: 24px; position: absolute; transition: opacity 0.25s ease, transform 0.25s ease; }
.fab-icon-close { opacity: 0; transform: rotate(-45deg); }
.fab-group.is-open .fab-icon-open { opacity: 0; transform: rotate(45deg); }
.fab-group.is-open .fab-icon-close { opacity: 1; transform: rotate(0); }

.to-top {
  position: fixed; left: 22px; bottom: 22px; z-index: 150;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  font-size: 18px;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* =========================================================
   ПРОЯВЛЕНИЕ ПРИ СКРОЛЛЕ
   ========================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.ledger-rows .reveal:nth-child(2) { transition-delay: 0.08s; }
.ledger-rows .reveal:nth-child(3) { transition-delay: 0.16s; }
.ledger-rows .reveal:nth-child(4) { transition-delay: 0.24s; }
.ledger-rows .reveal:nth-child(5) { transition-delay: 0.32s; }
.ledger-rows .reveal:nth-child(6) { transition-delay: 0.4s; }
.line-stops .reveal:nth-child(2) { transition-delay: 0.1s; }
.line-stops .reveal:nth-child(3) { transition-delay: 0.2s; }
.line-stops .reveal:nth-child(4) { transition-delay: 0.3s; }
.line-stops .reveal:nth-child(5) { transition-delay: 0.4s; }
.wall .reveal:nth-child(2) { transition-delay: 0.08s; }
.wall .reveal:nth-child(3) { transition-delay: 0.16s; }
.wall .reveal:nth-child(4) { transition-delay: 0.24s; }
.wall .reveal:nth-child(5) { transition-delay: 0.32s; }
.board .reveal:nth-child(2) { transition-delay: 0.08s; }
.board .reveal:nth-child(3) { transition-delay: 0.16s; }
.board .reveal:nth-child(4) { transition-delay: 0.08s; }
.board .reveal:nth-child(5) { transition-delay: 0.16s; }
.board .reveal:nth-child(6) { transition-delay: 0.24s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 0 auto; width: 100%; }
  .ledger { grid-template-columns: 1fr; }
  .ledger-pin { position: static; margin-bottom: 20px; }
  .line-stops { grid-template-columns: repeat(3, 1fr); }
  .wall { grid-template-columns: repeat(2, 1fr); }
  .frame--wide { grid-column: span 2; }
  .board { grid-template-columns: repeat(2, 1fr); }
  .desk { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .flower-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .bar-nav { display: none; }
  .bar-actions .btn { display: none; }
  .bar-status { display: none; }
  .drawer-btn { display: flex; }
  .hero-plates { grid-template-columns: repeat(2, 1fr); }
  .plate:nth-child(2) { border-right: none; }
  .plate:nth-child(3), .plate:nth-child(4) { border-top: 1px solid var(--line); }
  .line-stops { grid-template-columns: repeat(2, 1fr); }
  .flower-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .ledger { padding: 64px 18px; }
  .hero-title { font-size: clamp(30px, 9vw, 40px); }
  .hero-actions .btn { flex: 1 1 auto; }
  .board { grid-template-columns: 1fr; }
  .wall { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .frame--wide { grid-column: span 2; }
  .line-stops { grid-template-columns: 1fr; }
  .ledger-row { grid-template-columns: 36px 1fr; }
  .row-num { display: none; }
  .row-icon { width: 36px; height: 36px; }
  .row-icon svg { width: 18px; height: 18px; }
  .fab-group { right: 16px; bottom: 16px; }
  .to-top { left: 16px; bottom: 16px; }
  .usp-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .flower-grid { grid-template-columns: repeat(2, 1fr); }
  .section-cta .btn { flex: 1 1 auto; }
}
