:root {
  --milk: #f8f1e8;
  --cream: #f0e4d4;
  --sand: #e3d0b9;
  --latte: #c9a98a;
  --caramel: #a9764a;
  --cocoa: #6a4630;
  --espresso: #34231a;
  --ink: #3b281d;
  --muted: #8a6f5c;
  --radius: 22px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --script: "Pinyon Script", cursive;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--promo-h) + 72px + var(--mq-h) + 16px); overflow-x: clip; }
body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--caramel); font-weight: 400; }
p { margin: 0; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- осенний фон ---------- */
.ambient {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(60vw 55vh at 88% 6%, rgba(222, 175, 122, .42), transparent 70%),
    radial-gradient(55vw 60vh at 2% 42%, rgba(236, 216, 190, .85), transparent 72%),
    radial-gradient(70vw 60vh at 75% 104%, rgba(190, 142, 100, .28), transparent 72%),
    radial-gradient(40vw 40vh at 30% 0%, rgba(255, 247, 232, .9), transparent 70%),
    linear-gradient(180deg, #faf4ea 0%, #f4e9db 48%, #eddcc8 100%);
}
/* бумажное зерно. Обычное наложение: режимы смешивания (mix-blend) при прокрутке слишком дорогие */
.ambient::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .32 0 0 0 0 .22 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* тёплая виньетка по краям, как на плёночном фото */
.ambient::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(ellipse 120% 90% at 50% 40%, transparent 55%, rgba(120, 75, 40, .16) 100%);
}
/* Всё, что движется в фоне, анимируется только через transform/opacity:
   это делает видеокарта, без перерисовки страницы. Мягкие края — градиентом, а не размытием. */
.blob {
  position: absolute; border-radius: 50%; will-change: transform;
  animation: blob 40s ease-in-out infinite alternate;
}
.bl1 { width: 56vmax; height: 46vmax; left: -18vmax; top: 2vh;    background: radial-gradient(closest-side, rgba(205, 135, 80, .26), rgba(205, 135, 80, .10) 60%, transparent); }
.bl2 { width: 50vmax; height: 42vmax; right: -16vmax; top: 34vh;  background: radial-gradient(closest-side, rgba(214, 168, 98, .28), rgba(214, 168, 98, .10) 60%, transparent); animation-delay: -10s; }
.bl3 { width: 48vmax; height: 40vmax; left: 14vw; bottom: -22vmax; background: radial-gradient(closest-side, rgba(176, 108, 66, .18), rgba(176, 108, 66, .06) 60%, transparent); animation-delay: -20s; }
.bl4 { width: 40vmax; height: 34vmax; right: 14vw; top: -16vmax;  background: radial-gradient(closest-side, rgba(232, 196, 148, .38), rgba(232, 196, 148, .12) 60%, transparent); animation-delay: -30s; }
@keyframes blob {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(3vw, -2vh, 0) rotate(8deg) scale(1.08); }
  100% { transform: translate3d(-2vw, 3vh, 0) rotate(-6deg) scale(.95); }
}
/* низкое осеннее солнце с медленно вращающимися лучами */
.sun {
  position: absolute; width: 90vmax; height: 90vmax; right: -38vmax; top: -44vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 160, .62) 0, rgba(246, 192, 120, .28) 22%, rgba(240, 180, 110, .08) 42%, transparent 62%);
}
.sun::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; will-change: transform;
  background: repeating-conic-gradient(from 0deg, rgba(255, 240, 210, .2) 0deg 3deg, transparent 3deg 13deg);
  -webkit-mask-image: radial-gradient(circle, #000 8%, rgba(0, 0, 0, .45) 30%, transparent 58%);
  mask-image: radial-gradient(circle, #000 8%, rgba(0, 0, 0, .45) 30%, transparent 58%);
  animation: spin 160s linear infinite;
}

/* лучи осеннего света из окна: размытие рисуется один раз, дальше двигается готовая картинка */
.beam {
  position: absolute; top: -20vh; width: 16vw; height: 150vh; transform-origin: top center;
  background: linear-gradient(180deg, rgba(255, 240, 212, .5), rgba(255, 240, 212, 0) 85%);
  filter: blur(26px); opacity: .5; will-change: transform, opacity;
  animation: beam 16s ease-in-out infinite alternate;
}
.b1 { left: 52vw; rotate: 24deg; }
.b2 { left: 68vw; rotate: 24deg; width: 9vw; animation-delay: -5s; }
.b3 { left: 30vw; rotate: 24deg; width: 7vw; animation-delay: -9s; opacity: .35; }
@keyframes beam { from { opacity: .22; translate: -2vw 0; } to { opacity: .55; translate: 3vw 0; } }
/* размытые тёплые блики: мягкость даёт сам градиент */
.bokeh {
  position: absolute; border-radius: 50%; opacity: 0; will-change: transform, opacity;
  background: radial-gradient(circle at 35% 35%, rgba(255, 236, 200, .9), rgba(221, 178, 124, .3) 55%, transparent 70%);
  animation: bokeh var(--t) ease-in-out var(--delay) infinite;
}
@keyframes bokeh {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) scale(.9); }
  30%  { opacity: var(--o); }
  70%  { opacity: var(--o); }
  100% { opacity: 0; transform: translate3d(var(--dx), -60px, 0) scale(1.1); }
}

/* сухие ветки и пампасная трава */
.section, .hero { overflow-x: clip; }
.deco {
  position: absolute; z-index: 0; pointer-events: none; opacity: .62;
  transform-origin: 50% 100%; animation: swayd 11s ease-in-out infinite alternate;
}
.deco svg { width: 100%; height: auto; overflow: visible; display: block; }
@keyframes swayd { from { rotate: -1.6deg; } to { rotate: 1.8deg; } }
.deco--hero { left: calc(50% - 780px); bottom: -30px; width: 190px; transform: scaleX(-1) rotate(-6deg); }
@media (max-width: 1300px) { .deco--hero { display: none; } }
.deco--about { right: -30px; bottom: -10px; width: 190px; }
.deco--works { left: -50px; top: 40px; width: 220px; transform: scaleX(-1); }
.deco--price { left: -20px; bottom: -20px; width: 190px; }
.deco--contacts { right: -40px; top: 30px; width: 230px; transform: rotate(8deg); }
.wrap { position: relative; z-index: 1; }

/* волна перед тёмным блоком записи */
.section--dark { margin-top: 56px; }
.section--dark > .wave {
  position: absolute; left: 0; right: 0; top: -55px; height: 56px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath d='M0 56V30C160 6 320 4 480 22s320 34 480 16 320-36 480-12v30z' fill='%234a3122'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* ---------- falling leaves ---------- */
.leaves { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.leaf {
  position: absolute; top: -40px;
  width: var(--s); height: var(--s);
  color: var(--c);
  opacity: .0;
  animation: fall var(--t) linear var(--delay) infinite;
}
.leaf--far { filter: blur(3px); }
.leaf { perspective: 220px; }
.leaf svg {
  width: 100%; height: 100%; overflow: visible;
  animation: flutter var(--sw) ease-in-out var(--delay) infinite alternate;
}
/* лист не просто качается, а переворачивается в воздухе */
@keyframes flutter {
  0%   { transform: translateX(-22px) rotateZ(-28deg) rotateX(8deg)  rotateY(0deg); }
  50%  { transform: translateX(4px)   rotateZ(6deg)   rotateX(48deg) rotateY(40deg); }
  100% { transform: translateX(24px)  rotateZ(32deg)  rotateX(12deg) rotateY(75deg); }
}
.leaf, .leaf svg, .deco, .garland, .hero__glow { will-change: transform; }
@keyframes fall {
  0%   { transform: translate3d(0, -5vh, 0) rotate(0deg); opacity: 0; }
  8%   { opacity: var(--o, .75); }
  92%  { opacity: var(--o, .65); }
  100% { transform: translate3d(var(--dx), 108vh, 0) rotate(var(--rot)); opacity: 0; }
}
/* ---------- гирлянда из листьев у фото ---------- */
.garland {
  position: absolute; z-index: 5; left: -54px; bottom: -34px; width: 250px; pointer-events: none;
  transform-origin: 20% 80%; animation: swayd 7s ease-in-out infinite alternate;
  filter: drop-shadow(0 8px 10px rgba(80, 45, 20, .22));
}
.garland svg { width: 100%; height: auto; display: block; overflow: visible; }

/* ---------- ковёр из листьев внизу страницы ---------- */
.footer { position: relative; overflow: hidden; padding-bottom: 96px !important; }
.footer > :not(.leaf-pile) { position: relative; z-index: 1; }
.leaf-pile { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; pointer-events: none; }
.leaf-pile svg { position: absolute; overflow: visible; filter: drop-shadow(0 2px 2px rgba(80, 45, 20, .2)); }
.leaf-pile::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 70px;
  background: linear-gradient(0deg, rgba(190, 140, 95, .25), transparent);
}

/* ---------- шапка: один закреплённый блок ---------- */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 60; }

/* ---------- верхняя полоска акции ---------- */
:root { --promo-h: 40px; --mq-h: 46px; }
.promo {
  position: relative; z-index: 3; height: var(--promo-h);
  display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 16px;
  background: linear-gradient(90deg, var(--espresso), #5a3a28 50%, var(--espresso));
  color: var(--cream); font-size: 14px; letter-spacing: .02em; text-align: center;
  box-shadow: 0 6px 18px -10px rgba(52, 35, 26, .7);
}
.promo p { margin: 0; line-height: 1.2; }
.promo b { font-weight: 500; color: #f3d9b4; }
.promo__sep { opacity: .5; margin: 0 4px; }
.promo__dot {
  flex: none; width: 8px; height: 8px; border-radius: 50%; background: #e7b46b;
  box-shadow: 0 0 0 0 rgba(231, 180, 107, .7); animation: ping 2s ease-out infinite;
}
@keyframes ping { to { box-shadow: 0 0 0 10px rgba(231, 180, 107, 0); } }
.promo__cta {
  flex: none; padding: 5px 16px; border-radius: 999px; background: var(--cream); color: var(--espresso);
  text-decoration: none; font-size: 13px; font-weight: 500; transition: background .25s, transform .25s var(--ease);
}
.promo__cta:hover { background: #fff; transform: translateY(-1px); }

/* ---------- nav ---------- */
.nav {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px max(20px, calc((100vw - 1160px) / 2));
  transition: background .4s, box-shadow .4s, padding .4s;
}
.nav.scrolled {
  background: rgba(248, 241, 232, .96);
  box-shadow: 0 1px 0 rgba(106, 70, 48, .1);
  padding-block: 9px;
}
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.logo__script { font-family: var(--script); font-size: 34px; color: var(--cocoa); }
.logo__sub { font-size: 9.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-top: -2px; padding-left: 4px; }
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  text-decoration: none; font-size: 14px; letter-spacing: .04em; color: var(--cocoa);
  position: relative; padding: 4px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--caramel);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 999px; border: 0;
  background: var(--cocoa); color: var(--milk);
  font-size: 15px; letter-spacing: .04em; text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s;
  box-shadow: 0 10px 24px -12px rgba(106, 70, 48, .7);
}
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-18deg);
}
.btn:hover { transform: translateY(-2px); background: var(--espresso); box-shadow: 0 16px 28px -14px rgba(52, 35, 26, .8); }
.btn:hover::after { left: 130%; transition: left .8s var(--ease); }
.btn:disabled { background: var(--latte); box-shadow: none; cursor: not-allowed; transform: none; }
.btn:disabled::after { display: none; }
.btn--small { padding: 10px 22px; font-size: 14px; }
.btn--full { width: 100%; }
.btn--ghost { background: transparent; color: var(--cocoa); box-shadow: inset 0 0 0 1.5px var(--cocoa); }
.btn--ghost:hover { background: var(--cocoa); color: var(--milk); }
.btn--ghost-light { background: transparent; color: var(--milk); box-shadow: inset 0 0 0 1.5px rgba(248, 241, 232, .6); }
.btn--ghost-light:hover { background: var(--milk); color: var(--espresso); }

/* ---------- typography helpers ---------- */
.eyebrow { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--caramel); font-weight: 500; margin-bottom: 18px; }
.lead { font-size: 18px; color: var(--muted); max-width: 30em; }
.section { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
.section--tinted { overflow-x: clip; background: linear-gradient(180deg, transparent, rgba(236, 219, 196, .72) 18%, rgba(236, 219, 196, .72) 82%, transparent); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 6vw, 70px); }
.section__head h2, .studio__text h2, .contacts h2 { font-size: clamp(38px, 5.4vw, 66px); }
.section__sub { margin-top: 18px; color: var(--muted); font-size: 17px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: calc(130px + var(--promo-h) + var(--mq-h)) 0 70px; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(201, 169, 138, .45), transparent 62%);
  filter: blur(20px); animation: glow 9s ease-in-out infinite alternate;
}
@keyframes glow { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.1); } }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(46px, 7vw, 92px); margin-bottom: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 36px; padding: 0; margin: 44px 0 0; }
.hero__facts li { display: flex; flex-direction: column; border-left: 1px solid var(--latte); padding-left: 16px; }
.hero__facts b { font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--cocoa); line-height: 1.1; }
.hero__facts span { font-size: 13px; color: var(--muted); }

.hero__visual { position: relative; justify-self: center; width: min(100%, 440px); }
.arch {
  position: relative; z-index: 2;
  border-radius: 999px 999px 28px 28px;
  overflow: hidden; aspect-ratio: 4 / 5.2;
  box-shadow: 0 40px 70px -30px rgba(106, 70, 48, .55);
  animation: float 7s ease-in-out infinite;
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.06); }
.arch--back {
  position: absolute; inset: 22px -22px -22px 22px; z-index: 1; animation: none; box-shadow: none;
  background: linear-gradient(160deg, var(--sand), var(--latte)); aspect-ratio: auto;
}
@keyframes float { 50% { transform: translateY(-12px); } }
.badge {
  position: absolute; z-index: 4; left: -46px; bottom: 60px; width: 118px; height: 118px;
  background: var(--milk); border-radius: 50%; padding: 4px; color: var(--cocoa);
  box-shadow: 0 14px 30px -14px rgba(52, 35, 26, .5);
  animation: spin 24s linear infinite;
}
.badge text { font-size: 9.6px; letter-spacing: .14em; text-transform: uppercase; fill: var(--cocoa); font-family: var(--sans); }
.badge use { color: var(--caramel); }
@keyframes spin { to { transform: rotate(360deg); } }
.chip {
  position: absolute; z-index: 4; padding: 9px 18px; border-radius: 999px;
  background: rgba(248, 241, 232, .96);
  font-size: 13px; letter-spacing: .04em; color: var(--cocoa);
  box-shadow: 0 10px 22px -12px rgba(52, 35, 26, .45);
}
.chip--a { top: 12%; right: -28px; animation: bob 5s ease-in-out infinite; }
.chip--b { top: 46%; right: -42px; animation: bob 6s ease-in-out -2s infinite; }
.chip--c { bottom: 8%; right: -8px; animation: bob 5.5s ease-in-out -3s infinite; }
@keyframes bob { 50% { transform: translateY(-9px); } }

/* ---------- marquee ---------- */
.marquee {
  position: relative; z-index: 1; height: var(--mq-h);
  display: flex; align-items: center; overflow: hidden;
  background: var(--cocoa); color: var(--cream); box-shadow: 0 8px 18px -12px rgba(52, 35, 26, .6);
}
.marquee__track { display: flex; align-items: center; justify-content: center; gap: 28px; width: 100%; padding: 0 16px; font-family: var(--serif); font-size: 21px; font-style: italic; white-space: nowrap; }
.marquee__track i { width: 7px; height: 7px; background: var(--latte); transform: rotate(45deg); flex: none; }

/* ---------- about ---------- */
.about { overflow-x: clip; }
.about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.about__photo { position: relative; justify-self: center; width: min(100%, 440px); }
.about__frame {
  position: relative; z-index: 2; border-radius: 220px 220px 28px 28px; overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: 0 40px 70px -30px rgba(106, 70, 48, .55);
}
.about__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 20%; transition: transform 1.4s var(--ease); }
.about__photo:hover .about__frame img { transform: scale(1.04); }
.about__photo::before {
  content: ""; position: absolute; z-index: 1; inset: -16px 22px 26px -22px; border-radius: 236px 236px 36px 36px;
  border: 1.5px solid var(--latte);
}
.about__tag {
  position: absolute; z-index: 3; right: -26px; bottom: 34px; max-width: 250px;
  display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 18px;
  background: rgba(250, 244, 236, .97);
  box-shadow: 0 16px 34px -16px rgba(52, 35, 26, .5); animation: bob 6s ease-in-out infinite;
}
.about__tag svg { flex: none; width: 22px; height: 22px; color: var(--caramel); }
.about__tag span { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.about__tag b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--cocoa); }
.about__text h2 { font-size: clamp(38px, 5.4vw, 66px); margin-bottom: 22px; }
.about__p { margin-top: 16px; color: var(--ink); opacity: .85; max-width: 34em; }
.about__cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 32px; }
.about__sign { font-family: var(--script); font-size: 46px; color: var(--caramel); line-height: 1; }

/* ---------- works / compare ---------- */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 3vw, 34px); }
.work { margin: 0; }
.cmp {
  --pos: 50%;
  position: relative; aspect-ratio: 1170 / 1040; overflow: hidden; border-radius: var(--radius);
  background: var(--sand); user-select: none; -webkit-user-select: none;
  box-shadow: 0 30px 50px -30px rgba(106, 70, 48, .5);
}
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cmp__after { clip-path: inset(0 0 0 var(--pos)); }
.cmp__line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: var(--milk); box-shadow: 0 0 14px rgba(0, 0, 0, .3); pointer-events: none;
}
.cmp__knob {
  position: absolute; top: 50%; left: var(--pos); width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; background: var(--milk); color: var(--cocoa);
  display: grid; place-items: center; font-size: 15px; letter-spacing: -2px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .3); pointer-events: none;
  transition: transform .3s var(--ease);
}
.cmp:hover .cmp__knob, .cmp.drag .cmp__knob { transform: scale(1.12); }
.cmp input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y;
  -webkit-appearance: none; appearance: none;
}
.tag {
  position: absolute; top: 14px; padding: 5px 14px; border-radius: 999px; pointer-events: none;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  background: rgba(52, 35, 26, .68); color: var(--milk);
}
.tag--b { left: 14px; } .tag--a { right: 14px; background: rgba(248, 241, 232, .85); color: var(--cocoa); }
.work figcaption { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 6px 0; font-size: 14px; color: var(--muted); }
.work figcaption b { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--cocoa); }

/* ---------- studio ---------- */
.studio { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.studio__video { position: relative; justify-self: center; width: min(100%, 340px); }
.phone {
  position: relative; z-index: 2; aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden;
  background: var(--espresso); border: 8px solid var(--espresso);
  box-shadow: 0 40px 70px -30px rgba(52, 35, 26, .7);
}
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
.phone__toggle {
  position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(248, 241, 232, .85); color: var(--cocoa); display: grid; place-items: center;
  transition: transform .3s var(--ease);
}
.phone__toggle:hover { transform: scale(1.1); }
.phone__toggle .ic-play { display: none; }
.phone.paused .ic-play { display: block; } .phone.paused .ic-pause { display: none; }
.studio__ring {
  position: absolute; z-index: 1; inset: -22px -26px 30px 26px; border-radius: 40px;
  border: 1.5px solid var(--latte); animation: float 8s ease-in-out infinite;
}
.studio__text h2 { margin-bottom: 22px; }
.feats { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 20px; }
.feats li { display: flex; gap: 16px; align-items: flex-start; }
.feats svg { flex: none; width: 24px; height: 24px; color: var(--caramel); margin-top: 3px; }
.feats b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.2; }
.feats span { color: var(--muted); font-size: 15px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; }
.gallery:not(:has(img)) { display: none; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; transition: transform .6s var(--ease); }
.gallery img:hover { transform: translateY(-6px) rotate(-1deg); }

/* ---------- price ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.pcard {
  position: relative; padding: 34px 30px 30px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--cream), var(--sand));
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .5s var(--ease), box-shadow .5s;
}
.pcard:hover { transform: translateY(-8px); box-shadow: 0 34px 50px -30px rgba(106, 70, 48, .6); }
.pcard--top { background: linear-gradient(160deg, var(--cocoa), var(--espresso)); color: var(--cream); }
.pcard--top p, .pcard--top .pcard__dur { color: rgba(240, 228, 212, .75); }
.pcard__star { width: 28px; height: 28px; color: var(--caramel); }
.pcard h3 { font-size: 27px; line-height: 1.12; }
.pcard p { color: var(--muted); font-size: 15px; flex: 1; }
.pcard__dur { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pcard__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.pcard__was { display: flex; flex-direction: column; line-height: 1.1; }
.pcard__was small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .6; }
.pcard__old { text-decoration: line-through; text-decoration-thickness: 1.5px; opacity: .6; font-family: var(--serif); font-size: 26px; }
.pcard__price.pcard__price--free { font-size: 25px; padding: 9px 22px; letter-spacing: .01em; }
.pcard__price { font-family: var(--serif); font-size: 34px; padding: 6px 24px; border-radius: 999px; background: var(--cocoa); color: var(--milk); line-height: 1.2; }
.pcard--top .pcard__price { background: var(--latte); color: var(--espresso); }
.pcard .btn { margin-top: 8px; }
.pcard--top .btn { background: var(--milk); color: var(--espresso); }

/* ---------- booking ---------- */
.section--dark { background: radial-gradient(120% 90% at 20% 0%, #4d3324, var(--espresso)); color: var(--cream); overflow: visible; }
.section--dark::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 138, .22), transparent 65%);
}
.section__head--light h2 { color: var(--milk); }
.section__head--light .section__sub { color: rgba(240, 228, 212, .7); }
.book {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(22px, 3vw, 40px);
  background: var(--milk); color: var(--ink); border-radius: 30px; padding: clamp(22px, 3.4vw, 46px);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .6);
}
.step + .step { margin-top: 34px; }
.step h3 { display: flex; align-items: center; gap: 12px; font-size: 26px; margin-bottom: 16px; }
.step h3 span {
  width: 30px; height: 30px; border-radius: 50%; background: var(--cocoa); color: var(--milk);
  font-family: var(--sans); font-size: 14px; display: grid; place-items: center; flex: none;
}
.svc { display: grid; gap: 10px; }
.svc button {
  text-align: left; width: 100%; padding: 14px 18px; border-radius: 16px; border: 1.5px solid var(--sand);
  background: #fff9f1; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.svc button:hover { border-color: var(--latte); transform: translateX(3px); }
.svc button[aria-checked="true"] { border-color: var(--cocoa); background: var(--cream); box-shadow: inset 0 0 0 1px var(--cocoa); }
.svc b { display: block; font-weight: 500; font-size: 16px; line-height: 1.3; }
.svc small { color: var(--muted); font-size: 13px; }
.svc em { font-style: normal; font-family: var(--serif); font-size: 24px; color: var(--cocoa); white-space: nowrap; }

.cal { background: #fff9f1; border: 1.5px solid var(--sand); border-radius: 18px; padding: 16px; }
.cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cal__head b { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.cal__nav { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--cream); font-size: 20px; line-height: 1; transition: background .2s; }
.cal__nav:hover:not(:disabled) { background: var(--sand); }
.cal__nav:disabled { opacity: .35; cursor: default; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__dow span { font-size: 12px; color: var(--muted); letter-spacing: .08em; padding: 4px 0; }
.cal__grid button {
  aspect-ratio: 1; border: 0; border-radius: 12px; background: transparent; font-size: 15px;
  transition: background .2s, color .2s, transform .2s;
}
.cal__grid button:hover:not(:disabled) { background: var(--cream); transform: scale(1.06); }
.cal__grid button:disabled { color: #c9b7a5; cursor: default; text-decoration: line-through; text-decoration-color: transparent; }
.cal__grid button.today { box-shadow: inset 0 0 0 1.5px var(--latte); }
.cal__grid button.wkend:not(:disabled) { color: var(--caramel); font-weight: 500; }
.cal__grid button.sel { background: var(--cocoa) !important; color: var(--milk) !important; transform: scale(1.06); }

.hint { color: var(--muted); font-size: 15px; margin-bottom: 4px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; margin-top: 12px; }
.slots button {
  padding: 11px 0; border-radius: 12px; border: 1.5px solid var(--sand); background: #fff9f1; font-size: 15px;
  animation: pop .45s var(--ease) both; animation-delay: calc(var(--i) * 28ms);
  transition: border-color .2s, background .2s, color .2s;
}
.slots button:hover { border-color: var(--caramel); }
.slots button.sel { background: var(--cocoa); border-color: var(--cocoa); color: var(--milk); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.94); } }

.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 5px; letter-spacing: .03em; }
.field em { font-style: normal; opacity: .7; }
.field input {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--sand);
  background: #fff9f1; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: 0; border-color: var(--caramel); box-shadow: 0 0 0 4px rgba(169, 118, 74, .15); }
.field input.bad { border-color: #b0493a; }
.summary { margin: 16px 0; padding: 14px 18px; border-radius: 16px; background: var(--cream); font-size: 15px; line-height: 1.55; }
.summary b { font-weight: 500; }
.form-error { color: #b0493a; font-size: 14px; margin-bottom: 10px; }
.fine { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }

.done {
  grid-column: 1 / -1; position: absolute; inset: 0; z-index: 5; border-radius: 30px; background: var(--milk);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 30px;
}
.done[hidden] { display: none; }
.done h3 { font-size: clamp(38px, 5vw, 56px); }
.done p { color: var(--muted); max-width: 30em; font-size: 17px; }
.done p b { color: var(--cocoa); font-weight: 500; }
.done__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 10px; }
.done .btn--ghost-light { color: var(--cocoa); box-shadow: inset 0 0 0 1.5px var(--cocoa); }
.done .btn--ghost-light:hover { background: var(--cocoa); color: var(--milk); }
.done__check { width: 84px; height: 84px; }
.done__check circle { stroke: var(--caramel); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .8s var(--ease) forwards; }
.done__check path { stroke: var(--cocoa); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- contacts ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.contact-list { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list svg { flex: none; width: 24px; height: 24px; color: var(--caramel); margin-top: 3px; }
.contact-list b { display: block; font-weight: 500; font-size: 17px; }
.contact-list span, .contact-list a { color: var(--muted); font-size: 15px; }
.contacts__card {
  position: relative; border-radius: var(--radius); padding: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 60px);
  background: linear-gradient(150deg, var(--sand), var(--latte)); min-height: 300px;
  display: flex; align-items: center; overflow: hidden;
}
.contacts__card .script { font-family: "Marck Script", var(--script); font-size: clamp(34px, 4.4vw, 52px); line-height: 1.25; color: var(--espresso); position: relative; z-index: 1; }
.contacts__spark { position: absolute; right: -30px; bottom: -30px; width: 200px; height: 200px; color: rgba(255, 255, 255, .3); animation: spin 40s linear infinite; }

.footer { text-align: center; padding: 46px 20px 56px; color: var(--muted); font-size: 14px; }
.footer .logo__script { font-size: 42px; display: block; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .hero { padding-top: calc(110px + var(--promo-h) + var(--mq-h)); }
  .hero__grid, .studio, .contacts, .about__grid { grid-template-columns: 1fr; }
  .about__tag { right: -10px; }
  .hero__visual { width: min(86%, 380px); margin-top: 20px; }
  .badge { left: -22px; width: 96px; height: 96px; }
  .chip--a, .chip--b, .chip--c { right: -12px; }
  .book { grid-template-columns: 1fr; }
  .prices { grid-template-columns: 1fr; }
  .studio__text { order: -1; }
}
@media (max-width: 720px) {
  :root { --promo-h: 44px; --mq-h: 38px; }
  .promo { font-size: 12.5px; gap: 10px; padding: 0 12px; }
  .promo__cta { display: none; }
  .promo__sep { display: none; }
  .promo__time { display: block; font-size: 11.5px; opacity: .8; }
  .deco { opacity: .4; }
  .deco--hero, .deco--works, .deco--price, .deco--about, .deco--contacts { width: 130px; }
  .beam { width: 30vw; }
  .garland { width: 170px; left: -26px; bottom: -24px; }
  .leaf-pile { height: 80px; }
  .footer { padding-bottom: 76px !important; }
  .works { grid-template-columns: 1fr; }
  .lead { font-size: 17px; }
  .marquee__track { font-size: 15.5px; gap: 12px; }
  .marquee__track i { width: 5px; height: 5px; }
  .mq-wide { display: none; }
}
@media (max-width: 420px) {
  .nav { padding-inline: 16px; }
  .wrap { width: min(1160px, 100% - 32px); }
  .gallery { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .leaves { display: none; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- переключатель языков ---------- */
.nav__end { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: rgba(106, 70, 48, .08); }
.lang button {
  border: 0; background: transparent; padding: 6px 10px; border-radius: 999px;
  font-size: 12px; letter-spacing: .08em; color: var(--muted); font-weight: 500; transition: background .25s, color .25s;
}
.lang button:hover { color: var(--cocoa); }
.lang button[aria-pressed="true"] { background: var(--cocoa); color: var(--milk); }
@media (max-width: 420px) {
  .nav__end { gap: 8px; }
  .lang button { padding: 5px 7px; font-size: 11px; }
  .nav .btn--small { padding: 9px 14px; font-size: 13px; }
}

/* ---------- запись: заголовки шагов, ловушка, Telegram ---------- */
.step h3 i { font-style: normal; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done__tg { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 6px; }
.done__tg[hidden] { display: none; }
.done__tg small { color: var(--muted); font-size: 13px; }
.btn--tg { background: #2aa3de; box-shadow: 0 10px 24px -12px rgba(42, 163, 222, .8); }
.btn--tg:hover { background: #1f8fc4; }

/* ---------- подсказка под полем телефона ---------- */
.field__err { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: #b0493a; }
.field__err[hidden] { display: none; }
