/* ============ Cinematic Chocolate ============ */
:root {
  --bg: #1E1410;
  --bg2: #3B2A20;
  --caramel: #C08A5B;
  --gold: #D4A95F;
  --cream: #F3E9DC;
  --muted: rgba(243, 233, 220, 0.68);
  --line: rgba(212, 169, 95, 0.22);
  --card: rgba(59, 42, 32, 0.55);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(16px, 5vw, 64px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font: 300 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lock, body.menu-open { overflow: hidden; }
/* Плёночное зерно */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
p { margin: 0; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; }
.sec { padding: clamp(96px, 13vw, 176px) 0; position: relative; }
.sec-alt { background: linear-gradient(180deg, var(--bg) 0%, #2a1c15 18%, #2a1c15 82%, var(--bg) 100%); }
.kicker {
  font: 500 12px/1 var(--sans);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.h2 {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  max-width: 16ch;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.lead { font-size: clamp(17px, 1.8vw, 20px); color: var(--muted); max-width: 60ch; }

/* ============ Кнопки ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  font: 500 15px/1.2 var(--sans);
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--bg);
  background: linear-gradient(135deg, #E2BC78 0%, var(--gold) 45%, var(--caramel) 100%);
  box-shadow: 0 10px 34px -12px rgba(212, 169, 95, 0.55);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background-color 0.3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -14px rgba(212, 169, 95, 0.75); }
.btn-ghost {
  color: var(--cream);
  background: rgba(30, 20, 16, 0.25);
  border: 1px solid rgba(243, 233, 220, 0.4);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); box-shadow: none; }
.btn-small { min-height: 42px; padding: 0 22px; font-size: 14px; }
.btn-wide { width: 100%; }

/* ============ Занавес ============ */
.curtain { position: fixed; inset: 0; z-index: 200; background: #0c0806; cursor: pointer; }
.curtain.done { opacity: 0; pointer-events: none; }
.intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; transform: scale(1.08); transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1); }
.playing .intro-video { transform: scale(1); }
.intro-tap {
  position: absolute;
  left: 50%;
  top: calc(50% + 64px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font: 500 12px/1 var(--sans);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--cream);
  opacity: 0;
  transition: opacity 0.8s;
}
.intro-tap i { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); animation: ring 2s ease-out infinite; }
.intro-tap span { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8); }
.waiting .intro-tap { opacity: 0.92; }
.playing .intro-tap { opacity: 0; transition-duration: 0.3s; }
.intro-skip {
  position: absolute;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(243, 233, 220, 0.3);
  background: rgba(30, 20, 16, 0.4);
  backdrop-filter: blur(6px);
  font: 500 12px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  transition: border-color 0.3s, color 0.3s;
}
.intro-skip:hover { border-color: var(--gold); color: var(--gold); }
/* Шторы: фото ткани, сверху — свет и тени сцены */
.curtain-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 51%;
  overflow: hidden;
  background: #2a170f;
  will-change: transform;
  transition: transform 2.6s cubic-bezier(0.65, 0, 0.25, 1), filter 2.6s ease;
}
.cloth {
  position: absolute;
  inset: -2% 0;
  background: url('curtain.jpg') center / cover no-repeat;
  filter: contrast(1.06) saturate(1.08);
}
/* Правое полотно — зеркальное, чтобы шторы сходились симметрично, как настоящая пара */
.curtain-panel.right .cloth { transform: scaleX(-1); }
.curtain-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* тень под карнизом и у пола */
    linear-gradient(180deg, rgba(8, 4, 2, 0.75) 0%, rgba(8, 4, 2, 0.15) 14%, transparent 30%, transparent 70%, rgba(8, 4, 2, 0.35) 90%, rgba(8, 4, 2, 0.7) 100%),
    /* тёплый свет рампы снизу по центру */
    radial-gradient(90% 55% at var(--lx) 108%, rgba(232, 170, 110, 0.28), transparent 70%);
}
.curtain-panel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18%;
}
.curtain-panel.left { left: 0; transform-origin: 0 50%; --lx: 100%; }
.curtain-panel.right { right: 0; transform-origin: 100% 50%; --lx: 0%; }
/* Глубокая тень там, где полотна сходятся */
.curtain-panel.left::after { right: 0; background: linear-gradient(90deg, transparent, rgba(6, 3, 2, 0.55)); }
.curtain-panel.right::after { left: 0; background: linear-gradient(270deg, transparent, rgba(6, 3, 2, 0.55)); }
.curtain-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font: 500 clamp(22px, 4vw, 40px)/1 var(--serif);
  letter-spacing: 0.32em;
  white-space: nowrap;
  color: var(--gold);
  text-shadow: 0 0 40px rgba(212, 169, 95, 0.5);
  animation: glow 1.4s var(--ease) both;
  transition: opacity 0.6s;
}
.curtain-logo span, .logo span { font-style: italic; font-weight: 400; color: var(--cream); }
@keyframes glow { from { opacity: 0; letter-spacing: 0.6em; } }
.curtain-open .curtain-logo { opacity: 0; }
/* Ткань собирается к краям: складки сжимаются, полотно уходит за кулисы */
.curtain-open .curtain-panel.left { transform: translateX(-100%) scaleX(0.42); filter: brightness(0.8); }
.curtain-open .curtain-panel.right { transform: translateX(100%) scaleX(0.42); filter: brightness(0.8); }

/* Плавный переход от заставки к сайту */
.curtain { transition: opacity 2.4s cubic-bezier(0.4, 0, 0.2, 1); }
.curtain.done .intro-video { transform: scale(1.07); filter: blur(5px) brightness(1.12); transition: transform 2.6s ease-out, filter 2.4s ease-out; }
.curtain.done .intro-skip { opacity: 0; transition: opacity 0.5s; }

/* ============ Шапка ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
  padding-top: max(18px, env(safe-area-inset-top));
  transition: background-color 0.5s, padding 0.5s var(--ease), border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(30, 20, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
  padding-top: max(12px, env(safe-area-inset-top));
  padding-bottom: 12px;
}
.logo { font: 600 17px/1 var(--serif); letter-spacing: 0.24em; white-space: nowrap; color: var(--gold); }
.nav { display: flex; gap: clamp(16px, 2.4vw, 34px); font-size: 14px; }
.nav a { color: var(--muted); transition: color 0.3s; position: relative; white-space: nowrap; }
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.5s var(--ease);
}
.nav a:hover { color: var(--cream); }
.nav a:hover::after { transform: scaleX(1); }
.header-right { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; align-items: center; gap: 6px; font: 500 12px/1 var(--sans); letter-spacing: 0.12em; color: rgba(243, 233, 220, 0.3); }
.lang button { padding: 8px 4px; color: var(--muted); transition: color 0.3s; }
.lang button[aria-pressed='true'] { color: var(--gold); }
.lang button:hover { color: var(--cream); }
.lang-mobile, .burger { display: none; }

/* ============ 1. Первый экран ============ */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.hero-media {
  position: absolute;
  inset: -6% 0 -6% 0;
  transform: translate3d(0, var(--py, 0), 0);
  will-change: transform;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.16);
  filter: saturate(0.9) contrast(1.05);
  transition: transform 9s cubic-bezier(0.16, 1, 0.3, 1);
}
.ready .hero-video { transform: scale(1.03); }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 30%, rgba(30, 20, 16, 0.75) 100%),
    linear-gradient(180deg, rgba(30, 20, 16, 0.55) 0%, rgba(30, 20, 16, 0.1) 30%, rgba(30, 20, 16, 0.55) 62%, var(--bg) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter) clamp(110px, 15vh, 150px);
  max-width: 1100px;
}
.hero-title {
  font-size: clamp(42px, 8.4vw, 116px);
  line-height: 1;
  letter-spacing: -0.015em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.45);
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-sub {
  margin: 26px auto 40px;
  max-width: 34ch;
  font-size: clamp(16px, 1.7vw, 20px);
  color: rgba(243, 233, 220, 0.85);
}
.hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero-in { opacity: 0; transform: translateY(28px); filter: blur(6px); }
.ready .hero-in {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity 1.4s var(--ease), transform 1.4s var(--ease), filter 1.4s var(--ease);
  transition-delay: calc(var(--d) * 0.16s + 0.1s);
}
.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-cue i { width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ============ Появление ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
  transition-delay: calc(var(--d, 0) * 0.12s);
}
[data-reveal].in { opacity: 1; transform: none; }
.founder-photo[data-reveal].in { transform: translate3d(0, var(--py, 0), 0); }
/* Медленное увеличение кадров */
.zoom { overflow: hidden; }
.zoom > * { transform: scale(1.14); transition: transform 2.8s cubic-bezier(0.16, 1, 0.3, 1); }
.in .zoom > * { transform: scale(1); }
@media (hover: hover) {
  .card:hover .zoom > *, .work:hover .zoom > * { transform: scale(1.05); transition-duration: 1.4s; }
}

/* ============ 2. Что мы создаём ============ */
.what-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.card { display: flex; flex-direction: column; }
.card:nth-child(even) { margin-top: 64px; }
.card-media { aspect-ratio: 3 / 4; border-radius: 18px; background: var(--bg2); position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, transparent 55%, rgba(30, 20, 16, 0.6)); box-shadow: inset 0 0 0 1px var(--line); }
.card-body { padding: 24px 4px 0; }
.card-num { font: italic 400 15px/1 var(--serif); color: var(--gold); }
.card h3 { font-size: clamp(22px, 2vw, 27px); line-height: 1.2; margin: 12px 0 10px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* Нарисованные кадры для мультфильма и сказки */
.art { width: 100%; height: 100%; position: relative; overflow: hidden; }
.art-cartoon { background: radial-gradient(circle at 70% 28%, #F6D9A1 0 9%, transparent 9.5%), linear-gradient(180deg, #E7B77A 0%, #C08A5B 55%, #6E4A33 100%); }
.art-cartoon::before {
  content: '';
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -18%;
  height: 46%;
  border-radius: 50%;
  background: #4B3123;
  box-shadow: 120px -40px 0 -10px #5A3B29;
}
.art-cartoon i { position: absolute; border-radius: 50% 50% 48% 52%; background: var(--cream); opacity: 0.9; animation: float 7s ease-in-out infinite; }
.art-cartoon i::after { content: ''; position: absolute; left: 50%; top: 100%; width: 1px; height: 46px; background: rgba(243, 233, 220, 0.6); }
.art-cartoon i:nth-child(1) { width: 34px; height: 42px; left: 22%; top: 30%; background: #F3E9DC; }
.art-cartoon i:nth-child(2) { width: 28px; height: 35px; left: 38%; top: 22%; background: #D4A95F; animation-delay: -2s; }
.art-cartoon i:nth-child(3) { width: 24px; height: 30px; left: 30%; top: 44%; background: #9E5F3C; animation-delay: -4s; }
.art-tale { background: radial-gradient(120% 80% at 50% 110%, #5a3825 0%, #2a1a12 45%, #140d0a 100%); }
.art-tale b {
  position: absolute;
  right: 22%;
  top: 18%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: -14px 10px 0 0 var(--gold);
  filter: drop-shadow(0 0 18px rgba(212, 169, 95, 0.6));
}
.art-tale i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--cream); animation: twinkle 3s ease-in-out infinite; }
.art-tale i:nth-of-type(1) { left: 18%; top: 22%; }
.art-tale i:nth-of-type(2) { left: 34%; top: 40%; animation-delay: -1s; }
.art-tale i:nth-of-type(3) { left: 60%; top: 52%; animation-delay: -2s; }
.art-tale i:nth-of-type(4) { left: 26%; top: 60%; animation-delay: -0.5s; width: 2px; height: 2px; }
.art-tale i:nth-of-type(5) { left: 76%; top: 38%; animation-delay: -1.6s; }
.art-tale::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 12%;
  width: 70%;
  height: 34%;
  transform: translateX(-50%);
  background:
    linear-gradient(#1a100b, #1a100b) 18% 100% / 12% 70% no-repeat,
    linear-gradient(#1a100b, #1a100b) 50% 100% / 18% 100% no-repeat,
    linear-gradient(#1a100b, #1a100b) 82% 100% / 12% 60% no-repeat,
    linear-gradient(#1a100b, #1a100b) 50% 100% / 100% 34% no-repeat;
  clip-path: polygon(0 100%, 0 40%, 12% 30%, 24% 40%, 24% 66%, 41% 66%, 41% 12%, 50% 0, 59% 12%, 59% 66%, 76% 66%, 76% 46%, 88% 36%, 100% 46%, 100% 100%);
}
@keyframes float { 50% { transform: translateY(-12px) rotate(3deg); } }
@keyframes twinkle { 50% { opacity: 0.2; } }

/* ============ 3. Как это работает ============ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); position: relative; }
.steps::before { content: ''; position: absolute; top: 32px; left: 32px; right: 12%; height: 1px; background: linear-gradient(90deg, var(--gold), var(--line) 70%, transparent); }
.step-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--bg);
  font: italic 400 26px/1 var(--serif);
  color: var(--gold);
  margin-bottom: 28px;
}
.step h3 { font-size: clamp(21px, 1.9vw, 25px); line-height: 1.25; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 15.5px; max-width: 28ch; }

/* ============ 4. Портфолио ============ */
.works { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.work {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg2);
  text-align: left;
  box-shadow: inset 0 0 0 1px var(--line);
}
.work-wide { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.work-media, .work-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(30, 20, 16, 0.85)); pointer-events: none; }
.work-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  display: grid;
  place-items: center;
  padding-left: 4px;
  border-radius: 50%;
  color: var(--bg);
  background: rgba(212, 169, 95, 0.92);
  box-shadow: 0 0 0 0 rgba(212, 169, 95, 0.45);
  transition: transform 0.6s var(--ease);
  animation: ring 2.8s ease-out infinite;
}
.work:hover .work-play { transform: scale(1.1); }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(212, 169, 95, 0.45); } 100% { box-shadow: 0 0 0 26px rgba(212, 169, 95, 0); } }
.work-info { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 26px; display: flex; flex-direction: column; gap: 6px; }
.work-info small { font: 500 11px/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.work-info strong { font: 400 clamp(24px, 3vw, 38px)/1.1 var(--serif); }
.work-yours {
  display: grid;
  place-items: center;
  text-align: center;
  background: radial-gradient(80% 60% at 50% 40%, rgba(212, 169, 95, 0.18), transparent 70%), var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  border: 1px dashed rgba(212, 169, 95, 0.4);
}
.work-yours::after { display: none; }
.work-yours-in { padding: 32px; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.work-yours strong { font: italic 400 clamp(26px, 3vw, 40px)/1.15 var(--serif); max-width: 12ch; }
.link { color: var(--gold); font-size: 15px; letter-spacing: 0.04em; }

/* ============ 5. Цены ============ */
.pilot {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: -40px 0 56px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(212, 169, 95, 0.08);
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.pilot-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: ring 2.2s ease-out infinite; flex: none; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 3vw, 44px);
  border-radius: 24px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.plan-top { background: linear-gradient(170deg, #4a3427 0%, var(--bg2) 100%); box-shadow: inset 0 0 0 1px var(--gold), 0 30px 80px -40px rgba(212, 169, 95, 0.5); }
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--bg);
  font: 600 11px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan h3 { font-size: clamp(25px, 2.4vw, 32px); line-height: 1.15; }
.plan-len { color: var(--gold); font-size: 14px; margin-top: 8px; letter-spacing: 0.04em; }
.plan-price { font: 400 clamp(30px, 3vw, 40px)/1.1 var(--serif); margin: 30px 0 26px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.plan-price-req { font-style: italic; font-size: clamp(24px, 2.4vw, 30px); color: var(--cream); }
.plan ul { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 14px; flex: 1; }
.plan li { position: relative; padding-left: 26px; color: var(--muted); font-size: 15.5px; }
.plan li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 12px; height: 1px; background: var(--gold); }

/* ============ 6. Отзывы ============ */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.review { margin: 0; padding: 36px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.review img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; }
.review blockquote { margin: 0 0 20px; font: italic 400 20px/1.5 var(--serif); }
.review figcaption { color: var(--gold); font-size: 14px; letter-spacing: 0.04em; }
.review-empty { grid-column: 1 / -1; max-width: 760px; text-align: center; margin: 0 auto; padding: clamp(40px, 6vw, 72px); background: transparent; }
.review-empty .quote { display: block; font: 400 110px/0.6 var(--serif); color: var(--gold); opacity: 0.6; height: 50px; }
.review-empty blockquote { font-size: clamp(21px, 2.4vw, 28px); color: var(--muted); margin: 0; }

/* ============ 7. Об основателе ============ */
.founder-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.founder-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 24px 24px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(70% 55% at 50% 35%, rgba(212, 169, 95, 0.28), transparent 70%), linear-gradient(180deg, var(--bg2), #24170f);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 100px -50px rgba(0, 0, 0, 0.8);
  will-change: transform;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.monogram { font: italic 400 clamp(120px, 16vw, 220px)/1 var(--serif); color: var(--gold); opacity: 0.75; }
.founder-copy .h2 { margin-bottom: 36px; max-width: 14ch; font-size: clamp(34px, 4.6vw, 58px); }
.founder-copy .lead { margin-bottom: 20px; color: rgba(243, 233, 220, 0.82); }
.sign { font: italic 400 clamp(36px, 4vw, 48px)/1 var(--serif); color: var(--gold); margin-top: 32px; }

/* ============ 8. FAQ ============ */
.faq { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  text-align: left;
  font: 400 clamp(19px, 2vw, 24px)/1.35 var(--serif);
  transition: color 0.3s;
}
.qa button:hover { color: var(--gold); }
.qa button i { position: relative; flex: none; width: 18px; height: 18px; }
.qa button i::before, .qa button i::after { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: var(--gold); transition: transform 0.5s var(--ease); }
.qa button i::after { transform: rotate(90deg); }
.qa.open button i::after { transform: rotate(0); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.qa-a > div { overflow: hidden; }
.qa-a p { padding: 0 48px 30px 0; color: var(--muted); }
.qa.open .qa-a { grid-template-rows: 1fr; }

/* ============ 9. Форма ============ */
.order .lead { margin: -60px 0 48px; }
.form { display: grid; gap: 22px; padding: clamp(24px, 4vw, 48px); border-radius: 28px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 10px; font-size: 14px; color: var(--muted); letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 56px;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1px solid rgba(243, 233, 220, 0.16);
  background: rgba(30, 20, 16, 0.6);
  color: var(--cream);
  font: 400 16px/1.4 var(--sans);
  transition: border-color 0.3s, background-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23D4A95F' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
.field select option { background: var(--bg); color: var(--cream); }
.field input::placeholder, .field textarea::placeholder { color: rgba(243, 233, 220, 0.35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(30, 20, 16, 0.85); }
.field input[type='date']::-webkit-calendar-picker-indicator { filter: invert(0.75) sepia(0.6) saturate(3) hue-rotate(350deg); }
.err { display: none; color: #E8A87C; font-size: 13px; }
.field.invalid input { border-color: #E8A87C; }
.field.invalid .err { display: block; }
.upload {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 74px;
  border-radius: 14px;
  border: 1px dashed rgba(212, 169, 95, 0.5);
  color: var(--gold);
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.upload:hover { background: rgba(212, 169, 95, 0.07); }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload:focus-within { outline: 2px solid var(--gold); outline-offset: 3px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs:empty { display: none; }
.thumbs img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.hint { font-size: 13px; color: rgba(243, 233, 220, 0.5); line-height: 1.5; }
.form .btn { margin-top: 8px; min-height: 62px; font-size: 16px; }
.success { text-align: center; color: var(--gold); font-size: 15px; }

/* ============ 10. Подвал ============ */
.footer { border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 96px) 0 calc(36px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 48px; align-items: start; }
.logo-big { font-size: clamp(22px, 2.4vw, 30px); }
.footer-tag { margin-top: 18px; font: italic 400 18px/1.4 var(--serif); color: var(--muted); }
.socials { display: grid; gap: 14px; }
.socials a { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); transition: color 0.3s; width: fit-content; }
.socials a svg { color: var(--gold); }
.socials a:hover { color: var(--cream); }
.lang-footer { font-size: 14px; }
.rights { text-align: center; margin-top: 64px; padding: 0 var(--gutter); font-size: 13px; color: rgba(243, 233, 220, 0.4); }

/* ============ Плавающая кнопка WhatsApp ============ */
.fab {
  position: fixed;
  z-index: 60;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--bg);
  background: linear-gradient(135deg, #E2BC78, var(--gold) 50%, var(--caramel));
  box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.5s var(--ease);
  animation: ring 2.8s ease-out infinite;
}
.fab:hover { transform: scale(1.08); }

/* ============ Кнопка музыки ============ */
.music {
  position: fixed;
  z-index: 60;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(22px, env(safe-area-inset-bottom));
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(30, 20, 16, 0.6);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), border-color 0.3s;
}
.music.show { opacity: 1; transform: none; }
.music:hover { border-color: var(--gold); }
.eq { display: flex; align-items: flex-end; gap: 3px; height: 16px; }
.eq i { width: 2.5px; height: 3px; border-radius: 2px; background: var(--gold); opacity: 0.55; transition: height 0.4s var(--ease), opacity 0.4s; }
.music.on .eq i { opacity: 1; animation: eq 1.6s ease-in-out infinite; }
.music.on .eq i:nth-child(2) { animation-delay: -0.4s; animation-duration: 1.3s; }
.music.on .eq i:nth-child(3) { animation-delay: -0.9s; animation-duration: 1.9s; }
.music.on .eq i:nth-child(4) { animation-delay: -0.2s; animation-duration: 1.5s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 15px; } }

/* ============ Модальное окно ============ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(12, 8, 6, 0.94);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.4s;
}
.modal.show { opacity: 1; }
.modal-video { max-width: min(1200px, 100%); max-height: 86vh; border-radius: 16px; box-shadow: 0 0 0 1px var(--line), 0 40px 120px rgba(0, 0, 0, 0.7); transform: scale(0.94); transition: transform 0.6s var(--ease); background: #000; }
.modal.show .modal-video { transform: none; }
.modal-close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: 16px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 32px;
  line-height: 1;
  color: var(--cream);
  border: 1px solid var(--line);
  transition: color 0.3s, border-color 0.3s;
}
.modal-close:hover { color: var(--gold); border-color: var(--gold); }

/* ============ Адаптив ============ */
@media (max-width: 1080px) {
  .what-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .steps::before { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 32px; }
}

@media (max-width: 1100px) {
  .burger {
    display: grid;
    gap: 7px;
    width: 44px;
    height: 44px;
    place-content: center;
    position: relative;
    z-index: 2;
  }
  .burger span { display: block; width: 24px; height: 1.5px; background: var(--cream); transition: transform 0.5s var(--ease); }
  .burger[aria-expanded='true'] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .burger[aria-expanded='true'] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .header-right > .lang { display: none; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 26px;
    background: rgba(30, 20, 16, 0.97);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav:not(.open) { transition-duration: 0s; }
  .nav a { font: 400 30px/1.2 var(--serif); color: var(--cream); }
  .nav a::after { display: none; }
  .lang-mobile { display: flex; margin-top: 24px; font-size: 15px; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 380px; width: 100%; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .lang-footer { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header { padding-left: 16px; padding-right: 16px; gap: 12px; }
  .logo { font-size: 15px; letter-spacing: 0.18em; }
  .header-right { gap: 8px; }
  .btn-small { min-height: 40px; padding: 0 16px; font-size: 13px; }
  .hero { align-items: flex-end; }
  .hero-content { padding-bottom: 72px; }
  .scroll-cue { display: none; }
  .hero-btns { flex-direction: column; align-items: stretch; max-width: 340px; margin: 0 auto; }
  .hero-sub { margin: 20px auto 32px; }
  .what-grid { grid-template-columns: 1fr; gap: 48px; }
  .card:nth-child(even) { margin-top: 0; }
  .card-media { aspect-ratio: 4 / 3.6; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding-bottom: 40px; position: relative; }
  .step:not(:last-child)::before { content: ''; position: absolute; left: 27px; top: 56px; bottom: 0; width: 1px; background: var(--line); }
  .step-num { width: 56px; height: 56px; font-size: 22px; margin: 0; grid-row: span 2; }
  .step h3 { padding-top: 12px; }
  .works { grid-template-columns: 1fr; }
  .work, .work-wide { aspect-ratio: 4 / 4.6; }
  .work-wide { aspect-ratio: 16 / 11; }
  .work-play { width: 68px; height: 68px; margin: -34px 0 0 -34px; }
  .pilot { margin-top: -28px; margin-bottom: 44px; font-size: 13px; }
  .row2 { grid-template-columns: 1fr; }
  .order .lead { margin-top: -40px; }
  .qa-a p { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .fab { width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  [data-reveal], .hero-in { opacity: 1; transform: none; filter: none; }
  .zoom > *, .hero-video { transform: none; }
}

/* backdrop-filter у шапки делает её «рамкой» для fixed-меню — снимаем, пока меню открыто */
.menu-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-color: transparent; }
@media (max-width: 640px) {
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
