:root {
  --accent: #24332a;
  --accent-soft: #e6d3a8;
  --petal: #e7a29c;
  --bg: #f8f3ea;
  --surface: #fffdf8;
  --text: #1f2620;
  --muted: color-mix(in srgb, var(--text) 66%, var(--bg));
  --line: color-mix(in srgb, var(--text) 15%, var(--bg));
  --radius: 14px;
  --ease: cubic-bezier(.2, .75, .25, 1);
  --font-display: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font-body); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { color: inherit; font: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 400; line-height: 1.08; text-wrap: balance; }
h2 { color: var(--accent); font-size: clamp(36px, 5vw, 62px); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sprite { position: absolute; }

.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: 24px; }
.section { position: relative; padding-block: clamp(64px, 8vw, 112px); }
.section-tint { background: color-mix(in srgb, var(--accent-soft) 26%, var(--bg)); }
.section-head { display: grid; justify-items: start; gap: 12px; max-width: 720px; margin-bottom: 36px; }
.section-head.is-center { justify-items: center; max-width: none; text-align: center; }
.section-head p { margin: 0; color: var(--muted); }
.head-bloom { display: block; width: 44px; height: 44px; }
.head-bloom svg { width: 100%; height: 100%; }
.js .section-head.in .head-bloom svg { animation: bloom-in 1s var(--ease) both; }

.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--ease) var(--d, 0ms), transform .75s var(--ease) var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 28px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-size: 16px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--accent); color: var(--bg); box-shadow: 0 10px 24px -12px var(--accent); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 84%, #000); }
.btn-outline { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--bg); }
.btn-light { background: var(--accent-soft); color: var(--accent); }
.btn-petal { background: var(--petal); color: #2a1f1e; }
.btn-petal:hover { background: color-mix(in srgb, var(--petal) 84%, #fff); }

.site-header { position: sticky; z-index: 30; top: 0; background: var(--bg); transition: box-shadow .25s; }
.site-header.is-stuck { box-shadow: 0 8px 30px -18px rgb(20 30 20 / .55); }
.site-header.is-dark { background: var(--accent); color: var(--bg); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 84px; }
.brand { display: inline-flex; flex: none; align-items: center; min-width: 0; color: var(--accent); text-decoration: none; }
.is-dark .brand { color: inherit; }
.brand-logo { width: auto; max-width: 220px; height: 64px; object-fit: contain; }
.brand-logo.is-tile { border-radius: 12px; }
.brand-text { display: -webkit-box; max-width: 300px; overflow: hidden; font-family: var(--font-display); font-size: 27px; line-height: 1.05; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.brand-text.is-long { font-size: 20px; }
.main-nav { display: flex; flex: 1; justify-content: center; gap: 28px; }
.main-nav a { position: relative; padding: 4px 0; font-size: 15px; text-decoration: none; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--petal); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav a:hover::after { transform: scaleX(1); }
.header-phone { flex: none; padding: 9px 18px; background: transparent; border: 1px solid currentColor; border-radius: 999px; cursor: pointer; font-weight: 700; white-space: nowrap; transition: background .2s, color .2s; }
.header-phone:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.nav-toggle { display: none; flex: none; width: 44px; height: 44px; margin-left: auto; padding: 0; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 6px auto; background: currentColor; }

.hero { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 88% 12%, color-mix(in srgb, var(--petal) 26%, transparent), transparent 70%), radial-gradient(760px 480px at 6% 92%, color-mix(in srgb, var(--accent-soft) 44%, transparent), transparent 70%); }
.petals { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-ribbon { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-ribbon path { stroke: var(--petal); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; animation: draw 3.2s .3s var(--ease) forwards; }
.hero-sprig { position: absolute; bottom: 62px; left: -12px; width: 110px; height: 170px; color: color-mix(in srgb, var(--accent) 34%, transparent); transform-origin: 50% 100%; animation: sway 6s ease-in-out infinite; }
.hero-grid { position: relative; z-index: 4; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(32px, 6vw, 80px); padding-block: clamp(36px, 5vw, 64px) clamp(44px, 6vw, 76px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow svg { width: 20px; height: 20px; animation: slow-spin 14s linear infinite; }
.hero-name { color: var(--accent); font-size: clamp(56px, 8.6vw, 118px); line-height: .96; letter-spacing: -.012em; overflow-wrap: anywhere; animation: rise 1s var(--ease) both; }
.hero-name.is-mid { font-size: clamp(46px, 6.6vw, 88px); }
.hero-name.is-long { font-size: clamp(36px, 4.8vw, 62px); line-height: 1.04; }
.hero-slogan { max-width: 560px; margin: 18px 0 0; color: color-mix(in srgb, var(--accent) 82%, var(--petal)); font-family: var(--font-display); font-size: clamp(22px, 2.5vw, 31px); font-style: italic; line-height: 1.2; animation: rise 1s .12s var(--ease) both; }
.lead { max-width: 560px; margin: 16px 0 0; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; animation: rise 1s .24s var(--ease) both; }
.hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 580px; margin: 34px 0 0; padding-top: 20px; border-top: 1px solid var(--line); animation: rise 1s .36s var(--ease) both; }
.hero-facts dt { color: var(--muted); font-size: 13px; }
.hero-facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; line-height: 1.35; }
.hero-art { position: relative; justify-self: center; width: min(470px, 100%); padding-bottom: 28px; animation: rise 1.1s .15s var(--ease) both; }
.hero-art::before { content: ""; position: absolute; inset: -14px -14px 14px; border: 1.5px solid var(--petal); border-radius: 999px 999px 26px 26px; }
.hero-main { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); object-fit: cover; box-shadow: 0 34px 60px -34px rgb(30 40 30 / .7); }
.hero-small { position: absolute; bottom: 0; left: -50px; width: 42%; aspect-ratio: 1; border: 7px solid var(--bg); border-radius: 50%; object-fit: cover; animation: bob 5.5s ease-in-out infinite; }
.hero-seal { position: absolute; top: 18px; right: -34px; width: 132px; height: 132px; animation: slow-spin 22s linear infinite; }
.seal-bg { fill: var(--accent); }
.hero-seal text { fill: var(--bg); font: 600 13px var(--font-body); letter-spacing: .08em; }
.float-bloom { position: absolute; width: 46px; height: 46px; animation: bob 4.6s ease-in-out infinite; }
.float-bloom.f1 { top: 42%; left: -28px; }
.float-bloom.f2 { right: -20px; bottom: 74px; width: 62px; height: 62px; animation-delay: -2s; }
.hero-art.is-empty { min-height: 460px; }
.hero-bouquet { position: relative; height: 460px; }
.hero-bouquet svg { position: absolute; }
.hero-bouquet .b1 { top: 40px; left: 22%; width: 190px; height: 190px; animation: bob 6s ease-in-out infinite; }
.hero-bouquet .b2 { top: 170px; left: 2%; width: 130px; height: 130px; animation: bob 5s -1s ease-in-out infinite; }
.hero-bouquet .b3 { top: 190px; right: 6%; width: 150px; height: 150px; animation: bob 5.6s -2s ease-in-out infinite; }
.hero-bouquet .b4 { top: 8px; right: 8%; width: 86px; height: 86px; animation: bob 4.6s -3s ease-in-out infinite; }
.hero-bouquet .b5, .hero-bouquet .b6 { bottom: 0; width: 150px; height: 230px; color: var(--accent); transform-origin: 50% 100%; animation: sway 6s ease-in-out infinite; }
.hero-bouquet .b5 { left: 14%; }
.hero-bouquet .b6 { right: 16%; animation-delay: -3s; }

.ticker { position: relative; z-index: 4; display: flex; overflow: hidden; padding: 12px 0; background: var(--accent); color: var(--bg); }
.ticker-track { display: flex; flex: none; align-items: center; gap: 22px; padding-right: 22px; animation: ticker 34s linear infinite; }
.ticker span { font-family: var(--font-display); font-size: 21px; font-style: italic; white-space: nowrap; }
.ticker svg { flex: none; width: 22px; height: 22px; }

.filters { display: flex; gap: 8px; margin-bottom: 32px; padding-bottom: 6px; overflow-x: auto; scrollbar-width: none; }
.filter { flex: none; min-height: 42px; padding: 7px 19px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 15px; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.filter:hover { border-color: var(--accent); transform: translateY(-2px); }
.filter.is-active { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.cat + .cat { margin-top: 56px; }
.cat-title { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; color: var(--accent); font-size: clamp(26px, 3vw, 36px); }
.cat-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--petal), transparent); }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 22px; }
.product { display: flex; flex-direction: column; min-width: 0; }
.product-open { display: grid; flex: 1; align-content: start; gap: 10px; width: 100%; padding: 0; background: none; border: 0; cursor: pointer; text-align: left; }
.product-photo { position: relative; display: grid; aspect-ratio: 4 / 5; overflow: hidden; place-items: center; background: color-mix(in srgb, var(--accent-soft) 38%, var(--surface)); border-radius: 999px 999px var(--radius) var(--radius); transition: border-radius .5s var(--ease), box-shadow .35s; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product-photo svg { width: 42%; height: 42%; opacity: .8; }
.product:hover .product-photo { border-radius: var(--radius); box-shadow: 0 22px 34px -24px rgb(30 40 30 / .75); }
.product:hover .product-photo img { transform: scale(1.06); }
.product-title { font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.product-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin-top: 8px; }
.product-price { color: var(--accent); font-size: 18px; font-weight: 700; white-space: nowrap; }
.product-order { flex: none; min-height: 36px; padding: 5px 15px; background: color-mix(in srgb, var(--petal) 26%, var(--surface)); border: 0; border-radius: 999px; color: var(--accent); cursor: pointer; font-size: 14px; font-weight: 600; transition: background .2s, color .2s, transform .2s var(--ease); }
.product-order:hover { background: var(--accent); color: var(--bg); transform: translateY(-1px); }
.price-list { margin: 0; padding: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); list-style: none; }
.price-list li { display: flex; align-items: center; gap: 10px; padding-right: 14px; transition: background .2s; }
.price-list li + li { border-top: 1px solid var(--line); }
.price-list li:hover { background: color-mix(in srgb, var(--accent-soft) 22%, transparent); }
.price-open { display: flex; flex: 1; min-width: 0; align-items: center; gap: 14px; padding: 15px 8px 15px 18px; background: none; border: 0; cursor: pointer; text-align: left; }
.price-open > svg { flex: none; width: 24px; height: 24px; transition: transform .5s var(--ease); }
.price-list li:hover .price-open > svg { transform: rotate(72deg) scale(1.15); }
.price-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.price-name small { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 14px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.price-value { flex: none; color: var(--accent); font-weight: 700; white-space: nowrap; }
.more { display: flex; margin: 28px auto 0; }

.section-steps { padding-top: 40px; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent-soft) 24%, var(--bg))); }
.ribbon-divider { display: block; width: min(1200px, 100%); height: auto; margin: 0 auto 26px; overflow: visible; }
.js .ribbon-divider[data-reveal] { opacity: 1; transform: none; }
.ribbon-line { stroke: var(--petal); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ribbon-divider.in .ribbon-line, html:not(.js) .ribbon-line { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease); }
.ribbon-bow { fill: color-mix(in srgb, var(--petal) 50%, var(--surface)); stroke: var(--petal); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.js .ribbon-bow { transform: scale(0); }
.js .ribbon-divider.in .ribbon-bow { transform: scale(1); transition: transform .8s 1s cubic-bezier(.3, 1.6, .5, 1); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.steps li { position: relative; display: grid; justify-items: center; gap: 8px; padding: 34px 24px 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; text-align: center; transition: transform .35s var(--ease), box-shadow .35s; }
.js .steps li.in:hover, .steps li:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -30px rgb(30 40 30 / .7); }
.step-mark { position: relative; display: grid; width: 84px; height: 84px; margin-bottom: 6px; place-items: center; }
.step-mark svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .9s var(--ease); }
.steps li:hover .step-mark svg { transform: rotate(144deg); }
.step-mark b { position: relative; display: grid; width: 36px; height: 36px; place-items: center; background: var(--accent); border-radius: 50%; color: var(--bg); font-family: var(--font-display); font-size: 21px; font-weight: 400; line-height: 1; }
.steps h3 { color: var(--accent); font-size: 27px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(32px, 6vw, 76px); }
.about-grid.no-image { grid-template-columns: minmax(0, 860px); }
.about-photo { position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); object-fit: cover; }
.about-photo svg { position: absolute; right: -12px; bottom: 18px; width: 76px; height: 76px; animation: bob 5s ease-in-out infinite; }
.about-text { margin: 20px 0 0; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 30px; margin: 30px 0 0; padding: 0; list-style: none; }
.features li { display: grid; gap: 3px; }
.features svg { width: 30px; height: 30px; margin-bottom: 4px; }
.features span { color: var(--muted); font-size: 15px; }

.gallery { columns: 4 230px; column-gap: 18px; }
.gallery button { display: block; width: 100%; margin-bottom: 18px; padding: 8px 8px 22px; overflow: hidden; background: var(--surface); border: 0; border-radius: 6px; box-shadow: 0 16px 30px -22px rgb(30 40 30 / .65); break-inside: avoid; cursor: zoom-in; rotate: var(--tilt, 0deg); transition: rotate .4s var(--ease), scale .4s var(--ease), box-shadow .4s, opacity .75s var(--ease) var(--d, 0ms), transform .75s var(--ease) var(--d, 0ms); }
.gallery button:hover { rotate: 0deg; scale: 1.035; box-shadow: 0 26px 40px -24px rgb(30 40 30 / .8); }
.gallery img { width: 100%; height: auto; border-radius: 3px; }

.section-reviews { overflow: hidden; background: var(--accent); color: var(--bg); }
.section-reviews h2 { color: var(--bg); }
.reviews-deco { position: absolute; opacity: .9; animation: slow-spin 26s linear infinite; }
.reviews-deco.d1 { top: -60px; left: -60px; width: 220px; height: 220px; }
.reviews-deco.d2 { right: 36%; bottom: -46px; width: 130px; height: 130px; animation-direction: reverse; }
.reviews-sprig { position: absolute; right: -14px; top: 10px; width: 120px; height: 190px; color: color-mix(in srgb, var(--accent-soft) 30%, transparent); transform-origin: 50% 0; animation: sway 7s ease-in-out infinite; }
.reviews-grid { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: center; gap: clamp(28px, 5vw, 64px); }
.reviews-copy { display: grid; justify-items: start; gap: 14px; }
.reviews-copy p { margin: 0; opacity: .82; }
.quote-mark { height: 62px; color: var(--petal); font-family: var(--font-display); font-size: 130px; line-height: 1; }
.stars { display: flex; gap: 5px; }
.stars i { width: 22px; height: 22px; background: var(--accent-soft); clip-path: polygon(50% 0, 62% 35%, 98% 35%, 69% 57%, 80% 92%, 50% 71%, 20% 92%, 31% 57%, 2% 35%, 38% 35%); }
.reviews-copy.in .stars i { animation: pop .6s var(--ease) both; }
.stars i:nth-child(2) { animation-delay: .1s !important; }
.stars i:nth-child(3) { animation-delay: .2s !important; }
.stars i:nth-child(4) { animation-delay: .3s !important; }
.stars i:nth-child(5) { animation-delay: .4s !important; }
.reviews-frame { height: 680px; overflow: hidden; background: #fff; border-radius: 20px; box-shadow: 0 34px 60px -30px rgb(0 0 0 / .65); }
.reviews-frame iframe, .map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

.section-contacts { padding-bottom: clamp(90px, 10vw, 130px); }
.contacts-stage { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); align-items: center; }
.contacts-stage.no-map { grid-template-columns: minmax(0, 1fr); }
.map-frame { grid-column: 2; grid-row: 1; height: 580px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; }
.contacts-card { position: relative; z-index: 1; grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-right: -28px; padding: 34px 32px; background: var(--surface); border-radius: 22px; box-shadow: 0 30px 60px -28px rgb(30 40 30 / .6); }
.no-map .contacts-card { width: min(560px, 100%); margin-inline: auto; }
.contacts-bloom { position: absolute; top: 14px; right: 14px; width: 54px; height: 54px; animation: slow-spin 18s linear infinite; }
.contacts-card h2 { padding-right: 54px; font-size: clamp(32px, 3.4vw, 44px); }
.contact-phones { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.contact-phones a { color: var(--accent); font-family: var(--font-display); font-size: clamp(25px, 2.6vw, 31px); line-height: 1.2; text-decoration: none; }
.contact-phones small { display: block; color: var(--muted); }
.contacts-card p { margin: 0; }
.location { display: grid; width: 100%; gap: 2px; padding: 13px 16px; background: color-mix(in srgb, var(--accent-soft) 20%, var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; text-align: left; }
.location.is-active { border-color: var(--accent); }
.location small { color: var(--muted); font-size: 14px; }
.contacts-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; width: 100%; }
.contacts-actions .btn { flex: 1 1 130px; min-height: 46px; padding-inline: 14px; }
.messengers { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 15px; font-weight: 600; }

.site-footer { position: relative; color: var(--bg); }
.footer-wave { display: block; width: 100%; height: 70px; margin-bottom: -1px; fill: var(--accent); }
.garland { position: absolute; top: -34px; left: 0; display: flex; justify-content: space-around; width: 100%; pointer-events: none; }
.garland span { position: relative; display: block; width: 46px; height: 92px; transform-origin: 50% 100%; animation: sway calc(4.6s + var(--i) * .35s) ease-in-out infinite; animation-delay: calc(var(--i) * -.7s); }
.garland span:nth-child(even) { translate: 0 22px; }
.garland-sprig { position: absolute; bottom: 0; left: 8px; width: 30px; height: 62px; color: color-mix(in srgb, var(--accent) 78%, var(--accent-soft)); }
.garland-bloom { position: absolute; top: 0; left: 3px; width: 40px; height: 40px; }
.footer-body { padding-block: 34px 22px; background: var(--accent); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 34px clamp(24px, 4vw, 56px); padding-bottom: 34px; }
.footer-grid > * { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.footer-grid h4 { margin-bottom: 6px; color: var(--accent-soft); font-size: 21px; }
.footer-grid a { font-size: 15px; text-decoration: none; opacity: .88; transition: opacity .2s, translate .2s var(--ease); }
.footer-grid a:hover { opacity: 1; translate: 3px 0; }
.footer-brand img { width: auto; max-width: 210px; height: 96px; object-fit: contain; object-position: left center; }
.footer-brand strong { font-family: var(--font-display); font-size: 34px; font-weight: 400; line-height: 1.05; overflow-wrap: anywhere; }
.footer-brand p { margin: 0; font-size: 15px; opacity: .78; }
.footer-social { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.footer-grid .footer-phone { font-family: var(--font-display); font-size: 22px; opacity: 1; }
.footer-grid .btn { min-height: 42px; margin-top: 6px; padding: 7px 22px; font-size: 15px; }
.footer-grid address { font-size: 15px; font-style: normal; line-height: 1.4; opacity: .88; }
.footer-grid address small { display: block; margin-top: 3px; font-size: 14px; opacity: .8; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); font-size: 14px; }
.footer-bottom span { opacity: .7; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--petal); }
.call-bar { display: none; }

dialog { color: var(--text); }
.item-dialog, .order-dialog { max-height: calc(100dvh - 24px); padding: 0; overflow: auto; background: var(--surface); border: 0; border-radius: 22px; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .6); }
.item-dialog[open], .order-dialog[open] { animation: dialog-in .4s var(--ease); }
.item-dialog { width: min(820px, calc(100vw - 24px)); }
.item-dialog[open] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.item-dialog:has([data-item-photo][hidden])[open] { width: min(520px, calc(100vw - 24px)); grid-template-columns: minmax(0, 1fr); }
.item-dialog::backdrop, .order-dialog::backdrop, .lightbox::backdrop { background: rgb(18 22 18 / .72); backdrop-filter: blur(3px); }
.item-dialog-photo img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.item-dialog-body { display: flex; flex-direction: column; gap: 10px; padding: 34px 28px 26px; }
.item-dialog-body h3 { padding-right: 28px; color: var(--accent); font-size: 30px; overflow-wrap: anywhere; }
.item-dialog-body p { margin: 0; color: var(--muted); font-size: 16px; overflow-wrap: anywhere; white-space: pre-line; }
.item-dialog-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; }
.item-dialog-foot strong { color: var(--accent); font-size: 24px; }
.dialog-close { position: absolute; z-index: 2; top: 10px; right: 10px; width: 40px; height: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; transition: rotate .3s var(--ease); }
.dialog-close:hover { rotate: 90deg; }

.order-dialog { width: min(540px, calc(100vw - 24px)); padding: 32px 30px 26px; overflow-x: hidden; }
.order-dialog h3 { padding-right: 34px; color: var(--accent); font-size: 34px; }
.order-item { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 10px; background: color-mix(in srgb, var(--accent-soft) 24%, var(--surface)); border-radius: var(--radius); }
.order-item img { flex: none; width: 66px; height: 66px; border-radius: 10px; object-fit: cover; }
.order-item div { display: grid; min-width: 0; line-height: 1.3; }
.order-item strong { font-weight: 600; overflow-wrap: anywhere; }
.order-item span { color: var(--accent); font-size: 18px; font-weight: 700; }
.order-hint { margin: 16px 0 10px; color: var(--muted); font-size: 16px; }
.order-phones { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.order-phones li { display: grid; gap: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.order-line { display: grid; gap: 1px; }
.order-number { color: var(--accent); font-family: var(--font-display); font-size: clamp(27px, 7vw, 38px); line-height: 1.15; user-select: all; white-space: nowrap; }
.order-line small { color: var(--muted); }
.order-call { display: none; width: 100%; }
.order-messengers { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 14px; font-size: 15px; }
.order-messengers span { color: var(--muted); }
.order-messengers a { font-weight: 600; }
.order-schedule { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.burst-layer { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.burst { position: absolute; top: 34%; left: 50%; width: 13px; height: 18px; border-radius: 70% 10% 70% 10%; pointer-events: none; }
@media (max-width: 1024px), (hover: none), (pointer: coarse) {
  .order-call { display: inline-flex; }
}

.lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; padding: 0; background: transparent; border: 0; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 8px; object-fit: contain; }
.lightbox-nav { position: absolute; top: 50%; width: 46px; height: 46px; background: rgb(255 255 255 / .9); border: 0; border-radius: 50%; color: #111; cursor: pointer; font-size: 28px; line-height: 1; transform: translateY(-50%); }
.lightbox-nav.prev { left: 12px; }
.lightbox-nav.next { right: 12px; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { transform: translateY(22px); } to { transform: none; } }
@keyframes sway { 0%, 100% { rotate: -3deg; } 50% { rotate: 4deg; } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-13px) rotate(5deg); } }
@keyframes slow-spin { to { transform: rotate(360deg); } }
@keyframes bloom-in { from { opacity: 0; transform: scale(.2) rotate(-120deg); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.2); } 70% { transform: scale(1.25); } 100% { opacity: 1; transform: none; } }
@keyframes ticker { to { transform: translateX(-100%); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(22px) scale(.97); } to { opacity: 1; transform: none; } }

@media (max-width: 1040px) {
  .header-phone { margin-left: auto; }
  .nav-toggle { display: block; margin-left: 0; }
  .main-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; gap: 0; padding: 8px 24px 16px; background: var(--bg); border-bottom: 1px solid var(--line); color: var(--text); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 10px 0; font-size: 17px; }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contacts-stage:not(.no-map) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 760px) {
  body { padding-bottom: 72px; font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .header-inner { gap: 10px; height: 68px; }
  .brand-logo { max-width: 160px; height: 52px; }
  .brand-text { max-width: 220px; font-size: 22px; }
  .brand-text.is-long { font-size: 17px; }
  .header-phone { display: none; }
  .nav-toggle { margin-left: auto; }
  .main-nav { padding-inline: 16px; }
  .hero-grid, .about-grid, .reviews-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-name { font-size: clamp(50px, 15vw, 72px); }
  .hero-name.is-mid { font-size: clamp(38px, 11vw, 54px); }
  .hero-name.is-long { font-size: clamp(30px, 8.6vw, 40px); }
  .hero-sprig, .hero-ribbon { display: none; }
  .hero-art { width: min(320px, 82%); margin-top: 8px; }
  .hero-art.is-empty, .hero-bouquet { min-height: 320px; height: 320px; }
  .hero-bouquet .b1 { width: 130px; height: 130px; }
  .hero-bouquet .b2 { top: 120px; width: 90px; height: 90px; }
  .hero-bouquet .b3 { top: 130px; width: 100px; height: 100px; }
  .hero-bouquet .b5, .hero-bouquet .b6 { width: 100px; height: 160px; }
  .hero-small { left: -26px; }
  .hero-seal { right: -22px; width: 96px; height: 96px; }
  .float-bloom.f1 { left: -22px; width: 36px; height: 36px; }
  .float-bloom.f2 { right: -14px; width: 44px; height: 44px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ticker span { font-size: 18px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .product-foot { flex-direction: column; align-items: stretch; }
  .product-order { width: 100%; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery button { margin-bottom: 10px; padding: 5px 5px 14px; }
  .reviews-frame { height: 560px; }
  .contacts-stage, .contacts-stage:not(.no-map) { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 14px; }
  .contacts-card { width: 100%; margin-right: 0; padding: 26px 20px; box-shadow: 0 14px 34px -24px rgb(30 40 30 / .6); }
  .map-frame { height: 340px; }
  .price-list li { flex-wrap: wrap; padding: 0 12px 12px; }
  .price-open { flex-basis: 100%; padding: 13px 0 8px; gap: 10px; }
  .price-list .product-order { margin-left: auto; }
  .garland span:nth-child(n + 7) { display: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .item-dialog[open] { grid-template-columns: minmax(0, 1fr); }
  .item-dialog-photo img { height: 300px; min-height: 0; }
  .item-dialog-body { padding: 20px 18px; }
  .order-dialog { padding: 26px 18px 20px; }
  .call-bar { position: fixed; z-index: 25; right: 0; bottom: 0; left: 0; display: flex; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
  .call-bar .btn { flex: 1; min-height: 46px; padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-ribbon path, .ribbon-line { stroke-dashoffset: 0; }
  .js .ribbon-bow { transform: none; }
}
