/* ==========================================================================
   СПРАВКА ПО КЛАССАМ (чтобы вставлять свой текст в нужное место)

   Раздел страницы:
     <section class="section">              белый фон
     <section class="section section--soft"> серый фон
     <section class="section section--warm"> бежевый фон
     внутри всегда: <div class="wrap"> ... </div>
     узкая колонка текста: <div class="prose"> ... </div>

   Текст внутри .prose:  h3, p, ul/ol, strong, a — стилизованы сами.
   Подзаголовок раздела над h2:  <p class="kicker">Метка</p>
   Крупная вводная фраза:        <p class="lead">...</p>
   Цитата / главная мысль:       <blockquote class="pull">...</blockquote>
   Примечание с линией слева:    <p class="note">...</p>

   Блоки:
     .facts > .fact (.fact__num + .fact__cap)   три цифры
     .cols  > .col (h3 + p или ul)              2–3 колонки без рамок
     .steps > li (.steps__n + h3 + p)           нумерованные шаги
     .formats > .format (.format__tag + h3 + p) варианты услуги
     .list-plain                                список с тонкими линиями
     .btn / .btn--ghost                         кнопки
   ========================================================================== */

:root {
  --ink: #26282b;
  --muted: #5c6168;
  --paper: #ffffff;
  --soft: #f3f4f5;
  --warm: #f6f1e9;
  --accent: #0b6e99;
  --accent-dark: #095a7e;
  --line: #d9dcdf;
  --serif: Georgia, "Times New Roman", "PT Serif", serif;
  --sans: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 18px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }

/* ---------- Каркас ---------- */
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.prose { max-width: 660px; }
.section { padding: 104px 0; }
.section--soft { background: var(--soft); }
.section--warm { background: var(--warm); }

/* ---------- Типографика ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0 0 20px; letter-spacing: -0.005em; }
h1 { font-size: clamp(38px, 6.4vw, 66px); line-height: 1.1; }
h2 { font-size: clamp(30px, 4.2vw, 42px); margin-bottom: 36px; }
h3 { font-size: 22px; margin-bottom: 10px; }
p { margin: 0 0 18px; }
strong { font-weight: 600; }

.kicker {
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin: 0 0 18px;
}
.lead { font-family: var(--serif); font-size: clamp(21px, 2.6vw, 27px); line-height: 1.5; color: var(--muted); max-width: 680px; }
.pull {
  font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.4; margin: 0; padding: 0; max-width: 760px;
}
.note { margin: 36px 0 0; padding-left: 20px; border-left: 2px solid var(--accent); color: var(--muted); max-width: 640px; }

.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }

/* тонкий орнамент-разделитель перед h2 */
.rule { display: block; width: 44px; height: 2px; background: var(--accent); margin: 0 0 28px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-block; padding: 15px 30px; border-radius: 4px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 16px; letter-spacing: .02em; transition: background .15s, color .15s;
}
.btn:hover { background: var(--accent-dark); }
.btn--ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn--ghost:hover { background: var(--accent); color: #fff; }

/* ---------- Первый экран ---------- */
.hero { padding: 120px 0 104px; border-bottom: 1px solid var(--line); }
.hero .lead { margin: 26px 0 36px; }

/* ---------- Колонки без рамок ---------- */
.cols { display: grid; gap: 40px; margin-top: 8px; }
.cols--2 { grid-template-columns: repeat(2, 1fr); }
.cols--3 { grid-template-columns: repeat(3, 1fr); }
.col { border-top: 1px solid var(--ink); padding-top: 20px; }
.col p:last-child, .col ul:last-child { margin-bottom: 0; }
.col ul { list-style: none; padding: 0; margin: 0; color: var(--muted); }
.col li { padding: 6px 0; font-size: 17px; }

/* ---------- Цифры ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 48px 0 32px; max-width: 760px; }
.fact { border-top: 1px solid var(--line); padding-top: 18px; }
.fact__num { font-family: var(--serif); font-size: clamp(44px, 6vw, 64px); line-height: 1; color: var(--accent); }
.fact__cap { margin-top: 10px; font-size: 15px; color: var(--muted); line-height: 1.45; }
.creds { color: var(--muted); font-size: 16px; max-width: 660px; }

/* ---------- Обо мне с фото ---------- */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.portrait { margin: 0; }
.portrait img { display: block; width: 100%; height: auto; border-radius: 4px; background: #1b1b1b; }
.about .prose { max-width: 620px; }

/* ---------- Фото со сцены ---------- */
.stage figure { margin: 0; }
.stage img { display: block; width: 100%; height: auto; max-height: 640px; object-fit: cover; object-position: 35% 40%; }
.stage figcaption { padding-top: 14px; padding-bottom: 14px; font-size: 14px; color: var(--muted); }

/* ---------- Список клиентов ---------- */
.names { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.names li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 16px; color: var(--ink); background: #fff; }

/* ---------- Подсказка под кнопкой ---------- */
.hint { margin: 16px 0 0; font-size: 15px; color: var(--muted); max-width: 560px; }

/* ---------- Варианты обращения ---------- */
.choices { list-style: none; padding: 0; margin: 36px 0 0; max-width: 760px; }
.choices li { border-top: 1px solid var(--line); }
.choices li:last-child { border-bottom: 1px solid var(--line); }
.choices a { display: block; padding: 24px 56px 24px 0; text-decoration: none; color: var(--ink); position: relative; }
.choices a::after { content: "→"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--accent); transition: transform .15s; }
.choices a:hover::after { transform: translate(6px, -50%); }
.choices strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; margin-bottom: 6px; color: var(--accent); }
.choices span { display: block; color: var(--muted); font-size: 17px; }

/* ---------- Формула ---------- */
.formula { font-family: var(--serif); font-size: clamp(30px, 5vw, 52px); line-height: 1.15; margin: 44px 0 10px; }
.formula span { color: var(--accent); padding: 0 .15em; }
.formula__cap { color: var(--muted); max-width: 560px; margin: 0 0 8px; }

/* ---------- Шаги ---------- */
.steps { list-style: none; padding: 0; margin: 8px 0 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 90px 1fr; gap: 8px 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps__n { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--accent); }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); max-width: 560px; }

/* ---------- Форматы услуги ---------- */
.formats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 36px; }
.format { background: rgba(255,255,255,.7); border: 1px solid #e3dccf; padding: 32px; border-radius: 4px; }
.format__tag { display: inline-block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.format p:last-child { margin-bottom: 0; }

/* ---------- Список ссылок ---------- */
.list-plain { list-style: none; padding: 0; margin: 36px 0 0; max-width: 660px; }
.list-plain li { padding: 16px 0; border-top: 1px solid var(--line); }
.list-plain li:last-child { border-bottom: 1px solid var(--line); }
.list-plain a { font-weight: 600; text-decoration: none; }
.list-plain a:hover { text-decoration: underline; }
.list-plain strong { font-weight: 600; }
.list-plain span { display: block; color: var(--muted); font-size: 16px; }


/* ---------- Телефон ---------- */
@media (max-width: 780px)
  {body { font-size: 17px; }
  .section { padding: 68px 0; }
  .hero { padding: 76px 0 64px; }
  .cols--2, .cols--3, .formats, .facts { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .portrait { max-width: 320px; }
  .facts { gap: 22px; }
  .steps li { grid-template-columns: 56px 1fr; gap: 6px 14px; }
  .steps__n { font-size: 30px; }
  .format { padding: 24px; }

footer { padding: 40px 0 56px; font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); }
footer a { color: var(--muted); }
}