/* Право на протез, версия 2 (13.10.2026): подача по мотивам motorica.org, бренд свой. Токены описаны в README.md сайта. */
@font-face { font-family: "Akrobat"; font-weight: 700; font-display: swap; src: url("../fonts/akrobat-bold.woff") format("woff"); }
@font-face { font-family: "Akrobat"; font-weight: 800 900; font-display: swap; src: url("../fonts/akrobat-black.woff") format("woff"); }
@font-face { font-family: "Onest"; font-weight: 400 700; font-display: swap; src: url("../fonts/onest-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 400 700; font-display: swap; src: url("../fonts/onest-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --dark: #0b6b3e;
  --dark-2: #095632;
  --green: #1e9e4a;
  --green-hover: #178a3f;
  --green-deep: #0b6b3e;
  --green-soft: #e3f3e8;
  --mint: #bfefd2;
  --paper: #ffffff;
  --surface: #eef3ef;
  --line: #d6e0d9;
  --ink: #10251b;
  --muted: #536b5e;
  --amber: #b45309;
  --amber-050: #fdf3e7;
  --display: "Akrobat", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font: "Onest", "Segoe UI", Roboto, Arial, sans-serif;
  --measure: 780px;
  --wide: 1160px;
  --r: 20px;
  --r-s: 12px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; }
a { color: var(--green-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--dark); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
h1, h2 { font-family: var(--display); font-weight: 800; line-height: 0.98; text-transform: uppercase; letter-spacing: 0.01em; color: var(--ink); margin: 0 0 0.5em; }
h1 { font-size: clamp(36px, 5vw, 58px); }
h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 1.3em; }
h3 { font-weight: 700; font-size: 22px; line-height: 1.25; margin: 1.3em 0 0.5em; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li { margin-bottom: 0.4em; }
strong { font-weight: 600; }
table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 17px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { color: var(--ink); font-weight: 600; background: var(--surface); }
.table-wrap { overflow-x: auto; margin: 0 -16px 1.5em; padding: 0 16px; }
blockquote { margin: 0 0 1.2em; padding: 14px 18px; border-left: 4px solid var(--amber); background: var(--amber-050); border-radius: 0 var(--r-s) var(--r-s) 0; }
blockquote p { margin: 0; }
figure.obrazec { max-width: var(--measure); margin: 0 0 1.4em; padding: 14px 18px; border-left: 4px solid var(--dark); background: var(--surface); border-radius: 0 var(--r-s) var(--r-s) 0; font-size: 17px; overflow-wrap: anywhere; }
figure.obrazec figcaption { font-weight: 600; margin: 0 0 .8em; }
figure.obrazec p { margin: 0 0 .8em; }
figure.obrazec p:last-child { margin-bottom: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .wrap { padding: 0 32px; } }
.measure { max-width: var(--measure); }

/* Шапка: тёмная */
.site-head { background: var(--dark); color: #fff; position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: baseline; gap: 0.28em; text-decoration: none; color: #fff; font-family: var(--display); font-weight: 900; font-size: 30px; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1; white-space: nowrap; }
.brand .w2 { color: var(--mint); }
.brand-mark { gap: 0.4em; align-items: center; }
.brand-mark img { height: 1.45em; width: auto; display: block; }
.site-foot .brand-mark img { height: 1.6em; }
.brand:hover { color: #fff; }
.nav { display: none; margin-left: auto; align-items: center; gap: 2px; }
.nav a { color: #fff; text-decoration: none; padding: 9px 11px; border-radius: 999px; font-size: 15px; opacity: .9; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,.1); opacity: 1; color: #fff; }
.nav .nav-cta { background: var(--green); color: #fff; font-weight: 600; opacity: 1; margin-left: 6px; padding: 11px 18px; }
.nav .nav-cta:hover { background: var(--green-hover); }
.menu-btn { margin-left: auto; background: rgba(255,255,255,.1); border: 0; border-radius: 999px; padding: 10px 18px; font: inherit; font-size: 16px; color: #fff; cursor: pointer; min-height: 44px; }
@media (min-width: 1100px) { .nav { display: flex; } .menu-btn { display: none; } }
@media (min-width: 1100px) and (max-width: 1259px) { .brand { font-size: 24px; } .nav a { padding: 9px 8px; font-size: 14px; } }
.nav-mobile { display: none; background: var(--dark); border-top: 1px solid rgba(255,255,255,.12); }
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; text-decoration: none; font-size: 17px; }
.nav-mobile a.nav-cta { color: var(--mint); font-weight: 600; }

/* Кнопки-пилюли */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 17px; text-decoration: none; border: 2px solid transparent; cursor: pointer; min-height: 52px; line-height: 1.1; text-align: center; }
.btn-primary { background: var(--dark); color: #fff; }
.btn-primary:hover { background: var(--dark-2); color: #fff; }
.hero .btn-primary, .consult .btn-primary, .cta .btn-primary, .sticky-cta .btn-primary, .nav .nav-cta { background: var(--mint); color: var(--dark); }
.hero .btn-primary:hover, .consult .btn-primary:hover, .cta .btn-primary:hover, .sticky-cta .btn-primary:hover, .nav .nav-cta:hover { background: #fff; color: var(--dark); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.on-dark .btn-secondary { color: #fff; border-color: rgba(255,255,255,.7); }
.on-dark .btn-secondary:hover { background: #fff; color: var(--dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin: 1.4em 0 0; }

/* Первый экран: фото во весь экран, текст поверх */
.hero { position: relative; background: var(--dark); color: #fff; padding: 56px 0 120px; min-height: clamp(540px, 74vh, 720px); display: flex; align-items: center; overflow: hidden; }
@media (min-width: 900px) { .hero { padding: 72px 0 150px; min-height: clamp(600px, 84vh, 820px); } }
.hero picture { position: absolute; inset: 0; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
@media (max-width: 759px) { .hero-bg { object-position: 82% 45%; } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,58,38,.78) 0%, rgba(9,58,38,.7) 60%, rgba(9,58,38,.85) 100%); }
@media (min-width: 900px) { .hero::after { background: linear-gradient(270deg, rgba(9,58,38,.92) 0%, rgba(9,58,38,.82) 40%, rgba(9,58,38,.28) 68%, rgba(9,58,38,.12) 100%); } .hero-text { margin-left: auto; } .hero-bg { object-position: 0% 50%; } }
.hero .wrap { position: relative; z-index: 1; width: 100%; }
.hero-text { max-width: 640px; }
.hero h1 { color: #fff; margin-bottom: 0.4em; max-width: 14ch; font-size: clamp(38px, 5.2vw, 64px); }
.hero .lead { font-size: 20px; color: rgba(255,255,255,.88); max-width: 40ch; }

/* Белый лист со скруглением поверх тёмного фона */
.sheet { background: var(--paper); border-radius: 28px 28px 0 0; margin-top: -60px; position: relative; padding-top: 24px; }
@media (min-width: 900px) { .sheet { border-radius: 40px 40px 0 0; margin-top: -80px; padding-top: 36px; } }

/* Плитки с цифрами из нормативки */
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { background: var(--surface); border-radius: var(--r); padding: 18px 16px 16px; }
@media (min-width: 640px) { .tile { padding: 22px 22px 20px; } }
.tile .n { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4.4vw, 60px); line-height: 0.95; color: var(--green-deep); text-transform: uppercase; }
.tile .n small { font-size: 0.5em; margin-left: 4px; }
.tile p { margin: 8px 0 0; font-size: 16px; color: var(--ink); line-height: 1.35; }

.tiles-src { font-size: 16px; color: var(--muted); margin: 14px 0 0; max-width: var(--measure); line-height: 1.5; }

/* Секции */
.section { padding: 48px 0; }
@media (min-width: 900px) { .section { padding: 80px 0; } }
.section.alt { background: var(--surface); }
.section h2 { margin-top: 0; }
.section .intro { max-width: var(--measure); font-size: 19px; color: var(--muted); margin-bottom: 1.4em; }
.sec-head { display: grid; gap: 8px 32px; align-items: end; margin-bottom: 28px; }
@media (min-width: 900px) { .sec-head { grid-template-columns: 1fr 1fr; } .sec-head h2, .sec-head .intro { margin: 0; } }

/* Две большие фото-карточки */
.duo { display: grid; gap: 16px; }
@media (min-width: 820px) { .duo { grid-template-columns: 1fr 1fr; } }
.card-big { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; border-radius: var(--r); overflow: hidden; text-decoration: none; color: #fff; background: var(--dark-2); }
@media (min-width: 900px) { .card-big { min-height: 420px; } }
.card-big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-big .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(9,40,28,.88) 0%, rgba(9,40,28,.35) 45%, rgba(9,40,28,0) 70%); }
.card-big .txt { position: relative; padding: 28px 88px 26px 24px; }
.card-big h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 3vw, 38px); line-height: 0.98; color: #fff; margin: 0 0 8px; }
.card-big p { margin: 0; color: rgba(255,255,255,.85); font-size: 16px; }
.card-big .go { position: absolute; right: 20px; bottom: 22px; width: 52px; height: 52px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.card-big .go::after { content: ""; width: 13px; height: 13px; border-top: 3px solid #fff; border-right: 3px solid #fff; transform: rotate(45deg); margin-left: -4px; }
.card-big:hover .go { background: var(--green-hover); }

/* С чего начать: три фото-карточки */
.starts { display: grid; gap: 14px; }
@media (min-width: 760px) { .starts { grid-template-columns: repeat(3, 1fr); } }
.start { display: block; background: var(--paper); border-radius: var(--r); overflow: hidden; color: var(--ink); text-decoration: none; border: 1px solid var(--line); }
.start img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 35%; display: block; }
.start .txt { padding: 18px 20px 20px; }
.start strong { display: block; font-weight: 600; font-size: 20px; line-height: 1.25; margin-bottom: 6px; }
.start span { color: var(--muted); font-size: 16px; }
.start:hover { border-color: var(--green); color: var(--ink); }

/* Шесть шагов: карточки с номерами (это последовательность) */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 12px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; margin: 0; position: relative; padding: 16px 0 16px 52px; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 14px; font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1; color: var(--green); }
@media (min-width: 760px) { .steps li { position: static; background: var(--paper); border-radius: var(--r); padding: 22px 22px 20px; border: 1px solid var(--line); } .steps li::before { content: counter(step, decimal-leading-zero); position: static; display: block; font-size: 44px; margin-bottom: 10px; } }
.steps strong { display: block; font-weight: 600; font-size: 20px; line-height: 1.25; margin-bottom: 6px; }
.steps .term { display: block; margin-top: 6px; font-size: 16px; color: var(--green-deep); }

/* Темы и списки статей */
.topics { display: grid; gap: 14px; }
@media (min-width: 760px) { .topics { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .topics { grid-template-columns: repeat(3, 1fr); } }
.topic { background: var(--surface); border-radius: var(--r); padding: 20px 20px 16px; }
.topic h3 { margin: 0 0 10px; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 21px; line-height: 1.25; }
.topic h3 img { width: 40px; height: 40px; }
.topic ul { list-style: none; padding: 0; margin: 0; }
.topic li { margin: 0; border-top: 1px solid var(--line); }
.topic a { display: block; padding: 11px 0; text-decoration: none; color: var(--ink); font-size: 17px; }
.topic a:hover { color: var(--green-deep); text-decoration: underline; }
.topic .draft { color: var(--muted); font-size: 14px; }
.photo-grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
.photo-card { display: block; text-decoration: none; color: var(--ink); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.photo-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.photo-card span { display: block; padding: 14px 18px 18px; font-weight: 600; font-size: 20px; line-height: 1.25; }
.photo-card:hover span { color: var(--green-deep); }

/* Консультация: тёмная карточка */
.consult { background: var(--dark); color: #fff; border-radius: var(--r); padding: 30px 24px; }
@media (min-width: 760px) { .consult { padding: 44px 48px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center; } }
.consult h2 { margin-top: 0; color: #fff; }
.consult p { margin-bottom: 0.6em; color: rgba(255,255,255,.88); }
.consult .note { font-size: 15px; color: rgba(255,255,255,.6); }
.consult-side { display: grid; gap: 16px; justify-items: start; }
.consult-side img { width: 150px; height: 150px; }
@media (min-width: 760px) { .consult-side { justify-items: center; } }

/* Форма */
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 20px; max-width: 680px; }
@media (min-width: 760px) { .form { padding: 36px; } }
.form h2 { margin-top: 0; }
.form .hint { color: var(--muted); font-size: 16px; margin-bottom: 1.2em; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 16px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 17px; padding: 13px 16px; border: 1px solid #c3ccc7; border-radius: 14px; background: #fff; color: var(--ink); min-height: 50px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: 3px solid var(--green-soft); }
.grid-2 { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted); margin: 6px 0 18px; }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--green); }
.hp { position: absolute; left: -9999px; }
.form-msg { display: none; margin-top: 14px; padding: 12px 14px; border-radius: var(--r-s); font-size: 16px; }
.form-msg.ok { display: block; background: var(--green-soft); color: var(--green-deep); }
.form-msg.err { display: block; background: var(--amber-050); color: var(--amber); }

/* Статья */
.article { padding: 28px 0 40px; }
.crumbs { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
/* крошки списком <nav><ol>: выглядят как раньше, «Главная / Раздел» */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin: 0 0.3em; }
.article .answer-page .meta a { color: inherit; }
.art-head { display: grid; gap: 18px; align-items: center; margin-bottom: 12px; }
.art-head .illu { width: 110px; height: 110px; order: -1; }

.article h1 { max-width: 22ch; font-size: clamp(36px, 5vw, 58px); }
.article .answer-page .meta { color: var(--muted); font-size: 16px; line-height: 1.4; margin: 0 0 1.2em; }
.article .lead { border-left: 5px solid var(--green); padding: 4px 0 4px 20px; margin: 0 0 1.6em; max-width: var(--measure); }
.article .answer-page .lead p { font-size: 19px; line-height: 1.55; }
.article .lead p { margin: 0; }
.article .answer-page > :not(header) { max-width: var(--measure); }
.article .table-wrap { max-width: var(--measure); margin-left: 0; margin-right: 0; padding: 0; }
.toc { max-width: var(--measure); background: var(--surface); border-radius: var(--r-s); padding: 14px 18px; margin: 0 0 1.6em; font-size: 16px; }
.toc strong { display: block; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 1; }
.toc li { margin: 0 0 4px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.article h2 { font-size: clamp(26px, 3vw, 36px); }
@media (min-width: 900px) { .article .answer-page p, .article .answer-page li { font-size: 19px; line-height: 1.65; } }
.art-photo { margin: 0 0 1.8em; max-width: var(--measure); }
.art-photo img { width: 100%; height: auto; max-height: 520px; object-fit: contain; background: var(--surface); border-radius: var(--r); display: block; }
.art-photo figcaption { font-size: 15px; color: var(--muted); margin-top: 8px; }
.article .faq h2 { margin-top: 1.6em; }
.article .faq h3 { margin-top: 1em; font-size: 20px; }
.cta { background: var(--dark); color: #fff; border-radius: var(--r); padding: 28px 24px; margin: 2.2em 0; max-width: var(--measure); }
@media (min-width: 760px) { .cta { padding: 36px 40px; } }
.cta h2 { margin-top: 0; color: #fff; font-size: clamp(28px, 3.2vw, 40px); }
.cta p { margin-bottom: 0.8em; color: rgba(255,255,255,.88); }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 12px; }
.cta .btn-secondary { color: #fff; border-color: rgba(255,255,255,.7); }
.cta .btn-secondary:hover { background: #fff; color: var(--dark); }
.cta-note { font-size: 15px; color: rgba(255,255,255,.6); margin: 0; }
.sources { margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); max-width: var(--measure); }
.sources h2 { font-size: 22px; color: var(--muted); margin: 0 0 0.6em; }
.sources ul { padding-left: 1.2em; }
.also { margin-top: 2em; max-width: var(--measure); }
.also h2 { font-size: 28px; }
.also ul { list-style: none; padding: 0; }
.also li { border-bottom: 1px solid var(--line); margin: 0; }
.also a { display: block; padding: 11px 0; text-decoration: none; }
.also a:hover { text-decoration: underline; }
.draft-banner { background: var(--amber-050); color: var(--amber); padding: 10px 16px; border-radius: var(--r-s); font-size: 15px; margin-bottom: 1.4em; }
.list-page { padding: 28px 0 48px; }

/* Подвал */
.site-foot { background: var(--dark); color: rgba(255,255,255,.75); padding: 44px 0 32px; margin-top: 48px; font-size: 15px; }
.site-foot .wrap { display: grid; gap: 22px; }
@media (min-width: 760px) { .site-foot .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-foot a { color: #fff; }
.site-foot p { margin: 0 0 0.5em; }
.site-foot .brand { margin-bottom: 10px; }
.site-foot .disclaimer { color: rgba(255,255,255,.55); font-size: 14px; max-width: 48ch; }

/* Закреплённая кнопка на телефоне */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(11,107,62,.96); z-index: 30; }
.sticky-cta .btn { width: 100%; }
.sticky-cta .btn-primary { background: var(--mint); color: var(--dark); }
@media (min-width: 1100px) { .sticky-cta { display: none; } }
@media (max-width: 1099px) { body { padding-bottom: 80px; } }

/* Карточки протезов: текст внутри ссылки без блочных тегов */
.card-big .txt strong { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 3vw, 38px); line-height: 0.98; color: #fff; margin: 0 0 8px; }
.card-big .txt em { display: block; font-style: normal; color: rgba(255,255,255,.85); font-size: 16px; }
.card-big .txt { display: block; }
.card-big .shade { display: block; }
.steps + .after { margin: 24px 0 0; }

/* Задача проекта: крупный заголовок и фото */
.mission { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .mission { grid-template-columns: 1.1fr 1fr; gap: 48px; } }
.mission h2 { margin-top: 0; }
.mission p { font-size: 19px; }
.mission img { width: 100%; border-radius: var(--r); display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.mission img.portrait { aspect-ratio: 4 / 3; object-position: 50% 30%; }
@media (min-width: 900px) { .mission img.portrait { aspect-ratio: 5 / 4; } }
.consult-side .note { font-size: 15px; color: rgba(255,255,255,.6); }

/* Название в одну строку на телефоне */
@media (max-width: 479px) { .brand { font-size: 24px; } }

/* Страницы разделов: карточки статей */
.hub-head { max-width: 760px; margin-bottom: 28px; }
.hub-head h1 { margin-bottom: 0.3em; }
.hub-head .intro { font-size: 19px; color: var(--muted); margin: 0; }
/* вводка раздела из content/hubs/<раздел>.md: первый абзац крупно, дальше таблица и ссылки */
.hub-intro > p:first-child { font-size: 19px; color: var(--muted); }
.hub-intro > :last-child { margin-bottom: 0; }
.hub-intro .table-wrap { margin-left: 0; margin-right: 0; padding: 0; }
.cards { display: grid; gap: 14px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.card .txt { display: block; padding: 16px 18px 18px; }
.card strong { display: block; font-weight: 600; font-size: 20px; line-height: 1.25; margin-bottom: 8px; }
.card em { display: block; font-style: normal; color: var(--muted); font-size: 15px; line-height: 1.45; }
.card:hover { border-color: var(--green); color: var(--ink); }
.hub-others { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 28px 0 0; color: var(--muted); font-size: 16px; }
.hub-others .btn { min-height: 42px; padding: 9px 18px; font-size: 15px; }
.topic h3 a { color: inherit; text-decoration: none; }
.topic h3 a:hover { color: var(--green-deep); }
.nav-phone { font-weight: 600; white-space: nowrap; }
.nav-msg { white-space: nowrap; }
.site-foot strong { color: #fff; }

/* Движение: только мягкое появление блоков при прокрутке (добавляется скриптом, без JS всё видно сразу) */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-anim .reveal { opacity: 1; transform: none; }
.start, .card, .photo-card, .steps li, .tile { transition: border-color .2s ease; }
.btn { transition: background-color .2s ease, color .2s ease, transform .15s ease; }
.btn:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .btn { transition: none; } }
