/**
 * Шаблон plazma32 — основной CSS.
 *
 * Дизайн-токены и база (Задача 5). Схема electric зафиксирована:
 * --accent: #0F6BFF. Источник — прототип htmljs/css/styles.css.
 * Шрифты локальные (fonts/fonts.css): Onest — заголовки/UI, Inter — текст.
 */

/* ============================================================
   1. Дизайн-токены (:root)
   ============================================================ */
:root {
  /* Surfaces */
  --bg:            #F7F8FA;
  --surface:       #FFFFFF;
  --surface-muted: #F0F2F6;

  /* Text */
  --ink:           #111827;
  --ink-2:         #5B6573;
  --ink-3:         #9AA3B0;

  /* Lines */
  --hairline:      #E6E9EE;

  /* Accent — схема electric (зафиксировано, без JS-переключения) */
  --accent:        #0F6BFF;
  --accent-ink:    #0A4FC2;
  --accent-soft:   #E8F1FF;

  /* Trust */
  --success:       #16A34A;

  /* Danger — ошибки форм; --accent-disabled — осветлённый accent для disabled-кнопки */
  --danger:            #C62828;
  --accent-disabled:   #C3D4F2;

  /* Optional plasma gradient — micro-accents only */
  --plasma:        linear-gradient(135deg, #0F6BFF 0%, #6C3CFF 100%);

  /* Radii & shadows */
  --r-sm: 8px;  --r-md: 14px;  --r-lg: 20px;  --r-pill: 999px;
  --shadow-card: 0 1px 2px rgba(17, 24, 39, .04), 0 8px 24px rgba(17, 24, 39, .06);
  --shadow-pop:  0 12px 40px rgba(17, 24, 39, .14);

  /* Font stacks: Onest — заголовки/UI, Inter — основной текст */
  --font-heading: 'Onest', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

/* ============================================================
   2. База: reset, body, типографика
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent-soft); color: var(--accent-ink); }
:focus-visible { outline: 3px solid rgba(15, 107, 255, .45); outline-offset: 2px; border-radius: 6px; }
input::placeholder { color: var(--ink-3); }

/* ============================================================
   3. Layout-примитивы
   ============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}

/* ============================================================
   4. Хелперы (responsive show/hide)
   Header collapses to mobile below 1024px.
   ============================================================ */
.u-mob { display: none !important; }
@media (max-width: 1024px) {
  .u-desk { display: none !important; }
  .u-mob { display: flex !important; }
}

/* ============================================================
   5. Анимации (interaction-triggered only; never gate first paint)
   ============================================================ */
@keyframes plz-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes plz-fade { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   6. Hover-хелперы (общие pz-классы из прототипа)
   ============================================================ */
.pz-navlink:hover { background: var(--surface-muted); color: var(--ink); }
.pz-menuitem:hover { background: var(--accent-soft); }
.pz-foot:hover { color: #fff !important; }
.pz-brand:hover { color: var(--accent) !important; border-color: var(--accent) !important; }
.pz-btn-primary:hover { background: var(--accent-ink) !important; }
.pz-btn-outline:hover { border-color: var(--accent) !important; color: var(--accent) !important; }
.pz-lift { transition: transform .15s, border-color .15s, box-shadow .15s; }
.pz-lift:hover { transform: translateY(-4px); border-color: var(--accent) !important; }
.pz-row:hover { background: var(--bg) !important; }
.pz-link-accent:hover { border-color: var(--accent) !important; color: var(--accent) !important; }

/* Article layout collapses below the desktop breakpoint */
@media (max-width: 1024px) {
  .pz-article-grid { grid-template-columns: 1fr !important; }
}

/* ============================================================
   7. Header / навигация (Задача 6)
   ============================================================ */

/* Иконки из спрайта images/icons.svg */
.pz-icon { width: 20px; height: 20px; display: block; flex-shrink: 0; }

/* Кнопки (конверсия Button из прототипа) */
.pz-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: var(--r-pill);
  font-family: var(--font-heading); font-weight: 700; font-size: 17px;
  border: none; cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.pz-btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(15, 107, 255, .3); }
.pz-btn-primary:hover { color: #fff; }
.pz-btn-sm { height: 48px; }
.pz-btn-block { width: 100%; }

/* Sticky-шапка */
.pz-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.pz-header-inner { height: 74px; display: flex; align-items: center; gap: clamp(14px, 3vw, 40px); }

/* Текстовый логотип */
.pz-logo { display: flex; flex-direction: column; line-height: 1; flex-shrink: 0; }
.pz-logo-name { font-family: var(--font-heading); font-weight: 800; font-size: 21px; letter-spacing: -.02em; color: var(--ink); }
.pz-logo-accent { color: var(--accent); }
.pz-logo-sub { font-size: 11.5px; color: var(--ink-2); margin-top: 3px; font-weight: 500; }

/* Десктоп-меню */
.pz-nav { margin-left: 8px; }
.pz-nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.pz-nav-item { position: relative; }
.pz-navlink {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 10px;
  font-weight: 500; font-size: 16px; font-family: inherit; color: var(--ink-2);
  background: none; border: none; cursor: pointer;
}
.pz-nav-item.pz-active > .pz-navlink,
.pz-nav-item.pz-current > .pz-navlink { color: var(--ink); font-weight: 600; }
.pz-nav-chev { width: 16px; height: 16px; transition: transform .2s; }
.pz-nav-item.pz-open > .pz-navlink .pz-nav-chev,
.pz-nav-item.pz-has-children:hover > .pz-navlink .pz-nav-chev { transform: rotate(180deg); }

/* Dropdown «Услуги»: hover/focus — CSS, тап — main.js (.pz-open) */
.pz-dropdown { display: none; position: absolute; top: 100%; left: 0; padding-top: 8px; width: 288px; z-index: 5; }
.pz-nav-item.pz-has-children:hover > .pz-dropdown,
.pz-nav-item.pz-has-children:focus-within > .pz-dropdown,
.pz-nav-item.pz-open > .pz-dropdown { display: block; }
.pz-dropdown-menu {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-md); box-shadow: var(--shadow-pop);
  padding: 8px; margin: 0; list-style: none;
  animation: plz-pop .16s ease both;
}
.pz-menuitem { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--ink); }

/* Пункт услуги в меню: иконка (accent-soft бокс) + название + цена-ориентир
   (прототип components.jsx: dropdown 34×34, ink-3 13px; params pz_icon/pz_price) */
.pz-menu-ico {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.pz-menu-ico .pz-icon { width: 20px; height: 20px; }
.pz-menu-body { display: flex; flex-direction: column; min-width: 0; }
.pz-menu-name { font-weight: 600; font-size: 15px; color: var(--ink); }
.pz-menu-price { font-size: 13px; color: var(--ink-3); font-weight: 400; }
/* В мобильном меню иконка чуть крупнее (прототип 36×36) */
.pz-mnav-svc .pz-menu-ico { width: 36px; height: 36px; border-radius: 10px; }
.pz-mnav-svc .pz-menu-name { font-weight: 500; font-size: 16px; }

/* Правая часть шапки */
.pz-header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.pz-header-phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.pz-header-phone-num { font-family: var(--font-heading); font-weight: 700; font-size: 18px; color: var(--ink); white-space: nowrap; }
.pz-header-phone-note { font-size: 12.5px; color: var(--ink-2); }
.pz-header-call-mob {
  width: 48px; height: 48px; border-radius: var(--r-pill);
  background: var(--accent); color: #fff;
  align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(15, 107, 255, .28);
}
.pz-header-call-mob .pz-icon { width: 19px; height: 19px; }
.pz-burger {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--surface-muted); border: 1px solid var(--hairline); color: var(--ink);
  align-items: center; justify-content: center; cursor: pointer;
}
.pz-burger .pz-icon { width: 22px; height: 22px; }

/* Мобильное меню (выезжающая панель) */
.pz-mobile-nav { position: fixed; inset: 0; z-index: 80; animation: plz-fade .2s ease; }
.pz-mobile-nav[hidden] { display: none; }
.pz-mobile-nav-overlay { position: absolute; inset: 0; background: rgba(14, 19, 32, .5); }
.pz-mobile-nav-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px);
  background: var(--surface); box-shadow: var(--shadow-pop);
  display: flex; flex-direction: column;
  animation: plz-pop .22s ease both;
}
.pz-mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--hairline); }
.pz-mobile-nav-title { font-family: var(--font-heading); font-weight: 800; font-size: 19px; }
.pz-mobile-nav-close {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface-muted); border: none; cursor: pointer; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.pz-mobile-nav-body { flex: 1; overflow-y: auto; padding: 14px 16px; }
.pz-mobile-nav-foot { padding: 16px; border-top: 1px solid var(--hairline); }

/* Пункты мобильного меню (override mod_menu/mobile.php) */
.pz-mnav-link { display: block; padding: 14px 12px; border-radius: 10px; font-family: var(--font-heading); font-weight: 700; font-size: 18px; color: var(--ink); }
.pz-mnav-label { font-size: 13px; color: var(--ink-3); font-weight: 600; padding: 14px 12px 6px; text-transform: uppercase; letter-spacing: .04em; }
.pz-mnav-sublink { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; font-weight: 500; font-size: 16px; color: var(--ink); }
.pz-mnav-link:hover, .pz-mnav-sublink:hover { background: var(--surface-muted); }

/* Блокировка скролла страницы при открытой панели */
.pz-no-scroll { overflow: hidden; }

/* Sticky-панель вызова (только мобильные — display задаёт .u-mob) */
.pz-sticky-call {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--hairline); gap: 10px;
}
.pz-sticky-call-phone {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 52px; border-radius: var(--r-pill);
  background: var(--accent); color: #fff;
  font-family: var(--font-heading); font-weight: 700; font-size: 17px;
  box-shadow: 0 6px 16px rgba(15, 107, 255, .3);
}
.pz-sticky-call-phone .pz-icon, .pz-sticky-call-tg .pz-icon, .pz-sticky-call-max .pz-icon, .pz-sticky-call-cb .pz-icon { width: 19px; height: 19px; }
.pz-sticky-call-tg, .pz-sticky-call-max, .pz-sticky-call-cb {
  width: 52px; height: 52px; border-radius: var(--r-pill);
  background: var(--accent-soft); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
/* Callback-кнопка sticky-панели (зона sticky, default off): квадрат как tg/max */
.pz-sticky-call-cb { border: 0; cursor: pointer; padding: 0; }

/* На мобильных резервируем место под sticky-панель */
@media (max-width: 1024px) {
  .pz-body { padding-bottom: 72px; }
}

/* ============================================================
   8. Footer (Задача 6)
   ============================================================ */
.pz-footer { background: #0E1320; color: #C7CDD9; border-top: 1px solid var(--hairline); }
/* Общий паттерн auto-fit сеток: repeat(auto-fit, minmax(--pz-grid-min, 1fr)).
   Минимальная ширина колонки и промежутки задаются per-section ниже
   (--pz-grid-min и gap); дефолт --pz-grid-min = 230px. */
.pz-footer-grid,
.pz-hero-inner,
.pz-trust-inner,
.pz-services-grid,
.pz-whyus-grid,
.pz-steps-grid,
.pz-brands-grid,
.pz-reviews-grid,
.pz-svc-hero-inner,
.pz-blog-grid,
.pz-contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--pz-grid-min, 230px), 1fr));
}

.pz-footer-grid {
  padding-top: clamp(48px, 6vw, 80px); padding-bottom: 40px;
  --pz-grid-min: 210px;
  gap: clamp(28px, 4vw, 48px);
}

/* Колонка «О компании» */
.pz-footer-logo { font-family: var(--font-heading); font-weight: 800; font-size: 21px; color: #fff; }
.pz-footer-logo-accent { color: #6EA8FF; }
.pz-footer-desc { font-size: 14.5px; line-height: 1.6; margin: 16px 0 0; color: #8A93A6; }
.pz-footer-contacts { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.pz-footer-phone { font-family: var(--font-heading); font-weight: 700; font-size: 18px; color: #fff; }
.pz-footer-phone-city { font-size: 15px; color: #8A93A6; }
.pz-footer-hours { font-size: 14px; color: #8A93A6; margin-top: 4px; }

/* Колонки меню (override mod_menu/footer.php) */
.pz-footer-col-title {
  font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: #fff;
  letter-spacing: .04em; text-transform: uppercase; margin: 0 0 16px;
}
.pz-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.pz-footer-links a { font-size: 15px; color: #C7CDD9; }

/* Нижняя полоса: копирайт и реквизиты */
.pz-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.pz-footer-bottom-inner {
  padding-top: 22px; padding-bottom: 22px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: 13.5px; color: #6B7385;
}
/* Кредит разработчика (нижняя полоса, справа) — приглушённый, не акцентный */
.pz-footer-dev { color: #6B7385; text-decoration: none; }
.pz-footer-dev:hover { color: #C7CDD9; text-decoration: underline; }

/* ============================================================
   8b. Страница «Карта сайта» (layout com_content/article/sitemap.php)
   Прототип pages.jsx SitemapPage (506-542).
   ============================================================ */
.pz-sitemap-sec { padding-top: clamp(34px, 5vw, 56px); padding-bottom: clamp(56px, 8vw, 112px); }
.pz-sitemap-title {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(30px, 4vw, 48px); letter-spacing: -.02em; margin: 18px 0 0; color: var(--ink);
}
.pz-sitemap-lead { color: var(--ink-2); font-size: clamp(17px, 1.8vw, 19px); margin: 12px 0 0; max-width: 620px; }
.pz-sitemap-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(24px, 3vw, 40px); margin-top: 40px;
}
.pz-sitemap-group-title {
  font-family: var(--font-heading); font-weight: 700; font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3);
  padding-bottom: 14px; border-bottom: 1px solid var(--hairline); margin-bottom: 8px;
}
.pz-sitemap-list { display: flex; flex-direction: column; }
.pz-sitemap-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 10px; border-radius: 10px; color: var(--ink);
}
.pz-sitemap-row:hover { background: var(--accent-soft); }
.pz-sitemap-ico {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.pz-sitemap-ico .pz-icon { width: 17px; height: 17px; }
.pz-sitemap-label { font-size: 15.5px; line-height: 1.3; }

/* ============================================================
   9. Модули главной (Задачи 7–15)
   ============================================================ */

/* --- Общие элементы секций (из прототипа pages.jsx) --- */

/* Градиентное слово в заголовках (gradWord) */
.pz-grad {
  background: var(--plasma);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Бейдж-пилюля с иконкой (badge) */
.pz-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--accent-soft); color: var(--accent-ink);
  font-weight: 600; font-size: 14px;
}
.pz-badge .pz-icon { width: 16px; height: 16px; }

/* Кнопки: варианты lg / outline (Button из components.jsx) */
.pz-btn-lg { height: 56px; padding: 0 28px; font-size: 18px; }
.pz-btn-lg .pz-icon { width: 19px; height: 19px; }
.pz-btn-outline { background: var(--surface); color: var(--ink); border: 1.5px solid var(--hairline); }

/* Отступы секции (sectionPad), надзаголовок (eyebrow), H2 секции (h2) */
.pz-section {
  padding-top: clamp(56px, 8vw, 112px);
  padding-bottom: clamp(56px, 8vw, 112px);
}
.pz-eyebrow { font-weight: 600; color: var(--accent); font-size: 15px; letter-spacing: .02em; }
.pz-h2 {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -.02em;
  margin: 10px 0 0;
}

/* --- 9.1 Hero (mod_plazmahero, Задача 7; pages.jsx 31-68, hv=1) --- */
.pz-hero {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--hairline);
}
.pz-hero-inner {
  padding-top: clamp(40px, 6vw, 84px);
  padding-bottom: clamp(48px, 7vw, 96px);
  --pz-grid-min: min(100%, 340px);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

/* Левая колонка */
.pz-hero-title {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(34px, 5vw, 58px); line-height: 1.04; letter-spacing: -.025em;
  margin: 22px 0 0;
}
.pz-hero-subtitle { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); margin: 20px 0 0; max-width: 520px; }
.pz-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.pz-hero-note { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--ink-2); font-size: 15px; }
.pz-hero-note .pz-icon { width: 18px; height: 18px; }

/* Правая колонка: карточка «Мастер в пути» */
.pz-hero-visual { position: relative; }
.pz-hero-card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  padding: clamp(20px, 3vw, 30px);
}
.pz-hero-card-head { display: flex; align-items: center; justify-content: space-between; }
.pz-hero-card-master { display: flex; align-items: center; gap: 12px; }
.pz-hero-card-icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--plasma); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pz-hero-card-icon .pz-icon { width: 24px; height: 24px; }
.pz-hero-card-text { line-height: 1.25; }
.pz-hero-card-title { font-family: var(--font-heading); font-weight: 700; font-size: 17px; }
.pz-hero-card-note { font-size: 13.5px; color: var(--ink-2); }
.pz-hero-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(22, 163, 74, .1); color: var(--success);
  font-weight: 600; font-size: 13px; white-space: nowrap;
}

/* Плитки услуг (адаптивная сетка 2 кол.; кол-во плиток = число услуг в меню) */
.pz-hero-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
/* Нечётная последняя плитка (напр. 5-я при 5 услугах) — на всю ширину строки,
   чтобы не оставалась «сиротой» с пустотой рядом. */
.pz-hero-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pz-hero-tile {
  display: block; padding: 16px;
  background: var(--bg); border: 1px solid var(--hairline); border-radius: var(--r-md);
}
.pz-hero-tile-icon { display: inline-flex; color: var(--accent); }
.pz-hero-tile-icon .pz-icon { width: 22px; height: 22px; }
.pz-hero-tile-title { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 16px; margin-top: 10px; }
.pz-hero-tile-note { display: block; font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }

/* Плавающий бейдж «100% гарантия» */
.pz-hero-float {
  position: absolute; right: -10px; bottom: -18px;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-md); box-shadow: var(--shadow-pop);
  padding: 13px 16px; display: flex; align-items: center; gap: 10px;
}
.pz-hero-float-icon { display: flex; color: var(--success); }
.pz-hero-float-icon .pz-icon { width: 20px; height: 20px; }
.pz-hero-float-text { font-family: var(--font-heading); font-weight: 700; font-size: 15px; }

/* --- 9.2 Полоса доверия (mod_plazmatrust, Задача 8; components.jsx TrustStrip 362-378) ---
   В прототипе TrustStrip лежит внутри hero-секции (borderTop у полосы,
   borderBottom у секции). Здесь модуль — сосед hero: верхней линией служит
   border-bottom самого .pz-hero, а полоса несёт нижнюю. */
.pz-trust { background: var(--bg); border-bottom: 1px solid var(--hairline); }
.pz-trust-inner {
  padding-top: clamp(20px, 3vw, 30px);
  padding-bottom: clamp(20px, 3vw, 30px);
  --pz-grid-min: 190px;
  gap: 8px clamp(16px, 3vw, 40px);
}
.pz-trust-item { display: flex; align-items: center; gap: 14px; padding: 8px 0; }
.pz-trust-icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pz-trust-icon .pz-icon { width: 24px; height: 24px; }
.pz-trust-text { line-height: 1.15; }
.pz-trust-num {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -.02em;
}
.pz-trust-label { font-size: 14px; color: var(--ink-2); }

/* --- 9.3 Услуги (mod_plazmaservices, Задача 9; pages.jsx 113-132) --- */
.pz-services-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.pz-services-intro { color: var(--ink-2); max-width: 380px; margin: 0; }
.pz-services-grid {
  --pz-grid-min: 230px;
  gap: 18px; margin-top: 36px;
}
.pz-services-card {
  display: flex; flex-direction: column; padding: 26px;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  color: inherit;
}
.pz-services-icon {
  width: 54px; height: 54px; border-radius: 15px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.pz-services-icon .pz-icon { width: 26px; height: 26px; }
.pz-services-title { font-family: var(--font-heading); font-weight: 700; font-size: 20px; margin: 18px 0 0; }
.pz-services-short { color: var(--ink-2); font-size: 15px; margin: 8px 0 0; flex: 1; }
.pz-services-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--hairline);
}
.pz-services-price { font-family: var(--font-heading); font-weight: 700; font-size: 17px; color: var(--ink); }
.pz-services-arrow { display: inline-flex; color: var(--accent); }
.pz-services-arrow .pz-icon { width: 18px; height: 18px; }

/* --- 9.4 Почему мы (mod_plazmawhyus, Задача 10; pages.jsx 134-149) --- */
.pz-whyus {
  background: var(--surface-muted);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.pz-whyus-grid {
  --pz-grid-min: 210px;
  gap: 16px; margin-top: 36px;
}
.pz-whyus-card {
  padding: 24px;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-md);
}
.pz-whyus-icon {
  width: 48px; height: 48px; border-radius: 13px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.pz-whyus-icon .pz-icon { width: 22px; height: 22px; }
.pz-whyus-title { font-family: var(--font-heading); font-weight: 700; font-size: 18px; margin: 16px 0 0; }
.pz-whyus-text { color: var(--ink-2); font-size: 14.5px; margin: 7px 0 0; }

/* --- 9.5 Как мы работаем (mod_plazmasteps, Задача 11; pages.jsx 151-164) --- */
.pz-steps-grid {
  --pz-grid-min: 230px;
  gap: 18px; margin-top: 38px;
}
.pz-steps-card {
  padding: 26px 24px;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-md);
}
.pz-steps-num {
  display: inline-block;
  font-family: var(--font-heading); font-weight: 800;
  font-size: 44px; line-height: 1;
}
.pz-steps-title { font-family: var(--font-heading); font-weight: 700; font-size: 19px; margin: 14px 0 0; }
.pz-steps-text { color: var(--ink-2); font-size: 14.5px; margin: 7px 0 0; }

/* --- 9.6 Бренды (mod_plazmabrands, Задача 12; pages.jsx 166-172, BrandGrid 380-389) ---
   Секция с укороченными отступами (в прототипе clamp(44px,6vw,80px), не sectionPad). */
.pz-brands { border-top: 1px solid var(--hairline); }
.pz-brands-inner {
  padding-top: clamp(44px, 6vw, 80px);
  padding-bottom: clamp(44px, 6vw, 80px);
}
.pz-brands-head { text-align: center; }
.pz-brands-title {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.01em;
  margin: 0;
}
.pz-brands-intro { color: var(--ink-2); margin: 8px 0 0; }
.pz-brands-grid {
  --pz-grid-min: 116px;
  gap: 10px; margin-top: 30px;
}
.pz-brand {
  display: flex; align-items: center; justify-content: center;
  height: 60px;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  font-family: var(--font-heading); font-weight: 700; font-size: 17px;
  color: var(--ink-3);
  transition: color .15s, border-color .15s;
}

/* --- 9.7 Цены (mod_plazmaprices, Задача 13; pages.jsx 174-192) --- */
.pz-prices {
  background: var(--surface-muted);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.pz-prices-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.pz-prices-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: var(--r-pill);
  background: rgba(22, 163, 74, .1); color: var(--success);
  font-weight: 600;
}
.pz-prices-badge .pz-icon { width: 18px; height: 18px; }
.pz-prices-list {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  margin-top: 30px; overflow: hidden;
}
.pz-prices-row {
  display: flex; align-items: center; gap: 18px;
  padding: 20px clamp(18px, 3vw, 28px);
  border-bottom: 1px solid var(--hairline);
}
.pz-prices-icon {
  width: 48px; height: 48px; border-radius: 13px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pz-prices-icon .pz-icon { width: 20px; height: 20px; }
.pz-prices-text { flex: 1; min-width: 0; }
.pz-prices-title { font-family: var(--font-heading); font-weight: 700; font-size: 18px; }
.pz-prices-short { font-size: 14px; color: var(--ink-2); }
.pz-prices-price { font-family: var(--font-heading); font-weight: 700; font-size: 18px; color: var(--ink); white-space: nowrap; }
.pz-prices-arrow { color: var(--accent); }
.pz-prices-arrow .pz-icon { width: 18px; height: 18px; }

/* --- 9.8 Отзывы (mod_plazmareviews, Задача 14; pages.jsx 194-212) --- */
.pz-reviews-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.pz-reviews-all {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--accent);
}
.pz-reviews-all .pz-icon { width: 18px; height: 18px; }
.pz-reviews-grid {
  --pz-grid-min: 280px;
  gap: 18px; margin-top: 34px;
}
.pz-reviews-card {
  display: flex; flex-direction: column; padding: 26px;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); box-shadow: var(--shadow-card);
}
.pz-reviews-stars { color: #F5A623; display: flex; gap: 2px; }
.pz-reviews-stars .pz-icon { width: 16px; height: 16px; }
.pz-reviews-text { font-size: 15.5px; color: var(--ink); margin: 14px 0 0; flex: 1; }
.pz-reviews-author {
  display: flex; align-items: center; gap: 12px;
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--hairline);
}
.pz-reviews-avatar {
  width: 44px; height: 44px; border-radius: var(--r-pill);
  background: var(--accent-soft); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; flex-shrink: 0;
}
.pz-reviews-meta { line-height: 1.2; }
.pz-reviews-name { font-weight: 600; }
.pz-reviews-city { font-size: 13px; color: var(--ink-3); }

/* --- 9.9 CTA (mod_plazmacta, Задача 15; components.jsx CTASection 342-359) --- */
.pz-cta {
  background-color: var(--ink);
  background-image: radial-gradient(120% 140% at 85% 10%, rgba(108, 60, 255, .35) 0%, rgba(15, 107, 255, 0) 55%);
}
.pz-cta-inner {
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(48px, 6vw, 88px);
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 32px; justify-content: space-between;
}
.pz-cta-title {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.02em;
  color: #fff; margin: 0; max-width: 520px; line-height: 1.1;
}
.pz-cta-text { color: rgba(255, 255, 255, .7); font-size: 17px; margin: 14px 0 0; max-width: 460px; }
.pz-cta-actions { display: flex; flex-direction: column; gap: 12px; min-width: 260px; }
.pz-cta-phone {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 60px; padding: 0 28px; border-radius: var(--r-pill);
  background: #fff; color: var(--ink);
  font-family: var(--font-heading); font-weight: 800; font-size: 21px;
}
.pz-cta-phone .pz-icon { width: 22px; height: 22px; }
.pz-cta-phone2 {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .1); color: #fff;
  font-weight: 600; font-size: 17px;
}
.pz-cta-phone2 .pz-icon { width: 18px; height: 18px; }
.pz-cta-hours {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  color: rgba(255, 255, 255, .6); font-size: 14px;
}
.pz-cta-hours .pz-icon { width: 16px; height: 16px; }

/* ============================================================
   10. Внутренние страницы (Задачи 17–23)
   ============================================================ */

/* --- Общие элементы внутренних страниц --- */

/* Отступы секции (sectionPadSm из pages.jsx) */
.pz-section-sm {
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(48px, 7vw, 96px);
}

/* H2 внутренних страниц (в прототипе clamp(24px,3vw,36px)) */
.pz-svc-h2 { font-size: clamp(24px, 3vw, 36px); }

/* Хлебные крошки (components.jsx Crumbs 121-133) */
.pz-crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; flex-wrap: wrap; color: var(--ink-2); }
.pz-crumbs a { color: var(--ink-2); }
.pz-crumbs a:hover { color: var(--accent); }
.pz-crumbs-sep { display: flex; color: var(--ink-3); }
.pz-crumbs-sep .pz-icon { width: 14px; height: 14px; transform: rotate(-90deg); }
.pz-crumbs-current { color: var(--ink); font-weight: 600; }

/* --- 10.1 Страница услуги (service.php, Задача 17; pages.jsx ServicePage 221-319) --- */

/* Hero услуги */
.pz-svc-hero {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--hairline);
}
.pz-svc-hero-crumbs { padding-top: 22px; }
.pz-svc-hero-inner {
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(40px, 6vw, 72px);
  --pz-grid-min: min(100%, 320px);
  gap: clamp(30px, 4vw, 56px);
  align-items: center;
}
.pz-svc-title {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(30px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -.02em;
  margin: 20px 0 0;
}
.pz-svc-lead { font-size: clamp(17px, 1.9vw, 20px); color: var(--ink-2); margin: 18px 0 0; max-width: 520px; }
.pz-svc-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.pz-svc-note { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--ink-2); font-size: 15px; }
.pz-svc-note .pz-icon { width: 18px; height: 18px; }

/* Карточка «Почему к нам» (TRUST в правой колонке hero) */
.pz-svc-card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  padding: clamp(22px, 3vw, 30px);
}
.pz-svc-card-title { font-family: var(--font-heading); font-weight: 700; font-size: 18px; }
.pz-svc-card-list { display: grid; gap: 14px; margin-top: 18px; }
.pz-svc-card-item { display: flex; align-items: center; gap: 14px; }
.pz-svc-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pz-svc-card-icon .pz-icon { width: 24px; height: 24px; }
.pz-svc-card-text { line-height: 1.2; }
.pz-svc-card-num { font-family: var(--font-heading); font-weight: 800; font-size: 19px; }
.pz-svc-card-label { color: var(--ink-2); font-size: 14.5px; }

/* Признаки поломки — чипы */
.pz-svc-intro { color: var(--ink-2); margin: 10px 0 0; max-width: 560px; }
.pz-svc-symptoms { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pz-svc-chip {
  display: flex; align-items: center; gap: 11px;
  padding: 14px 20px;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-pill);
  font-weight: 500; font-size: 16px;
}
.pz-svc-chip .pz-icon { width: 16px; height: 16px; color: var(--accent); }

/* Бренды: на странице услуги секция на muted-фоне с обеими линиями */
.pz-svc-brands {
  background: var(--surface-muted);
  border-bottom: 1px solid var(--hairline);
}

/* 5 причин: заголовок без eyebrow, сетка/карточки — .pz-whyus-* */
.pz-svc-reasons-title { margin: 0; }

/* Стоимость работ — таблицы по группам */
.pz-svc-prices {
  background: var(--surface-muted);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.pz-svc-prices-inner {
  max-width: 920px; margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 40px);
}
.pz-svc-prices-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pz-svc-prices-title { margin: 0; }
.pz-svc-prices-free { display: inline-flex; align-items: center; gap: 8px; color: var(--success); font-weight: 600; font-size: 15px; }
.pz-svc-prices-free .pz-icon { width: 18px; height: 18px; }
.pz-svc-table {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  margin-top: 26px; overflow: hidden;
}
.pz-svc-group-title {
  padding: 14px clamp(18px, 3vw, 26px);
  background: var(--bg);
  font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: var(--ink-2);
  border-bottom: 1px solid var(--hairline);
  letter-spacing: .02em; text-transform: uppercase;
}
.pz-svc-price-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px clamp(18px, 3vw, 26px);
  border-bottom: 1px solid var(--hairline);
}
.pz-svc-price-name { font-size: 16px; }
.pz-svc-price-val { font-family: var(--font-heading); font-weight: 700; font-size: 16px; white-space: nowrap; }
.pz-svc-price-note { padding: 16px clamp(18px, 3vw, 26px); color: var(--ink-2); font-size: 14px; }

/* FAQ — аккордеон (components.jsx FaqList 392-409; JS: data-pz-acc в main.js) */
.pz-svc-faq {
  max-width: 820px; margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 40px);
}
.pz-svc-faq-title { margin: 0 0 26px; }
.pz-acc { display: flex; flex-direction: column; gap: 12px; }
.pz-acc-item {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-md); overflow: hidden;
}
.pz-acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px;
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-heading); font-weight: 700; font-size: 17px; color: var(--ink);
}
.pz-acc-btn .pz-icon { width: 20px; height: 20px; color: var(--accent); transition: transform .2s; }
.pz-acc-btn[aria-expanded="true"] .pz-icon { transform: rotate(180deg); }
.pz-acc-panel { padding: 0 22px 20px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }

/* --- 10.2 Список статей «База знаний» (blog.php, Задача 18; pages.jsx ArticlesPage 322-347) --- */
.pz-blog {
  padding-top: clamp(34px, 5vw, 56px);
  padding-bottom: clamp(56px, 8vw, 112px);
}
.pz-blog-title {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(30px, 4vw, 48px); letter-spacing: -.02em;
  margin: 18px 0 0;
}
.pz-blog-intro { color: var(--ink-2); font-size: clamp(17px, 1.8vw, 19px); margin: 12px 0 0; max-width: 620px; }
.pz-blog-grid {
  --pz-grid-min: min(100%, 300px);
  gap: 20px; margin-top: 40px;
}
.pz-blog-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  overflow: hidden;
}
.pz-blog-cover {
  height: 128px;
  background: var(--plasma);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, .92);
}
.pz-blog-cover .pz-icon { width: 40px; height: 40px; }
.pz-blog-cover-tips { background: linear-gradient(135deg, #6C3CFF, #0F6BFF); }
.pz-blog-cover-care { background: linear-gradient(135deg, #0F6BFF, #06B6D4); }
.pz-blog-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.pz-blog-card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pz-blog-tag {
  display: inline-flex; align-items: center; padding: 4px 11px;
  background: var(--accent-soft); color: var(--accent-ink);
  border-radius: var(--r-pill); font-weight: 600; font-size: 12px;
}
.pz-blog-read { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.pz-blog-card-title { font-family: var(--font-heading); font-weight: 700; font-size: 19px; line-height: 1.3; margin: 10px 0 0; }
.pz-blog-card-lead { color: var(--ink-2); font-size: 14.5px; margin: 10px 0 0; flex: 1; }
.pz-blog-more { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; font-size: 15px; margin-top: 18px; }
.pz-blog-more .pz-icon { width: 18px; height: 18px; }
.pz-blog-empty { color: var(--ink-2); margin: 32px 0 0; }

/* --- 10.3 Статья базы знаний (default.php, Задача 18; pages.jsx ArticlePage 350-390,
   блоки тела — components.jsx ArticleBody 412-460, HTML пишет seed-articles.php) --- */
.pz-art {
  padding-top: clamp(34px, 5vw, 56px);
  padding-bottom: clamp(56px, 8vw, 112px);
}
/* Сетка статья + aside (мобильный collapse — media-правило в секции 6) */
.pz-article-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(32px, 4vw, 56px); margin-top: 24px; align-items: start;
}
.pz-art-main { min-width: 0; }

/* Шапка статьи */
.pz-art-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pz-art-tag {
  display: inline-flex; align-items: center; padding: 5px 12px;
  background: var(--accent-soft); color: var(--accent-ink);
  border-radius: var(--r-pill); font-weight: 600; font-size: 13px;
}
.pz-art-date { font-size: 14px; color: var(--ink-3); font-weight: 500; }
.pz-art-title {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(28px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -.02em;
  margin: 14px 0 0;
}

/* Тело статьи: лид + типографика блоков */
.pz-art-body { margin-top: 18px; max-width: 820px; }
.pz-art-body > p { font-size: 18px; line-height: 1.75; color: var(--ink); margin: 0 0 20px; text-wrap: pretty; }
.pz-art-body > p.pz-art-lead {
  font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--ink-2);
  margin: 0 0 24px;
}
.pz-art-body h2 {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.01em; line-height: 1.2;
  margin: 40px 0 16px;
}

/* Плашки-списки: check (зелёная) и danger (красная) */
.pz-art-box { margin: 8px 0 26px; padding: 24px 26px; border-radius: var(--r-md); }
.pz-art-check { background: rgba(22, 163, 74, .07); border: 1px solid rgba(22, 163, 74, .25); }
.pz-art-danger { background: rgba(225, 29, 72, .05); border: 1px solid rgba(225, 29, 72, .22); }
.pz-art-box-head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-weight: 700; font-size: 16px;
  margin-bottom: 16px;
}
.pz-art-check .pz-art-box-head { color: #15803D; }
.pz-art-danger .pz-art-box-head { color: #BE123C; }
.pz-art-box-head .pz-icon { width: 20px; height: 20px; }
.pz-art-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.pz-art-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16.5px; line-height: 1.55; color: var(--ink); }
.pz-art-check-list li .pz-icon { width: 18px; height: 18px; color: var(--success); margin-top: 2px; }
.pz-art-danger-list li { gap: 13px; }
.pz-art-danger-list li::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #E11D48; margin-top: 8px; flex-shrink: 0;
}

/* Заметки: warn (оранжевая «Важно») и tip (синяя «Совет») */
.pz-art-note {
  margin: 8px 0 26px; padding: 18px 22px; border-radius: var(--r-md);
  display: flex; align-items: flex-start; gap: 13px;
}
.pz-art-note .pz-icon { width: 20px; height: 20px; margin-top: 1px; }
.pz-art-note p { font-size: 16.5px; line-height: 1.6; margin: 0; }
.pz-art-warn { background: #FFF7ED; border: 1px solid #FED7AA; }
.pz-art-warn p { color: #9A3412; }
.pz-art-warn .pz-icon { color: #D97706; }
.pz-art-tip { background: var(--accent-soft); }
.pz-art-tip p { color: var(--ink); }
.pz-art-tip .pz-icon { color: var(--accent); }

/* FAQ внутри статьи (аккордеон .pz-acc — стили в 10.1) */
.pz-art-faq { margin: 8px 0 26px; }

/* CTA-плашка «Когда звонить мастеру» */
.pz-art-master { margin: 28px 0; padding: 26px; background: var(--accent-soft); border-radius: var(--r-lg); }
.pz-art-master-head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-weight: 800; font-size: 19px; color: var(--accent-ink);
  margin-bottom: 8px;
}
.pz-art-master-head .pz-icon { width: 22px; height: 22px; }
.pz-art-master p { font-size: 16.5px; line-height: 1.6; color: var(--ink); margin: 0 0 18px; }

/* Связанные услуги — пилюли-ссылки */
.pz-art-related { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--hairline); }
.pz-art-related-title { font-family: var(--font-heading); font-weight: 700; font-size: 18px; margin-bottom: 16px; }
.pz-art-related-list { display: flex; flex-wrap: wrap; gap: 12px; }
.pz-art-related-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px;
  transition: color .15s, border-color .15s;
}
.pz-art-related-link .pz-icon { width: 18px; height: 18px; }
.pz-art-related-icon { display: flex; color: var(--accent); }

/* Sticky-aside «Нужен мастер?» (desktop only — .u-desk) */
.pz-art-aside { position: sticky; top: 94px; }
.pz-art-aside-card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  padding: 24px;
}
.pz-art-aside-title { font-family: var(--font-heading); font-weight: 800; font-size: 19px; line-height: 1.2; }
.pz-art-aside-text { color: var(--ink-2); font-size: 14.5px; margin: 8px 0 16px; }
.pz-art-aside-btn2 { margin-top: 10px; }
.pz-art-aside-hours {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin-top: 16px; color: var(--ink-2); font-size: 13.5px;
}
.pz-art-aside-hours .pz-icon { width: 16px; height: 16px; }

/* --- 10.4 Страницы ошибок и offline (error.php/offline.php, Задача 20;
   pages.jsx ErrorPage 476-503, тексты — ERRORS 469-474) --- */
/* Каркас: страница ошибки занимает весь вьюпорт, подвал прижат к низу */
body.pz-error, body.pz-offline { min-height: 100vh; display: flex; flex-direction: column; }
body.pz-error .pz-main, body.pz-offline .pz-main { flex: 1; display: flex; flex-direction: column; }
.pz-error-section {
  flex: 1;
  min-height: 68vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(48px, 8vw, 96px);
}
.pz-error-icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.pz-error-icon .pz-icon { width: 30px; height: 30px; }
.pz-error-code {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(88px, 18vw, 168px); line-height: 1; letter-spacing: -.04em;
  margin: 16px 0 0;
}
.pz-error-title {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(24px, 3.2vw, 38px); letter-spacing: -.02em;
  margin: 6px 0 0;
}
.pz-error-message {
  color: var(--ink-2); font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6; max-width: 540px; margin: 14px 0 0;
}
.pz-error-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.pz-error-hours {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  color: var(--ink-2); font-size: 14px; margin: 18px 0 0;
}
.pz-error-hours .pz-icon { width: 16px; height: 16px; }
.pz-error-debug {
  margin: 32px 0 0; padding: 16px 20px; max-width: min(100%, 720px);
  overflow-x: auto; text-align: left;
  background: var(--surface-muted); border: 1px solid var(--hairline); border-radius: var(--r-md);
  font-size: 13px; color: var(--ink-2); white-space: pre-wrap;
}

/* ============================================================
   Задача 21. Модалка «Вызвать мастера» (mod_rcmforms)
   Скин штатного оверлея .rcmforms-modal + вёрстка формы .pz-cbform
   по прототипу CallModal/CallbackForm (htmljs/js/components.jsx).
   ============================================================ */
.pz-sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; border: 0; clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* Оверлей и диалог */
.rcmforms-modal { padding: 20px; }
.rcmforms-modal__backdrop { background: rgba(14, 19, 32, .55); }
.rcmforms-modal__dialog {
  width: min(440px, 100%);
  border: 0;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-pop);
  padding: clamp(24px, 4vw, 34px);
  animation: pz-modal-pop .24s ease both;
}
@keyframes pz-modal-pop {
  from { opacity: 0; transform: translateY(10px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.rcmforms-modal__close {
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--surface-muted);
  color: var(--ink);
  font-size: 22px;
}
.rcmforms-modal__close:hover { background: var(--hairline); color: var(--ink); }

/* Форма */
.pz-cbform-title {
  font-family: var(--font-heading); font-weight: 800;
  font-size: 22px; letter-spacing: -.01em; color: var(--ink);
  padding-right: 44px;
}
.pz-cbform-desc { color: var(--ink-2); font-size: 15px; margin-top: 6px; }
.pz-cbform-fields { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.pz-cbform .pz-input {
  width: 100%; height: 52px; padding: 0 16px;
  border-radius: 12px; border: 1.5px solid var(--hairline);
  background: var(--bg); font-size: 16px; font-family: var(--font-body);
  color: var(--ink); outline: none; transition: border-color .15s ease;
}
.pz-cbform .pz-input:focus { border-color: var(--accent); }
.pz-cbform .pz-input::placeholder { color: var(--ink-3); }

/* Согласие (блок компонента: .rcmforms__consent) */
.pz-cbform .rcmforms__consent,
.pz-cbform .form-check {
  display: flex; align-items: flex-start; gap: 11px;
  margin-top: 14px; cursor: pointer;
  font-size: 13.5px; line-height: 1.5; color: var(--ink-2);
}
.pz-cbform .rcmforms__consent input[type="checkbox"],
.pz-cbform .form-check input[type="checkbox"] {
  width: 20px; height: 20px; margin-top: 2px;
  accent-color: var(--accent); flex-shrink: 0; cursor: pointer;
}
.pz-cbform .rcmforms__consent a { color: var(--accent); font-weight: 600; text-decoration: underline; }

/* Кнопка отправки (submit_class модуля: pz-btn pz-btn-primary pz-btn-block pz-cbform-submit) */
.pz-cbform .pz-cbform-submit {
  margin-top: 18px; height: 54px; font-size: 17px;
}
.pz-cbform .pz-cbform-submit:disabled {
  background: var(--accent-disabled) !important; box-shadow: none;
  cursor: not-allowed; transform: none;
}
.pz-cbform-alt { text-align: center; margin-top: 12px; font-size: 13.5px; color: var(--ink-3); }
.pz-cbform-alt a { color: var(--ink); font-weight: 600; }

/* Сообщения и ошибки валидации (validation_style=neutral) */
.pz-cbform .rcmforms__messages { margin-top: 12px; font-size: 14px; }
.pz-cbform .rcmforms__messages:empty { display: none; }
.pz-cbform .rcmforms__messages--error { color: var(--danger); }
.pz-cbform .rcmforms__error { color: var(--danger); font-size: 13px; margin-top: 4px; }
.pz-cbform .rcmforms__field--error .pz-input,
.pz-cbform .pz-input.rcmforms__field--error { border-color: var(--danger); }

/* Экран успеха (success_template формы callback) */
.pz-cbform-success { text-align: center; padding: 12px 4px; }
.pz-cbform-success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(22, 163, 74, .12); color: var(--success);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.pz-cbform-success-title {
  font-family: var(--font-heading); font-weight: 800;
  font-size: 22px; margin-top: 16px; color: var(--ink);
}
.pz-cbform-success-text { color: var(--ink-2); margin-top: 8px; font-size: 15.5px; }

/* ============================================================
   Задача 22. Страница «Контакты» (kontakty.php;
   pages.jsx ContactsPage 393-436)
   ============================================================ */
.pz-contacts {
  padding-top: clamp(34px, 5vw, 56px);
  padding-bottom: clamp(56px, 8vw, 112px);
}
.pz-contacts-title {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(30px, 4vw, 48px); letter-spacing: -.02em;
  margin: 18px 0 0;
}
.pz-contacts-intro { color: var(--ink-2); font-size: clamp(17px, 1.8vw, 19px); margin: 12px 0 0; }
.pz-contacts-grid {
  --pz-grid-min: min(100%, 320px);
  gap: 24px; margin-top: 36px;
}
.pz-contacts-col { display: flex; flex-direction: column; gap: 16px; }
.pz-contacts-col-form { gap: 24px; }

/* Карточка (card из pages.jsx 437) */
.pz-contact-card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  padding: 26px;
}
.pz-contact-card-title { font-family: var(--font-heading); font-weight: 700; font-size: 18px; margin-bottom: 16px; }

/* Телефоны */
.pz-contact-phone {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid var(--hairline);
}
.pz-contact-phone-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pz-contact-phone-icon .pz-icon { width: 19px; height: 19px; }
.pz-contact-phone-num { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 19px; }
.pz-contact-phone-note { font-size: 13.5px; color: var(--ink-2); }
.pz-contact-tg-row { display: flex; gap: 12px; margin-top: 18px; }
.pz-contact-tg, .pz-contact-max {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; border-radius: var(--r-pill);
  background: var(--accent-soft); color: var(--accent-ink); font-weight: 600;
}
.pz-contact-tg .pz-icon, .pz-contact-max .pz-icon { width: 19px; height: 19px; }
.pz-contact-tg:hover, .pz-contact-max:hover { color: var(--accent); }

/* Режим работы и адрес */
.pz-contact-line { display: flex; align-items: center; gap: 12px; color: var(--ink); margin-bottom: 10px; }
.pz-contact-line:last-child { margin-bottom: 0; }
.pz-contact-line-muted { color: var(--ink-2); }
.pz-contact-line .pz-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* «О мастере» — introtext статьи */
.pz-contact-about p { color: var(--ink-2); font-size: 15px; margin: 0 0 10px; }
.pz-contact-about p:last-child { margin-bottom: 0; }

/* Карта Брянска: click-to-load (обложка → iframe по кнопке, JS в main.js) */
.pz-map {
  position: relative; height: 300px;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--hairline);
  background: linear-gradient(135deg, #EAF1FF, #F0F2F6);
}
.pz-map-cover {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: var(--ink-3);
}
.pz-map-pin {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card);
}
.pz-map-pin .pz-icon { width: 24px; height: 24px; }
.pz-map-label { font-weight: 600; }
.pz-map-btn { height: 44px; padding: 0 20px; font-size: 15px; }
.pz-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Карточка встроенной формы (модуль contact-form; вёрстка формы — .pz-cbform выше) */
.pz-contacts-form-card { padding: clamp(22px, 3vw, 30px); }

/* ============================================================
   PZ-LEGAL — типографика юридических документов (Задача 23)
   Документы: h2, h3, p, ul (ol/table — на вырост).
   ============================================================ */
.pz-legal { max-width: 860px; font-size: 1rem; line-height: 1.7; color: var(--ink); overflow-wrap: break-word; }
.pz-legal h2 { margin: 2.25rem 0 0.875rem; font-size: 1.375rem; line-height: 1.3; font-weight: 700; font-family: var(--font-heading); }
.pz-legal h2:first-child { margin-top: 0; }
.pz-legal h3 { margin: 1.75rem 0 0.75rem; font-size: 1.125rem; line-height: 1.35; font-weight: 600; font-family: var(--font-heading); }
.pz-legal p { margin: 0 0 0.875rem; }
.pz-legal ul, .pz-legal ol { margin: 0 0 1rem; padding-left: 1.5rem; }
.pz-legal li { margin-bottom: 0.375rem; }
.pz-legal li > ul, .pz-legal li > ol { margin-top: 0.375rem; margin-bottom: 0; }
.pz-legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.pz-legal a:hover { text-decoration: none; }
.pz-legal table { width: 100%; margin: 0 0 1.25rem; border-collapse: collapse; font-size: 0.9375rem; }
.pz-legal th, .pz-legal td { padding: 0.5rem 0.75rem; border: 1px solid var(--hairline); text-align: left; vertical-align: top; }
.pz-legal th { font-weight: 600; background: var(--surface-muted, rgba(0,0,0,.04)); }
@media (max-width: 640px) {
  .pz-legal { font-size: 0.9375rem; }
  .pz-legal h2 { font-size: 1.25rem; }
  .pz-legal h3 { font-size: 1.0625rem; }
}
