:root {
  --bg: #0a0906;
  --bg-alt: #0e0c07;
  --text: #f3eee3;
  --muted: #a99e87;
  --accent: #c9a35a;
  --accent-2: #ecdcb4;
  --border: rgba(201, 163, 90, 0.16);
  --radius: 2px;
  --font-head: "Cormorant Garamond", serif;
  --font-body: "Manrope", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

::selection { background: var(--accent); color: #14100a; }

/* ── языки ─────────────────────────────────── */
html[lang="zh"] body { font-family: "Noto Serif SC", var(--font-body); }
html[lang="he"] body { font-family: "Heebo", var(--font-body); }
html[dir="rtl"] .marquee__track { animation-direction: reverse; }
html[dir="rtl"] .mvp__points li:hover { transform: translateX(-6px); }

/* ── фоновые эффекты ───────────────────────── */
.noise {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

.glow {
  position: fixed; z-index: 0; pointer-events: none;
  width: 50vw; height: 50vw; border-radius: 50%;
  filter: blur(140px); opacity: 0.12;
}
.glow--1 { top: -18vw; right: -12vw; background: var(--accent); }
.glow--2 { bottom: -22vw; left: -15vw; background: #7a5c22; }

/* ── reveal-анимация ───────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.12s; } .d2 { transition-delay: 0.24s; }
.d3 { transition-delay: 0.36s; } .d4 { transition-delay: 0.48s; } .d5 { transition-delay: 0.6s; }

/* ── навигация ─────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 32px;
  padding: 20px clamp(20px, 5vw, 64px);
  background: rgba(10, 9, 6, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav__logo {
  font-family: var(--font-body); font-weight: 700; font-size: 1.05rem;
  letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; color: var(--text);
}
.nav__logo span { color: var(--accent); }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a {
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.14em; text-transform: uppercase; transition: color 0.25s;
}
.nav__links a:hover { color: var(--accent-2); }
.nav__right { display: flex; align-items: center; gap: 18px; }

/* переключатель языков */
.lang-switch {
  display: flex; gap: 2px; align-items: center;
  border: 1px solid var(--border); padding: 3px;
}
.lang-switch a {
  color: var(--muted); text-decoration: none; font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.08em; padding: 5px 10px; transition: color 0.25s, background 0.25s;
}
.lang-switch a:hover { color: var(--accent-2); }
.lang-switch a.active { background: rgba(201, 163, 90, 0.16); color: var(--accent); }

.nav__cta {
  color: #14100a; background: linear-gradient(120deg, var(--accent-2), var(--accent));
  text-decoration: none; font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 11px 22px; transition: transform 0.25s, box-shadow 0.25s;
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201, 163, 90, 0.3); }

/* ── hero ──────────────────────────────────── */
.hero {
  position: relative; z-index: 1;
  max-width: 1080px; margin: 0 auto;
  padding: clamp(88px, 14vh, 160px) clamp(20px, 5vw, 64px) 72px;
  text-align: center;
}
.hero__tag {
  display: inline-block; font-size: 0.75rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--accent); border: 1px solid rgba(201, 163, 90, 0.4);
  padding: 9px 22px; margin-bottom: 44px;
}
.hero__title {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(2.7rem, 7vw, 5.4rem); line-height: 1.06;
  letter-spacing: 0.01em; margin-bottom: 34px;
}
.hero__title span { display: block; }
.hero__title em {
  font-style: italic; font-weight: 600;
  background: linear-gradient(100deg, var(--accent-2) 10%, var(--accent) 60%, #8a6a2e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__ornament {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-bottom: 34px; color: var(--accent);
}
.hero__ornament span { display: block; width: 72px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent)); }
.hero__ornament span:last-child { background: linear-gradient(90deg, var(--accent), transparent); }
.hero__ornament i { font-style: normal; font-size: 0.6rem; }
.hero__sub { max-width: 640px; margin: 0 auto 46px; color: var(--muted); font-size: 1.13rem; }

.hero__actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 76px; }
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 0.86rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 17px 40px; border: none;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
}
.btn--primary { background: linear-gradient(120deg, var(--accent-2), var(--accent)); color: #14100a; }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(201, 163, 90, 0.35); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero__meta {
  display: flex; gap: clamp(28px, 7vw, 88px); justify-content: center; flex-wrap: wrap;
  border-top: 1px solid var(--border); padding-top: 44px;
}
.hero__meta b {
  display: block; font-family: var(--font-head); font-style: italic; font-weight: 600;
  font-size: 2.2rem; color: var(--accent);
}
.hero__meta span { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ── бегущая строка ────────────────────────── */
.marquee { position: relative; z-index: 1; overflow: hidden; border-block: 1px solid var(--border); padding: 20px 0; }
.marquee__track { display: flex; width: max-content; animation: scroll 30s linear infinite; }
.marquee__track span {
  font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap; padding-right: 28px;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ── секции ────────────────────────────────── */
.section { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: clamp(84px, 12vh, 140px) clamp(20px, 5vw, 64px); }
.section--alt { max-width: none; background: var(--bg-alt); border-block: 1px solid var(--border); }
.section--alt > * { max-width: 1180px; margin-inline: auto; }
.section__index {
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.4em; color: var(--accent); margin-bottom: 20px;
}
.section__title { font-family: var(--font-head); font-weight: 500; font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.12; margin-bottom: 52px; }
.section__title em {
  font-style: italic; font-weight: 600;
  background: linear-gradient(100deg, var(--accent-2) 10%, var(--accent) 60%, #8a6a2e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section__lead { max-width: 660px; color: var(--muted); font-size: 1.12rem; margin-bottom: 52px; }

/* ── карточки услуг ────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 22px; }
.card {
  background: rgba(236, 220, 180, 0.025); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px 32px;
  transition: transform 0.35s, border-color 0.35s, background 0.35s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(201, 163, 90, 0.5); background: rgba(236, 220, 180, 0.05); }
.card__icon {
  width: 54px; height: 54px; border-radius: 50%; margin-bottom: 26px;
  display: grid; place-items: center; color: var(--accent);
  background: rgba(201, 163, 90, 0.08); border: 1px solid rgba(201, 163, 90, 0.35);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.45rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 22px; }
.card ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.card li {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); border: 1px solid rgba(201, 163, 90, 0.3); padding: 5px 12px;
}

/* ── команда ───────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.team-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 30px; background: rgba(236, 220, 180, 0.02);
}
.team-item b {
  display: block; font-family: var(--font-head); font-style: italic; font-weight: 600;
  font-size: 1.35rem; color: var(--accent); margin-bottom: 10px;
}
.team-item span { color: var(--muted); font-size: 0.95rem; }

/* ── MVP / Venture Lab ─────────────────────── */
.mvp {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.mvp__label {
  display: inline-block; font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent-2); border: 1px solid rgba(236, 220, 180, 0.4);
  padding: 9px 20px; margin-bottom: 26px;
}
.mvp .section__title { margin-bottom: 22px; }
.mvp .section__index { margin-bottom: 20px; }
.mvp__lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 36px; }
.mvp__points { list-style: none; display: grid; gap: 18px; }
.mvp__points li {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 28px; background: rgba(236, 220, 180, 0.03);
  transition: transform 0.3s, border-color 0.3s;
}
.mvp__points li:hover { transform: translateX(6px); border-color: rgba(201, 163, 90, 0.5); }
.mvp__points b {
  display: block; font-family: var(--font-head); font-style: italic; font-weight: 600;
  font-size: 1.25rem; color: var(--accent); margin-bottom: 6px;
}
.mvp__points span { color: var(--muted); font-size: 0.95rem; }

/* ── локация ───────────────────────────────── */
.location {
  display: flex; align-items: center; gap: 32px;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 44px; background: rgba(236, 220, 180, 0.02); max-width: 780px;
}
.location__pin { flex-shrink: 0; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: rgba(201, 163, 90, 0.08); border: 1px solid rgba(201, 163, 90, 0.4); }
.location__pin svg { width: 28px; height: 28px; }
.location .section__title { margin-bottom: 14px; }
.location .section__index { margin-bottom: 14px; }
.location p { color: var(--muted); font-size: 1.08rem; }

/* ── контакты ──────────────────────────────── */
.contacts { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.contacts__info p { color: var(--muted); font-size: 1.08rem; margin-bottom: 30px; }
.contacts__info address { font-style: normal; line-height: 2; color: var(--text); }
.contacts__info a { color: var(--accent); text-decoration: none; }
.contacts__info a:hover { text-decoration: underline; }

.form { display: grid; gap: 16px; }
.form input, .form textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--text);
  background: rgba(236, 220, 180, 0.03); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px; resize: vertical;
  transition: border-color 0.25s, background 0.25s;
}
.form input::placeholder, .form textarea::placeholder { color: #6b6250; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: rgba(201, 163, 90, 0.06); }
.form .btn { justify-self: start; }
.form__status { font-size: 0.95rem; min-height: 1.4em; }
.form__status.ok { color: #b7d99a; }
.form__status.err { color: #e29a8a; }

/* ── футер ─────────────────────────────────── */
.footer { position: relative; z-index: 1; padding: 36px clamp(20px, 5vw, 64px) 40px; border-top: 1px solid var(--border); }
.footer__rule { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 26px; color: var(--accent); }
.footer__rule span { display: block; width: 90px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent)); }
.footer__rule span:last-child { background: linear-gradient(90deg, var(--accent), transparent); }
.footer__rule i { font-style: normal; font-size: 0.55rem; }
.footer__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 0.82rem; letter-spacing: 0.06em; }

/* ── адаптив ───────────────────────────────── */
@media (max-width: 820px) {
  .nav__links { display: none; }
  .contacts, .mvp { grid-template-columns: 1fr; }
  .location { flex-direction: column; text-align: center; }
  .lang-switch a { padding: 4px 8px; }
  .hero__meta { gap: 26px; }
}
