/* Тема многоканальный-номер.рф — «витрина / бренд-бук».
   Стиль модного глянца: кремовая бумага, малиновый акцент, контрастная
   антиква Didot в заголовках (у соседей Georgia/Palatino/Optima/Baskerville/
   моно/Verdana/Trebuchet/Futura — такой гарнитуры нет ни у кого), гигантский
   полупрозрачный знак «№» как водяной знак в hero и финальном CTA, hero по
   центру с тонкими двойными линейками (у соседей hero слева), кнопки-«витрина»
   капителью с широким трекингом без теней (у соседей пилюли, клавиши с тенью,
   3D-табло, стальные панели), нумерация секций «№ 01 —» курсивом вместо
   «01 ·», «§», римских и чипов, карточки-«бланки» с волосяной рамкой и
   нулевым радиусом, цитаты с огромной кавычкой-литерой, FAQ — плоский
   список с волосяными линейками (без боксов и корешков), таблица фактов
   с капительными ключами-подписями. Прямоугольная геометрия, никаких
   полосатых подложек коммутатора и тёмных терминалов. */

:root {
  --font-head: "Didot", "Bodoni 72", "Didot LT STD", "Playfair Display", Georgia, serif;
  --bg: #fbf7f1;             /* кремовый глянец */
  --bg-alt: #f4ece4;
  --card: #fffdfa;
  --line: #e7dbcd;
  --ink: #241f1d;            /* тёплые чернила */
  --radius: 0;
  --tint: #f8e9ef;           /* малиновая подложка */
}

/* Заголовки: контрастная антиква, у h1 — слегка сжатый и тёмный */
h1, h2, h3 { letter-spacing: 0.005em; font-weight: 500; }
h1 { color: var(--ink); font-weight: 600; }
h2 { line-height: 1.3; }

/* Шапка: кремовая полоса, толстая чернильная линия снизу, бренд капителью
   с малиновым знаком «№» */
.topbar { background: var(--card); box-shadow: none; border-bottom: 2px solid var(--ink); }
.topbar .brand {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 14.5px;
  font-family: var(--font-head);
}
.topbar .brand::before { content: "№ "; color: var(--accent); font-style: italic; }
.topbar .nav a { text-transform: uppercase; letter-spacing: 0.1em; font-size: 12.5px; }

/* Кнопки: «витринная» капитель без теней — единственный акцентный блок */
.btn {
  border-radius: var(--radius);
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 14px;
  padding: 15px 34px;
  transition: none;
}
.btn:hover { filter: brightness(0.94); }
.btn-sm { padding: 7px 16px; font-size: 11.5px; letter-spacing: 0.12em; }

/* Hero: по центру, двойные малиновые линейки сверху и снизу, гигантский
   полупрозрачный «№» как водяной знак справа */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 64px 0 58px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 5px 0 var(--accent), inset 0 7px 0 var(--card);
}
.hero::before {
  content: "№";
  position: absolute;
  right: -0.04em;
  top: -0.18em;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 26rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.07;
  pointer-events: none;
}
.hero .wrap { border-left: none; padding-left: 0; position: relative; }
.hero h1 { max-width: 21em; margin-left: auto; margin-right: auto; }
.hero .lead { max-width: 34em; margin-left: auto; margin-right: auto; color: #6d645e; }
.hero .btn { margin-top: 10px; }
.hero-note {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 11.5px;
  color: #8a7f76;
}

/* Секции: нумерация «№ 01 —» курсивной антиквой, h2 с короткой малиновой
   чертой под заголовком */
section.sec { padding: 50px 0 46px; }
section.sec h2::before {
  content: "№ " counter(sec, decimal-leading-zero) " — ";
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.04em;
  vertical-align: 0.12em;
}
section.sec h2::after {
  content: "";
  display: block;
  width: 64px;
  border-top: 2px solid var(--accent);
  margin: 14px 0 4px;
}
section.sec-alt { background: var(--bg-alt); }

/* Карточки: «бланк витрины» — волосяная рамка, нулевой радиус, щедрые поля */
.cards { gap: 16px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.card h3 { font-size: 17.5px; }
.card p { color: #5d554f; }
.card.quote { background: var(--card); border-top: 2px solid var(--accent); }
.card.quote p:first-child { position: relative; font-family: var(--font-head); font-size: 16.5px; padding-top: 26px; }
.card.quote p:first-child::before {
  content: "«";
  position: absolute;
  left: -4px;
  top: -14px;
  font-family: var(--font-head);
  font-size: 4.2em;
  line-height: 1;
  color: var(--accent);
  opacity: 0.35;
}
.card.quote .muted { text-transform: uppercase; letter-spacing: 0.1em; font-size: 11.5px; }

/* Списки-пункты: четырёхлучевая звёздочка «витрины» */
.checks li::before { content: "✦"; left: 3px; top: 6px; font-size: 12px; font-weight: 400; }

/* Таблица фактов: ключ капителью-подписью, значения на волосяных линейках */
.facts { margin: 18px 0 6px; }
.facts th {
  width: 34%;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  padding-top: 15px;
}
.facts td { font-size: 16px; }
.facts tbody tr { border-bottom: 1px solid var(--line); }

/* FAQ: плоский список с волосяными линейками, без боксов и корешков;
   вопрос антиквой, плюс малиновый */
details { border-bottom: 1px solid var(--line); border-radius: var(--radius); padding: 0; }
details summary { font-family: var(--font-head); font-weight: 500; font-size: 17px; padding: 16px 34px 16px 0; }
details summary::after { color: var(--accent); font-size: 22px; }
details p { color: #5d554f; padding-bottom: 14px; }

/* Статьи: крошки капителью, таблицы с чернильной шапкой */
.crumbs { text-transform: uppercase; letter-spacing: 0.1em; font-size: 11.5px; }
.crumbs a { color: var(--accent); text-decoration: none; }
.article blockquote {
  margin: 1.4em 0;
  padding: 10px 20px;
  border-left: 2px solid var(--accent);
  background: var(--tint);
  font-style: italic;
}
.article table { border: none; border-bottom: 2px solid var(--ink); }
.article table th {
  background: var(--ink);
  color: #fbf7f1;
  border: none;
  border-bottom: 2px solid var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12.5px;
}
.article table td { border: none; border-bottom: 1px solid var(--line); }
.related li::marker { color: var(--accent); }

/* CTA-блок в статьях: бланк с двойной малиновой рамкой */
.ctabox {
  background: var(--card);
  border: 1px solid var(--accent);
  outline: 1px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius);
  border-left: 1px solid var(--accent);
  padding: 26px 30px;
}

/* Финальный CTA: чернильная витрина с гигантским «№» и малиновой кнопкой */
section.sec-cta {
  position: relative;
  overflow: hidden;
  background: #241f1d;
  border-top: 5px solid var(--accent);
}
section.sec-cta::before {
  content: "№";
  position: absolute;
  right: -0.03em;
  bottom: -0.22em;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 22rem;
  line-height: 1;
  color: #fbf7f1;
  opacity: 0.05;
  pointer-events: none;
}
section.sec-cta h2 { color: #fbf7f1; }
section.sec-cta p { color: #b5aaa2; }
section.sec-cta .btn { background: var(--accent); box-shadow: none; position: relative; }

/* Футер и cookie-бар */
.footer { background: var(--bg-alt); border-top: 2px solid var(--ink); }
.footer-brand {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 14px;
  color: var(--ink);
}
.footer-brand::before { content: "№ "; color: var(--accent); font-style: italic; }
.cookiebar { background: #241f1d; }
