@font-face{font-family:'Montserrat Alternates';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/montserrat-alternates-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Montserrat Alternates';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/montserrat-alternates-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Nunito Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/nunito-sans-400-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Montserrat Alternates';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/montserrat-alternates-600-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Montserrat Alternates';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/montserrat-alternates-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Montserrat Alternates';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/montserrat-alternates-700-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Montserrat Alternates';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/montserrat-alternates-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Nunito Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/nunito-sans-400-700-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Nunito Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/nunito-sans-400-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* ==========================================================================
   Сахар · студия шугаринга · own design system "Soft caramel"
   Rounded, glossy, organic shapes drawn in CSS/SVG. Caramel, cream, warm brown.
   Mobile first: 360 / 768 / 1440. Strict CSP: no data: URLs, no inline styles.
   ========================================================================== */

:root {
  --cream: #fff8ec;
  --cream-2: #fcefd8;
  --butter: #ffe7b3;
  --honey: #f4b24e;
  --caramel: #dc8d2e;
  --caramel-d: #9a5513;
  --toffee: #8c5424;
  --brown: #4a2a17;
  --brown-d: #331b0d;
  --muted: #7a5a45;
  --line: #efd9b6;
  --white: #ffffff;

  --f-display: 'Montserrat Alternates', 'Nunito Sans', system-ui, sans-serif;
  --f-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-s: 18px;
  --r-m: 28px;
  --r-l: 44px;
  --r-xl: 64px;
  --gutter: 16px;

  --shadow-s: 0 8px 18px -10px rgba(120, 64, 12, .4);
  --shadow-m: 0 22px 44px -22px rgba(120, 64, 12, .5);
  --gloss: inset 0 2px 0 rgba(255, 255, 255, .75), inset 0 -4px 10px rgba(160, 90, 20, .16);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--f-body);
  color: var(--brown);
  background: var(--cream);
  overflow-x: clip;
  padding-bottom: 92px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 9.2vw, 4.2rem); line-height: 1.04; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 5.2vw, 3.2rem); line-height: 1.08; }
h3 { font-size: 1.3rem; line-height: 1.2; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
b, strong { font-weight: 700; }
.i { width: 1.25em; height: 1.25em; flex: none; display: inline-block; }
.wrap { width: min(1200px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; }
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 12px 20px; border-radius: 999px; background: var(--brown-d); color: #ffeac4; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }
::selection { background: var(--honey); color: var(--brown-d); }

/* ---------- demo ribbon (content fixed by the studio) ---------- */
.demo-ribbon {
  position: relative; z-index: 60;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0 18px; padding: 2px var(--gutter);
  background: var(--brown-d); color: #ffe9c4;
  font-size: 13px; line-height: 1.35; text-align: center;
}
.demo-ribbon a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.demo-ribbon a:hover { text-decoration: underline; text-underline-offset: 3px; }
.demo-ribbon a:focus-visible { outline-color: var(--honey); }
.demo-ribbon .i { width: 16px; height: 16px; }
.demo-ribbon p { opacity: .85; }
.demo-ribbon b { color: var(--honey); }
.demo-ribbon__note { flex-basis: 100%; padding-bottom: 6px; font-size: 12px; opacity: .7 !important; }
@media (min-width: 720px) {
  .demo-ribbon { justify-content: space-between; gap: 16px; padding-inline: max(var(--gutter), calc((100% - 1200px) / 2)); }
  .demo-ribbon__note { flex-basis: auto; padding: 0; }
}

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px;
  font: 800 16px/1.1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .3s var(--spring), box-shadow .3s var(--ease), background-color .25s, color .25s;
}
.btn .i { width: 20px; height: 20px; transition: transform .3s var(--spring); }
.btn:hover .i { transform: translateX(3px); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--accent {
  color: var(--brown-d);
  background: linear-gradient(180deg, #fccb7b 0%, #ecA33d 52%, #dc8a28 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .7), inset 0 -3px 8px rgba(150, 75, 5, .3), 0 12px 22px -10px rgba(190, 105, 20, .75);
}
.btn--accent:hover { transform: translateY(-2px) scale(1.02); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .7), inset 0 -3px 8px rgba(150, 75, 5, .3), 0 16px 26px -10px rgba(190, 105, 20, .8); }
.btn--accent:active { transform: translateY(0) scale(.98); }
.btn--ghost { background: transparent; color: var(--brown); box-shadow: inset 0 0 0 2px var(--brown); }
.btn--ghost:hover { background: var(--brown); color: var(--cream); transform: translateY(-2px); }
.icon-btn {
  display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--butter); color: var(--brown); box-shadow: var(--gloss), var(--shadow-s);
}

/* ---------- header: floating glossy pill over the caramel drip ---------- */
.site-header { position: sticky; top: 8px; z-index: 50; padding: 8px var(--gutter) 0; pointer-events: none; }
.site-header__in {
  position: relative; pointer-events: auto;
  display: flex; align-items: center; gap: 12px;
  width: min(1200px, 100%); margin-inline: auto; padding: 6px 6px 6px 18px;
  border-radius: 999px;
  background: rgba(255, 248, 236, .88);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: var(--gloss), 0 14px 30px -14px rgba(90, 45, 8, .55);
}
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.logo__mark { width: 24px; height: 31px; flex: none; filter: drop-shadow(0 3px 3px rgba(150, 75, 5, .3)); }
.logo__text { display: grid; line-height: 1.05; }
.logo__name { font: 700 1.35rem/1 var(--f-display); letter-spacing: -.01em; }
.logo__kind { margin-top: 3px; font-size: 11px; font-weight: 600; color: var(--muted); }
.nav {
  display: none; position: absolute; left: 0; right: 0; top: calc(100% + 10px);
  flex-direction: column; gap: 2px; padding: 12px; border-radius: var(--r-l);
  background: var(--cream); box-shadow: var(--shadow-m), var(--gloss);
}
.nav.is-open { display: flex; animation: pop .4s var(--spring); }
@media (max-width: 389px) { .logo__kind { display: none; } }
.nav a { display: flex; align-items: center; min-height: 52px; padding: 0 20px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: background-color .2s; }
.nav a:hover { background: var(--butter); }
.site-header__cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-phone { display: none; align-items: center; min-height: 44px; padding: 0 8px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--butter); cursor: pointer; transition: transform .3s var(--spring); }
.nav-toggle:active { transform: scale(.9); }
@media (min-width: 960px) {
  .nav { position: static; display: flex; flex-direction: row; gap: 0; padding: 0; margin-left: 8px; background: none; box-shadow: none; border-radius: 0; }
  .nav a { min-height: 44px; padding: 0 14px; font-size: 15px; font-weight: 700; }
  .nav-toggle { display: none; }
  .site-header__in { padding-left: 22px; }
}
@media (min-width: 1200px) { .header-phone { display: inline-flex; } }

/* ---------- eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; align-self: start;
  padding: 7px 16px 7px 12px; border-radius: 999px; background: var(--butter);
  font: 800 13.5px/1.2 var(--f-body); letter-spacing: .01em; color: var(--brown);
}
.eyebrow::before {
  content: ''; flex: none; width: 11px; height: 11px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: radial-gradient(circle at 35% 35%, #ffe3a6, #e8962f 70%);
  box-shadow: 0 1px 2px rgba(150, 75, 5, .4);
}

/* ---------- drips + drops (inline SVG) ---------- */
.drip { display: block; width: 100%; height: max(72px, 10vw); pointer-events: none; }
.from { font-family: var(--f-body); font-weight: 800; font-size: .72em; letter-spacing: .02em; }
.drop { position: absolute; width: 38px; height: auto; pointer-events: none; filter: drop-shadow(0 8px 8px rgba(150, 75, 5, .25)); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; padding: 8px 0 52px; }
.hero::before {
  content: ''; position: absolute; inset: -80px 0 0; z-index: -1;
  background:
    radial-gradient(52% 46% at 88% 18%, rgba(244, 178, 78, .32), transparent 72%),
    radial-gradient(44% 40% at 6% 72%, rgba(255, 231, 179, .9), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, #000 72%, transparent);
}
.drip--top { position: absolute; left: 0; right: 0; top: -74px; z-index: -1; }
.hero__in { display: grid; gap: 36px; align-items: center; padding-top: 18px; }
.hero__text { display: grid; justify-items: start; }
.hero__title { margin: 20px 0 18px; }
.hero__title em { position: relative; z-index: 0; font-style: normal; white-space: nowrap; }
.hero__title em::after {
  content: ''; position: absolute; z-index: -1; left: -.1em; right: -.1em; bottom: .03em; height: .44em;
  border-radius: 999px; background: linear-gradient(90deg, #fbc875, #eb9d34);
  transform-origin: left center; transform: rotate(-1.3deg);
  animation: marker 1s .25s var(--ease) backwards;
}
.hero__lead { max-width: 34em; font-size: 1.12rem; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.quick { display: grid; justify-items: start; gap: 12px; margin-top: 28px; }
.quick__k { font-size: .92rem; font-weight: 700; color: var(--muted); }
.quick__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.quick__chip {
  position: relative; display: grid; gap: 1px; min-height: 58px; padding: 8px 22px 8px 18px; text-decoration: none;
  border-radius: 28px 28px 28px 8px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line), var(--gloss), var(--shadow-s);
  transition: transform .3s var(--spring), box-shadow .3s var(--ease), background-color .3s;
}
.quick__list li:nth-child(even) .quick__chip { border-radius: 28px 28px 8px 28px; }
.quick__chip:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: inset 0 0 0 2px var(--honey), var(--shadow-s); }
.quick__name { font-weight: 800; font-size: 1rem; line-height: 1.2; }
.quick__price { font: 700 .9rem/1.2 var(--f-display); color: var(--caramel-d); white-space: nowrap; }
.quick__chip.is-on { background: linear-gradient(155deg, #fff3d3, #ffe0a0); box-shadow: inset 0 0 0 2.5px var(--caramel), var(--shadow-s); }
.quick__chip.is-on .quick__name::after { content: ' ✓'; color: var(--caramel-d); }
.stars { display: inline-flex; gap: 2px; color: var(--caramel); }
.stars .i { width: 18px; height: 18px; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .8)); }

.hero__media { position: relative; width: min(100%, 480px); aspect-ratio: 1 / 1.02; margin: 12px auto 0; }
.blob {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #ffeec4 0%, #f8c46a 60%, #e8982f 100%);
  box-shadow: var(--gloss), var(--shadow-m);
}
.blob::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(60% 38% at 28% 14%, rgba(255, 255, 255, .5), transparent 72%);
}
.blob--main { position: absolute; inset: 0 0 8% 6%; border-radius: 58% 42% 54% 46% / 46% 54% 46% 54%; animation: morph 16s ease-in-out infinite alternate; }
.blob--main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 28%; mix-blend-mode: multiply; }
.bubble {
  position: absolute; left: 0; bottom: 0; width: 40%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 6px solid var(--cream); box-shadow: var(--shadow-m); background: var(--butter);
  animation: bob 7s ease-in-out infinite;
}
.bubble img { width: 100%; height: 100%; object-fit: cover; }
.hero__note {
  position: absolute; top: 6%; left: 0; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 6px 18px 6px 14px; border-radius: 999px; background: var(--white);
  font-size: .9rem; font-weight: 700; box-shadow: var(--gloss), var(--shadow-s);
}
.pulse { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--caramel); }
.pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--caramel); animation: ping 2.2s var(--ease) infinite; }
.drop--a { right: 2%; top: 4%; width: 44px; animation: bob 6s ease-in-out infinite; }
.drop--b { right: -2%; bottom: 20%; width: 26px; animation: bob 5s .8s ease-in-out infinite; }
.drop--c { left: 38%; bottom: -3%; width: 20px; animation: bob 6.5s 1.4s ease-in-out infinite; }

@media (min-width: 900px) {
  .hero { padding-bottom: 72px; }
  .hero__in { grid-template-columns: 1.18fr .82fr; gap: 48px; padding-top: 34px; }
  .hero__media { width: 100%; margin: 0; }
  .drop--a { width: 64px; }
  .drop--b { width: 36px; }
  .drop--c { width: 28px; }
}

/* ---------- stats: glossy pebbles ---------- */
.stats { position: relative; z-index: 1; margin-top: -8px; }
.stats__in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat {
  display: grid; align-content: center; gap: 4px; min-height: 132px; padding: 20px 18px;
  background: var(--white); box-shadow: var(--gloss), var(--shadow-s);
  border-radius: 42% 58% 46% 54% / 54% 44% 56% 46%;
  text-align: center;
}
.stat b { font: 700 clamp(2rem, 7vw, 3.1rem)/1 var(--f-display); color: var(--caramel-d); }
.stat span { font-size: .9rem; line-height: 1.3; color: var(--muted); }
.stat:nth-child(2) { background: var(--butter); border-radius: 56% 44% 52% 48% / 46% 56% 44% 54%; }
.stat:nth-child(3) { background: linear-gradient(160deg, #ffe0a0, #f6bb5c); border-radius: 48% 52% 58% 42% / 58% 46% 54% 42%; }
.stat:nth-child(3) b, .stat:nth-child(3) span { color: var(--brown-d); }
.stat:nth-child(4) { background: var(--cream-2); border-radius: 54% 46% 44% 56% / 44% 58% 42% 56%; }
@media (min-width: 900px) {
  .stats__in { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .stat { min-height: 156px; }
  .stat:nth-child(even) { translate: 0 14px; }
}

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section__head { display: grid; justify-items: start; gap: 14px; max-width: 700px; margin-bottom: 36px; }
.section__lead { color: var(--muted); max-width: 40em; }

/* ---------- zone calculator ---------- */
.calc { display: block; }
.calc__how { margin-bottom: 26px; padding: 14px 20px; border-radius: var(--r-m) var(--r-m) var(--r-m) 8px; background: var(--cream-2); color: var(--muted); font-size: .98rem; }
.calc__how b { color: var(--brown); }
.zone-group + .zone-group { margin-top: 38px; }
.zone-group h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.zone-group h3::after { content: ''; flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--line), transparent); }
.zone-list, .set-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.zone { position: relative; }
.zone__check { position: absolute; left: 24px; top: 24px; width: 24px; height: 24px; margin: 0; opacity: 0; pointer-events: none; }
.zone__pick {
  position: relative; display: flex; flex-direction: column; gap: 3px;
  height: 100%; min-height: 108px; padding: 18px 18px 16px 64px;
  border-radius: var(--r-m) var(--r-m) var(--r-m) 10px; background: var(--white); cursor: pointer;
  box-shadow: inset 0 0 0 2px var(--line);
  transition: transform .3s var(--spring), box-shadow .3s var(--ease), background-color .3s;
}
.zone__pick:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--honey), var(--shadow-s); }
.zone__tick {
  position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--cream-2); box-shadow: inset 0 0 0 2px var(--line); color: transparent;
  transition: transform .4s var(--spring), background .3s, box-shadow .3s, color .2s;
}
.zone__tick .i { width: 18px; height: 18px; }
.tick-path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .35s .08s var(--ease); }
.zone__name { margin-right: 46px; font-weight: 800; font-size: 1.05rem; line-height: 1.25; }
.zone__note { margin-right: 46px; font-size: .88rem; line-height: 1.35; color: var(--muted); }
.zone__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 10px; }
.zone__time { font-size: .9rem; font-weight: 700; color: var(--muted); }
.zone__price { font: 700 1.12rem/1.1 var(--f-display); color: var(--caramel-d); white-space: nowrap; }
.zone__check:checked + .zone__pick {
  background: linear-gradient(155deg, #fff3d3, #ffe0a0);
  box-shadow: inset 0 0 0 2.5px var(--caramel), 0 16px 28px -16px rgba(190, 105, 20, .8);
}
.zone__check:checked + .zone__pick .zone__tick {
  color: var(--brown-d); transform: scale(1.1);
  background: radial-gradient(circle at 35% 30%, #ffe3a6, #eba23b 70%);
  box-shadow: var(--gloss), 0 4px 8px -2px rgba(150, 75, 5, .5);
}
.zone__check:checked + .zone__pick .tick-path { stroke-dashoffset: 0; }
.zone__check:focus-visible + .zone__pick { outline: 3px solid var(--brown); outline-offset: 3px; }
.zone__book {
  position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
  border: 0; border-radius: 50%; background: var(--butter); color: var(--brown); cursor: pointer;
  box-shadow: var(--gloss); transition: transform .3s var(--spring), background .25s;
}
.zone__book .i { width: 20px; height: 20px; transition: transform .3s var(--spring); }
.zone__book:hover { background: linear-gradient(180deg, #fccb7b, #e8982f); transform: scale(1.08); }
.zone__book:hover .i { transform: translateX(2px); }

.set {
  position: relative; display: grid; gap: 12px; padding: 18px 74px 18px 20px;
  border-radius: var(--r-m) var(--r-m) 10px var(--r-m);
  background: linear-gradient(150deg, #ffeab9, #ffd58a); box-shadow: var(--gloss), var(--shadow-s);
  transition: box-shadow .3s, transform .3s var(--spring);
}
.set__body { display: grid; justify-items: start; gap: 6px; }
.set .zone__book { top: 50%; margin-top: -23px; background: var(--white); }
.set__save { display: inline-flex; align-items: center; min-height: 26px; padding: 0 12px; border-radius: 999px; background: var(--brown-d); color: var(--honey); font-size: .8rem; font-weight: 800; }
.set__name { font: 700 1.08rem/1.25 var(--f-body); letter-spacing: 0; }
.set__meta { display: flex; align-items: baseline; gap: 16px; }
.set .zone__time { color: #6f4220; }
.set .zone__price { color: var(--brown-d); }
.set__add {
  justify-self: start; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--brown); color: var(--cream); font: 800 .92rem/1 var(--f-body);
  transition: transform .3s var(--spring), background-color .25s, color .25s;
}
.set__add:hover { transform: translateY(-2px); background: var(--brown-d); }
.set__add[aria-pressed="true"] { background: var(--white); color: var(--brown-d); box-shadow: inset 0 0 0 2px var(--brown); }
.set.is-applied { box-shadow: inset 0 0 0 3px var(--brown-d), 0 18px 30px -16px rgba(120, 64, 12, .7); }
.set.is-applied .set__save::after { content: ' · применён'; }
@media (min-width: 640px) {
  .zone-list { grid-template-columns: 1fr 1fr; }
  .set { grid-template-columns: 1fr auto; align-items: center; }
  .set__add { justify-self: end; }
}

/* ---------- calculator panel ---------- */
.calc__panel {
  position: sticky; bottom: 12px; z-index: 20; margin-top: 28px; overflow: hidden;
  border-radius: var(--r-l); color: #ffebc8;
  background: radial-gradient(110% 80% at 100% 0%, #6c3f23 0%, transparent 62%), linear-gradient(170deg, #4f2d19, #331b0d);
  box-shadow: 0 26px 50px -20px rgba(51, 27, 13, .75), inset 0 1.5px 0 rgba(255, 255, 255, .14);
}
.drip--panel { position: absolute; left: 0; top: -2px; width: 100%; height: 44px; opacity: .96; }
.panel__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 42px 18px 16px; }
.panel__in > * { grid-column: 1 / -1; }
.panel__top { grid-column: 1; grid-row: 1; display: flex; align-items: center; }
.panel__reset { grid-column: 2; grid-row: 1; align-self: center; }
.panel__top h3 { color: #fff3dc; font-size: 1.25rem; }
.panel__top h3:focus { outline: none; }
.panel__reset {
  min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .12); color: #ffebc8; font: 700 .9rem/1 var(--f-body);
  transition: background-color .2s;
}
.panel__reset:hover { background: rgba(255, 255, 255, .22); }
.panel__empty { color: #f5d9ab; font-size: .96rem; }
.chips { display: none; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .13); color: #ffebc8; font: 700 .9rem/1.1 var(--f-body);
  transition: background-color .2s, transform .3s var(--spring);
  animation: pop .4s var(--spring);
}
.chip:hover { background: rgba(255, 255, 255, .24); }
.chip .i { width: 16px; height: 16px; opacity: .8; }
.panel__stats { display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; align-items: end; }
.pstat { display: grid; gap: 2px; }
.pstat__k { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #e6c48d; }
.pstat__v { font: 700 1.35rem/1.15 var(--f-display); color: #fff3dc; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pstat--price .pstat__v { font-size: 1.6rem; color: var(--honey); }
.panel__save {
  display: flex; align-items: flex-start; gap: 10px; padding: 10px 18px; border-radius: 24px;
  background: linear-gradient(180deg, #fccb7b, #e8982f); color: var(--brown-d); font-weight: 800; font-size: .92rem; line-height: 1.25;
  box-shadow: var(--gloss); animation: pop .5s var(--spring);
}
.panel__save::before { content: '✦'; flex: none; font-size: 1.1em; }
.tube { display: none; height: 14px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .12); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .3); }
.tube__fill {
  display: block; height: 100%; width: var(--fill, 0%); border-radius: inherit;
  background: linear-gradient(180deg, #fcd48f 0%, #ecA33d 45%, #d4821f 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5); transition: width .7s var(--ease);
}
.panel__hint { padding: 10px 14px; border-radius: var(--r-s); background: rgba(244, 178, 78, .16); font-size: .9rem; line-height: 1.4; color: #ffe9c4; }
.panel__hint button {
  display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0 -10px 2px; padding: 0 6px; border: 0; background: none; cursor: pointer; font: 800 inherit/inherit var(--f-body);
  color: var(--honey); text-decoration: underline; text-underline-offset: 3px;
}
.panel__fine { display: none; font-size: .82rem; line-height: 1.4; color: #e6c48d; }
.calc__panel :focus-visible { outline-color: var(--honey); }
.calc__panel.is-empty .panel__stats, .calc__panel.is-empty .tube { display: none; }

@media (max-width: 959px) {
  .drip--panel { height: 36px; }
  .panel__in { gap: 8px; padding: 32px 14px 14px; }
  .panel__top { display: none; }
  .panel__stats { grid-column: 1; grid-row: 1; gap: 0 16px; min-width: 0; }
  .panel__reset { grid-row: 1; min-height: 44px; padding: 0 12px; font-size: .85rem; }
  .panel__save { padding: 7px 14px; font-size: .88rem; }
  .panel__hint { padding: 8px 12px; font-size: .85rem; }
  .save__c { display: none; }
  .pstat__k { font-size: .66rem; }
  .pstat__v { font-size: 1.05rem; }
  .pstat--price .pstat__v { font-size: 1.25rem; }
  .btn--block { min-height: 48px; }
  .calc__panel.is-empty .panel__stats, .calc__panel.is-empty .btn { display: none; }
  .calc__panel.is-empty .panel__in { padding-top: 34px; }
}
@media (min-width: 960px) {
  .calc { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 44px; align-items: start; }
  .calc__panel { position: sticky; top: 104px; bottom: auto; margin-top: 0; }
  .panel__in { gap: 16px; padding: 56px 28px 26px; }
  .panel__stats { grid-row: auto; }
  .chips { display: flex; }
  .chips:empty { display: none; }
  .tube { display: block; }
  .panel__fine { display: block; }
  .pstat__v { font-size: 1.5rem; }
  .pstat--price .pstat__v { font-size: 1.8rem; }
  .drip--panel { height: 60px; }
}

/* ---------- master ---------- */
.about-me { display: grid; gap: 36px; align-items: center; }
.about-me__photo { position: relative; width: min(100%, 420px); margin-inline: auto; }
.blob--portrait { aspect-ratio: 4 / 5; border-radius: 50% 50% 46% 54% / 38% 40% 60% 62%; animation: morph2 18s ease-in-out infinite alternate; }
.blob--portrait img { width: 100%; height: 100%; object-fit: cover; }
.drop--d { right: -4%; top: 4%; width: 46px; animation: bob 6s ease-in-out infinite; }
.drop--e { left: -3%; bottom: 14%; width: 28px; animation: bob 5.5s 1s ease-in-out infinite; }
.about-me__text { display: grid; justify-items: start; gap: 14px; }
.master__role { font-weight: 800; color: var(--caramel-d); }
.about-me__bio { max-width: 34em; font-size: 1.12rem; color: var(--muted); }
.master__skills { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; padding: 0; list-style: none; }
.master__skills li {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 12px; border-radius: 999px;
  background: var(--white); font-weight: 700; font-size: .93rem; box-shadow: inset 0 0 0 2px var(--line);
}
.master__skills li::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe3a6, #e8962f 70%); }
@media (min-width: 900px) {
  .about-me { grid-template-columns: .85fr 1.15fr; gap: 72px; }
  .about-me__photo { width: 100%; }
}

/* ---------- works: glossy bento ---------- */
.works-sec { margin: 0 8px; border-radius: var(--r-l); background: linear-gradient(180deg, var(--cream-2), #fbe4bc); }
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; --tile-r: 38px; }
.work {
  position: relative; display: block; padding: 0; border: 0; overflow: hidden; cursor: pointer; aspect-ratio: 4 / 5;
  border-radius: var(--tile-r) var(--tile-r) var(--tile-r) 12px; background: var(--butter);
  box-shadow: var(--shadow-s); transition: transform .4s var(--spring), box-shadow .3s;
}
.work:nth-child(4n + 2) { border-radius: var(--tile-r) 12px var(--tile-r) var(--tile-r); }
.work:nth-child(4n + 3) { border-radius: 12px var(--tile-r) var(--tile-r) var(--tile-r); }
.work:nth-child(4n) { border-radius: var(--tile-r) var(--tile-r) 12px var(--tile-r); }
.work img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.94) sepia(.1); transition: transform .8s var(--ease); }
.work::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .34) 0%, rgba(255, 255, 255, 0) 38%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45);
}
.work:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: var(--shadow-m); }
.work:hover img { transform: scale(1.06); }
.work:focus-visible { outline-offset: 4px; }
.works .work:nth-child(even) { margin-top: 22px; }
@media (min-width: 720px) {
  .works { grid-template-columns: repeat(3, 1fr); gap: 20px; --tile-r: 52px; }
  .works .work:nth-child(even) { margin-top: 0; }
  .works .work:nth-child(3n + 2) { margin-top: 36px; }
  .works-sec { margin-inline: 24px; border-radius: var(--r-xl); }
}

/* ---------- reviews: speech bubbles ---------- */
.reviews-head { display: grid; gap: 22px; margin-bottom: 36px; }
.reviews-head .section__head { margin: 0; }
.score { display: inline-flex; align-items: center; gap: 16px; justify-self: start; padding: 10px 24px 10px 10px; border-radius: 999px; background: var(--white); box-shadow: var(--gloss), var(--shadow-s); }
.score > b {
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, #ffe3a6, #eba23b 72%); color: var(--brown-d);
  font: 700 1.7rem/1 var(--f-display); box-shadow: var(--gloss), 0 8px 14px -8px rgba(150, 75, 5, .6);
}
.score div { display: grid; gap: 2px; font-size: .92rem; color: var(--muted); }
.reviews { display: grid; gap: 18px; }
.review {
  display: grid; gap: 14px; align-content: start; margin: 0; padding: 26px 24px 24px;
  border-radius: var(--r-l) var(--r-l) var(--r-l) 10px; background: var(--white); box-shadow: var(--gloss), var(--shadow-m);
}
.review:nth-child(2) { border-radius: var(--r-l) var(--r-l) 10px var(--r-l); background: var(--butter); }
.review__top { display: flex; align-items: center; gap: 14px; }
.avatar {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 32% 26%, #ffe3a6, #e8962f 75%); color: var(--brown-d); font: 700 1.2rem/1 var(--f-display); box-shadow: var(--gloss);
}
.review figcaption { font-weight: 800; }
.review__meta { display: block; font-size: .85rem; color: var(--muted); }
.review:nth-child(2) .review__meta { color: var(--toffee); }
.review blockquote { margin: 0; font-size: 1.04rem; line-height: 1.6; }
.review__service { justify-self: start; padding: 5px 14px; border-radius: 999px; background: var(--cream-2); font-size: .82rem; font-weight: 800; color: var(--caramel-d); }
.review:nth-child(2) .review__service { background: var(--white); }
@media (min-width: 900px) {
  .reviews-head { grid-template-columns: 1fr auto; align-items: end; }
  .reviews { grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
  .review:nth-child(2) { margin-top: 44px; }
}

/* ---------- faq ---------- */
.faq-wrap { display: grid; gap: 32px; }
.faq details {
  border-radius: var(--r-m); background: var(--white); box-shadow: inset 0 0 0 2px var(--line);
  transition: background .3s, box-shadow .3s;
}
.faq details + details { margin-top: 12px; }
.faq details[open] { background: linear-gradient(160deg, #fff3d3, #ffe5ad); box-shadow: inset 0 0 0 2px var(--honey), var(--shadow-s); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding: 12px 14px 12px 22px;
  font: 800 1.04rem/1.3 var(--f-body); cursor: pointer; list-style: none; border-radius: inherit;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background:
    linear-gradient(var(--brown), var(--brown)) center / 14px 2.5px no-repeat,
    linear-gradient(var(--brown), var(--brown)) center / 2.5px 14px no-repeat,
    var(--butter);
  box-shadow: var(--gloss); transition: transform .4s var(--spring);
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--white); }
.faq details p { padding: 0 22px 22px; color: #5f402b; animation: fadeDown .45s var(--ease); }
@media (min-width: 900px) {
  .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
  .faq-wrap .section__head { position: sticky; top: 112px; margin: 0; }
}
.messengers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.msg {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--white); font-weight: 800; font-size: .95rem; text-decoration: none; box-shadow: inset 0 0 0 2px var(--line);
  transition: transform .3s var(--spring), background-color .25s, box-shadow .25s;
}
.msg .i { width: 20px; height: 20px; color: var(--caramel-d); }
.msg:hover { transform: translateY(-2px); background: var(--butter); box-shadow: inset 0 0 0 2px var(--honey); }

/* ---------- contacts ---------- */
.contacts { padding-bottom: 96px; }
.contacts__in { display: grid; gap: 36px; align-items: stretch; }
.contacts__info { display: grid; justify-items: start; align-content: start; gap: 16px; }
.contact-list { display: grid; gap: 14px; margin: 8px 0 6px; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list .ico {
  display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, #fff0c6, #f6bb5c 80%); color: var(--brown-d); box-shadow: var(--gloss), 0 8px 14px -10px rgba(150, 75, 5, .6);
}
.contact-list .ico .i { width: 24px; height: 24px; }
.contact-list div { display: grid; gap: 1px; }
.contact-list b { font-weight: 800; }
.contact-list div > span { font-size: .92rem; color: var(--muted); }
.contact-list a { text-decoration: none; }
.hours { display: flex; gap: 14px; align-items: baseline; font-size: 1rem !important; color: var(--brown) !important; }
.hours span { min-width: 64px; color: var(--muted); }
.contacts__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.map {
  position: relative; min-height: 340px; overflow: hidden; border: 8px solid var(--white);
  border-radius: var(--r-l) var(--r-l) var(--r-l) 14px;
  background: var(--butter); box-shadow: var(--shadow-m);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 900px) {
  .contacts__in { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .map { min-height: 480px; border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 18px; }
}

/* ---------- footer: cream drips on warm brown ---------- */
.site-footer { position: relative; padding: calc(max(66px, 9.2vw) + 28px) 0 120px; background: var(--brown-d); color: #f3d9ab; }
.drip--foot { position: absolute; left: 0; right: 0; top: -1px; color: var(--cream); }
.site-footer__in { display: grid; gap: 24px; }
.site-footer .logo__name { color: #fff3dc; font-size: 1.6rem; }
.site-footer p { font-size: .95rem; }
.site-footer nav { display: grid; justify-items: start; gap: 4px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: #ffe9c4; text-underline-offset: 4px; }
.site-footer nav a:hover { color: var(--honey); }
.site-footer :focus-visible { outline-color: var(--honey); }
.site-footer__small { color: #cfa772; font-size: .85rem !important; max-width: 36em; }
@media (min-width: 900px) {
  .site-footer { padding: calc(max(66px, 9.2vw) + 28px) 0 56px; }
  .site-footer__in { grid-template-columns: 1fr 1fr; align-items: start; gap: 28px 64px; }
  .site-footer__small { grid-column: 1 / -1; }
}

/* ---------- mobile bar ---------- */
.mobile-bar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 70;
  display: flex; gap: 10px; padding: 7px; border-radius: 999px;
  background: rgba(255, 248, 236, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: var(--gloss), 0 18px 34px -14px rgba(90, 45, 8, .6);
  transition: transform .4s var(--ease), opacity .3s, visibility 0s;
}
.mobile-bar .btn { flex: 1.35 1 0; min-height: 52px; }
.mobile-bar__call {
  display: inline-flex; flex: 1 1 0; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 12px; border-radius: 999px;
  font-weight: 800; font-size: 15px; text-decoration: none; box-shadow: inset 0 0 0 2px var(--brown);
}
.mobile-bar__call .i { width: 20px; height: 20px; }
body.calc-open .mobile-bar { transform: translateY(160%); opacity: 0; visibility: hidden; transition: transform .4s var(--ease), opacity .3s, visibility 0s .4s; }
@media (min-width: 900px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

/* ---------- toast + lightbox ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 90; transform: translateX(-50%);
  width: max-content; max-width: min(92vw, 440px); padding: 14px 22px; border-radius: 26px;
  background: var(--brown-d); color: #ffeac4; font-weight: 700; font-size: .95rem; line-height: 1.4; text-align: center;
  box-shadow: var(--shadow-m); animation: toast .45s var(--spring);
}
@media (min-width: 900px) { .toast { bottom: 32px; } }
.lightbox { padding: 12px; border: 0; background: transparent; max-width: min(94vw, 760px); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(51, 27, 13, .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox[open] { animation: pop .45s var(--spring); }
.lightbox img { width: auto; max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: 40px 40px 40px 14px; box-shadow: var(--shadow-m); }
.lightbox__close { position: absolute; top: -2px; right: -2px; z-index: 2; }

/* ---------- legal pages ---------- */
.legal-page { padding-bottom: 0; background: radial-gradient(60% 40% at 90% 0%, rgba(244, 178, 78, .25), transparent 70%), var(--cream); }
.legal-page .demo-ribbon p { opacity: .85; }
.legal-bar { width: min(780px, calc(100% - 2 * var(--gutter))); margin: 14px auto 0; }
.logo__drop {
  flex: none; width: 17px; height: 17px; margin: 0 4px 0 6px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: radial-gradient(circle at 35% 35%, #ffe3a6, #e8962f 70%); box-shadow: 0 3px 4px rgba(150, 75, 5, .3);
}
.wrap.legal {
  position: relative; width: min(780px, calc(100% - 2 * var(--gutter))); margin: 10px auto 72px; padding: 36px 22px 32px;
  border-radius: var(--r-l) var(--r-l) var(--r-l) 12px; background: var(--white); box-shadow: var(--gloss), var(--shadow-m);
}
.legal h1 { font-size: clamp(1.7rem, 5.6vw, 2.5rem); line-height: 1.12; margin-bottom: 10px; }
.legal__meta { display: inline-block; margin-bottom: 8px; padding: 4px 14px; border-radius: 999px; background: var(--butter); font-weight: 800; font-size: .85rem; }
.legal h2 { margin: 30px 0 8px; font-size: 1.15rem; color: var(--caramel-d); }
.legal p, .legal li { color: #5a3b27; }
.legal ul { margin: 8px 0 12px; padding-left: 22px; }
.legal li::marker { color: var(--caramel); }
.legal li + li { margin-top: 4px; }
.legal a { color: var(--caramel-d); font-weight: 800; text-underline-offset: 3px; }
.legal__box { margin: 20px 0 22px; padding: 22px 20px; border-radius: var(--r-m); background: var(--butter); display: grid; gap: 12px; }
@media (min-width: 720px) { .wrap.legal { padding: 52px 56px 44px; } }

/* ---------- motion ---------- */
.js .reveal.pre { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--spring); transition-delay: var(--d, 0s); }
.js .reveal.pre.in { opacity: 1; transform: none; }
html:not(.js) [data-preset], html:not(.js) .zone__tick, html:not(.js) .calc__panel, html:not(.js) .calc__how { display: none; }
html:not(.js) .zone__pick { padding-left: 18px; grid-template-columns: 1fr; }

@keyframes pop { from { opacity: 0; transform: scale(.92) translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 14px) scale(.95); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes marker { from { transform: rotate(-1.3deg) scaleX(0); } to { transform: rotate(-1.3deg) scaleX(1); } }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(3); opacity: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-9px) rotate(3deg); } }
@keyframes morph {
  0% { border-radius: 58% 42% 54% 46% / 46% 54% 46% 54%; }
  50% { border-radius: 46% 54% 44% 56% / 56% 44% 58% 42%; }
  100% { border-radius: 52% 48% 60% 40% / 42% 58% 42% 58%; }
}
@keyframes morph2 {
  0% { border-radius: 50% 50% 46% 54% / 38% 40% 60% 62%; }
  100% { border-radius: 44% 56% 52% 48% / 44% 36% 64% 56%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal.pre { opacity: 1; transform: none; }
}

/* --- лента демо: плашка «ДЕМО» и кнопка «Хочу такой» (ночь 2026-10-17) --- */
.demo-ribbon{display:flex;flex-wrap:wrap;align-items:center}
.demo-ribbon>a{grid-row:auto}
.demo-ribbon .demo-ribbon__pill{flex:none;display:inline-flex;align-items:center;margin:2px 0;padding:2px 9px;border-radius:999px;background:rgba(255,255,255,.16);background:color-mix(in srgb,currentColor 14%,transparent);font:600 11.5px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:.03em;white-space:nowrap;opacity:1}
.demo-ribbon .demo-ribbon__note{margin-left:0}
.demo-ribbon .demo-ribbon__cta{flex:none;margin:4px 0 4px auto;min-height:34px;padding:0 14px;border:1.5px solid currentColor;border-radius:999px;background:rgba(255,255,255,.12);background:color-mix(in srgb,currentColor 12%,transparent);font-weight:700;letter-spacing:0;text-transform:none}
.demo-ribbon .demo-ribbon__cta-short{display:none}
@media (max-width:1099px){.demo-ribbon .demo-ribbon__note{display:none}}
@media (min-width:781px) and (max-width:1099px){
.demo-ribbon>a:first-child{order:1}
.demo-ribbon .demo-ribbon__pill{order:2}
.demo-ribbon .demo-ribbon__cta{order:3}
.demo-ribbon .demo-ribbon__pkg{order:4;flex:1 1 100%;white-space:normal;overflow:visible;text-overflow:clip}
}
@media (max-width:780px){
.demo-ribbon{gap:2px 10px;padding-top:4px;padding-bottom:6px}
.demo-ribbon>a:first-child{order:1}
.demo-ribbon .demo-ribbon__cta{order:2}
.demo-ribbon .demo-ribbon__pill{order:3}
.demo-ribbon .demo-ribbon__pkg{order:4;flex:1 1 190px;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.25;padding:0}
}
@media (max-width:420px){
.demo-ribbon .demo-ribbon__cta-long{display:none}
.demo-ribbon .demo-ribbon__cta-short{display:inline}
.demo-ribbon .demo-ribbon__cta{padding:0 12px}
}
.site-footer__small a,.foot__small a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.demo-ribbon .demo-ribbon__cta{margin-left:0}
@media (max-width:780px){.demo-ribbon{justify-content:center}}
.demo-want{display:inline-block;padding:10px 0 4px;font-weight:600}

/* --- лента демо: вторая ссылка «О студии» (раунд 2, 2026-10-17) --- */
.demo-ribbon .demo-ribbon__studio{flex:none;min-height:30px;margin:0;font-size:12px;font-weight:600;opacity:.9;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.demo-ribbon .demo-ribbon__studio:hover,.demo-ribbon .demo-ribbon__studio:focus-visible{opacity:1}
@media (min-width:781px) and (max-width:1099px){.demo-ribbon>p:not([class]){order:1}.demo-ribbon .demo-ribbon__studio{order:2}}
@media (max-width:780px){.demo-ribbon .demo-ribbon__studio{order:3}}
