/* alexeytolkachev.com — prototype styles
   Палитра: тёмный премиум, без инфобизнес-яркости. Аудитория — капитал. */

:root {
  --bg: #0b0d10;
  --bg-elev: #12161b;
  --bg-card: #151a20;
  --line: #232a33;
  --text: #e8ecf1;
  --text-dim: #9aa6b4;
  --text-mute: #6b7784;
  --accent: #c9a227;        /* приглушённое золото — статус, не крикливо */
  --accent-soft: rgba(201, 162, 39, 0.12);
  --green: #4a9d6b;
  --radius: 14px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: inherit; }

/* ---------- Header ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 16, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: 64px;
}
.logo { font-weight: 600; letter-spacing: 0.02em; text-decoration: none; font-size: 15px; }
.logo span { color: var(--text-mute); font-weight: 400; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--text-dim); font-size: 14px;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.lang {
  display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
}
.lang button {
  background: transparent; border: 0; color: var(--text-mute);
  padding: 5px 10px; font-size: 12px; font-family: var(--font);
  cursor: pointer; letter-spacing: 0.04em;
}
.lang button.on { background: var(--accent-soft); color: var(--accent); }

/* ---------- Sections ---------- */
section { padding: 88px 0; border-bottom: 1px solid var(--line); }
section.tight { padding: 56px 0; }

.eyebrow {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px; font-weight: 600;
}
h1 {
  font-size: clamp(32px, 5.2vw, 56px); line-height: 1.12;
  margin: 0 0 22px; font-weight: 600; letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2;
  margin: 0 0 20px; font-weight: 600; letter-spacing: -0.015em;
}
h3 { font-size: 19px; margin: 0 0 10px; font-weight: 600; }
.lead { font-size: clamp(17px, 2vw, 21px); color: var(--text-dim); max-width: 720px; margin: 0 0 32px; }
p { margin: 0 0 16px; }
.muted { color: var(--text-dim); }
.small { font-size: 14px; color: var(--text-mute); }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 80px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.portrait {
  aspect-ratio: 4/5; border-radius: var(--radius);
  background: linear-gradient(160deg, #1b2129, #0e1216);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-mute); font-size: 13px; text-align: center; padding: 24px;
}

/* ---------- Buttons ---------- */
.btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 10px; text-decoration: none;
  font-size: 15px; font-weight: 500; border: 1px solid transparent;
  transition: transform 0.12s, background 0.15s, border-color 0.15s;
  cursor: pointer; font-family: var(--font);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #17130a; }
.btn-primary:hover { background: #d9b03a; }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--bg-elev); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-arrow { font-size: 18px; line-height: 1; }

/* ---------- Doors ---------- */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.door {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 32px; text-decoration: none; display: block;
  transition: border-color 0.18s, transform 0.18s, background 0.18s;
}
.door:hover { border-color: var(--accent); transform: translateY(-3px); background: var(--bg-elev); }
.door-tag {
  display: inline-block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); padding: 5px 10px; border-radius: 6px;
  margin-bottom: 18px; font-weight: 600;
}
.door h3 { font-size: 24px; margin-bottom: 12px; }
.door p { color: var(--text-dim); font-size: 15px; margin-bottom: 20px; }
.door-meta { font-size: 13px; color: var(--text-mute); border-top: 1px solid var(--line); padding-top: 16px; }
.door-cta { color: var(--accent); font-size: 14px; font-weight: 500; margin-top: 16px; display: block; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg-card); padding: 28px 24px; }
.stat-num { font-size: clamp(26px, 3.6vw, 38px); font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.stat-label { font-size: 13px; color: var(--text-mute); margin-top: 6px; line-height: 1.4; }

/* ---------- Process ---------- */
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; }
.step { background: var(--bg-card); padding: 22px 26px; display: grid;
  grid-template-columns: 44px 1fr auto; gap: 20px; align-items: center; }
.step-n { color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; }
.step-t { font-weight: 500; }
.step-d { color: var(--text-mute); font-size: 14px; text-align: right; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.card h3 { color: var(--text); }
.card p { color: var(--text-dim); font-size: 15px; margin: 0; }
.card-num { color: var(--accent); font-size: 28px; font-weight: 600; margin-bottom: 8px; }

/* ---------- Quote / filter ---------- */
.filter-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.filter-list li {
  padding: 16px 20px; background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 10px; color: var(--text-dim); font-size: 15px;
  display: flex; gap: 14px; align-items: flex-start;
}
.filter-list li::before { content: "—"; color: var(--accent); flex-shrink: 0; }

/* ---------- Form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 13px; color: var(--text-dim); }
input, select, textarea {
  background: var(--bg); border: 1px solid var(--line); border-radius: 9px;
  padding: 13px 14px; color: var(--text); font-size: 15px; font-family: var(--font);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
.form-note { font-size: 13px; color: var(--text-mute); margin-top: 14px; line-height: 1.5; }

/* ---------- Media / press ---------- */
.press { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.press-item {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 10px;
  padding: 20px; font-size: 14px; color: var(--text-dim);
}
.press-item strong { display: block; color: var(--text); margin-bottom: 6px; font-weight: 500; }

/* ---------- Photos ---------- */
.portrait.photo { padding: 0; overflow: hidden; }
.portrait.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shot {
  position: relative; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 4/3; background: var(--bg-card);
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.shot:hover img { transform: scale(1.04); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(8, 10, 12, 0.55) 35%, rgba(8, 10, 12, 0.96));
  color: #d7dee6; font-size: 12px; line-height: 1.35; padding: 40px 12px 11px;
}

.bio-photo {
  float: right; width: 300px; margin: 0 0 20px 28px;
  border-radius: 12px; border: 1px solid var(--line); overflow: hidden;
}
.bio-photo img { width: 100%; display: block; }

/* ---------- Video cards ---------- */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.video {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; display: block;
  transition: border-color 0.18s, transform 0.18s;
}
.video:hover { border-color: var(--accent); transform: translateY(-3px); }
.video-thumb { position: relative; aspect-ratio: 16/9; background: #0c0f12; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.video-play span {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(11, 13, 16, 0.72); border: 1px solid rgba(255,255,255,0.28);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 17px; padding-left: 4px; backdrop-filter: blur(4px);
}
.video-body { padding: 18px 20px 20px; }
.video-body h3 { font-size: 16px; line-height: 1.35; margin-bottom: 8px; font-weight: 500; }
.video-meta { font-size: 13px; color: var(--text-mute); }

.videos.triple { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.videos.triple .video-body { padding: 14px 16px 16px; }
.videos.triple .video-body h3 { font-size: 15px; margin-bottom: 6px; }
.videos.triple .video-play span { width: 44px; height: 44px; font-size: 14px; }

/* ---------- Report links ---------- */
.reports { display: grid; gap: 12px; }
.report {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px;
  padding: 20px 24px; text-decoration: none; transition: border-color 0.18s, transform 0.18s;
}
.report:hover { border-color: var(--accent); transform: translateX(3px); }
.report-t { font-weight: 500; }
.report-d { font-size: 13px; color: var(--text-mute); margin-top: 4px; }
.report-go { color: var(--accent); font-size: 14px; white-space: nowrap; }

/* ---------- Social proof ---------- */
.socials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.social {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px;
  padding: 22px; text-decoration: none; display: block; transition: border-color 0.18s;
}
.social:hover { border-color: var(--accent); }
.social-num { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.social-name { font-size: 13px; color: var(--text-mute); margin-top: 6px; }
.social-handle { font-size: 13px; color: var(--accent); margin-top: 10px; }

/* ---------- Story block ---------- */
.story {
  background: var(--bg-card); border: 1px solid var(--line);
  border-left: 3px solid var(--accent); border-radius: 12px;
  padding: 32px 34px; max-width: 860px;
}
.story .num { font-size: 34px; font-weight: 600; color: var(--accent); margin-bottom: 10px; }

/* ---------- Books ---------- */
.books { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.book {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 12px; padding: 22px;
}
.book h3 { font-size: 16px; margin-bottom: 6px; }
.book p { font-size: 13px; color: var(--text-mute); margin: 0; }

/* ---------- TODO marker (заполнить фактами) ---------- */
.todo {
  background: rgba(201, 162, 39, 0.10); border: 1px dashed var(--accent);
  color: var(--accent); padding: 1px 7px; border-radius: 5px;
  font-size: 0.85em; font-weight: 500; white-space: nowrap;
}

/* ---------- Footer ---------- */
footer { padding: 56px 0 72px; color: var(--text-mute); font-size: 13px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.foot-grid a { color: var(--text-dim); text-decoration: none; display: block; margin-bottom: 10px; font-size: 14px; }
.foot-grid a:hover { color: var(--text); }
.disclaimer {
  border-top: 1px solid var(--line); padding-top: 28px; line-height: 1.65; max-width: 860px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .portrait { max-width: 320px; }
  .doors, .cards, .form-grid, .foot-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 34px 1fr; }
  .step-d { grid-column: 2; text-align: left; }
  section { padding: 64px 0; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links { gap: 12px; }
  .logo { font-size: 14px; white-space: nowrap; }
  .logo span { display: none; }
}

@media (max-width: 900px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .videos, .videos.triple { grid-template-columns: 1fr; }
  .report { flex-direction: column; align-items: flex-start; gap: 10px; }
  .socials { grid-template-columns: 1fr 1fr; }
  .books { grid-template-columns: 1fr; }
  .bio-photo { float: none; width: 100%; margin: 0 0 24px; }
  .story { padding: 26px 22px; }
}

@media (max-width: 620px) {
  .nav-cta { display: none; }
  .hero { padding: 56px 0 48px; }
  .stats { grid-template-columns: 1fr; }
  .step { padding: 18px 20px; }
  body { font-size: 16px; }
}

/* ---------- Form status ---------- */
.form-status {
  margin-top: 14px; font-size: 14px; line-height: 1.5;
  padding: 12px 14px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--bg-card); color: var(--text-dim);
}
.form-status.ok { border-color: var(--green); color: #b9dcc6; }
.form-status.err { border-color: #a3563f; color: #e4b8a8; }

/* прямой контакт рядом с формой */
.direct {
  margin-top: 18px; font-size: 14px; color: var(--text-mute);
}
.direct a { color: var(--accent); text-decoration: none; }
.direct a:hover { text-decoration: underline; }
