/* Николай Петров — petrovnn.ru
   Палитра: hrmon/docs/presentation/hr-radar.html
   Типографика и верстка: AXIA Lab (Lora + Inter, белый фон, минимализм)
   Мобайл-первый: базовые стили — телефон, медиазапросы — планшет и десктоп */

:root {
  --ink:        #101418;
  --ink-soft:   #3D4752;
  --ink-faint:  #6B7683;
  --blue:       #1257C4;
  --blue-wash:  #E3EDFD;
  --green:      #0F7A3D;
  --orange:     #C05100;
  --paper:      #FFFFFF;
  --gray:       #F6F8FA;
  --line:       #C3CBD4;
  --line-soft:  #E2E7EC;

  --wrap: 760px;
  --radius: 12px;
}

* { box-sizing: border-box; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: var(--blue); }

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

/* ===== СЕКЦИИ ===== */

.section {
  padding: 48px 0;
  border-top: 1px solid var(--line-soft);
}

.section_gray {
  background: var(--gray);
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 10px;
}
.eyebrow_green  { color: var(--green); }
.eyebrow_orange { color: var(--orange); }

.h2 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 16px;
  text-wrap: balance;
}

.h3 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--ink);
  margin: 36px 0 12px;
}

.lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  margin: 0 0 24px;
}

.note {
  font-size: 0.9375rem;
  color: var(--ink-faint);
  margin: 20px 0 0;
}

/* ===== ГЕРОЙ ===== */

.hero {
  padding: 56px 0 48px;
}

.hero_inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero_photo {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  margin-bottom: 20px;
}

.hero_name {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  font-size: 2.125rem;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 14px;
}

.hero_lead {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 12px;
  max-width: 34em;
}

.hero_note {
  font-size: 1rem;
  color: var(--ink-faint);
  margin: 0 0 24px;
  max-width: 34em;
}

.hero_actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== КНОПКИ И ССЫЛКИ ===== */

.btn {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease;
}

.btn_primary {
  background: var(--blue);
  color: #fff;
}
.btn_primary:hover { background: #0E47A0; }

.btn_ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn_ghost:hover { border-color: var(--ink); }

.link {
  display: inline-block;
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}
.link:hover { text-decoration: underline; }

/* ===== КАРТОЧКИ ПРОЕКТОВ ===== */

.card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  margin-bottom: 24px;
}
.card:last-child { margin-bottom: 0; }

.card_media {
  display: block;
  background: var(--gray);
  border-bottom: 1px solid var(--line-soft);
}
.card_media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* картинка вне карточки — с рамкой и скруглением */
.card_media_flat {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 24px 0 16px;
}
.card_media_flat img { aspect-ratio: 21 / 9; }

.card_body {
  padding: 18px 18px 20px;
}

.card_title {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  font-size: 1.3125rem;
  color: var(--ink);
  margin: 0 0 10px;
}

.card_text {
  margin: 0 0 14px;
  font-size: 0.9875rem;
}

/* ===== ТЕГИ ===== */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag {
  padding: 4px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: #fff;
  font-size: 0.8125rem;
  color: var(--ink-faint);
  white-space: nowrap;
}

/* ===== СПИСКИ ===== */

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}

.checklist li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 1rem;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--blue);
}

.checklist_tight li { margin-bottom: 8px; }

.goals {
  list-style: none;
  padding: 0;
  margin: 0;
}

.goals li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 1rem;
}
.goals li:first-child { border-top: 1px solid var(--line-soft); }
.goals b {
  color: var(--ink);
  font-weight: 600;
}

/* ===== ЦЕННОСТИ ===== */

.values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.value {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.value_title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 6px;
}

.value_text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

/* ===== КОНТАКТЫ ===== */

.contacts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  text-decoration: none;
  background: #fff;
  transition: border-color .15s ease;
}
.contact:hover { border-color: var(--blue); }

.contact_label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

.contact_value {
  font-size: 1.0625rem;
  color: var(--ink);
  font-weight: 500;
}

/* ===== ПОДВАЛ ===== */

.footer {
  border-top: 1px solid var(--line-soft);
  padding: 24px 0 32px;
  font-size: 0.875rem;
  color: var(--ink-faint);
}

.footer_inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

/* ===== ПЛАНШЕТ И ДЕСКТОП ===== */

@media (min-width: 700px) {
  .section { padding: 72px 0; }
  .hero { padding: 80px 0 64px; }

  /* на широком экране фото уходит влево, текст — рядом */
  .hero_inner {
    display: grid;
    grid-template-columns: 148px 1fr;
    column-gap: 36px;
    align-items: start;
  }

  .hero_photo {
    width: 148px;
    height: 148px;
    margin-bottom: 0;
    grid-column: 1;
    grid-row: 1 / span 4;
  }

  .hero_name { font-size: 2.75rem; }
  .hero_lead { font-size: 1.25rem; }

  .h2 { font-size: 2.125rem; }
  .h3 { font-size: 1.375rem; }
  .lead { font-size: 1.125rem; }

  .card_body { padding: 22px 24px 24px; }
  .card_title { font-size: 1.5rem; }
  .card_text { font-size: 1.0625rem; }

  .values { grid-template-columns: 1fr 1fr; gap: 14px; }
  .contacts { grid-template-columns: 1fr 1fr; }
}
