/* Electric Brain Studio — Zombie Brain. Тёмная тема, красный как в логотипе. Без сторонних шрифтов. */
:root { --bg: #0f1216; --panel: #181c22; --line: #262c35; --text: #e9ecef; --muted: #9aa4af; --red: #e5443f; --red2: #ff5a54; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif; }
a { color: var(--red2); }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 20px; padding: 10px 24px; background: rgba(15,18,22,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .3px; white-space: nowrap; }
.brand img { border-radius: 6px; }
.brand { min-width: 0; overflow: hidden; }
.brand img { flex-shrink: 0; }
.brand span { overflow: hidden; text-overflow: ellipsis; }
/* меню «три полоски»: <details class="menu"><summary aria-label="Menu"><span></span></summary><nav class="nav">…ссылки…</nav></details> — без JS */
.menu { position: relative; margin-left: auto; flex-shrink: 0; }
.menu summary { list-style: none; cursor: pointer; width: 40px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.menu summary span::before, .menu summary span::after { content: ""; position: absolute; left: 0; }
.menu summary span::before { top: -6px; }
.menu summary span::after { top: 6px; }
.menu[open] summary span { background: transparent; }
.menu[open] summary span::before { transform: translateY(6px) rotate(45deg); }
.menu[open] summary span::after { transform: translateY(-6px) rotate(-45deg); }
.nav { position: absolute; right: 0; top: calc(100% + 6px); display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 6px; min-width: 200px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.nav a { display: block; padding: 8px 12px; border-radius: 6px; color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { background: var(--line); color: var(--text); }
.nav a[aria-current] { color: var(--red2); }
.lang { position: relative; flex-shrink: 0; }
.lang summary { list-style: none; cursor: pointer; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); font-size: 14px; white-space: nowrap; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: " ▾"; color: var(--muted); }
.lang div { position: absolute; right: 0; top: calc(100% + 6px); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 6px; min-width: 170px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.lang div a { display: block; padding: 7px 10px; border-radius: 6px; color: var(--text); text-decoration: none; font-size: 15px; }
.lang div a:hover { background: var(--line); }
.lang div a[aria-current] { color: var(--red2); }

.hero { min-height: 78vh; display: flex; align-items: flex-end; background: linear-gradient(90deg, rgba(10,12,15,.92) 0%, rgba(10,12,15,.55) 45%, rgba(10,12,15,.1) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 35%), url(/img/hero.jpg) 70% center/cover no-repeat; }
.hero-in { max-width: 1160px; width: 100%; margin: 0 auto; padding: 80px 24px 70px; }
.logo { margin: 0; font-size: clamp(56px, 11vw, 132px); line-height: .9; font-weight: 900; letter-spacing: 1px; display: flex; flex-direction: column; text-shadow: 0 6px 30px rgba(0,0,0,.6); }
.red { color: var(--red); }
.tag { margin: 22px 0 6px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: 15px; }
.lead { max-width: 560px; font-size: 18px; color: #d6dade; margin: 8px 0 26px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 24px; border-radius: 10px; background: var(--red); color: #fff; font-weight: 700; text-decoration: none; border: 1px solid var(--red); }
.btn:hover { background: var(--red2); color: #fff; }
.btn-ghost { background: transparent; border-color: #fff4; }
.btn-ghost:hover { background: #fff1; }
.btn-soon { background: #ffffff14; border-color: #ffffff30; cursor: default; }
.btn-soon:hover { background: #ffffff14; }
.plat { color: var(--muted); font-size: 14px; margin-top: 14px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 56px 24px 8px; }
h2 { font-size: 28px; margin: 0 0 22px; font-weight: 800; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.card h3 { margin: 0 0 8px; font-size: 17px; color: #fff; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.shots img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); transition: transform .2s; }
.shots a:hover img { transform: scale(1.015); }
.studio p { color: #c9ced3; max-width: 760px; }

.doc { max-width: 860px; padding-top: 44px; }
.doc h1 { font-size: 36px; margin: 0 0 6px; }
.doc h2 { font-size: 21px; margin: 34px 0 10px; }
.doc p, .doc li { color: #d3d8dd; }
.doc ul { padding-left: 22px; }
.doc li { margin: 8px 0; }
.doc b { color: #fff; }
.muted { color: var(--muted); }
.note { background: #e5443f14; border: 1px solid #e5443f40; border-radius: 10px; padding: 10px 14px; font-size: 15px; }
.contact { margin: 18px 0 30px; }
details:not(.lang):not(.menu) { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; margin: 10px 0; }
details:not(.lang):not(.menu) summary { cursor: pointer; padding: 12px 0; font-weight: 700; }
details:not(.lang):not(.menu) p { margin: 0 0 14px; }

.foot { margin-top: 70px; border-top: 1px solid var(--line); padding: 30px 24px 40px; text-align: center; color: var(--muted); font-size: 14px; }
.foot nav { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.foot nav a { color: var(--text); text-decoration: none; }
.foot p { margin: 6px 0; }
.small { font-size: 12px; max-width: 760px; margin: 12px auto 0 !important; }

@media (max-width: 760px) {
  .top { gap: 10px; padding: 10px 16px; }
  .hero { min-height: 70vh; background-position: 62% center; }
  .hero-in { padding: 60px 16px 50px; }
  .wrap { padding: 40px 16px 4px; }
  .shots { grid-template-columns: 1fr; }
}
