/*
Theme Name: Дарина Разумная — открытие и управление стоматологией
Theme URI: https://razumnaiadarina.pro
Author: K Services
Description: Классическая PHP-тема сайта Дарины Разумной по макетам «A · Калька» (светлый). Без конструкторов и тяжёлых зависимостей.
Version: 1.1.0
Requires PHP: 7.4
Text Domain: darina
*/

/* ---------- Design tokens · вариант A «Калька» ---------- */
:root {
  /* палитра «Эмаль и тил» */
  --c-bg: #F7FAFA;          /* фон-калька */
  --c-white: #FFFFFF;
  --c-ink: #0F2A3A;         /* основной текст, тёмные блоки */
  --c-ink-2: #14354A;
  --c-ink-line: #1F4256;
  --c-ink-border: #3C6276;
  --c-on-ink: #C9DADF;
  --c-on-ink-muted: #A9C4CC;
  --c-teal: #0E7C86;        /* primary */
  --c-teal-dark: #0A6670;
  --c-accent: #19B5A8;      /* акцент, номера шагов */
  --c-tint: #D9F1EE;
  --c-tint-2: #F2FAF9;
  --c-muted: #5B7180;
  --c-muted-2: #8A9BA5;
  --c-text-2: #3E5666;
  --c-line: #DCE6EA;
  --c-line-strong: #B9CBD2;
  --c-grid: #E9F0F2;        /* миллиметровка */
  --c-surface: #EEF4F5;
  --c-photo-1: #EAF3F5;
  --c-photo-2: #DCEBEE;
  --c-ok: #2E9E6A; --c-ok-tint: #E2F4EA; --c-ok-dark: #1D6A46;
  --c-warn: #E0A100; --c-warn-tint: #FCF3D9; --c-warn-dark: #6E4F00;
  --c-err: #D64545; --c-err-tint: #FBE6E6; --c-err-dark: #9A2C2C; --c-err-text: #B43434;

  /* шрифты */
  --f-sans: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --f-hand: 'Caveat', 'Comic Sans MS', cursive;

  /* радиусы */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* сетка: контент 1240px, поля 16–100px (container query units) */
  --content: 1240px;
  --gutter: clamp(16px, calc((100cqw - 1240px) / 2), 100px);
  --bp-mobile: 767px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--c-bg); color: var(--c-ink); font-family: var(--f-sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--c-teal); text-underline-offset: 3px; }
a:hover { color: var(--c-teal-dark); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.dc-root { position: relative; container-type: inline-size; width: 100%; background: var(--c-bg); color: var(--c-ink); font-family: var(--f-sans); }

/* links rendered from design buttons/spans keep the design look */
a.dc-a { text-decoration: none; color: inherit; cursor: pointer; }
a.dc-a:hover { opacity: .92; }
button { cursor: pointer; }

/* ---------- responsive helpers from converter ---------- */
.dc-if { display: contents; }
.dc-c { display: block; }
.dc-only-d { display: contents; }
.dc-only-m { display: none; }
@media (max-width: 767px) {
  .dc-only-d { display: none; }
  .dc-only-m { display: contents; }
}

/* ---------- header (CRO 13.10) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; container-type: inline-size; }
.site-header .hdr { display: flex; justify-content: space-between; align-items: center; gap: 20px; height: 76px; padding: 0 var(--gutter); border-bottom: 1px solid var(--c-line); background: var(--c-white); color: var(--c-ink); font-family: var(--f-sans); position: relative; }
.site-header .hdr-logo { display: flex; align-items: center; gap: 8px; flex: none; color: inherit; text-decoration: none; line-height: 1; }
.site-header .hdr-logo .dz-mark { width: 34px; flex: none; color: var(--c-teal); }
.site-header .hdr-logo .hdr-tag { text-transform: uppercase; letter-spacing: .16em; font-size: 10px; } /* девиз из фирменного знака */
.site-header .hdr-logo-t { display: flex; flex-direction: column; gap: 2px; }
/* логотип 15.10: рукописное «Разумная Дарина» (Caveat) + веточка лаванды — адаптация фирменного знака под палитру сайта */
.site-header .hdr-logo b { font-family: var(--f-hand); font-size: 27px; font-weight: 600; letter-spacing: 0; line-height: .9; white-space: nowrap; }
.site-header .hdr-tag { font-size: 12px; color: var(--c-muted); white-space: nowrap; letter-spacing: 0; }
.site-header .hdr-nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.site-header .hdr-nav a { color: var(--c-ink); padding: 6px 0; border-bottom: 2px solid transparent; text-decoration: none; white-space: nowrap; }
.site-header .hdr-nav a:hover { border-bottom-color: var(--c-line-strong); }
.site-header .hdr-nav a.is-active { border-bottom-color: var(--c-accent); }
.site-header .hdr-date { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: var(--r-pill); background: var(--c-tint); color: var(--c-teal-dark); font-family: var(--f-mono); font-size: 11px; font-weight: 700; vertical-align: 1px; }
.site-header .hdr-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.site-header .hdr-tg { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c-line); color: var(--c-teal); }
.site-header .hdr-tg:hover { border-color: var(--c-teal); color: var(--c-teal-dark); }
.site-header .hdr-cta { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: var(--r-md); background: var(--c-teal); color: var(--c-white); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-header .hdr-cta:hover { background: var(--c-teal-dark); color: var(--c-white); }
.site-header .hdr-cabinet { display: inline-flex; align-items: center; gap: 6px; height: 40px; color: var(--c-muted-2); font-size: 13px; text-decoration: none; white-space: nowrap; }
.site-header .hdr-cabinet:hover { color: var(--c-teal); }
.site-header .hdr-cabinet span { display: none; }
@media (min-width: 1560px) { .site-header .hdr-cabinet span { display: inline; } }
.site-header .hdr-note { font-family: var(--f-mono); font-size: 11px; color: var(--c-muted); }
.site-header .hdr-burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border: 0; background: transparent; padding: 0; flex: none; }
.site-header .hdr-burger span { width: 22px; height: 1.5px; background: var(--c-ink); transition: transform .2s; }
.site-header.is-open .hdr-burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.site-header.is-open .hdr-burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.site-header .hdr-panel { display: none; }
@media (max-width: 1340px) {
  .site-header .hdr-nav { gap: 16px; font-size: 14px; }
  .site-header .hdr-tag { font-size: 11px; }
  .site-header .hdr-cta { padding: 0 14px; font-size: 14px; }
}
@media (max-width: 1220px) {
  .site-header .hdr { height: 64px; }
  .site-header .hdr-nav, .site-header .hdr-actions { display: none; }
  .site-header .hdr-burger { display: flex; }
  .site-header.is-minimal .hdr-burger { display: none; }
  .site-header.is-open .hdr-panel { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 64px; max-height: calc(100vh - 64px); overflow-y: auto; padding: 8px var(--gutter) 24px; background: var(--c-white); border-bottom: 1px solid var(--c-line); box-shadow: 0 20px 40px rgba(15,42,58,.12); }
  .site-header .hdr-panel a { display: flex; align-items: center; gap: 8px; min-height: 54px; border-bottom: 1px solid var(--c-line); color: var(--c-ink); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
  .site-header .hdr-panel a.is-active { color: var(--c-teal); }
  .site-header .hdr-panel .hdr-date { font-size: 12px; }
  .site-header .hdr-panel .hdr-cta { justify-content: center; height: 56px; margin-top: 18px; border: 0; color: var(--c-white); font-size: 16px; }
  .site-header .hdr-panel .hdr-tg-m { justify-content: center; margin-top: 10px; min-height: 52px; border: 1px solid var(--c-line); border-radius: var(--r-md); color: var(--c-teal); font-size: 16px; }
  .site-header .hdr-panel .hdr-cabinet-m { justify-content: center; margin-top: 10px; min-height: 44px; border: 0; color: var(--c-muted); font-size: 14px; font-weight: 500; }
}
@media (max-width: 420px) {
  .site-header .hdr-logo b { font-size: 24px; }
  .site-header .hdr-logo .dz-mark { width: 28px; }
  .site-header .hdr-tag { font-size: 11px; }
}
@media (max-width: 767px) { .site-header.is-minimal .hdr-note { max-width: 40%; text-align: right; } .site-header.is-minimal .hdr-tag { display: none; } }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--c-ink); color: var(--c-white); font-family: var(--f-sans); container-type: inline-size; }
.site-footer .ftr-top { display: flex; flex-wrap: wrap; gap: 40px 64px; justify-content: space-between; padding: 64px var(--gutter) 40px; }
.site-footer .ftr-brand { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; max-width: 460px; }
.site-footer .ftr-brand b { font-size: 32px; font-weight: 700; letter-spacing: -0.045em; }
.site-footer .ftr-brand .ftr-logo { display: flex; align-items: center; gap: 12px; font-size: inherit; color: var(--c-white); }
.site-footer .ftr-brand .ftr-logo .dz-mark { width: 40px; flex: none; color: var(--c-accent); }
.site-footer .ftr-brand .ftr-logo b { font-family: var(--f-hand); font-size: 44px; font-weight: 600; letter-spacing: 0; line-height: .9; }
.site-footer .ftr-brand .ftr-slogan { margin-top: -8px; font-style: normal; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--c-on-ink-muted); }
.site-footer .ftr-brand b i { font-style: normal; color: var(--c-accent); }
.site-footer .ftr-brand span { font-size: 18px; line-height: 1.45; color: var(--c-on-ink); }
.site-footer .ftr-col { flex: 1 1 160px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.site-footer .ftr-col.wide { flex-basis: 200px; }
.site-footer .ftr-col > span { font-family: var(--f-mono); font-size: 11px; color: var(--c-accent); }
.site-footer .ftr-col a { color: var(--c-white); text-decoration: none; }
.site-footer .ftr-col a:hover { color: var(--c-accent); }
.site-footer .ftr-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding: 20px var(--gutter) 28px; border-top: 1px solid var(--c-ink-line); font-size: 13px; color: var(--c-on-ink-muted); }

/* ---------- forms (shared) ---------- */
.dz-form input:focus, .dz-form textarea:focus, .dz-form select:focus { outline: 2px solid var(--c-accent); outline-offset: 1px; }
.dz-form .dz-err { font-size: 13px; color: var(--c-err-text); }
.dz-form button[disabled] { opacity: .45; cursor: not-allowed; }
.dz-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* floating mobile CTA (home) */
.dz-float { display: none; }
@media (max-width: 767px) {
  .dz-float { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); align-items: center; justify-content: space-between; height: 60px; padding: 0 8px 0 18px; border-radius: var(--r-lg); background: var(--c-white); color: var(--c-ink); border: 1px solid var(--c-line); box-shadow: 0 12px 32px rgba(15,42,58,.2); z-index: 40; transition: transform .25s, opacity .25s; }
  .dz-float.is-hidden { transform: translateY(120%); opacity: 0; }
  .dz-float span { font-size: 14px; font-weight: 600; }
  .dz-float a { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: var(--r-md); background: var(--c-teal); color: var(--c-white); font-size: 14px; font-weight: 600; text-decoration: none; }
}

/* ---------- generic content (policy pages, post content) ---------- */
.dz-page { padding: clamp(40px, 6cqw, 96px) var(--gutter) clamp(56px, 7.8cqw, 112px); }
.dz-page .dz-kicker { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; color: var(--c-muted); }
.dz-page h1 { margin: 12px 0 32px; font-size: clamp(32px, 4.4cqw, 60px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; max-width: 900px; }
.dz-prose { max-width: 760px; font-size: 18px; line-height: 1.6; color: var(--c-ink); }
.dz-prose h2 { margin: 48px 0 16px; font-size: clamp(24px, 2.4cqw, 34px); line-height: 1.1; letter-spacing: -0.035em; }
.dz-prose h3 { margin: 32px 0 12px; font-size: 22px; letter-spacing: -0.025em; }
.dz-prose p, .dz-prose ul, .dz-prose ol { margin: 0 0 18px; }
.dz-prose li { margin-bottom: 8px; }
.dz-prose blockquote { margin: 28px 0; padding: 20px 24px; border-left: 3px solid var(--c-accent); background: var(--c-white); border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 20px; }
.dz-prose .ph { border: 1px dashed var(--c-teal); border-radius: 6px; padding: 0 5px; font-family: var(--f-mono); font-size: .8em; color: var(--c-teal-dark); }
.dz-prose table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 16px; }
.dz-prose td, .dz-prose th { border: 1px solid var(--c-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.dz-prose th { background: var(--c-surface); font-weight: 600; }
.dz-prose { overflow-wrap: break-word; }
@media (max-width: 640px) { /* таблицы в документах — карточками, без горизонтальной прокрутки */
  .dz-prose table, .dz-prose tbody, .dz-prose tr, .dz-prose td { display: block; width: 100%; }
  .dz-prose thead { display: none; }
  .dz-prose tr { margin: 0 0 12px; border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-white); overflow: hidden; }
  .dz-prose td { border: 0; border-bottom: 1px solid var(--c-line); }
  .dz-prose td:first-child { font-weight: 600; background: var(--c-surface); }
  .dz-prose td:last-child { border-bottom: 0; }
}
.dz-prose img { border-radius: var(--r-lg); }
.dz-consent input:focus-visible + span { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.dz-consent a { color: inherit; text-decoration: underline; text-decoration-color: var(--c-line-strong); }
.dz-consent a:hover { color: var(--c-teal); }
#dz-modal[hidden] { display: none !important; }
#dz-modal .dc-if[data-if="notSent"] { display: flex; flex-direction: column; gap: 14px; }
#dz-modal .dc-if[data-if="notSent"][hidden] { display: none !important; }

/* ---------- статья: элементы контента в стиле макета ---------- */
.dz-article > * { margin: 0; }
.dz-article h2 { margin: 18px 0 0; font-size: clamp(26px, 2.4cqw, 34px); line-height: 1.1; letter-spacing: -0.035em; scroll-margin-top: 100px; }
.dz-article h3 { margin: 14px 0 0; font-size: clamp(21px, 1.8cqw, 25px); line-height: 1.15; letter-spacing: -0.025em; }
.dz-article ul, .dz-article ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.dz-article blockquote { margin: 10px 0; padding: 0 0 0 24px; border-left: 2px solid var(--c-accent); font-size: clamp(22px, 2cqw, 28px); line-height: 1.3; letter-spacing: -0.02em; font-weight: 600; }
.dz-article blockquote p { margin: 0; }
.dz-article figure { margin: 8px 0 0; display: flex; flex-direction: column; gap: 10px; }
.dz-article figure img { border-radius: var(--r-lg); width: 100%; }
.dz-article figcaption { font-size: 14px; color: var(--c-muted); }
.dz-article table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; font-size: 15px; line-height: 1.4; background: var(--c-white); }
.dz-article th { background: var(--c-surface); font-family: var(--f-mono); font-size: 11px; font-weight: 400; color: var(--c-teal-dark); text-align: left; padding: 12px 14px; }
.dz-article td { padding: 12px 14px; border-top: 1px solid var(--c-line); vertical-align: top; }
.dz-article td:first-child { font-weight: 600; }
.dz-article td:last-child { color: var(--c-muted); }
.dz-article a:not(.dc-a) { color: var(--c-teal); }
.dz-pager a, .dz-pager span { display: flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 8px; border-radius: var(--r-md); border: 1px solid var(--c-line); background: var(--c-white); color: var(--c-ink); font-family: var(--f-mono); font-size: 14px; font-weight: 700; text-decoration: none; }
.dz-pager .current { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }

/* footer additions (CRO 13.10) */
.site-footer .ftr-cta { align-self: flex-start; display: inline-flex; align-items: center; height: 48px; padding: 0 20px; margin-top: 4px; border-radius: var(--r-md); background: var(--c-accent); color: var(--c-ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.site-footer .ftr-cta:hover { background: var(--c-white); color: var(--c-ink); }
.site-footer .ftr-col a.ftr-cabinet { color: var(--c-on-ink-muted); font-size: 14px; }

/* ---------- главная (CRO 13.10) ---------- */
.hm-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(14px, 1.15cqw, 16px); font-weight: 500; color: var(--c-teal-dark); }
.hm-kicker::before { content: ""; width: 24px; height: 2px; background: var(--c-accent); flex: none; }
.hm-sec-k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; color: var(--c-muted); text-transform: uppercase; }
.hm-h2 { margin: 0; font-size: clamp(28px, 3.6cqw, 52px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 700; max-width: 880px; text-wrap: balance; }
.hm-lead { margin: 0; max-width: 720px; font-size: clamp(16px, 1.3cqw, 19px); line-height: 1.5; color: var(--c-muted); }
.hm-btn { display: inline-flex; justify-content: center; align-items: center; min-height: 56px; padding: 0 26px; border-radius: var(--r-md); font-size: 16px; font-weight: 600; text-align: center; text-decoration: none; }
.hm-btn.is-main { background: var(--c-teal); color: var(--c-white); }
.hm-btn.is-main:hover { background: var(--c-teal-dark); color: var(--c-white); opacity: 1; }
.hm-btn.is-ghost { border: 1px solid var(--c-teal); background: var(--c-white); color: var(--c-teal); }

/* hero */
.hm-hero { background-color: var(--c-bg); background-image: linear-gradient(var(--c-grid) 1px, transparent 1px), linear-gradient(90deg, var(--c-grid) 1px, transparent 1px); background-size: 24px 24px; padding: clamp(28px, 4.4cqw, 64px) var(--gutter) clamp(44px, 5.6cqw, 80px); }
.hm-hero-in { display: flex; flex-wrap: wrap; gap: clamp(28px, 4.4cqw, 64px); align-items: center; }
.hm-hero-txt { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; gap: clamp(18px, 1.9cqw, 26px); }
.hm-hero h1 { margin: 0; font-size: clamp(32px, 4.1cqw, 60px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; text-wrap: balance; }
.hm-hero h1 span { color: var(--c-teal); }
.hm-hero-sub { margin: 0; max-width: 680px; font-size: clamp(16px, 1.35cqw, 19px); line-height: 1.55; color: var(--c-text-2); }
.hm-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hm-hero-btns .hm-btn { flex: 1 1 auto; max-width: 340px; }
.hm-hero-note { display: flex; gap: 10px; align-items: flex-start; max-width: 640px; font-size: 14px; line-height: 1.5; color: var(--c-muted); }
.hm-hero-note::before { content: "↑"; flex: none; font-family: var(--f-hand); font-size: 22px; line-height: .9; color: var(--c-teal); }
.hm-aside { flex: 0 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; margin-inline: auto; }
.hm-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(160deg, var(--c-photo-1), var(--c-photo-2)); border: 1px solid var(--c-line); }
.hm-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; } /* фокус на лице — на телефоне рамка 4:3 */
.hm-photo-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.hm-photo-ph .plan { position: absolute; inset: 8% -18% auto auto; width: 120%; opacity: .16; }
.hm-mono { position: relative; display: flex; align-items: center; justify-content: center; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--c-white); border: 1px solid var(--c-line); box-shadow: 0 20px 40px rgba(15,42,58,.08); font-size: clamp(44px, 4.4cqw, 64px); font-weight: 700; letter-spacing: -0.06em; color: var(--c-teal); }
.hm-mono i { font-style: normal; color: var(--c-accent); }
.hm-photo-cap { position: relative; text-align: center; font-size: 14px; line-height: 1.4; color: var(--c-text-2); }
.hm-photo-cap b { display: block; font-size: 17px; color: var(--c-ink); letter-spacing: -0.02em; }
.hm-sticker { position: absolute; left: 12px; right: 12px; bottom: 14px; padding: 6px 12px; border-radius: 10px; background: var(--c-white); border: 1px solid var(--c-line); font-family: var(--f-hand); font-size: 18px; line-height: 1.15; text-align: center; color: var(--c-teal); transform: rotate(-2deg); box-shadow: 0 8px 20px rgba(15,42,58,.08); }
.hm-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hm-fact { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: var(--r-md); background: var(--c-white); border: 1px solid var(--c-line); }
.hm-fact b { font-size: clamp(26px, 2.4cqw, 34px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; color: var(--c-teal-dark); }
.hm-fact span { font-size: 13px; line-height: 1.35; color: var(--c-muted); }

/* секции */
.hm-sec { display: flex; flex-direction: column; gap: clamp(22px, 3cqw, 44px); padding: clamp(56px, 7.2cqw, 104px) var(--gutter) 0; }
.hm-sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.hm-sec-head > div { display: flex; flex-direction: column; gap: 12px; }
.hm-link { font-size: 15px; font-weight: 600; color: var(--c-teal); white-space: nowrap; }

/* как проходит работа */
.hm-how { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(12px, 1.6cqw, 24px); counter-reset: how; }
.hm-how-step { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--c-white); border: 1px solid var(--c-line); overflow: hidden; }
.hm-how-img { aspect-ratio: 4 / 3; background: var(--c-tint-2); border-bottom: 1px solid var(--c-line); }
.hm-how-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-how-body { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2cqw, 28px); }
.hm-how-n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-tint); color: var(--c-teal-dark); font-family: var(--f-mono); font-size: 15px; font-weight: 700; }
.hm-how-step h3 { margin: 4px 0 0; font-size: clamp(20px, 1.7cqw, 24px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 700; }
.hm-how-step p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--c-muted); }
.hm-how-tag { align-self: flex-start; padding: 3px 10px; border-radius: var(--r-pill); background: var(--c-tint-2); border: 1px solid var(--c-line); font-size: 13px; font-weight: 600; color: var(--c-teal-dark); }
.hm-how-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; padding: 18px clamp(18px, 2cqw, 28px); border-radius: var(--r-lg); background: var(--c-tint-2); border: 1px dashed var(--c-line-strong); }
.hm-how-foot span { font-family: var(--f-hand); font-size: clamp(22px, 1.9cqw, 27px); line-height: 1.1; color: var(--c-teal); }
@media (min-width: 900px) {
  .hm-how-step:not(:last-child)::after { content: "→"; position: absolute; right: -19px; top: 50%; z-index: 1; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--c-bg); color: var(--c-teal); font-size: 15px; transform: translateY(-50%); }
}

/* цитаты */
.hm-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); border-top: 1px solid var(--c-ink); }
.hm-quotes p { margin: 0; padding: clamp(18px, 2cqw, 28px) clamp(0px, 1.7cqw, 24px) clamp(18px, 2cqw, 28px) 0; border-bottom: 1px solid var(--c-line); font-size: clamp(18px, 1.5cqw, 21px); line-height: 1.38; letter-spacing: -0.015em; font-weight: 500; text-wrap: pretty; }

/* эфир — компактная плашка */
.hm-efir { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: clamp(20px, 2.6cqw, 36px) clamp(20px, 3cqw, 44px); border-radius: var(--r-lg); background: var(--c-ink); color: var(--c-white); }
.hm-efir-txt { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.hm-efir-k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; color: var(--c-accent); }
.hm-efir h3 { margin: 0; font-size: clamp(22px, 2.2cqw, 32px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 700; }
.hm-efir-side { flex: 0 1 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hm-cd { display: flex; gap: 6px; }
.hm-cd > div { display: flex; flex-direction: column; align-items: center; min-width: 54px; padding: 8px 4px; border-radius: var(--r-sm); background: var(--c-ink-2); border: 1px solid var(--c-ink-line); }
.hm-cd b { font-family: var(--f-mono); font-size: 20px; font-weight: 700; line-height: 1.1; }
.hm-cd span { font-family: var(--f-mono); font-size: 9px; color: var(--c-on-ink-muted); }
.hm-efir .hm-btn { min-height: 52px; background: var(--c-accent); color: var(--c-ink); }
@media (max-width: 600px) {
  .hm-efir-side, .hm-efir .hm-btn { width: 100%; }
  .hm-cd { width: 100%; }
  .hm-cd > div { flex: 1; }
  .hm-facts { grid-template-columns: 1fr 1fr; }
  .hm-hero-btns .hm-btn { max-width: none; width: 100%; }
  .hm-aside { flex-basis: 100%; }
  .hm-photo { aspect-ratio: 4 / 3; }
  .hm-how-img { aspect-ratio: 16 / 9; }
  .hm-how-img img { object-fit: contain; }
  .hm-mono { width: 34%; }
}

.dz-mark svg { display: block; width: 100%; height: auto; }

/* ---------- cookie-баннер (15.10) ---------- */
.dz-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; padding: 12px var(--gutter, 16px); pointer-events: none; }
.dz-cookie[hidden] { display: none; }
.dz-cookie-box { pointer-events: auto; max-width: 880px; margin: 0 auto; display: flex; align-items: center; gap: 16px 20px; flex-wrap: wrap; padding: 16px 20px; background: var(--c-white); color: var(--c-ink); border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: 0 16px 40px rgba(15,42,58,.16); font-family: var(--f-sans); }
.dz-cookie-box p { flex: 1 1 360px; margin: 0; font-size: 14px; line-height: 1.5; color: var(--c-text-2); }
.dz-cookie-box a { color: var(--c-teal); }
.dz-cookie-btns { display: flex; gap: 8px; flex: none; }
.dz-cookie-btns button { min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); font: 600 14px var(--f-sans); cursor: pointer; border: 1px solid var(--c-teal); }
.dz-cookie-btns .dz-ck-all { background: var(--c-teal); color: var(--c-white); }
.dz-cookie-btns .dz-ck-min { background: transparent; color: var(--c-teal); }
@media (max-width: 560px) { .dz-cookie-btns { width: 100%; } .dz-cookie-btns button { flex: 1; } }
