/* ============================================================
   LACALUT Беларусь — дизайн-система
   Стиль: «Немецкая точность, живая наука»
   ============================================================ */

/* ---------- Шрифт (самохостинг, Manrope variable) ---------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Токены ---------- */
:root {
  --red: #D50911;
  --red-dark: #A80710;
  --red-soft: #FBE3E4;
  --ink: #17181A;
  --ink-70: #45484D;
  --muted: #5B6670;
  --paper: #FFFFFF;
  --cream: #F7F6F4;
  --line: #E7E4E0;
  --pearl: linear-gradient(135deg, #FDFDFD 0%, #F1F3F6 38%, #FBF0EE 68%, #EFF4F7 100%);
  --shadow-sm: 0 1px 2px rgba(23,24,26,.05), 0 4px 12px rgba(23,24,26,.06);
  --shadow-md: 0 4px 10px rgba(23,24,26,.06), 0 16px 40px rgba(23,24,26,.10);
  --radius: 20px;
  --radius-sm: 12px;
  --wrap: 1240px;
  --header-h: 72px;
  --font: 'Manrope', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

::selection { background: var(--red); color: #fff; }

/* ---------- Типографика ---------- */
.display { font-size: clamp(42px, 6.6vw, 88px); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; }
.h2 { font-size: clamp(30px, 4vw, 52px); }
.h3 { font-size: clamp(21px, 2.2vw, 27px); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-70); max-width: 60ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--red); }
.accent { color: var(--red); }
.small { font-size: 14px; color: var(--muted); }
.footnote { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 16px; line-height: 1; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(213,9,17,.28); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(213,9,17,.34); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.btn-outline-white { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--red); }
.btn .arr { transition: transform .18s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Бейджи ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  background: rgba(255,255,255,.92); color: var(--ink);
  border: 1px solid var(--line);
}
.badge b { color: var(--red); }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(23,24,26,.05); }
.header-in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo-link { flex: 0 0 auto; display: block; }
.logo-link img { height: 26px; width: auto; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  padding: 9px 13px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--ink-70);
  transition: background .15s ease, color .15s ease;
}
.main-nav a:hover { background: var(--cream); color: var(--ink); }
.main-nav a.is-active { color: var(--red); }
.main-nav a.nav-cta { color: var(--red); font-weight: 700; }
.lang-switch { display: flex; gap: 2px; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch button, .lang-switch a {
  border: 0; background: transparent; padding: 5px 11px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--muted);
}
.lang-switch button.is-on, .lang-switch a.is-on { background: var(--ink); color: #fff; }
.burger {
  display: none; flex-direction: column; gap: 5px; padding: 10px;
  background: transparent; border: 0;
}
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--pearl);
}
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.78) 42%, rgba(255,255,255,.14) 100%);
}
.hero-in { position: relative; z-index: 2; padding: 72px 0; }
.hero h1 { max-width: 13ch; margin: 18px 0 22px; }
.hero .lead { max-width: 46ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero .badges { margin-top: 6px; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 2; width: 26px; height: 42px; border: 2px solid var(--ink-70); border-radius: 14px;
  opacity: .55;
}
.scroll-hint::after {
  content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px;
  margin-left: -2px; border-radius: 4px; background: var(--ink-70);
  animation: scrollhint 1.8s ease-in-out infinite;
}
@keyframes scrollhint { 0%,100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(12px); opacity: .2; } }

/* ---------- Секции ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-cream { background: var(--cream); }
.section-red { background: var(--red); color: #fff; }
.section-ink { background: var(--ink); color: #fff; }
.section-head { max-width: 780px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .lead { margin-top: 14px; }
.section-red .eyebrow, .section-ink .eyebrow { color: #fff; }
.section-red .eyebrow::before, .section-ink .eyebrow::before { background: #fff; }
.section-red .lead { color: rgba(255,255,255,.88); }

/* ---------- Статистика (фтор-блок) ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
}
.stat-card .num {
  font-size: clamp(40px, 4.6vw, 62px); font-weight: 800; letter-spacing: -.03em;
  color: var(--red); line-height: 1; margin-bottom: 10px; font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat-card .num sub { font-size: .38em; font-weight: 700; color: var(--muted); }
.stat-card .cap { font-weight: 700; margin-bottom: 6px; }
.stat-card .small { display: block; }

/* ---------- Карточки потребностей ---------- */
.needs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.need-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; min-height: 210px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  overflow: hidden;
}
.need-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.need-card::after {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.need-card:hover::after { transform: scaleX(1); }
.need-ico {
  width: 52px; height: 52px; border-radius: 14px; background: var(--red-soft);
  display: flex; align-items: center; justify-content: center; font-size: 25px;
}
.need-card h3 { margin: 0; font-size: 20px; }
.need-card p { margin: 0; font-size: 15px; color: var(--muted); flex: 1; }
.need-card .line-name { font-size: 13.5px; font-weight: 800; letter-spacing: .06em; color: var(--red); text-transform: uppercase; }
.need-card.card-wide { grid-column: span 2; }

/* ---------- Квиз-тизер ---------- */
.quiz-band { position: relative; overflow: hidden; }
.quiz-band .deco {
  position: absolute; border-radius: 50%; border: 2px solid rgba(255,255,255,.14); pointer-events: none;
}
.quiz-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.quiz-in h2 { color: #fff; max-width: 16ch; }
.quiz-in .quiz-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.quiz-steps { display: flex; gap: 10px; margin-top: 8px; }
.quiz-steps span {
  width: 44px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.3);
}
.quiz-steps span.on { background: #fff; }

/* ---------- Наука ---------- */
.science-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.science-card {
  background: var(--pearl); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; position: relative; overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.science-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.science-card .formula {
  font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--red);
  text-transform: uppercase; margin-bottom: 14px; display: inline-block;
  border: 1.5px solid var(--red); border-radius: 999px; padding: 5px 12px;
}
.science-card h3 { font-size: 21px; }
.science-card p { font-size: 15px; color: var(--ink-70); margin: 0; }
.sci-img {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  position: absolute; top: 26px; right: 26px;
  box-shadow: 0 6px 20px rgba(23,24,26,.10); background: #fff;
  transition: transform .3s ease;
}
.science-card:hover .sci-img { transform: scale(1.06) rotate(4deg); }
.science-card .formula, .science-card h3, .science-card p { position: relative; z-index: 1; }
.science-card h3 { max-width: calc(100% - 90px); }

/* ---------- Таймлайн ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.timeline::before {
  content: ''; position: absolute; top: 27px; left: 4%; right: 4%;
  height: 2px; background: linear-gradient(90deg, var(--red), rgba(213,9,17,.15));
}
.tl-item { position: relative; padding-top: 58px; }
.tl-item::before {
  content: ''; position: absolute; top: 20px; left: 0; width: 16px; height: 16px;
  border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px var(--red-soft);
}
.tl-item .year { font-size: clamp(30px, 3vw, 42px); font-weight: 800; letter-spacing: -.02em; color: var(--red); line-height: 1; margin-bottom: 8px; }
.tl-item .cap { font-weight: 700; margin-bottom: 4px; }
.tl-item p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- Детский тизер ---------- */
.kids-band { border-radius: calc(var(--radius) + 8px); background: var(--pearl); border: 1px solid var(--line); padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: center; }
.age-steps { display: flex; align-items: flex-end; gap: 10px; }
.age-step {
  position: relative;
  flex: 1; border-radius: 14px 14px 6px 6px; background: #fff; border: 1px solid rgba(23,24,26,.08);
  text-align: center; padding: 12px 6px 10px; font-weight: 800; font-size: 15px; color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.age-step small {
  display: block; font-size: 11px; font-weight: 800; color: rgba(23,24,26,.62);
  letter-spacing: .08em; text-transform: uppercase; margin-top: 2px;
}
.age-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.age-step.is-new { box-shadow: 0 0 0 2px var(--red); }
.age-step.is-new i {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-style: normal;
  font-size: 9px; font-weight: 800; letter-spacing: .1em;
  padding: 3px 8px; border-radius: 999px;
}
.age-step:nth-child(1) { height: 74px; } .age-step:nth-child(2) { height: 88px; }
.age-step:nth-child(3) { height: 102px; } .age-step:nth-child(4) { height: 116px; }
.age-step:nth-child(5) { height: 130px; } .age-step:nth-child(6) { height: 144px; }

/* ---------- Журнал ---------- */
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.article-card .thumb { aspect-ratio: 16/9; background: var(--pearl); display: flex; align-items: center; justify-content: center; font-size: 40px; line-height: 1; }
.article-card .thumb svg { width: 46px; height: 46px; }
.article-card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card .tag { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.article-card h3 { font-size: 19px; margin: 0; }
.article-card p { font-size: 14.5px; color: var(--muted); margin: 0; flex: 1; }
.article-card .more { font-weight: 700; font-size: 14.5px; color: var(--red); }

/* ---------- Где купить ---------- */
.buy-band { text-align: center; }
.buy-band .lead { margin: 0 auto 30px; }
.partner-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 36px; }
.partner-tile {
  padding: 20px 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-weight: 800; color: var(--muted); letter-spacing: .02em;
}

/* ---------- Футер (красный, структура NATUSANA Playbook) ---------- */
.site-footer { background: var(--red); color: rgba(255,255,255,.88); font-size: 14.5px; }
.site-footer a { transition: color .15s ease, opacity .15s ease; }

/* Верх: дисклеймер + навигация по разделам */
.footer-nav {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px;
  padding: clamp(48px, 6vw, 72px) 0 44px;
}
.footer-note p {
  margin: 0; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.9);
  max-width: 42ch;
}
.footer-note b { color: #fff; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.82); }
.footer-col a:hover { color: #fff; }

/* Реквизиты: слева Производитель — справа Импортёр (Playbook) */
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.22);
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  padding: 40px 0;
}
.legal-col h5 {
  margin: 0 0 18px; font-size: 12px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7);
}
.legal-col .legal-logo { height: 30px; width: auto; margin-bottom: 14px; display: block; }
.legal-col .legal-logo--natusana {
  font-size: 21px; font-weight: 800; letter-spacing: .01em; color: #fff;
  height: 30px; display: flex; align-items: center; margin-bottom: 14px;
}
.legal-col .company { font-weight: 700; color: #fff; margin-bottom: 6px; }
.legal-col p { margin: 0 0 4px; font-size: 14px; color: rgba(255,255,255,.88); line-height: 1.6; }
.legal-col a { color: #fff; text-decoration: underline; text-underline-offset: 3px; opacity: .88; }
.legal-col a:hover { opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.22);
  padding: 22px 0 34px;
  display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between;
}
.footer-bottom p { margin: 0; font-size: 12.5px; color: rgba(255,255,255,.75); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 12.5px; }
.footer-links a { color: rgba(255,255,255,.75); }
.footer-links a:hover { color: #fff; }

/* ---------- Hero раздела (с видео) ---------- */
.hero--section {
  min-height: min(66vh, 620px);
  border-bottom: 1px solid var(--line);
}
.hero--section .hero-in { padding: 56px 0; }
.hero--section h1 { font-size: clamp(36px, 5vw, 66px); max-width: 15ch; margin: 16px 0 18px; }
.hero--section .breadcrumbs { color: var(--ink-70); }
.hero--kids .hero-media::after {
  background: linear-gradient(90deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.74) 40%, rgba(255,255,255,.05) 100%);
}

/* ---------- Детская линейка: пастельные карточки ---------- */
.kid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.kid-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.kid-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.kid-card.is-new { border-color: var(--red); box-shadow: 0 0 0 3px rgba(213,9,17,.10); }
.kid-head {
  position: relative; padding: 26px 26px 20px;
  display: flex; align-items: center; gap: 14px;
}
.kid-head .ico {
  width: 56px; height: 56px; border-radius: 18px; background: rgba(255,255,255,.62);
  display: flex; align-items: center; justify-content: center; font-size: 28px; flex: 0 0 auto;
}
.kid-head .age {
  font-size: 25px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1.1;
}
.kid-head .fam {
  display: block; font-size: 13px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(23,24,26,.6); margin-top: 3px;
}
.kid-new {
  position: absolute; top: 16px; right: 18px;
  background: var(--red); color: #fff; border-radius: 999px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .1em; padding: 5px 11px;
}
.kid-photo { padding: 16px 22px 0; background: #fff; }
.kid-photo img { display: block; width: 100%; height: 84px; object-fit: contain; }
.kid-body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.kid-body p { margin: 0; font-size: 15px; color: var(--ink-70); flex: 1; }
.kid-specs { display: flex; gap: 8px; flex-wrap: wrap; }
.kid-spec {
  display: inline-flex; align-items: baseline; gap: 5px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px; font-size: 12.5px; color: var(--muted);
}
.kid-spec b { font-size: 14px; font-weight: 800; color: var(--ink); }

/* ---------- Графики: фтор (ppm) и абразивность (RDA) ---------- */
.chart-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.chart {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 30px 26px;
}
.chart h3 { font-size: 20px; margin: 0 0 4px; }
.chart .chart-sub { font-size: 13.5px; color: var(--muted); margin: 0 0 24px; }
.bars { display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 14px; }
.bar-label { font-size: 13px; font-weight: 700; color: var(--ink-70); text-align: right; line-height: 1.25; }
.bar-label small { display: block; font-size: 10.5px; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.bar-track { position: relative; height: 26px; display: flex; align-items: center; }
.bar-fill {
  height: 26px; border-radius: 0 6px 6px 0; background: var(--red);
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 10px; min-width: 42px;
  transition: filter .18s ease;
  transform-origin: left; animation: barIn .8s cubic-bezier(.22,1,.36,1) both;
}
.bar-row:hover .bar-fill { filter: brightness(1.12); }
.bar-fill span { font-size: 12.5px; font-weight: 800; color: #fff; white-space: nowrap; }
.bar-fill.is-soft { background: #E9727A; }
@keyframes barIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.chart-note { margin: 20px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.chart-note b { color: var(--ink-70); }

@media (prefers-reduced-motion: reduce) { .bar-fill { animation: none; } }

/* ---------- Квиз ---------- */
.quiz-card {
  max-width: 820px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-md); padding: clamp(28px, 4vw, 48px);
}
.quiz-bar { display: flex; gap: 6px; margin-bottom: 24px; }
.quiz-bar span {
  flex: 1; height: 5px; border-radius: 3px; background: var(--line);
  transition: background .3s ease;
}
.quiz-bar span.on { background: var(--red); }
.quiz-step {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.quiz-q {
  font-size: clamp(23px, 2.8vw, 33px); margin: 0 0 28px;
  display: flex; align-items: center; gap: 14px; line-height: 1.2;
}
.quiz-qico { font-size: 34px; flex: 0 0 auto; }
.quiz-opts { display: grid; gap: 12px; }
.quiz-opts--2 { grid-template-columns: 1fr 1fr; }
.quiz-opt {
  display: flex; align-items: center; gap: 16px; text-align: left;
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 22px; font-size: 16.5px; font-weight: 600; color: var(--ink);
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.quiz-opt:hover {
  border-color: var(--red); background: var(--red-soft); transform: translateX(4px);
}
.quiz-opts--2 .quiz-opt {
  flex-direction: column; text-align: center; gap: 10px; padding: 30px 20px;
}
.quiz-opts--2 .quiz-opt:hover { transform: translateY(-4px); }
.quiz-ico { font-size: 26px; flex: 0 0 auto; line-height: 1; }
.quiz-opts--2 .quiz-ico { font-size: 40px; }
.quiz-l { flex: 1; }
.quiz-back {
  margin-top: 22px; background: none; border: 0; padding: 6px 0;
  font-size: 14.5px; font-weight: 700; color: var(--muted);
}
.quiz-back:hover { color: var(--red); }

/* результат */
.quiz-result .eyebrow { margin-bottom: 8px; }
.res-why { font-size: 17px; color: var(--ink-70); margin: 0 0 26px; }
.res-main {
  display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center;
  background: var(--pearl); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; margin-bottom: 30px;
}
.res-pic { display: flex; align-items: center; justify-content: center; }
.res-pic img { max-width: 100%; max-height: 150px; object-fit: contain; }
.res-nopic {
  display: block; width: 100%; height: 90px; border-radius: 10px;
  background: repeating-linear-gradient(135deg, var(--cream) 0 6px, #fff 6px 12px);
  border: 1px dashed var(--line);
}
.res-line {
  display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.res-main h3 { font-size: clamp(20px, 2.2vw, 26px); margin: 0 0 10px; }
.res-main p { font-size: 15.5px; color: var(--ink-70); margin: 0 0 12px; }
.res-spec {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--red);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; margin-bottom: 18px;
}
.res-main .btn { display: inline-flex; margin-top: 4px; }
.res-alt-t { font-size: 16px; margin: 0 0 14px; color: var(--ink-70); }
.res-alts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.res-alt {
  display: grid; gap: 10px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 14px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.res-alt:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.res-alt .res-pic img { max-height: 70px; }
.res-alt .res-nopic { height: 60px; }
.res-alt h4 { font-size: 14.5px; margin: 0; line-height: 1.35; }
.res-alt .res-spec { font-size: 11.5px; padding: 4px 10px; margin: 0; }
.res-acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.quiz-result .footnote { margin-top: 22px; }

@media (max-width: 620px) {
  .quiz-opts--2 { grid-template-columns: 1fr; }
  .res-main { grid-template-columns: 1fr; text-align: center; }
  .res-alts { grid-template-columns: 1fr; }
  .res-alt { grid-template-columns: 80px 1fr; text-align: left; align-items: center; }
  .res-acts .btn { width: 100%; }
}

/* ---------- Каталог продуктов ---------- */
.cat-nav { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 8px; }
.cat-nav a {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14.5px; font-weight: 700; color: var(--ink-70); background: #fff;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.cat-nav a:hover { background: var(--red); border-color: var(--red); color: #fff; }

.cat-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 32px;
  margin-bottom: 34px;
}
.cat-head .lead { margin-top: 12px; max-width: 62ch; }
.cat-count {
  flex: 0 0 auto; text-align: center; line-height: 1;
  font-size: 46px; font-weight: 800; letter-spacing: -.03em; color: var(--red);
}
.cat-count small {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-top: 6px;
}
.p-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.p-item {
  display: grid; grid-template-columns: 108px 1.5fr .7fr 1.3fr; align-items: center; gap: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.p-item:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); border-color: rgba(213,9,17,.35); }
.p-photo {
  width: 100px; height: 66px; object-fit: contain; object-position: center;
  transition: transform .22s ease;
}
.p-item:hover .p-photo { transform: scale(1.07); }
.p-photo--none {
  display: block; border-radius: 8px;
  background: repeating-linear-gradient(135deg, var(--cream) 0 6px, #fff 6px 12px);
  border: 1px dashed var(--line);
}
.p-name { font-weight: 700; font-size: 16px; }
.p-vol { font-size: 14px; color: var(--muted); }
.p-spec { font-size: 13.5px; color: var(--ink-70); font-variant-numeric: tabular-nums; }
.p-spec--todo { color: #B08900; font-style: italic; }
.p-extras { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.p-extras-t {
  font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-right: 4px;
}
.p-extra {
  background: var(--cream); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 15px; font-size: 13.5px; font-weight: 600;
}
.p-extra i { font-style: normal; color: var(--muted); font-weight: 500; }
a.p-extra { transition: border-color .15s ease, color .15s ease; }
a.p-extra:hover { border-color: var(--red); color: var(--red); }
.p-note {
  margin: 18px 0 0; padding: 14px 18px; font-size: 14px; line-height: 1.6;
  background: var(--red-soft); border-radius: var(--radius-sm); color: var(--ink-70);
}

/* Карточка продукта: клик открывает подробности */
.p-item--link { cursor: pointer; }
.p-item--link:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.p-modal {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.p-modal[hidden] { display: none; }
.p-modal-back { position: absolute; inset: 0; background: rgba(23,24,26,.55); }
.p-modal-card {
  position: relative; background: #fff; border-radius: var(--radius);
  max-width: 620px; width: 100%; max-height: 86vh; overflow: auto;
  padding: 34px 38px 30px; box-shadow: var(--shadow-md);
}
.p-modal-x {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: var(--cream); color: var(--ink-70);
  font-size: 22px; line-height: 1; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.p-modal-x:hover { background: var(--red); color: #fff; }
.p-modal-pic { text-align: center; margin-bottom: 14px; }
.p-modal-pic img { max-width: 100%; max-height: 200px; object-fit: contain; }
.p-modal-card h3 { margin: 0 0 4px; font-size: 22px; line-height: 1.3; letter-spacing: -.01em; }
.p-modal-vol { margin: 0; font-size: 14px; color: var(--muted); }
.p-modal-spec {
  display: inline-block; margin: 14px 0 0; padding: 8px 14px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 999px;
  font-size: 13.5px; font-variant-numeric: tabular-nums; color: var(--ink-70);
}
.p-modal-body { margin-top: 14px; }
.p-modal-body p { margin: 0 0 10px; font-size: 15px; line-height: 1.65; color: var(--ink-70); }
.p-modal-body .p-inci { font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.p-modal-body .p-zoom {
  display: block; width: 100%; max-height: 240px; object-fit: contain;
  background: var(--cream); border-radius: 12px; padding: 10px; margin: 2px 0 14px;
}
body.p-modal-open { overflow: hidden; }

@media (max-width: 620px) {
  .p-modal { padding: 12px; }
  .p-modal-card { padding: 26px 20px 22px; }
}

/* ---------- Материалы для скачивания (/pro/) ---------- */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.dl-item {
  display: flex; flex-direction: column; gap: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 18px 14px 46px; position: relative;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.dl-item::before {
  content: '⬇'; position: absolute; left: 16px; top: 14px;
  color: var(--red); font-size: 17px; font-weight: 800;
}
.dl-item:hover { border-color: rgba(213,9,17,.4); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.dl-t { font-weight: 700; font-size: 14.5px; line-height: 1.35; }
.dl-m { font-size: 12px; color: var(--muted); }
@media (max-width: 700px) { .dl-grid { grid-template-columns: 1fr; } }

/* ---------- Где купить ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shop-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px 22px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.shop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.shop-card .ico {
  width: 46px; height: 46px; border-radius: 14px; background: var(--cream);
  display: flex; align-items: center; justify-content: center; font-size: 22px; flex: 0 0 auto;
}
.shop-card .txt { flex: 1; min-width: 0; }
.shop-card .nm { font-weight: 800; font-size: 16px; margin-bottom: 3px; }
.shop-card .bdg {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--red); margin-bottom: 6px;
}
.shop-card .ds { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 0; }
.retail-row { display: flex; flex-wrap: wrap; gap: 12px; }
.retail-tile {
  padding: 14px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-weight: 800; font-size: 16px; letter-spacing: .01em;
}

/* ---------- Флаг Германии в бейдже ---------- */
.badge .flag {
  width: 20px; height: 13px; border-radius: 2px; display: block;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}

/* ---------- Cookie-баннер ---------- */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 150;
  max-width: 760px; margin: 0 auto;
  display: none; gap: 22px; align-items: center; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 22px 26px;
}
.cookie-banner.is-shown { display: flex; }
.cookie-banner .cb-text { flex: 1 1 340px; }
.cookie-banner h4 { margin: 0 0 5px; font-size: 17px; }
.cookie-banner p { margin: 0; font-size: 14px; color: var(--muted); }
.cookie-banner a { color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner .cb-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-banner .btn { padding: 12px 24px; font-size: 15px; }

/* ---------- Юридический текст (cookie-policy) ---------- */
.legal-text { max-width: 820px; }
.legal-text h2 { font-size: clamp(23px, 2.6vw, 30px); margin: 44px 0 16px; }
.legal-text h3 { font-size: 19px; margin: 30px 0 12px; }
.legal-text p, .legal-text li { font-size: 16px; color: var(--ink-70); line-height: 1.75; }
.legal-text ul { padding-left: 22px; display: grid; gap: 8px; margin: 0 0 18px; }
.legal-text table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; }
.legal-text th, .legal-text td {
  text-align: left; padding: 14px 16px; border: 1px solid var(--line); font-size: 15px;
}
.legal-text th { background: var(--cream); font-weight: 700; }
.legal-text a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Страницы-каркасы ---------- */
.page-hero { background: var(--pearl); padding: clamp(56px, 8vw, 96px) 0; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(36px, 5vw, 64px); max-width: 18ch; }
.page-hero .lead { margin-top: 12px; }
.breadcrumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.breadcrumbs a:hover { color: var(--red); }
.wip {
  display: flex; align-items: center; gap: 14px;
  background: var(--red-soft); border: 1px solid rgba(213,9,17,.18); border-radius: var(--radius-sm);
  padding: 18px 22px; font-size: 15px; margin: 36px 0;
}
.wip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); flex: 0 0 auto; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(213,9,17,.35);} 60% { box-shadow: 0 0 0 9px rgba(213,9,17,0);} }

/* ---------- Шлюз профзоны ---------- */
.gate-overlay {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: rgba(23,24,26,.6); backdrop-filter: blur(6px); padding: 24px;
}
.gate-card {
  max-width: 520px; background: #fff; border-radius: var(--radius); padding: 40px 38px;
  box-shadow: var(--shadow-md); text-align: left;
}
.gate-card h2 { font-size: 24px; }
.gate-card p { font-size: 15px; color: var(--ink-70); }
.gate-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
body.gate-locked { overflow: hidden; }

/* ---------- Анимации появления ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
.reveal-d5 { transition-delay: .40s; } .reveal-d6 { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint::after, .wip .dot { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Адаптивность ---------- */
@media (max-width: 1080px) {
  .main-nav a { padding: 9px 9px; font-size: 14px; }
}
@media (max-width: 960px) {
  .burger { display: flex; margin-left: auto; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99;
    flex-direction: column; gap: 2px; padding: 18px 24px 26px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
    margin-left: 0;
  }
  .main-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { font-size: 17px; padding: 12px 10px; }
  .lang-switch { margin-left: auto; }
  .stats-grid, .science-grid, .journal-grid { grid-template-columns: 1fr 1fr; }
  .needs-grid, .kid-grid, .shop-grid { grid-template-columns: 1fr 1fr; }
  .need-card.card-wide { grid-column: span 1; }
  .chart-pair { grid-template-columns: 1fr; gap: 24px; }
  .quiz-in, .kids-band { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 34px; }
  .timeline::before { display: none; }
  .tl-item { padding-top: 0; padding-left: 34px; }
  .tl-item::before { top: 8px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .stats-grid, .science-grid, .journal-grid, .needs-grid, .kid-grid, .shop-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .age-steps { flex-wrap: nowrap; }
  .bar-row { grid-template-columns: 76px 1fr; gap: 10px; }
  .chart { padding: 24px 20px; }
  .p-item { grid-template-columns: 1fr; gap: 6px; padding: 16px 18px; }
  .cat-head { flex-direction: column; gap: 16px; }
  .cat-count { text-align: left; font-size: 38px; }
  .footer-nav { grid-template-columns: 1fr; gap: 30px; }
  .partner-tile { padding: 16px 22px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px 20px; }
  .cookie-banner .cb-actions { width: 100%; }
  .cookie-banner .cb-actions .btn { flex: 1; }
}

/* ============================================================
   СТАТЬИ ЖУРНАЛА
   ============================================================ */
.art-hero { padding: calc(var(--header-h) + 54px) 0 34px; background: var(--cream); border-bottom: 1px solid var(--line); }
.art-hero .wrap { max-width: 860px; }
.art-hero h1 { margin: 10px 0 14px; }
.art-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: var(--muted); font-size: 14px; }
.art-meta .tag { display: inline-block; background: var(--red-soft); color: var(--red-dark);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; }

.article { padding: 54px 0 20px; }
.article .wrap { max-width: 860px; }
.prose { font-size: 17.5px; line-height: 1.72; color: var(--ink-70); }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: 30px; line-height: 1.22; color: var(--ink); letter-spacing: -.01em; margin-top: 52px; }
.prose h3 { font-size: 21px; line-height: 1.3; color: var(--ink); margin-top: 34px; }
.prose p > strong, .prose li > strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--red-dark); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--red); font-weight: 700; }
.prose .lead-in { font-size: 20px; line-height: 1.6; color: var(--ink); font-weight: 500; }
.prose figure { margin-top: 30px; }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* Врезки */
.note { border-left: 4px solid var(--red); background: var(--cream); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px; font-size: 16.5px; line-height: 1.65; }
.note--soft { border-left-color: #8FB8D8; }
.note--warn { border-left-color: #C98A16; background: #FDF6E7; }
.note b, .note strong { color: var(--ink); }
.note p + p { margin-top: 10px; }

/* Шаги гида */
.steps { counter-reset: st; display: grid; gap: 18px; margin-top: 26px; }
.step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 28px 24px 74px; box-shadow: var(--shadow-sm); }
.step::before { counter-increment: st; content: counter(st); position: absolute; left: 24px; top: 24px;
  width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.step h3 { margin: 0 0 8px; font-size: 19px; color: var(--ink); }
.step p { margin: 0; font-size: 16px; line-height: 1.62; color: var(--ink-70); }
.step p + p { margin-top: 10px; }

/* Таблица данных (статьи и профзона) */
.dtable-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--paper); }
.dtable { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.dtable th { background: var(--cream); color: var(--ink); text-align: left; font-weight: 700; font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase; padding: 13px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.dtable td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-70); line-height: 1.5; }
.dtable tr:last-child td { border-bottom: 0; }
.dtable tbody tr:hover td { background: #FAFAF9; }
.dtable td b, .dtable td strong { color: var(--ink); }
.dtable .num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Пилюли-метки */
.pill { display: inline-block; border-radius: 999px; padding: 3px 10px; font-size: 12.5px; font-weight: 700;
  white-space: nowrap; line-height: 1.4; }
.pill--ok { background: #E2F1EC; color: #0A6B5E; }
.pill--mid { background: #FCEFD6; color: #8A5D0C; }
.pill--hi { background: var(--red-soft); color: var(--red-dark); }
.pill--no { background: #EFEFEE; color: var(--muted); }

/* Шкала-градиент (RDA) */
.scale { margin-top: 26px; }
.scale-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; box-shadow: var(--shadow-sm); }
.scale-bar span { display: block; }
.scale-legend { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13.5px; color: var(--muted); }

/* Аккордеон FAQ */
.faq { display: grid; gap: 12px; margin-top: 26px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 24px; transition: box-shadow .2s ease, border-color .2s ease; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: #D9D5D0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 18px; padding: 20px 0; font-weight: 700; font-size: 17px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 11px; height: 11px; border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red); transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-1px); }
.faq .faq-a { padding: 0 0 22px; font-size: 16px; line-height: 1.68; color: var(--ink-70); }
.faq .faq-a p + p { margin-top: 12px; }
.faq .faq-a ul { margin: 12px 0 0; padding-left: 20px; }
.faq .faq-a li + li { margin-top: 6px; }

/* Подвал статьи */
.art-src { margin-top: 54px; padding: 24px 28px; background: var(--cream); border-radius: var(--radius-sm); }
.art-src h4 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.art-src ul { margin: 0; padding-left: 20px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.art-src li + li { margin-top: 6px; }
.art-next { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }

/* CTA-полоса «подобрать пасту» */
.art-cta { margin-top: 44px; background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 34px 38px; display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; }
.art-cta h3 { color: #fff; font-size: 22px; margin: 0 0 6px; }
.art-cta p { margin: 0; color: rgba(255,255,255,.72); font-size: 16px; }

@media (max-width: 700px) {
  .prose { font-size: 16.5px; }
  .prose h2 { font-size: 25px; margin-top: 40px; }
  .step { padding: 20px; }
  .step::before { position: static; margin-bottom: 12px; }
  .art-cta { padding: 26px 22px; }
  .art-src { padding: 20px 22px; }
}

/* ============================================================
   ПРОФЗОНА: база знаний
   ============================================================ */
.pro-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pro-stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 20px; box-shadow: var(--shadow-sm); }
.pro-stat b { display: block; font-size: 25px; font-weight: 800; line-height: 1.1; color: var(--red); }
.pro-stat span { font-size: 12.5px; color: var(--muted); }

/* Вкладки */
.protabs { position: sticky; top: var(--header-h); z-index: 30; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.protabs .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.protabs .wrap::-webkit-scrollbar { display: none; }
.ptab { flex: none; border: 0; background: transparent; font: inherit; font-weight: 700; font-size: 14.5px;
  color: var(--muted); padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: .16s ease; white-space: nowrap; }
.ptab:hover { background: var(--cream); color: var(--ink); }
.ptab.is-on { background: var(--red); color: #fff; }

.psec { display: none; }
.psec.is-on { display: block; animation: pfade .28s ease; }
@keyframes pfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.psec h2 { font-size: 30px; margin-bottom: 6px; }
.psec > .sub { color: var(--muted); font-size: 15px; margin-bottom: 24px; line-height: 1.55; }
.psec h3 { font-size: 20px; margin: 40px 0 14px; display: flex; align-items: center; gap: 10px; }
.psec h3 .dot-c { width: 10px; height: 10px; border-radius: 50%; flex: none; }

/* Аргумент */
.arg { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--red);
  border-radius: var(--radius-sm); padding: 22px 26px; margin-top: 16px; box-shadow: var(--shadow-sm); }
.arg h4 { display: flex; align-items: center; gap: 12px; font-size: 17.5px; color: var(--ink); margin-bottom: 10px; }
.arg h4 .n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.arg > p { font-size: 15.5px; line-height: 1.6; color: var(--ink-70); margin: 0; }
.phrase { margin-top: 14px; background: var(--cream); border-radius: 10px; padding: 14px 18px;
  font-size: 15px; line-height: 1.6; color: var(--ink-70); font-style: italic; }
.phrase b { font-style: normal; color: var(--red); font-weight: 700; }

/* Карточка ингредиента */
.ingr { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px 26px; margin-top: 16px; }
.ingr h4 { font-size: 17.5px; color: var(--ink); margin-bottom: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ingr .pill { text-transform: none; letter-spacing: 0; }
.ingr ul { margin: 0; padding-left: 20px; }
.ingr li { font-size: 15.5px; line-height: 1.58; color: var(--ink-70); }
.ingr li + li { margin-top: 6px; }
.ingr li::marker { color: var(--red); }
.pro-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pro-grid2 > * { margin-top: 0; }

/* Матрица конкурентов */
.dtable--matrix { font-size: 14px; min-width: 760px; }
.dtable--matrix th, .dtable--matrix td { padding: 11px 12px; text-align: center; }
.dtable--matrix th:first-child, .dtable--matrix td:first-child { text-align: left; white-space: normal; }
/* Колонка LACALUT — подсвечена */
.dtable--matrix th:nth-child(2) { background: #F6DFE0; color: var(--red-dark); }
.dtable--matrix td:nth-child(2) { background: #FCF2F2; font-weight: 700; color: var(--ink); }
.dtable--matrix tbody tr:hover td:nth-child(2) { background: #F9E8E9; }
.mk { font-weight: 800; font-size: 15px; }
.mk--y { color: #0A6B5E; }
.mk--n { color: #C9C6C2; }
.mk--w { color: #C98A16; }

.pro-note { margin-top: 30px; font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.pro-note ul { margin: 8px 0 0; padding-left: 20px; }
.pro-note li + li { margin-top: 4px; }

@media (max-width: 860px) {
  .pro-grid2 { grid-template-columns: 1fr; }
  .protabs { top: 0; }
  .psec h2 { font-size: 25px; }
}

/* ============================================================
   О БРЕНДЕ
   ============================================================ */
/* Таймлайн на 5 вех */
.timeline--5 { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.timeline--5 .tl-item p { font-size: 14.5px; }

/* Имя бренда — это формула: LACtat ALUminii → LACALUT */
.namebox { text-align: center; padding: 8px 0 4px; }
.nb-src {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px;
  font-size: clamp(24px, 3.4vw, 40px); font-weight: 300; letter-spacing: .01em;
  color: var(--muted); line-height: 1.2;
}
.nb-src b { font-weight: 800; color: var(--ink); }
.nb-arrow {
  margin: 26px auto; width: 2px; height: 40px;
  background: linear-gradient(180deg, rgba(213,9,17,.15), var(--red)); position: relative;
}
.nb-arrow::after {
  content: ''; position: absolute; bottom: -1px; left: 50%; transform: translateX(-50%);
  border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid var(--red);
}
.nb-result {
  display: inline-flex; align-items: baseline;
  font-size: clamp(44px, 8vw, 96px); font-weight: 800; letter-spacing: -.02em; line-height: 1;
}
.nb-result .seg { position: relative; padding-bottom: 16px; }
/* LAC и ALU — два разных слова-источника, поэтому разные оттенки и зазор между ними */
.nb-result .seg--a { color: var(--red); margin-right: .1em; }
.nb-result .seg--b { color: var(--red-dark); margin-right: .1em; }
.nb-result .seg--c { color: var(--ink); }
.nb-result .seg--a::after, .nb-result .seg--b::after {
  content: ''; position: absolute; left: 0; right: .1em; bottom: 0; height: 4px;
  border-radius: 2px; background: currentColor; opacity: .3;
}
.nb-note { margin-top: 26px; font-size: 17px; color: var(--ink-70); max-width: 640px; margin-inline: auto; line-height: 1.65; }
.nb-note b { color: var(--ink); }

/* Факты о производстве */
.fact-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.fact { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px 24px; box-shadow: var(--shadow-sm); }
.fact .k { font-size: 26px; font-weight: 800; color: var(--red); line-height: 1.1; letter-spacing: -.02em; }
.fact .v { margin-top: 6px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }

@media (max-width: 980px) {
  .timeline--5 { grid-template-columns: repeat(2, 1fr); }
  .timeline--5::before { display: none; }
  .fact-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .timeline--5 { grid-template-columns: 1fr; }
  .fact-row { grid-template-columns: 1fr; }
  .nb-src { flex-direction: column; gap: 4px; }
}
