/* ЦВЕТА И ОСНОВНЫЕ ПАРАМЕТРЫ САЙТА */
:root {
  --bg: #f3f6f7;
  --paper: #ffffff;
  --ink: #152329;
  --muted: #5d6b71;
  --line: #d5dde0;
  --accent: #126a70;
  --accent-dark: #0a4d52;
  --soft: #e4eff0;
  --warm: #c69238;
  --radius: 8px;
  --max: 1180px;
  --nav-height: 65px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }

.page {
  padding-top: var(--nav-height);
  overflow-x: clip;
}

/* ВЕРХНЕЕ МЕНЮ */
.nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(243, 246, 247, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(31, 37, 40, 0.08);
}

.nav-inner {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a:hover { color: var(--ink); }

/* ОБЩАЯ СЕТКА РАЗДЕЛОВ */
section {
  padding: 92px 28px;
  scroll-margin-top: var(--nav-height);
  border-bottom: 1px solid rgba(31, 37, 40, 0.08);
}

.inner {
  max-width: var(--max);
  margin: 0 auto;
}

/* БЛОК 1: ПЕРВЫЙ ЭКРАН */
.hero {
  min-height: 720px;
  padding-top: 58px;
  padding-bottom: 0;
  display: flex;
  align-items: center;
  background: #eef3f4;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: end;
  gap: 44px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--accent-dark);
  font-weight: 700;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 22px;
  max-width: 760px;
  font-size: 68px;
  line-height: 1.01;
  font-weight: 760;
}

.lead {
  max-width: 690px;
  font-size: 22px;
  color: #394145;
  line-height: 1.45;
}

.proof {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
}

.proof-item {
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 37, 40, 0.1);
  border-radius: var(--radius);
}

.proof-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 24px;
  line-height: 1;
}

.proof-item span {
  color: var(--muted);
  font-size: 14px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 4px;
  font-weight: 700;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
}

.button.secondary {
  background: transparent;
  color: var(--accent-dark);
}

.portrait-wrap {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.portrait-bg {
  position: absolute;
  bottom: 0;
  width: min(440px, 92%);
  height: 565px;
  border-radius: 8px 8px 0 0;
  background: #dbe8e8;
  border: 1px solid rgba(31, 37, 40, 0.08);
}

.portrait-bg::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 88px;
  background: var(--warm);
}

.portrait-image {
  position: relative;
  z-index: 1;
  display: block;
  width: min(505px, 108%);
  max-height: 650px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 24px rgba(21, 35, 41, 0.16));
}

/* ЗАГОЛОВКИ РАЗДЕЛОВ */
.section-head {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 0.64fr);
  gap: 56px;
  align-items: start;
  margin-bottom: 42px;
}

.kicker {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h2 {
  margin-bottom: 0;
  font-size: 48px;
  line-height: 1.08;
  font-weight: 760;
}

.section-text {
  max-width: 760px;
  font-size: 20px;
  color: #3a4246;
}

.muted { color: var(--muted); }

/* БЛОК 3: КАРТОЧКИ НАПРАВЛЕНИЙ */
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.card h3 {
  margin-bottom: 16px;
  font-size: 22px;
  line-height: 1.2;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

/* БЛОК 4: РЕЗУЛЬТАТЫ ДЛЯ БИЗНЕСА */
.outcomes {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.outcome-list {
  display: grid;
  gap: 12px;
}

.outcome {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.num {
  color: var(--warm);
  font-weight: 800;
}

.outcome h3 {
  margin-bottom: 4px;
  font-size: 20px;
}

.outcome p {
  margin-bottom: 0;
  color: var(--muted);
}

/* ТЁМНЫЕ РАЗДЕЛЫ */
.band {
  background: var(--ink);
  color: #f8f7f2;
}

.band .kicker,
.band .muted,
.band .section-text,
.band .card p { color: rgba(248, 247, 242, 0.68); }

.band .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.task-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.task {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: rgba(248, 247, 242, 0.86);
  background: rgba(255, 255, 255, 0.045);
}

/* БЛОК 6: ПРОФИЛЬ */
.profile {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.profile-item {
  padding: 30px 26px;
  background: var(--paper);
  min-height: 220px;
}

.profile-item h3 {
  margin-bottom: 18px;
  font-size: 24px;
}

.profile-item p {
  margin-bottom: 0;
  color: var(--muted);
}

/* БЛОК 7: ТЕМЫ И ЗАМЕТКИ */
.thinking {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.thought {
  min-height: 170px;
  padding: 28px;
  background: var(--soft);
  border: 1px solid rgba(47, 111, 115, 0.12);
  border-radius: var(--radius);
  font-size: 22px;
  line-height: 1.3;
  font-weight: 680;
  color: var(--accent-dark);
}

/* БЛОК 8: КОНТАКТЫ */
.contacts {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.42fr);
  gap: 56px;
  align-items: end;
}

.contact-box {
  padding: 28px;
  border: 1px solid rgba(248, 247, 242, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.contact-link {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid rgba(248, 247, 242, 0.16);
  color: #fff;
  font-weight: 700;
}

.contact-link:last-child { border-bottom: 0; }

.contact-status {
  margin: 0;
  color: rgba(248, 247, 242, 0.72);
  font-size: 16px;
}

/* АДАПТАЦИЯ ДЛЯ ПЛАНШЕТОВ И ТЕЛЕФОНОВ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { min-height: auto; padding-top: 54px; }
  h1 { font-size: 52px; }
  h2 { font-size: 40px; }
  .hero-grid,
  .section-head,
  .outcomes,
  .contacts {
    grid-template-columns: 1fr;
  }
  .portrait-wrap { min-height: 500px; }
  .portrait-bg { height: 420px; }
  .portrait-image { max-height: 500px; }
  .cards,
  .profile {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root { --nav-height: 57px; }
  section { padding: 68px 20px; }
  .hero { padding-top: 46px; }
  .nav-inner { padding: 0 20px; }
  h1 {
    margin-bottom: 18px;
    font-size: 38px;
    line-height: 1.04;
  }
  .lead,
  .section-text { font-size: 18px; }
  .lead { line-height: 1.42; }
  .proof,
  .cards,
  .task-grid,
  .profile,
  .thinking {
    grid-template-columns: 1fr;
  }
  .hero .proof { display: none; }
  .actions { margin-top: 24px; }
  .button { width: 100%; }
  .card { min-height: auto; }
  .portrait-wrap { min-height: 300px; }
  .portrait-bg { width: 86%; height: 280px; }
  .portrait-image { width: min(330px, 92%); max-height: 350px; }
}
