/* ЖК «Лайм» — вариант 2. Изолированный лендинг, тёмная тема с лаймовым акцентом.
   Типографика: Unbounded (display) + Manrope (текст), self-hosted. */

:root {
  --bg: #0a0d08;
  --bg-2: #0e120a;
  --surface: rgba(222, 246, 189, 0.045);
  --surface-solid: #121609;
  --line: rgba(222, 246, 189, 0.12);
  --line-soft: rgba(222, 246, 189, 0.07);
  --text: #eef3e3;
  --muted: rgba(238, 243, 227, 0.62);
  --faint: rgba(238, 243, 227, 0.38);
  --lime: #a8e82e;
  --lime-2: #d4f94a;
  --lime-ink: #17210a;
  --cream: #f4f7ec;
  --display: 'Unbounded', 'Arial Black', sans-serif;
  --body: 'Manrope', -apple-system, 'Segoe UI', sans-serif;
  --nav-h: 76px;
  --radius: 24px;
  --radius-l: 32px;
  --wrap: 1240px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

::selection { background: var(--lime); color: var(--lime-ink); }

.wrap {
  width: min(var(--wrap), 100% - 48px);
  margin-inline: auto;
}

/* ---------- атмосфера: зерно, глоу-сферы, прогресс ---------- */

.grain {
  position: fixed; inset: -50%;
  z-index: 3; pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orb {
  position: fixed; z-index: 0; pointer-events: none;
  width: 60vmax; height: 60vmax; border-radius: 50%;
  filter: blur(60px);
}
.orb-a {
  top: -30vmax; right: -18vmax;
  background: radial-gradient(circle, rgba(168, 232, 46, 0.10), transparent 62%);
}
.orb-b {
  bottom: -34vmax; left: -20vmax;
  background: radial-gradient(circle, rgba(108, 153, 195, 0.07), transparent 62%);
}

.progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 60;
}
.progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--lime), var(--lime-2));
}

/* ---------- типографика ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--lime);
}
.eyebrow .idx {
  display: inline-grid; place-items: center;
  min-width: 34px; height: 24px; padding-inline: 6px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 11px; letter-spacing: 0.08em; color: var(--faint);
}

.section-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin-top: 18px;
  text-wrap: balance;
}

.section-lead {
  max-width: 640px;
  margin-top: 18px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--muted);
}

.accent {
  background: linear-gradient(100deg, var(--lime) 10%, var(--lime-2) 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- кнопки ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 32px;
  border: 0; border-radius: 999px;
  font-family: var(--body); font-size: 16px; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    background-color 0.25s, border-color 0.25s;
  will-change: transform;
}
.btn-lime {
  background: linear-gradient(120deg, var(--lime), var(--lime-2));
  color: var(--lime-ink);
  box-shadow: 0 0 0 0 rgba(168, 232, 46, 0);
}
.btn-lime:hover {
  box-shadow: 0 14px 44px -10px rgba(168, 232, 46, 0.55);
}
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: rgba(222, 246, 189, 0.35); }
.btn-s { height: 44px; padding: 0 22px; font-size: 14px; }
.btn-wide { width: 100%; }

.center { display: flex; justify-content: center; margin-top: 40px; }
.center-left { margin-top: 36px; }

/* ---------- навигация ---------- */

.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  transition: transform 0.45s var(--ease-out);
}
.nav.is-hidden { transform: translateY(calc(-100% - 20px)); }
.nav-inner {
  width: min(var(--wrap), 100% - 32px);
  margin-inline: auto;
  display: flex; align-items: center; gap: 24px;
  height: 62px; padding: 0 10px 0 18px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(10, 13, 8, 0.62);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled .nav-inner {
  background: rgba(10, 13, 8, 0.82);
  border-color: var(--line);
  box-shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.7);
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--lime);
}
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-logo { width: auto; height: 40px; flex: none; object-fit: contain; }
.brand-logo-foot { height: 66px; }
.brand-text {
  display: flex; flex-direction: column; line-height: 1.15;
  font-family: var(--display); font-weight: 600; font-size: 15px;
  color: var(--text); white-space: nowrap;
}
.brand-text em {
  font-family: var(--body); font-style: normal; font-weight: 600;
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--faint);
}

.nav-links {
  display: flex; gap: 6px; margin-inline: auto;
}
.nav-links a {
  padding: 9px 15px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; text-decoration: none;
  color: var(--muted);
  transition: color 0.2s, background-color 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(222, 246, 189, 0.07); }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone {
  font-weight: 700; font-size: 15px; text-decoration: none;
  color: var(--text); white-space: nowrap;
  transition: color 0.2s;
}
.nav-phone:hover { color: var(--lime-2); }

.burger {
  display: none;
  width: 44px; height: 44px; flex: none;
  border: 1px solid var(--line); border-radius: 999px;
  background: transparent; cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s var(--ease-out), top 0.3s var(--ease-out);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 100px 32px 48px;
  background: rgba(10, 13, 8, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu nav a {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(26px, 7vw, 38px);
  text-decoration: none; color: var(--text);
  padding: 6px 0;
}
.mobile-menu nav a:active { color: var(--lime); }
.mobile-menu-foot { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

/* ---------- hero ---------- */

.hero {
  position: relative; z-index: 1;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 72px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}

.hero-title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(34px, 5.4vw, 66px);
  line-height: 1.08; letter-spacing: -0.015em;
  margin-top: 26px;
  text-wrap: balance;
}
.js .hero-title .w {
  display: inline-block;
  opacity: 0; transform: translateY(0.55em) rotate(1.5deg);
  animation: word-in 0.9s var(--ease-out) forwards;
  animation-delay: var(--wd, 0s);
}
@keyframes word-in {
  to { opacity: 1; transform: none; }
}

.hero-sub {
  max-width: 520px; margin-top: 24px;
  font-size: clamp(16px, 1.5vw, 19px); color: var(--muted);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, auto);
  justify-content: start; gap: clamp(24px, 3.4vw, 52px);
  margin-top: 52px; padding-top: 30px;
  border-top: 1px solid var(--line-soft);
}
.hero-stats dt {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--faint);
}
.hero-stats dd {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px); margin-top: 6px;
  color: var(--lime);
}
/* словесные значения («Чистовая», «Один») — чуть мельче цифр */
.hero-stats dd.dd-word { font-size: clamp(18px, 1.9vw, 25px); }

.hero-visual { position: relative; }
.hero-frame {
  position: relative; z-index: 1;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
}
.hero-frame img { width: 100%; aspect-ratio: 1 / 1.04; object-fit: cover; }
.hero-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(10, 13, 8, 0.55));
  pointer-events: none;
}
.hero-glow {
  position: absolute; inset: -8% -12%;
  background: radial-gradient(50% 50% at 60% 45%, rgba(168, 232, 46, 0.20), transparent 70%);
  filter: blur(30px); z-index: 0;
}
.hero-chip {
  position: absolute; z-index: 2;
  padding: 12px 20px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 13, 8, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 14px; font-weight: 700; white-space: nowrap;
}
.hero-chip::before {
  content: ''; display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  margin-right: 10px; background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}
.hero-chip-a { top: 8%; left: -26px; }
.hero-chip-b { bottom: 12%; right: -14px; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 26px;
  transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 999px;
  border: 1.5px solid var(--line);
  display: block;
}
.hero-scroll-dot {
  position: absolute; left: 50%; top: 8px;
  width: 4px; height: 8px; margin-left: -2px; border-radius: 4px;
  background: var(--lime);
  animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(14px); opacity: 0; }
}

/* ---------- бегущая строка ---------- */

.marquee {
  position: relative; z-index: 1;
  border-block: 1px solid var(--line-soft);
  padding: 20px 0; overflow: hidden;
  background: rgba(222, 246, 189, 0.02);
}
.marquee-track {
  display: flex; align-items: center; gap: 44px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-track span {
  font-family: var(--display); font-weight: 500;
  font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--faint); white-space: nowrap;
}
.marquee-track i { font-style: normal; color: var(--lime); font-size: 13px; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- секции ---------- */

.section {
  position: relative; z-index: 1;
  padding: clamp(84px, 10vw, 140px) 0;
}
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head-row {
  max-width: none;
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 28px;
}

/* ---------- bento ---------- */

.bento {
  display: grid; gap: 18px;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(190px, auto);
}
.bento-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--surface);
  padding: 30px;
  transition: border-color 0.3s, transform 0.5s var(--ease-out);
}
.bento-card:hover { border-color: var(--line); transform: translateY(-4px); }

/* spotlight-эффект (курсорная подсветка) */
[data-spot]::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 50%),
    rgba(168, 232, 46, 0.10), transparent 45%);
  pointer-events: none;
}
[data-spot]:hover::before { opacity: 1; }
[data-spot] > * { position: relative; z-index: 1; }

.bento-photo {
  grid-column: span 7; grid-row: span 2;
  padding: 0; min-height: 420px;
}
.bento-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.bento-photo:hover img { transform: scale(1.04); }
.bento-photo-caption {
  position: absolute; inset: auto 0 0 0; z-index: 1;
  padding: 96px 30px 26px;
  display: flex; flex-direction: column; gap: 4px;
  background: linear-gradient(180deg, transparent, rgba(10, 13, 8, 0.88));
}
.bento-photo-caption strong { font-size: 19px; }
.bento-photo-caption span { color: var(--muted); font-size: 15px; }

.bento-stat { grid-column: span 5; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.bento-num {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(44px, 4.6vw, 64px); line-height: 1;
  color: var(--lime);
}
.bento-num-word { font-size: clamp(30px, 3.2vw, 46px); }
.bento-stat p, .bento-lime p { color: var(--muted); max-width: 40ch; }
.bento-stat p strong, .bento-lime p strong { color: var(--text); }

.bento-lime {
  grid-column: span 6;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  background: linear-gradient(130deg, var(--lime), var(--lime-2));
  border-color: transparent;
}
.bento-lime .bento-num { color: var(--lime-ink); }
.bento-lime p { color: rgba(23, 33, 10, 0.78); }
.bento-lime p strong { color: var(--lime-ink); }
.bento-lime::before { display: none; }
.bento .bento-lime + .bento-stat { grid-column: span 6; }

/* ---------- split-секции (локация, контакты) ---------- */

.split {
  display: grid; grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 6vw, 88px); align-items: center;
}
.split-visual { position: relative; }
.split-frame {
  border-radius: var(--radius-l); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -34px rgba(0, 0, 0, 0.75);
}
.split-frame img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.pin-badge {
  position: absolute; top: 22px; left: 22px;
  padding: 11px 18px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 13, 8, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 13.5px; font-weight: 700;
}

.day-cards { display: grid; gap: 14px; margin-top: 36px; }
.day-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 92px 1fr;
  gap: 20px; align-items: center;
  padding: 20px 24px;
  border: 1px solid var(--line-soft); border-radius: 18px;
  background: var(--surface);
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
}
.day-card:hover { border-color: var(--line); transform: translateX(6px); }
.day-time {
  font-family: var(--display); font-weight: 500; font-size: 15px;
  color: var(--lime); text-transform: uppercase; letter-spacing: 0.06em;
}
.day-card p { color: var(--muted); font-size: 15.5px; }

/* ---------- sticky-стек ---------- */

.stack { display: grid; gap: 22px; }
.stack-card {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #151a0e, #0e120a 70%);
  box-shadow: 0 -20px 60px -30px rgba(0, 0, 0, 0.9);
}
.stack-media { position: relative; min-height: 320px; }
.stack-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.stack-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(14, 18, 10, 0.5));
}
.stack-body {
  padding: clamp(30px, 4vw, 56px);
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
}
.stack-idx {
  font-family: var(--display); font-weight: 500; font-size: 14px;
  color: var(--lime); letter-spacing: 0.2em;
}
.stack-body h3 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(21px, 2.2vw, 29px); line-height: 1.2;
  text-wrap: balance;
}
.stack-body p { color: var(--muted); font-size: 16px; }

/* ---------- statement (отделка) ---------- */

.statement {
  position: relative; z-index: 1;
  padding: clamp(120px, 16vw, 220px) 0;
  overflow: hidden;
}
.statement-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--bg); }
.statement-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 32%;
}
.statement-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(70% 90% at 30% 50%, rgba(10, 13, 8, 0.55), rgba(10, 13, 8, 0.92)),
    linear-gradient(0deg, var(--bg) 0%, transparent 22%, transparent 78%, var(--bg) 100%);
}
/**
 * Исходник кадра — квадрат 1254×1254, а блок широкий: cover растягивал его по ширине
 * и сильно приближал (лица и ключи «наезжали»). На широких экранах показываем кадр
 * целиком по высоте и прижимаем вправо, а затемнение уводим влево, под текст, —
 * иначе кадр справа тонет в вуали. Идёт ПОСЛЕ базового ::after: специфичность та же,
 * побеждает последнее правило. На узких экранах блок сам близок к квадрату — там cover.
 */
@media (min-width: 900px) {
  .statement-bg img { object-fit: contain; object-position: right center; }
  .statement-bg::after {
    background:
      linear-gradient(90deg, rgba(10, 13, 8, 0.94) 0%, rgba(10, 13, 8, 0.82) 38%,
        rgba(10, 13, 8, 0.34) 66%, rgba(10, 13, 8, 0.22) 100%),
      linear-gradient(0deg, var(--bg) 0%, transparent 22%, transparent 78%, var(--bg) 100%);
  }
}
.statement-inner { position: relative; z-index: 1; max-width: 760px; }
.statement-title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(32px, 4.6vw, 58px); line-height: 1.1;
  margin-top: 20px; text-wrap: balance;
}
.statement-text {
  margin-top: 24px; max-width: 560px;
  font-size: clamp(16px, 1.5vw, 19px); color: rgba(238, 243, 227, 0.8);
}

/* ---------- планировки ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  height: 44px; padding: 0 20px;
  border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--muted);
  font-family: var(--body); font-size: 14.5px; font-weight: 700;
  cursor: pointer;
  transition: color 0.2s, background-color 0.25s, border-color 0.25s;
}
.filter:hover { color: var(--text); }
.filter.is-active {
  background: var(--lime); border-color: var(--lime);
  color: var(--lime-ink);
}

.plans-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
}
.plan-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line-soft); border-radius: 20px;
  overflow: hidden; background: var(--cream);
  padding: 0; cursor: zoom-in; text-align: left;
  font-family: var(--body);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out),
    border-color 0.3s, opacity 0.3s;
}
.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 232, 46, 0.55);
  box-shadow: 0 24px 50px -22px rgba(168, 232, 46, 0.3);
}
.plan-card.is-hidden { display: none; }
.plan-pic { display: block; aspect-ratio: 4 / 4.6; overflow: hidden; background: #fff; }
.plan-pic img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform 0.7s var(--ease-out);
}
.plan-card:hover .plan-pic img { transform: scale(1.03); }
.plan-meta {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 14px 18px 4px;
  background: var(--surface-solid);
  border-top: 1px solid var(--line-soft);
}
.plan-floors {
  display: block; padding: 0 18px 14px;
  background: var(--surface-solid);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--faint);
}
.plan-meta b { font-size: 14.5px; font-weight: 700; color: var(--text); }
.plan-meta i {
  font-style: normal; font-family: var(--display); font-weight: 500;
  font-size: 14px; color: var(--lime); white-space: nowrap;
}
.plans-note { margin-top: 26px; color: var(--faint); font-size: 14.5px; }

/* ---------- условия + форма ---------- */

.terms {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin-bottom: 18px;
}
.term-card {
  position: relative; overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.3s, transform 0.45s var(--ease-out);
}
.term-card:hover { border-color: var(--line); transform: translateY(-4px); }
.term-icon {
  display: inline-grid; place-items: center;
  width: 54px; height: 54px; border-radius: 16px;
  background: rgba(168, 232, 46, 0.12);
  color: var(--lime); margin-bottom: 20px;
}
.term-icon svg { width: 26px; height: 26px; }
.term-card h3 {
  font-family: var(--display); font-weight: 500; font-size: 21px;
  margin-bottom: 10px;
}
.term-card p { color: var(--muted); font-size: 15.5px; }

.form-panel {
  position: relative;
  border-radius: var(--radius-l);
  border: 1px solid rgba(168, 232, 46, 0.28);
  background:
    radial-gradient(90% 130% at 85% -20%, rgba(168, 232, 46, 0.12), transparent 55%),
    linear-gradient(160deg, #151a0e, #0d1109);
  padding: clamp(30px, 4.5vw, 56px);
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 64px); align-items: center;
}
.form-panel-copy h3 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(21px, 2.2vw, 28px); line-height: 1.25;
  text-wrap: balance;
}
.form-panel-copy p { margin-top: 14px; color: var(--muted); }

.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form input[type='text'] {
  height: 58px; padding: 0 22px;
  border-radius: 16px; border: 1px solid var(--line);
  background: rgba(10, 13, 8, 0.5);
  color: var(--text); font-family: var(--body); font-size: 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form input[type='text']::placeholder { color: var(--faint); }
.form input[type='text']:focus {
  outline: none; border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(168, 232, 46, 0.18);
}
.hp-field { position: absolute !important; left: -9999px; opacity: 0; height: 0; }

.consent {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13.5px; color: var(--faint); cursor: pointer;
}
.consent a { color: var(--muted); }
.consent a:hover { color: var(--lime-2); }
.consent input {
  flex: none; width: 18px; height: 18px; margin-top: 2px;
  accent-color: var(--lime); cursor: pointer;
}

.form-error {
  padding: 13px 18px; border-radius: 14px;
  border: 1px solid rgba(255, 107, 107, 0.35);
  background: rgba(255, 107, 107, 0.09);
  color: #ff9c9c; font-size: 14.5px;
}
.form-success {
  padding: 26px 30px; border-radius: 20px;
  border: 1px solid rgba(168, 232, 46, 0.4);
  background: rgba(168, 232, 46, 0.08);
  color: var(--text); font-size: 16px; line-height: 1.6;
}
.form-success strong {
  display: block; margin-bottom: 6px;
  font-family: var(--display); font-weight: 500; color: var(--lime);
}

/* ---------- контакты ---------- */

.contact-list { display: grid; gap: 22px; margin-top: 40px; }
.contact-item { display: grid; gap: 4px; }
.contact-item > span {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--faint);
}
.contact-item a, .contact-item strong {
  font-size: 19px; font-weight: 700; color: var(--text);
  text-decoration: none;
}
.contact-item a:hover { color: var(--lime-2); }
.contact-big {
  font-family: var(--display); font-weight: 500 !important;
  font-size: clamp(24px, 2.6vw, 34px) !important;
  color: var(--lime) !important;
}
.contact-big:hover { color: var(--lime-2) !important; }

/* ---------- футер ---------- */

.footer {
  position: relative; z-index: 1; overflow: hidden;
  border-top: 1px solid var(--line-soft);
  padding: clamp(60px, 7vw, 96px) 0 40px;
  background: linear-gradient(180deg, var(--bg), #070906);
}
.footer-watermark {
  position: absolute; left: 50%; bottom: -0.24em;
  transform: translateX(-50%);
  font-family: var(--display); font-weight: 700;
  font-size: clamp(140px, 26vw, 380px); line-height: 1;
  letter-spacing: 0.02em; white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(168, 232, 46, 0.09);
  pointer-events: none; user-select: none;
}
.footer .wrap { position: relative; z-index: 1; }
.footer-top {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 24px;
  padding-bottom: 34px; margin-bottom: 34px;
  border-bottom: 1px solid var(--line-soft);
}
.footer-contacts { display: flex; flex-wrap: wrap; gap: 26px; }
.footer-contacts a {
  font-weight: 700; font-size: 16px; text-decoration: none; color: var(--text);
}
.footer-contacts a:hover { color: var(--lime-2); }

.disclaimer { display: grid; gap: 12px; max-width: 980px; }
.disclaimer p { font-size: 12.5px; line-height: 1.6; color: var(--faint); }
.disclaimer a { color: var(--muted); }

/* Обязательные ссылки: подчёркнуты лаймовой линией — акцент лендинга, а не системное underline */
.required-links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; font-size: 13px; }
.required-links a {
  color: var(--muted); text-decoration: none; padding-bottom: 2px;
  border-bottom: 1px solid rgba(168, 232, 46, 0.35);
  transition: color .2s, border-color .2s;
}
.required-links a:hover { color: var(--lime-2); border-color: var(--lime-2); }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  margin-top: 34px; padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px; color: var(--faint);
}
.footer-bottom .company-info { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--lime-2); }

/* ---------- лайтбокс ---------- */

.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; }
.lightbox[hidden], .mobile-menu[hidden] { display: none; }
.lightbox-backdrop {
  position: absolute; inset: 0;
  background: rgba(7, 9, 6, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lightbox-body {
  position: relative; z-index: 1;
  width: min(760px, calc(100vw - 40px));
  max-height: calc(100svh - 80px);
  display: flex; flex-direction: column;
  border-radius: 24px; overflow: hidden;
  background: var(--cream);
  animation: lb-in 0.35s var(--ease-out);
}
@keyframes lb-in {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
}
.lightbox-body img { width: 100%; flex: 1; min-height: 0; object-fit: contain; background: #fff; }
.lightbox-body figcaption {
  padding: 16px 70px 16px 24px;
  font-family: var(--display); font-weight: 500; font-size: 15px;
  color: var(--lime-ink); background: var(--lime);
}
.lightbox-close, .lightbox-nav {
  position: absolute; z-index: 2;
  display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(10, 13, 8, 0.55); color: #fff;
  backdrop-filter: blur(8px);
  transition: background-color 0.2s, transform 0.2s;
}
.lightbox-close { top: 14px; right: 14px; width: 42px; height: 42px; font-size: 15px; }
.lightbox-nav {
  top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; font-size: 26px; line-height: 1;
}
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(10, 13, 8, 0.8); }

/* ---------- reveal-анимации ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.js [data-reveal='zoom'] { transform: translateY(20px) scale(0.965); }
.js [data-reveal].revealed { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .bento-photo { grid-column: span 12; grid-row: span 1; min-height: 340px; }
  .bento-stat, .bento .bento-lime + .bento-stat { grid-column: span 6; }
  .bento-lime { grid-column: span 6; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav-cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .hero { padding-top: calc(var(--nav-h) + 28px); min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 520px; }
  .hero-frame img { aspect-ratio: 4 / 3.4; }
  .hero-chip-a { left: 12px; }
  .hero-chip-b { right: 12px; }
  .hero-scroll { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .split { grid-template-columns: 1fr; }
  .split-visual { order: -1; max-width: 560px; }
  .split-frame img { aspect-ratio: 4 / 3.2; }
  .stack-card { grid-template-columns: 1fr; }
  .stack-media { min-height: 240px; }
  .stack-media::after {
    background: linear-gradient(0deg, rgba(14, 18, 10, 0.6), transparent 40%);
  }
  .terms { grid-template-columns: 1fr; }
  .form-panel { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .lightbox-nav { display: none; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .bento-stat, .bento-lime, .bento .bento-lime + .bento-stat { grid-column: span 12; }
  .bento-card { padding: 24px; }
  .day-card { grid-template-columns: 1fr; gap: 6px; }
  .hero-chip { font-size: 12.5px; padding: 9px 14px; }
  .brand-text em { display: none; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .hero-title .w { opacity: 1; transform: none; animation: none; }
  .marquee-track { animation: none; }
  .hero-scroll-dot { animation: none; }
  .btn, .bento-card, .plan-card, .day-card, .term-card { transition: none; }
  [data-parallax] { transform: none !important; }
}

/* ---------- сообщества ВКонтакте (кнопка с логотипом вместо текстовой ссылки) ---------- */

.vk-community-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2px; }
/* ВК-плашка — единый приглушённый стиль (встреча 22.09.2026):
   на тёмной теме — прозрачная пилюля по палитре лендинга, акцент лаймом на наведении. */
.vk-community-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 24px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line);
  text-decoration: none; font-size: 15px; line-height: 1;
  transition: background-color .2s, border-color .2s, transform .2s;
}
.vk-community-btn:hover {
  background: rgba(222, 246, 189, .08); border-color: var(--lime);
  color: var(--text); transform: translateY(-1px);
}
.vk-community-btn svg { width: 24px; height: 17px; fill: var(--muted); flex: none; }
.vk-community-btn:hover svg { fill: var(--lime); }
.contact-item a.vk-community-btn { color: var(--text); font-size: 15px; }
.contact-item a.vk-community-btn:hover { color: var(--text); }
.contact-item .vk-community-btn span,
.vk-community-btn span { display: inline; margin: 0; color: inherit; font-size: inherit; }
