/* =========================================================
   Liliput — стилове
   Цветове от бранда: патладжан #412149, лайм #C0EF65
   ========================================================= */

:root {
  --plum: #412149;
  --plum-deep: #2c1532;
  --plum-soft: #69286e;
  --lime: #c0ef65;
  --lime-deep: #a3c322;
  --lavender: #d9a6f2;
  --mist: #f4eff6;
  --skin: #efdfd4;
  --ink: #241228;
  --ink-soft: #5b4a60;
  --white: #fff;

  --font: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* типографска скала (1.25) */
  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-md: 1.0625rem;
  --t-lg: 1.375rem;
  --t-xl: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  --t-2xl: clamp(2.5rem, 1.4rem + 4.6vw, 5rem);

  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --max: 1200px;
  --section: clamp(4rem, 3rem + 5vw, 8rem);

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 32px;
  --r-pill: 999px;

  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-micro: 150ms;
  --t-enter: 400ms;
  --t-big: 600ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-md);
  line-height: 1.55;
  color: var(--ink);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-light :focus-visible, .on-light:focus-visible { outline-color: var(--plum); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--lime); color: var(--plum); padding: .75rem 1rem;
  border-radius: var(--r-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- Бутони ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: 0 1.6rem;
  border: 0; border-radius: var(--r-pill);
  font-weight: 700; font-size: var(--t-md); text-decoration: none;
  cursor: pointer;
  transition: transform var(--t-micro) var(--ease-out), background-color var(--t-micro);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--lime); color: var(--plum); }
.btn-primary:hover { background: #d0f58a; }
.btn-dark { background: var(--plum); color: var(--lime); }
.btn-dark:hover { background: var(--plum-deep); }
.btn-ghost { background: transparent; color: inherit; padding-inline: .4rem; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 2px; }
.btn-ghost:hover { text-decoration-color: var(--lime); }
.btn .btn-eyes { display: inline-flex; gap: 3px; }
.btn .btn-eyes i {
  width: 14px; height: 14px; border-radius: 50%; background: var(--white);
  position: relative; display: block;
}
.btn .btn-eyes i::after {
  content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: #000; left: 4px; top: 4px; transform: translate(var(--px, 0), var(--py, 0));
}

/* ---------- Навигация ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--plum); color: var(--white);
}
.nav { display: flex; align-items: center; gap: 1.5rem; min-height: 80px; }
@media (min-width: 900px) { .nav { min-height: 100px; } }
.brand { display: flex; align-items: center; text-decoration: none; border-radius: 50%; }
.brand .logo-svg { width: 68px; height: 68px; overflow: visible; transform-origin: 50% 85%; transition: transform 300ms var(--ease-pop); }
@media (min-width: 900px) { .brand .logo-svg { width: 92px; height: 92px; } }
.brand:hover .logo-svg { transform: rotate(-6deg) scale(1.06); }
.brand.is-boing .logo-svg { animation: logo-boing 520ms var(--ease-pop); }
.brand.is-boing .logo-eye { animation: logo-blink 520ms ease-in-out; }
.logo-eye { transform-box: fill-box; transform-origin: center; }
@keyframes logo-boing {
  0% { transform: scale(1); }
  25% { transform: scale(1.18, .82); }
  50% { transform: scale(.9, 1.12) translateY(-6%); }
  75% { transform: scale(1.04, .97); }
  100% { transform: scale(1); }
}
@keyframes logo-blink { 0%, 100% { transform: scaleY(1); } 30%, 45% { transform: scaleY(.1); } }
.logo-svg .pupil { transition: transform 120ms linear; }
.mascot-look { transition: transform 180ms ease-out; }
.nav-links { display: none; gap: 1.75rem; margin-left: auto; list-style: none; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; color: rgba(255,255,255,.85); }
.nav-links a:hover { color: var(--lime); }
.nav .btn { margin-left: auto; min-height: 44px; padding: 0 1.1rem; font-size: var(--t-sm); }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav .btn { margin-left: 0; }
}

/* Закачен бутон на телефон */
.sticky-cta {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: 1rem; z-index: 40;
  transform: translateY(150%); transition: transform var(--t-enter) var(--ease-pop);
  box-shadow: 0 10px 30px rgba(36, 18, 40, .35);
}
.sticky-cta.is-visible { transform: none; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- Hero ---------- */
.hero {
  background: var(--plum); color: var(--white);
  padding: clamp(2rem, 1rem + 4vw, 5rem) 0 clamp(3.5rem, 2rem + 5vw, 7rem);
  position: relative; overflow: hidden;
}
.hero::before {
  /* едва забележима мрежа от вълните в таблицата с размери */
  content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background:
    repeating-radial-gradient(circle at 120% 30%, transparent 0 22px, var(--lavender) 23px 24px);
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; position: relative; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 4rem; } }

.hero-kicker { color: var(--lavender); font-weight: 500; font-size: var(--t-md); margin-bottom: 1rem; }
.hero h1 { font-size: var(--t-2xl); font-weight: 900; letter-spacing: -0.035em; line-height: .98; }
.hero h1 .line { display: block; }
.hero-sub { margin-top: 1.5rem; font-size: var(--t-lg); line-height: 1.45; color: rgba(255,255,255,.85); max-width: 32ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.25rem; }
.btn-lg { min-height: 64px; padding: 0 2.2rem; font-size: var(--t-lg); gap: .8rem; }
.btn-lg .btn-eyes i { width: 18px; height: 18px; }
.btn-lg .btn-eyes i::after { width: 10px; height: 10px; left: 5px; top: 5px; }

/* Плъзгач снимка → фигурка */
.compare {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden;
  background: var(--plum-deep); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
  --pos: 50%;
  user-select: none; touch-action: pan-y;
}
.compare-layer { position: absolute; inset: 0; }
.compare-layer img { width: 100%; height: 100%; object-fit: cover; }
.compare-after { clip-path: inset(0 0 0 var(--pos)); }
.compare-label {
  position: absolute; bottom: 1rem; padding: .3rem .8rem; border-radius: var(--r-pill);
  font-size: var(--t-xs); font-weight: 600; background: rgba(36,18,40,.7); color: var(--white);
  backdrop-filter: blur(6px);
}
.compare-before .compare-label { left: 1rem; }
.compare-after .compare-label { right: 1rem; background: var(--lime); color: var(--plum); }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px;
  background: var(--lime); pointer-events: none;
}
.compare-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 46px; border-radius: var(--r-pill); background: var(--lime);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.compare-knob i { width: 22px; height: 22px; background: var(--white); border-radius: 50%; position: relative; }
.compare-knob i::after {
  content: ""; position: absolute; width: 12px; height: 12px; background: #000; border-radius: 50%;
  top: 5px; left: 5px; transform: translate(var(--px, 0), var(--py, 0)); transition: transform 120ms linear;
}
.compare input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
}
.compare input[type="range"]:focus-visible + .compare-handle .compare-knob { outline: 3px solid var(--white); outline-offset: 3px; }
.compare-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; }
.compare-dots button {
  width: 44px; height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer;
  display: grid; place-items: center;
}
.compare-dots button::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35);
  transition: background var(--t-micro), transform var(--t-micro);
}
.compare-dots button[aria-current="true"]::before { background: var(--lime); transform: scale(1.3); }

/* Място за снимка (докато няма реални) */
.ph {
  width: 100%; height: 100%; display: grid; place-items: center; position: relative;
  background: linear-gradient(160deg, #e7dcea, #cdb8d5);
}
.ph img { width: 46%; height: auto; object-fit: contain; }
.ph-photo img { filter: grayscale(1) contrast(.9); opacity: .55; }
.ph-figure { background: linear-gradient(160deg, #f4eff6, #e2d3e8); }
.ph-note {
  position: absolute; top: .75rem; left: .75rem; font-size: var(--t-xs); color: var(--ink-soft);
  background: rgba(255,255,255,.7); border-radius: var(--r-pill); padding: .2rem .6rem;
}

/* ---------- Общи секции ---------- */
.section { padding-block: var(--section); }
.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head h2 { font-size: var(--t-xl); font-weight: 900; }
.section-head p { margin-top: 1rem; color: var(--ink-soft); font-size: var(--t-lg); line-height: 1.45; }
.on-dark { background: var(--plum); color: var(--white); }
.on-dark .section-head p { color: rgba(255,255,255,.75); }

/* ---------- Как работи: пътуване навътре ---------- */
/* Лилавото и линиите от hero продължават тук без шев. На широк екран секцията
   се „закача“, линиите се приближават (влизаш навътре), а кръговете се изписват. */
.journey { background: var(--plum); color: var(--white); position: relative; }
.journey-stage { position: relative; overflow: hidden; padding-block: clamp(3rem, 2rem + 4vw, 5rem) var(--section); }
.journey-stage::before {
  /* същите линии като в hero, със същия център: продължават надолу */
  --g: calc(1 + var(--t, 0) * 2.4);
  content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background: repeating-radial-gradient(circle at 120% var(--cy, -600px),
    transparent 0 calc(22px * var(--g)), var(--lavender) calc(22px * var(--g) + 1px) calc(22px * var(--g) + 2px));
}
.journey-inner { position: relative; z-index: 1; }

.journey-title {
  font-size: var(--t-xl); font-weight: 900; text-align: center;
  margin: 0 auto clamp(1.5rem, 1rem + 2vw, 2.5rem); max-width: 20ch;
}

/* размери на трите кръга: различни, за да не са като по линия */
.jstep-1 { --size: min(19.5rem, 38vh); --y: 0rem;   --rot: -3deg; --c: #e3d6ec;     --bob: 6.5s; }
.jstep-2 { --size: min(17.5rem, 34vh); --y: 6rem; --rot: 2.5deg; --c: #f1e6bf; --bob: 5.5s; }
.jstep-3 { --size: min(18.5rem, 36vh); --y: 1rem;   --rot: -1.5deg; --c: #d6e5c3;        --bob: 7s; }

.jmap { position: relative; }
.jpath { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.jpath-dots {
  fill: none; stroke: var(--lime); stroke-width: 4; stroke-linecap: round;
  stroke-dasharray: 0 14; opacity: 0;
}
.jpath-dots.is-drawn { opacity: .85; }
.jsteps { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 1.25rem; }
.jstep { position: relative; }
.jstep:nth-child(odd) { align-self: flex-start; }
.jstep:nth-child(even) { align-self: flex-end; }
@media (min-width: 900px) {
  .jsteps { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 0 3rem 6.5rem 1rem; }
  .jstep { transform: translateY(var(--y)); }
  .jstep-2 { margin-top: 0; }
}
@media (max-width: 899px) {
  .jstep-1 { --size: 17.5rem; } .jstep-2 { --size: 16.5rem; } .jstep-3 { --size: 17.5rem; }
  .jstep:nth-child(odd) { margin-left: 2%; } .jstep:nth-child(even) { margin-right: 2%; }
}

/* леко поклащане, всеки със свой ритъм */
.jbob { position: relative; }
.jstep.is-on .jbob { animation: j-bob var(--bob) ease-in-out infinite; animation-delay: calc(var(--i) * -1.7s); }
@keyframes j-bob {
  0%, 100% { transform: translateY(0) rotate(var(--rot)); }
  50% { transform: translateY(-10px) rotate(calc(var(--rot) * -0.6)); }
}

.jcircle {
  position: relative; z-index: 1; width: var(--size); aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 calc(var(--size) * .15);
  background: var(--c); color: var(--plum);
  border-radius: 50%;
  box-shadow: 0 22px 0 -12px rgba(0,0,0,.18), 0 30px 50px -25px rgba(0,0,0,.55);
  opacity: 0; transform: scale(.3) rotate(-12deg);
  transition: opacity .3s var(--ease-out), transform .75s var(--ease-pop);
}
.jstep.is-on .jcircle { opacity: 1; transform: none; animation: j-blob 9s ease-in-out infinite; }
/* меко „желе“ – формата диша, не е идеален кръг */
@keyframes j-blob {
  0%, 100% { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; }
  33% { border-radius: 54% 46% 52% 48% / 47% 53% 47% 53%; }
  66% { border-radius: 47% 53% 46% 54% / 53% 47% 52% 48%; }
}
/* без пунктир около кръговете */
.jcircle::before { display: none; }

.jnum {
  position: absolute; top: 4%; left: 6%;
  width: 3.1rem; height: 3.1rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--plum); color: var(--lime); font-weight: 900; font-size: var(--t-lg);
  border: 4px solid var(--c);
  transform: scale(0) rotate(-30deg); transition: transform .5s var(--ease-pop) .45s;
}
.jstep.is-on .jnum { transform: rotate(-8deg); }

.jcircle h3 { font-family: "Days One", "Balsamiq Sans", var(--font); font-weight: 400; -webkit-text-stroke: .6px currentColor; paint-order: stroke fill; font-size: clamp(1.25rem, 1.05rem + .55vw, 1.55rem); line-height: 1.12; letter-spacing: .01em; color: var(--plum); text-wrap: balance; }
.jcircle p { margin-top: .55rem; font-family: "Days One", "Balsamiq Sans", var(--font); font-weight: 400; font-size: clamp(.92rem, .85rem + .25vw, 1.02rem); line-height: 1.38; color: var(--ink-soft); }

/* изписване буква по буква: буквите са на мястото си, само се показват */
.js .jtype .ch { opacity: 0; transition: opacity .08s linear; }
.js .jtype .ch.on { opacity: 1; }
.jtype .ch.cur { box-shadow: 2px 0 0 0 var(--plum); }

/* талисманът кацва на първия кръг и после скача от кръг на кръг */
.jmascot {
  position: absolute; z-index: 3; width: 5.2rem; left: calc(50% - 2.6rem); top: -4.7rem;
  opacity: 0; pointer-events: none; transform-origin: 50% 100%;
}
.jmascot svg { width: 100%; height: auto; display: block; transform-origin: 50% 100%; }
.jmascot.is-up { opacity: 1; }
.jmascot.is-up svg { animation: j-wave 2.8s ease-in-out infinite; }
@keyframes j-wave { 0%, 100% { transform: rotate(6deg); } 50% { transform: rotate(-5deg) translateY(-3px); } }
.jstep.has-mascot { z-index: 5; }

.journey-note {
  margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); text-align: center; color: rgba(255,255,255,.8);
  opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s var(--ease-out);
}
.journey-note.is-on { opacity: 1; transform: none; }
.journey-note a { color: var(--lime); }

/* Широк и достатъчно висок екран: секцията се закача и се „пътува“ със скрола */
@media (min-width: 900px) and (min-height: 640px) {
  .journey.is-pinned { height: 300vh; }
  .journey.is-pinned .journey-stage {
    position: sticky; top: 0; height: 100vh; padding: 80px 0 0;
    display: grid; align-content: center;
  }
  .journey.is-pinned .journey-title { opacity: var(--h, 0); transform: scale(calc(.6 + var(--h, 0) * .4)); }
}

@media (prefers-reduced-motion: reduce) {
  .jcircle, .jnum, .jmascot, .journey-note { transition: none !important; opacity: 1 !important; }
  .jcircle, .journey-note { transform: none !important; }
  .jbob, .jcircle, .jcircle::before, .jmascot, .jmascot svg { animation: none !important; }
  .jnum { transform: rotate(-8deg) !important; }
  .js .jtype .ch { opacity: 1; }
}

/* hero: при скрол надолу „влизаш“ в сцената */
.hero-grid { transform-origin: 70% 60%; will-change: transform, opacity; }

/* ---------- Галерия ---------- */
.filters { display: flex; gap: .5rem; flex-wrap: nowrap; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 1.5rem; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 44px; padding: 0 1.1rem; border-radius: var(--r-pill);
  border: 2px solid var(--plum); background: transparent; color: var(--plum);
  font-weight: 600; cursor: pointer; transition: background var(--t-micro), color var(--t-micro);
}
.chip:hover { background: rgba(65,33,73,.08); }
.chip[aria-pressed="true"] { background: var(--plum); color: var(--lime); }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; list-style: none; padding: 0; margin: 0; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.g-item { position: relative; }
.g-item[hidden] { display: none; }
.g-card {
  display: block; width: 100%; padding: 0; border: 0; text-align: left; cursor: pointer;
  border-radius: var(--r-md); overflow: hidden; background: var(--white);
}
.g-media { aspect-ratio: 4 / 5; position: relative; overflow: hidden; }
.g-media > img, .g-media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-big) var(--ease-out); }
.g-card:hover .g-media > img, .g-card:hover .g-media .ph { transform: scale(1.04); }
.g-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .1rem .5rem; padding: .75rem .9rem; font-size: var(--t-sm); }
.g-cap strong { font-weight: 600; }
.g-cap span { color: var(--ink-soft); }
.gallery-more { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* Лайтбокс */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); width: 100%; }
.lightbox::backdrop { background: rgba(36,18,40,.85); }
.lb-inner { background: var(--white); border-radius: var(--r-lg); overflow: hidden; display: grid; }
@media (min-width: 760px) { .lb-inner { grid-template-columns: 1fr 1fr; } }
.lb-media { aspect-ratio: 4 / 5; }
.lb-media img, .lb-media .ph { width: 100%; height: 100%; object-fit: cover; }
.lb-body { padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.lb-body h3 { font-size: var(--t-xl); }
.lb-meta { color: var(--ink-soft); }
.lb-close {
  position: absolute; top: .75rem; right: .75rem; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--plum); color: var(--white); font-size: 1.4rem; cursor: pointer;
}

/* ---------- Стилове ---------- */
.styles { display: grid; gap: 1rem; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; list-style: none; margin: 0; padding-left: 0; scrollbar-width: thin; }
@media (min-width: 760px) { .styles { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; } }
@media (min-width: 1100px) { .styles { grid-template-columns: repeat(4, 1fr); } }
.style-card { scroll-snap-align: start; background: var(--white); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; }
.style-card .g-media { aspect-ratio: 1; }
.style-body { padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.style-body h3 { font-size: var(--t-lg); }
.style-body p { color: var(--ink-soft); font-size: var(--t-sm); flex: 1; }
.style-body a { font-weight: 700; color: var(--plum); text-decoration-thickness: 2px; text-underline-offset: .25em; }
.style-extra { margin-top: 1.75rem; color: var(--ink-soft); max-width: 46rem; }

/* ---------- Ръст на лилипутите (подписът на сайта) ---------- */
.sizes { position: relative; }
.ruler-wrap { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: end; }
.ruler {
  position: relative; height: var(--ruler-h); width: 52px;
  border-right: 2px solid rgba(255,255,255,.35);
}
.ruler span {
  position: absolute; right: 0; transform: translateY(50%);
  font-size: var(--t-xs); color: rgba(255,255,255,.6); padding-right: 10px;
  white-space: nowrap;
}
.ruler span::after { content: ""; position: absolute; right: -2px; top: 50%; width: 8px; height: 2px; background: rgba(255,255,255,.35); }
.pillars {
  --unit: calc(var(--ruler-h) / 25);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.4rem, 1.5vw, 1.25rem);
  align-items: end; height: var(--ruler-h);
  border-bottom: 2px solid rgba(255,255,255,.35);
  list-style: none; margin: 0; padding: 0;
}
.sizes { --ruler-h: 360px; }
@media (min-width: 760px) { .sizes { --ruler-h: 460px; } }
.pillar { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.pillar-bar {
  height: calc(var(--cm) * var(--unit));
  background: var(--lime); color: var(--plum);
  width: clamp(58px, 52%, 120px);
  border-radius: 4px 4px 0 0;
  transform-origin: bottom; transform: scaleY(var(--grow, 1));
  transition: transform 700ms var(--ease-pop);
  transition-delay: calc(var(--i) * 90ms);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding-top: .75rem; text-align: center;
}
.pillar-bar b { font-size: clamp(1.4rem, 1rem + 2vw, 2.5rem); font-weight: 900; line-height: 1; }
.pillar-bar small { font-size: var(--t-xs); font-weight: 600; margin-top: .25rem; }
.pillar-price {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--cm) * var(--unit) + .6rem);
  font-weight: 800; font-size: clamp(1rem, .8rem + 1vw, 1.5rem); white-space: nowrap;
  opacity: var(--price-o, 1); transition: opacity 300ms; transition-delay: calc(var(--i) * 90ms + 400ms);
}
.pillar-mascot {
  display: block;
  position: absolute; left: 50%; width: clamp(44px, 46%, 110px); transform: translate(-50%, 0);
  bottom: calc(var(--cm) * var(--unit) + 2.4rem);
}
.sizes.is-waiting { --grow: 0.04; --price-o: 0; }
.scale-ref { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.25rem; color: rgba(255,255,255,.7); font-size: var(--t-sm); }
.scale-ref span::before { content: ""; display: inline-block; width: 10px; height: 10px; border: 2px solid var(--lavender); border-radius: 3px; margin-right: .5rem; vertical-align: -1px; }
.size-notes { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 760px) { .size-notes { grid-template-columns: 1fr auto; align-items: center; } }
.size-notes p { color: rgba(255,255,255,.8); max-width: 44rem; }

/* ---------- Работилницата ---------- */
.craft-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .craft-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.craft-media { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.craft-media > div { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 4; }
.craft-media > div:first-child { grid-row: span 2; aspect-ratio: auto; }
.craft-points { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 1.1rem; }
.craft-points li { padding-left: 2rem; position: relative; }
.craft-points li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 14px; border-radius: 50%;
  background: var(--lime); box-shadow: inset 0 0 0 3px var(--plum);
}
.craft-points strong { display: block; font-weight: 700; }
.craft-points span { color: var(--ink-soft); }

/* ---------- Въпроси ---------- */
.faq { max-width: 52rem; display: grid; gap: .75rem; }
.faq details { background: var(--white); border-radius: var(--r-md); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 3.5rem 1.15rem 1.35rem; position: relative;
  font-weight: 600; font-size: var(--t-md); min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.35rem; top: 50%; width: 14px; height: 14px; margin-top: -9px;
  border-right: 3px solid var(--plum); border-bottom: 3px solid var(--plum); transform: rotate(45deg);
  transition: transform var(--t-micro) var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq .answer { padding: 0 1.35rem 1.35rem; color: var(--ink-soft); max-width: 70ch; }
.faq .answer p + p { margin-top: .6rem; }

/* ---------- Финален призив ---------- */
.final { text-align: center; }
.final .mascot-big { width: clamp(140px, 30vw, 220px); margin: 0 auto 1.5rem; }
.final h2 { font-size: var(--t-2xl); font-weight: 900; max-width: 14ch; margin-inline: auto; }
.final p { margin: 1.25rem auto 2rem; color: rgba(255,255,255,.8); font-size: var(--t-lg); max-width: 34ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-deep); color: rgba(255,255,255,.8); padding: 3.5rem 0 6rem; font-size: var(--t-sm); }
@media (min-width: 900px) { .site-footer { padding-bottom: 3rem; } }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h3 { font-size: var(--t-md); color: var(--white); margin-bottom: .75rem; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer-brand .logo-img { width: 72px; margin-bottom: 1rem; }
.footer-legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); }

/* ---------- Зареждане ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 200; background: var(--plum);
  display: grid; place-items: center; transition: opacity 300ms, visibility 300ms;
}
.loader .logo-svg { width: 120px; animation: loader-pop 500ms var(--ease-pop) both; }
.loader.is-done { opacity: 0; visibility: hidden; }
@keyframes loader-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Появяване (само ако JS работи) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-enter) var(--ease-out), transform var(--t-enter) var(--ease-pop); transition-delay: calc(var(--d, 0) * 60ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero h1 .word { display: inline-block; opacity: 0; transform: translateY(.4em); animation: word-in 500ms var(--ease-pop) forwards; animation-delay: calc(var(--w) * 70ms + 150ms); }
@keyframes word-in { to { opacity: 1; transform: none; } }
.js .hero .compare-card { animation: card-in 700ms var(--ease-pop) 250ms both; }
@keyframes card-in { from { opacity: 0; transform: translateY(40px) rotate(2deg); } to { opacity: 1; transform: none; } }

/* мигане на талисмана */
.mascot-svg .eye { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }

/* ---------- Намалено движение ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 150ms !important; transition-delay: 0ms !important; }
  .js .reveal { transform: none; }
  .js .hero h1 .word { transform: none; }
  .sizes.is-waiting { --grow: 1; --price-o: 1; }
  .mascot-svg .eye { animation: none; }
}

/* =========================================================
   Страница за поръчка
   ========================================================= */
.order-main { padding: clamp(2rem, 1rem + 3vw, 4rem) 0 var(--section); }
.order-head { max-width: 40rem; margin-bottom: 2rem; }
.order-head h1 { font-size: var(--t-xl); font-weight: 900; }
.order-head p { margin-top: .75rem; color: var(--ink-soft); font-size: var(--t-lg); }

.order-grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1000px) { .order-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 2.5rem; } }
.order-steps { display: grid; gap: 1rem; min-width: 0; }

.o-step { border: 0; margin: 0; background: var(--white); border-radius: var(--r-md); padding: 1.5rem clamp(1.1rem, .8rem + 1.5vw, 2rem) 1.75rem; min-width: 0; }
.o-step legend { float: left; width: 100%; display: flex; align-items: center; gap: .75rem; font-size: var(--t-lg); font-weight: 800; margin-bottom: 1.25rem; padding: 0; }
.o-step legend + * { clear: both; }
.o-num { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--plum); color: var(--lime); display: grid; place-items: center; font-size: var(--t-md); }

.guide { display: flex; align-items: flex-end; gap: .75rem; margin-bottom: 1rem; }
.guide-mascot { width: 64px; flex: none; }
.guide-bubble { position: relative; background: var(--mist); border-radius: var(--r-md) var(--r-md) var(--r-md) 4px; padding: .8rem 1rem; font-size: var(--t-sm); color: var(--ink); }

.drop {
  display: grid; justify-items: center; gap: .3rem; text-align: center; cursor: pointer;
  border: 2.5px dashed rgba(65,33,73,.35); border-radius: var(--r-md); padding: 2rem 1rem;
  background: var(--mist); transition: border-color var(--t-micro), background var(--t-micro);
  position: relative;
}
.drop:hover, .drop.is-over { border-color: var(--plum); background: #ece2f0; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop:focus-within { outline: 3px solid var(--plum); outline-offset: 3px; }
.drop-title { font-weight: 700; color: var(--plum); }
.drop-help { font-size: var(--t-sm); color: var(--ink-soft); }
.thumbs { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.thumbs li { position: relative; width: 84px; height: 84px; border-radius: var(--r-sm); overflow: hidden; background: var(--mist); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs li span { position: absolute; inset: auto 0 0 0; font-size: 11px; padding: 2px 4px; background: rgba(36,18,40,.7); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumbs button { position: absolute; top: 2px; right: 2px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--plum); color: #fff; cursor: pointer; font-size: 1rem; line-height: 1; }

.options { display: grid; gap: .75rem; }
.options-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.options-2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .options-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .options-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.opt { position: relative; cursor: pointer; display: block; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt-body {
  display: flex; flex-direction: column; gap: .2rem; height: 100%;
  border: 2px solid rgba(65,33,73,.18); border-radius: var(--r-md); padding: 1rem;
  transition: border-color var(--t-micro), background var(--t-micro), transform var(--t-micro) var(--ease-pop);
}
.opt-body strong { font-weight: 700; }
.opt-body small { color: var(--ink-soft); font-size: var(--t-sm); }
.opt:hover .opt-body { border-color: rgba(65,33,73,.5); }
.opt input:checked + .opt-body { border-color: var(--plum); background: var(--mist); box-shadow: inset 0 0 0 1px var(--plum); }
.opt input:checked + .opt-body::after { content: ""; position: absolute; top: .8rem; right: .8rem; width: 18px; height: 18px; border-radius: 50%; background: var(--lime); box-shadow: inset 0 0 0 4px var(--plum); }
.opt input:focus-visible + .opt-body { outline: 3px solid var(--plum); outline-offset: 2px; }
.mini-bar { display: block; width: 14px; height: calc(var(--cm) * 3px); background: var(--lime); border: 2px solid var(--plum); border-bottom-width: 3px; border-radius: 3px 3px 0 0; margin-bottom: .6rem; align-self: flex-start; }
.sizes-opts .opt-body { justify-content: flex-end; min-height: 150px; }

.field { display: grid; gap: .4rem; margin-top: 1rem; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: var(--t-sm); }
.opt-label { font-weight: 400; color: var(--ink-soft); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; min-height: 50px; padding: .75rem 1rem; border-radius: var(--r-sm);
  border: 2px solid rgba(65,33,73,.22); background: var(--white);
  transition: border-color var(--t-micro);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field textarea:hover { border-color: rgba(65,33,73,.45); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px rgba(192,239,101,.8); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-inline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; }
.counter { justify-self: end; color: var(--ink-soft); font-size: var(--t-xs); }
.hint { margin-top: 1rem; font-size: var(--t-sm); color: var(--ink-soft); }
.field-error { margin-top: .75rem; color: #b3261e; font-weight: 600; font-size: var(--t-sm); }

.stepper { display: inline-flex; align-items: center; border: 2px solid rgba(65,33,73,.22); border-radius: var(--r-pill); overflow: hidden; }
.stepper button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.3rem; cursor: pointer; color: var(--plum); }
.stepper button:hover { background: var(--mist); }
.stepper input { width: 48px; height: 44px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; background: transparent; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.seg { display: inline-flex; background: var(--mist); border-radius: var(--r-pill); padding: 4px; width: 100%; }
.seg label { flex: 1; position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 42px; border-radius: var(--r-pill); font-weight: 600; transition: background var(--t-micro), color var(--t-micro); }
.seg input:checked + span { background: var(--plum); color: var(--lime); }
.seg input:focus-visible + span { outline: 3px solid var(--plum); outline-offset: 2px; }

.consents { display: grid; gap: .9rem; margin-top: 1.5rem; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: .75rem; align-items: start; font-size: var(--t-sm); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--plum); cursor: pointer; }
.check a { color: var(--plum); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.summary { position: relative; }
@media (min-width: 1000px) { .summary { position: sticky; top: 120px; } }
.summary-card { background: var(--plum); color: var(--white); border-radius: var(--r-lg); padding: 1.75rem; }
.summary-card h2 { font-size: var(--t-lg); margin-bottom: 1.25rem; }
.summary-list { margin: 0; display: grid; gap: .6rem; }
.summary-list div { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--t-sm); border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: .6rem; }
.summary-list dt { color: rgba(255,255,255,.65); }
.summary-list dd { margin: 0; font-weight: 600; text-align: right; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; margin: 1.25rem 0; }
.summary-total strong { font-size: 2.25rem; font-weight: 900; color: var(--lime); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.summary-note { margin-top: 1rem; font-size: var(--t-xs); color: rgba(255,255,255,.7); }
.form-status { margin-top: .75rem; font-size: var(--t-sm); font-weight: 600; }
.form-status.is-error { color: #ffb4ab; }

.thanks { max-width: 34rem; margin: 2rem auto 0; text-align: center; background: var(--white); border-radius: var(--r-lg); padding: 2.5rem 1.5rem; }
.thanks-mascot { width: 120px; margin: 0 auto 1rem; }
.thanks h2 { font-size: var(--t-xl); font-weight: 900; }
.thanks p { margin: 1rem 0 1.75rem; color: var(--ink-soft); }
.thanks:focus { outline: none; }

/* Правни страници */
.legal { max-width: 46rem; }
.legal h1 { font-size: var(--t-xl); font-weight: 900; margin-bottom: 1rem; }
.legal h2 { font-size: var(--t-lg); margin: 2rem 0 .75rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p + p { margin-top: .75rem; }
.legal .notice { background: #fff6d6; border-radius: var(--r-sm); padding: 1rem 1.25rem; color: var(--ink); margin-bottom: 1.5rem; }

/* Котвите да не се скриват под закачената навигация */
section[id], [id="step-photo"] { scroll-margin-top: 108px; }

/* =========================================================
   v5: 3D принтерчето в hero печата истинска фигурка
   ========================================================= */
.maker { position: relative; width: 100%; max-width: 540px; margin-inline: auto; }
.maker-svg { width: 100%; height: auto; overflow: visible; }
/* под принтера талисманът разказва какво става */
.maker-talk {
  display: flex; align-items: flex-end; gap: .6rem;
  max-width: 400px; margin: -.5rem auto 0; padding-inline: 1rem;
}
.mt-mascot { flex: 0 0 68px; width: 68px; animation: mt-bob 3s ease-in-out infinite; transform-origin: 50% 100%; }
.mt-mascot svg { width: 100%; height: auto; display: block; }
@keyframes mt-bob { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg) translateY(-3px); } }
.mt-bubble {
  position: relative; flex: 1; display: grid; min-height: 3.4rem; align-items: center;
  margin-bottom: 1.6rem; padding: .7rem 1rem;
  background: var(--white); color: var(--plum);
  border-radius: 18px 18px 18px 4px;
  font: 700 var(--t-sm)/1.35 "Nunito", var(--font);
  box-shadow: 0 12px 26px -12px rgba(0,0,0,.5);
}
.mt-bubble::before {
  content: ""; position: absolute; left: -7px; bottom: 6px; width: 14px; height: 14px;
  background: var(--white); transform: rotate(45deg); border-radius: 2px;
}
.maker-step { grid-area: 1 / 1; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease-pop); }
.maker-step.is-on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .mt-mascot { animation: none; } }

/* талисманът с въртящите се очи */
.mascot-spin .mascot-look { animation: eyes-roll 2.4s linear infinite; }
@keyframes eyes-roll {
  0%    { transform: translate(14px, 0); }
  12.5% { transform: translate(10px, 10px); }
  25%   { transform: translate(0, 14px); }
  37.5% { transform: translate(-10px, 10px); }
  50%   { transform: translate(-14px, 0); }
  62.5% { transform: translate(-10px, -10px); }
  75%   { transform: translate(0, -14px); }
  87.5% { transform: translate(10px, -10px); }
  100%  { transform: translate(14px, 0); }
}
@media (prefers-reduced-motion: reduce) { .mascot-spin .mascot-look { animation: none; } }

/* =========================================================
   Скрол след „Как работи“: преливане на фона, растящи тъмни
   секции и талисманът-пътеводител
   ========================================================= */

/* Фонът зад светлите секции плавно сменя нюанса си */
.flow-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: var(--mist); transition: background-color .9s ease;
}

/* „Как работи“ завършва с мека дъга, под която излиза светлото */
.journey { overflow: clip; border-radius: 0 0 50% 50% / 0 0 clamp(36px, 6vw, 90px) clamp(36px, 6vw, 90px); }

/* Тъмните секции влизат като карта, която се разтяга до краищата */
.js .card-grow {
  clip-path: inset(0 calc((1 - var(--p, 1)) * 4vw) round calc((1 - var(--p, 1)) * 56px));
}

/* Финалът: талисманът изскача, когато стигнеш дотам */
.js .final-mascot { visibility: hidden; }
.js .final-mascot.is-home { visibility: visible; animation: fm-land .55s var(--ease-pop); transform-origin: 50% 100%; }
@keyframes fm-land { 0% { transform: scale(1.08, .86); } 60% { transform: scale(.96, 1.05); } 100% { transform: none; } }
.guide.is-away .guide-body { opacity: 0; }
.guide-flyer { position: absolute; z-index: 60; pointer-events: none; transform-origin: 0 0; }
.guide-flyer svg { width: 100%; height: 100%; display: block; }

/* ---------- Талисманът-пътеводител ---------- */
.guide {
  position: fixed; z-index: 45; left: clamp(12px, 2vw, 28px); bottom: clamp(12px, 2vw, 28px);
  width: 80px; height: 80px; padding: 0; border: 0; background: none; cursor: pointer;
  transform: translateY(calc(100% + 140px)); transition: transform .7s var(--ease-pop);
  -webkit-tap-highlight-color: transparent;
}
.guide.is-shown { transform: none; }
.guide:focus-visible { outline: 3px solid var(--plum); outline-offset: 4px; border-radius: 50%; }

.guide-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.gr-bg { fill: var(--white); filter: drop-shadow(0 8px 14px rgba(36,18,40,.22)); }
.gr-track { fill: none; stroke: rgba(65,33,73,.1); stroke-width: 5; }
.gr-prog { fill: none; stroke: var(--lime-deep); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--prog, 0)); }

.guide-body {
  position: absolute; left: 12%; right: 12%; top: 6%; bottom: 12%;
  transform-origin: 50% 90%; transform: rotate(var(--lean, 0deg));
  transition: transform .35s var(--ease-out);
}
.guide-body svg { width: 100%; height: 100%; display: block; }
.guide.is-hop .guide-body { animation: g-hop .7s var(--ease-pop); }
@keyframes g-hop {
  0% { transform: translateY(0) rotate(var(--lean, 0deg)); }
  35% { transform: translateY(-16px) rotate(-8deg); }
  70% { transform: translateY(0) rotate(5deg) scale(1.04, .96); }
  100% { transform: translateY(0) rotate(var(--lean, 0deg)); }
}
.guide:hover .guide-body { transform: rotate(-6deg) translateY(-3px); }

.guide .guide-bubble {
  font-family: "Nunito", var(--font) !important;
  position: absolute; left: calc(100% + 10px); bottom: 58%;
  width: max-content; max-width: 230px; padding: .65rem .95rem;
  background: var(--plum); color: var(--white); text-align: left;
  font: 600 var(--t-sm)/1.35 var(--font);
  border-radius: 18px 18px 18px 4px;
  box-shadow: 0 10px 24px -8px rgba(36,18,40,.45);
  opacity: 0; transform: translateX(-8px) scale(.85); transform-origin: 0 100%;
  transition: opacity .25s, transform .4s var(--ease-pop);
  pointer-events: none;
}
.guide.is-talking .guide-bubble { opacity: 1; transform: none; }

@media (max-width: 899px) {
  .guide { width: 64px; height: 64px; bottom: calc(1rem + 66px); left: 10px; }
  .guide .guide-bubble { max-width: 200px; font-size: .85rem; bottom: 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .flow-bg { transition: none; }
  .js .card-grow { clip-path: none; }
  .guide, .guide-body, .guide .guide-bubble { transition: none; }
  .guide.is-hop .guide-body { animation: none; }
}

/* ---------- Поводи за подарък ---------- */
.occasions { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.occasion { background: #fff; border-radius: var(--r-md); padding: 1.25rem 1.25rem 1.4rem; border: 2px solid rgba(65,33,73,.08); }
.occasion h3 { font-size: 1.15rem; font-weight: 800; color: var(--plum); margin: 0 0 .4rem; }
.occasion p { margin: 0; color: var(--ink-soft); font-size: var(--t-sm); line-height: 1.5; }
.occasions-cta { margin-top: 2rem; text-align: center; }

/* =========================================================
   Телефон: по-компактно (само до 699px, лаптопът не се променя)
   ========================================================= */
@media (max-width: 699px) {
  :root {
    --t-xs: 0.75rem;
    --t-sm: 0.875rem;
    --t-md: 1rem;
    --t-lg: 1.125rem;
    --t-xl: 1.625rem;
    --t-2xl: 2.2rem;
    --section: 3.25rem;
  }
  body { line-height: 1.5; }

  /* навигация */
  .nav { min-height: 64px; gap: 1rem; }
  .brand .logo-svg { width: 52px; height: 52px; }
  .nav .btn { min-height: 40px; padding: 0 1rem; }

  /* бутони */
  .btn { min-height: 48px; padding: 0 1.3rem; gap: .5rem; }
  .btn-lg { min-height: 54px; padding: 0 1.6rem; gap: .6rem; }
  .btn .btn-eyes i { width: 12px; height: 12px; }
  .btn .btn-eyes i::after { width: 7px; height: 7px; left: 3px; top: 3px; }

  /* hero */
  .hero { padding: 1.5rem 0 2.5rem; }
  .hero-grid { gap: 1.5rem; }
  .hero-kicker { margin-bottom: .6rem; }
  .hero-sub { margin-top: 1rem; }
  .hero-actions { margin-top: 1.5rem; gap: .75rem 1.25rem; }
  .maker { max-width: 340px; }

  /* секции */
  .section-head { margin-bottom: 1.75rem; }
  .section-head p { margin-top: .6rem; }

  /* три стъпки */
  .jstep-1 { --size: 15rem; } .jstep-2 { --size: 14.25rem; } .jstep-3 { --size: 15rem; }
  .jcircle h3 { font-size: 1.1rem; }
  .jcircle p { font-size: .85rem; }

  /* ръст и цени */
  .sizes { --ruler-h: 300px; }
  .size-notes { margin-top: 1.75rem; }

  /* поводи */
  .occasion { padding: 1rem 1rem 1.1rem; }
  .occasion h3 { font-size: 1.05rem; }
}
