/* =========================================================
   ПартнёрГид — стили
   Цвета и размеры — в переменных ниже, меняются в одном месте.
   ========================================================= */

:root {
  --red: #EF3124;
  --red-hover: #D8241A;
  --red-soft: #FDECEB;
  --ink: #0B1F35;
  --muted: #5C6B7A;
  --line: #E3E7EB;
  --bg: #FFFFFF;
  --bg-soft: #F3F4F6;
  --dark: #0E1621;
  --dark-2: #1A2431;
  --green: #12A35B;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(11, 31, 53, .08);
  --shadow-lg: 0 24px 60px rgba(11, 31, 53, .16);

  --container: 1180px;
  --font: "Manrope", system-ui, -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;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-hover); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(34px, 5.2vw, 58px); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 860px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

/* --- Кнопки --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px;
  border: 2px solid transparent; border-radius: 14px;
  font: 700 16px/1 var(--font); text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-hover); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--bg-soft); color: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; border-radius: 10px; }

.ad-label { margin: 10px 0 0; font-size: 12px; color: var(--muted); }

/* --- Верхняя плашка и шапка --- */
.topbar { background: var(--ink); color: rgba(255,255,255,.78); font-size: 13px; padding: 8px 0; text-align: center; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.logo:hover { color: var(--ink); }
.logo--light, .logo--light:hover { color: #fff; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link { padding: 8px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav__link:hover, .nav__link.is-active { background: var(--bg-soft); color: var(--ink); }
.nav__cta { margin-left: 12px; }
.nav__cta .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }

.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--bg-soft); cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1140px) {
  .burger { display: flex; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 16px 20px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 14px 12px; font-size: 17px; }
  .nav__cta { margin: 12px 0 0; }
  .nav__cta .btn { width: 100%; min-height: 52px; }
}

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 20px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); }

/* --- Первый экран --- */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px; background: var(--red-soft); color: var(--red-hover); font-size: 14px; font-weight: 700; }
.hero__lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 0; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); font-size: 14px; font-weight: 600; }
.chips li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 6px; }

.hero__visual { position: relative; min-height: 380px; display: grid; place-items: center; }
.hero__visual::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, var(--red-soft) 0%, rgba(253,236,235,0) 70%);
}
.bank-card {
  position: relative; width: 340px; max-width: 100%; aspect-ratio: 1.586;
  padding: 26px; border-radius: 22px; color: #fff;
  background: linear-gradient(135deg, #FF5A4B 0%, var(--red) 45%, #B9150C 100%);
  box-shadow: var(--shadow-lg);
  transform: rotate(-8deg);
  display: flex; flex-direction: column; justify-content: space-between;
}
.bank-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(120% 80% at 100% 0%, rgba(255,255,255,.28), transparent 55%);
}
.bank-card__chip { width: 46px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, #F6D78B, #C9A44C); }
.bank-card__number { font-size: 22px; font-weight: 700; letter-spacing: .12em; }
.bank-card__bottom { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .1em; opacity: .9; }
.bank-card__mark { width: 44px; height: 28px; position: relative; }
.bank-card__mark::before, .bank-card__mark::after { content: ""; position: absolute; top: 0; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.55); }
.bank-card__mark::before { left: 0; }
.bank-card__mark::after { right: 0; background: rgba(255,255,255,.3); }

.float-badge {
  position: absolute; z-index: 2;
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 18px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg);
  font-size: 13px; color: var(--muted);
}
.float-badge strong { font-size: 18px; color: var(--ink); }
.float-badge--top { top: 24px; right: 0; }
.float-badge--bottom { bottom: 24px; left: 0; }

@media (max-width: 860px) {
  .hero { padding: 32px 0 48px; }
  .hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .hero__visual { min-height: 300px; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* --- Секции --- */
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--dark); color: #fff; }
.section__title { margin-bottom: 12px; }
.section__lead { color: var(--muted); font-size: 18px; margin-bottom: 36px; max-width: 680px; }
.section--dark .section__lead { color: rgba(255,255,255,.7); }
@media (max-width: 768px) { .section { padding: 52px 0; } }

/* Два пути */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.path { padding: 36px; border-radius: var(--radius); background: var(--bg-soft); display: flex; flex-direction: column; align-items: flex-start; }
.path p { color: var(--muted); flex: 1; }
.path--accent { background: var(--red); color: #fff; }
.path--accent p { color: rgba(255,255,255,.88); }
.path__tag { flex: 0 !important; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
@media (max-width: 768px) { .paths { grid-template-columns: 1fr; } .path { padding: 28px 22px; } .path .btn { width: 100%; } }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.step { padding: 28px 24px; border-radius: var(--radius); background: #fff; }
.step p { color: var(--muted); font-size: 16px; margin: 0; }
.step__num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; background: var(--red); color: #fff; font-weight: 800; font-size: 18px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Таблицы */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th, .table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: var(--bg-soft); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table__total td { background: var(--red-soft); font-weight: 800; }
.table__group td { background: var(--bg-soft); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding-top: 10px; padding-bottom: 10px; }

/* Заметки */
.note { margin-top: 24px; padding: 20px 24px; border-left: 4px solid var(--red); border-radius: var(--radius-sm); background: var(--bg-soft); font-size: 16px; }
.note--warn { border-left-color: #F2A100; background: #FFF7E5; }
.note > :last-child { margin-bottom: 0; }

/* Калькулятор */
.calc { padding: 32px; border-radius: var(--radius); background: var(--dark-2); }
.calc__row { display: block; margin-bottom: 24px; }
.calc__row span { display: flex; justify-content: space-between; margin-bottom: 10px; font-weight: 600; }
.calc__row output { font-weight: 800; color: #fff; font-size: 18px; }
.calc input[type="range"] { width: 100%; accent-color: var(--red); height: 28px; }
.calc__result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.calc__result > div { padding: 18px; border-radius: var(--radius-sm); background: rgba(255,255,255,.06); }
.calc__result > div:first-child { background: var(--red); }
.calc__label { display: block; font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 4px; }
.calc__result strong { font-size: 24px; font-variant-numeric: tabular-nums; }
.calc__hint { margin: 16px 0 0; font-size: 14px; color: rgba(255,255,255,.6); }
@media (max-width: 640px) { .calc { padding: 22px 18px; } .calc__result { grid-template-columns: 1fr; } }

/* Плюсы и минусы */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.proscons__col { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); }
.proscons__col ul { list-style: none; padding: 0; margin: 0; }
.proscons__col li { position: relative; padding: 10px 0 10px 34px; border-top: 1px solid var(--line); }
.proscons__col li:first-child { border-top: 0; }
.proscons__col li::before { position: absolute; left: 0; top: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; }
.proscons__col--pro li::before { content: "+"; background: var(--green); }
.proscons__col--con li::before { content: "−"; background: var(--red); }
@media (max-width: 768px) { .proscons { grid-template-columns: 1fr; } .proscons__col { padding: 24px 20px; } }

/* Автор */
.author { display: flex; gap: 24px; padding: 32px; border-radius: var(--radius); background: var(--bg-soft); }
.author__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: #fff; }
.author__label { margin: 0; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--red); }
.author__name { margin: 2px 0 0; font-size: 22px; font-weight: 800; }
.author__role { color: var(--muted); font-size: 15px; }
.author__about { margin-bottom: 8px; }
.author__links { margin: 0; font-size: 15px; font-weight: 600; }
@media (max-width: 560px) { .author { flex-direction: column; padding: 24px 20px; } }

/* Вопросы */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  position: relative; padding: 22px 48px 22px 0; cursor: pointer; list-style: none;
  font-size: 19px; font-weight: 700;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; background: var(--bg-soft);
  display: grid; place-items: center; font-size: 22px; font-weight: 600; transition: transform .2s, background .2s;
}
.faq__item[open] summary::after { content: "−"; background: var(--red); color: #fff; }
.faq__answer { padding: 0 0 22px; color: #33475B; }
.faq__answer > :last-child { margin-bottom: 0; }

/* Призыв */
.cta { padding: 24px 0 80px; }
.cta__box { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px; border-radius: 28px; background: var(--red); color: #fff; }
.cta__text { max-width: 560px; }
.cta__text p { color: rgba(255,255,255,.88); margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
@media (max-width: 860px) {
  .cta__box { flex-direction: column; align-items: flex-start; padding: 32px 22px; }
  .cta__actions { width: 100%; } .cta__actions .btn { flex: 1 1 100%; }
}

/* Подвал */
.footer { padding: 56px 0 32px; background: var(--dark); color: rgba(255,255,255,.7); font-size: 15px; }
.footer__grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__tagline { margin: 12px 0 0; }
.footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 40px; }
.footer__nav a { color: #fff; text-decoration: none; }
.footer__nav a:hover { color: var(--red); }
.footer__legal { padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.5); }
@media (max-width: 560px) { .footer__nav { grid-template-columns: 1fr; } }

/* Cookie */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  max-width: 560px; margin: 0 auto; padding: 16px 18px;
  display: flex; align-items: center; gap: 16px;
  border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); font-size: 14px;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }

/* =========================================================
   Статьи
   ========================================================= */
.article-head { padding: 28px 0 8px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 15px; margin-bottom: 8px; }
.article-meta strong { color: var(--ink); }
.article-meta a { text-decoration: none; }
.article-lead { font-size: 20px; color: #33475B; margin-top: 16px; }
.article-head h1 { font-size: clamp(30px, 4.4vw, 48px); }

.steps-list { list-style: none; padding: 0 !important; counter-reset: s; }
.steps-list > li { position: relative; padding: 4px 0 16px 56px; margin: 0 !important; counter-increment: s; }
.steps-list > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 10px; background: var(--red); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 17px; }
.steps-list > li::marker { content: none; }
.steps-list strong { display: block; font-size: 19px; margin-bottom: 2px; }

.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 1.4em 0; }
.compare > div { padding: 22px; border-radius: var(--radius); background: var(--bg-soft); font-size: 16px; }
.compare > div.is-best { background: var(--red-soft); outline: 2px solid var(--red); }
.compare h3 { margin: 0 0 6px; font-size: 19px; }
.compare .big { font-size: 30px; font-weight: 800; line-height: 1.1; margin: 0 0 8px; }
.compare--2 { grid-template-columns: 1fr 1fr; }
.compare ul { padding-left: 1.1em; margin: 0; }
@media (max-width: 768px) { .compare, .compare--2 { grid-template-columns: 1fr; } }

.sources { font-size: 15px; color: var(--muted); }

.toc { margin: 24px 0 8px; padding: 22px 26px; border-radius: var(--radius); background: var(--bg-soft); }
.toc__title { font-weight: 800; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 4px 0; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--red); }

.prose { font-size: 18px; line-height: 1.7; }
.prose h2 { margin-top: 1.8em; font-size: clamp(24px, 3vw, 32px); scroll-margin-top: 90px; }
.prose h3 { margin-top: 1.5em; scroll-margin-top: 90px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--red); font-weight: 700; }
.prose .table-wrap { margin: 1.4em 0; }
.prose img { border-radius: var(--radius); margin: 1.4em 0; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--red); font-size: 20px; font-weight: 600; }

.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 2em 0; padding: 24px 28px; border-radius: var(--radius); background: var(--red-soft); }
.inline-cta p { margin: 0; font-weight: 700; font-size: 18px; }
@media (max-width: 640px) { .inline-cta { flex-direction: column; align-items: stretch; } }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related a { display: block; padding: 22px; border-radius: var(--radius); background: var(--bg-soft); color: var(--ink); text-decoration: none; font-weight: 700; transition: background .15s; }
.related a:hover { background: var(--red-soft); }
.related--big { grid-template-columns: repeat(4, 1fr); }
.related--big a { background: #fff; min-height: 128px; font-size: 17px; line-height: 1.35; }
.related a span { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--red); }
@media (max-width: 960px) { .related--big { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .related { grid-template-columns: 1fr; } .related--big a { min-height: 0; } }

/* Ошибка 404 */
.error-page { padding: 100px 0; text-align: center; }
.error-page__code { font-size: clamp(90px, 18vw, 160px); font-weight: 800; color: var(--red); line-height: 1; margin-bottom: 8px; }

/* =========================================================
   Каталог продуктов
   ========================================================= */
.catalog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.catalog__item { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.catalog__item:hover { color: var(--ink); border-color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow); }
.catalog__item strong { font-size: 18px; line-height: 1.3; }
.catalog__group { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.catalog__text { font-size: 15px; color: var(--muted); flex: 1; }
.catalog__points { align-self: flex-start; margin-top: 6px; padding: 5px 10px; border-radius: 999px; background: var(--red-soft); color: var(--red-hover); font-size: 13px; font-weight: 800; }
.catalog__item--accent { background: var(--red); border-color: var(--red); color: #fff; }
.catalog__item--accent:hover { color: #fff; }
.catalog__item--accent .catalog__group, .catalog__item--accent .catalog__text { color: rgba(255,255,255,.85); }
.catalog__item--accent .catalog__points { background: #fff; color: var(--red); }
@media (max-width: 1024px) { .catalog { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .catalog { grid-template-columns: 1fr; } }

.points-box { display: flex; align-items: center; gap: 20px; margin: 1.2em 0; padding: 22px 24px; border-radius: var(--radius); background: var(--dark); color: #fff; }
.points-box__num { flex-shrink: 0; min-width: 84px; padding: 10px 14px; border-radius: 16px; background: var(--red); font-size: 28px; font-weight: 800; text-align: center; white-space: nowrap; }
.points-box p { margin: 0; }
.points-box__label { font-weight: 700; font-size: 17px; }
.points-box__note { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 4px !important; }
.points-box a { color: #fff; }
@media (max-width: 560px) { .points-box { flex-direction: column; align-items: flex-start; } }

/* =========================================================
   Блог
   ========================================================= */
.blog-cat { margin: 40px 0 16px; font-size: 24px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.post-card:hover { color: var(--ink); border-color: var(--red); box-shadow: var(--shadow); }
.post-card__cat { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--red); }
.post-card__title { font-size: 19px; line-height: 1.3; }
.post-card__text { font-size: 15px; color: var(--muted); flex: 1; }
.post-card__date { font-size: 13px; color: var(--muted); }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .posts { grid-template-columns: 1fr; } }

/* Контакты */
.contacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 1.4em 0; }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: var(--radius); background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.contact-card:hover { background: var(--red-soft); color: var(--ink); }
.contact-card span { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.contact-card strong { font-size: 20px; }
@media (max-width: 560px) { .contacts { grid-template-columns: 1fr; } }

/* Официальная ссылка (кабинет) */
.official { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 1.4em 0; padding: 22px 24px; border-radius: var(--radius); border: 2px solid var(--ink); }
.official p { margin: 0; }
.official__url { font-size: 22px; font-weight: 800; }
@media (max-width: 640px) { .official { flex-direction: column; align-items: stretch; } }

/* Подвал с колонками */
.footer__cols { display: grid; grid-template-columns: repeat(4, auto); gap: 24px 48px; }
.footer__col p { margin: 0 0 10px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.45); }
.footer__col a { display: block; padding: 4px 0; color: #fff; text-decoration: none; }
.footer__col a:hover { color: var(--red); }
@media (max-width: 960px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__cols { grid-template-columns: 1fr; } }

/* Отложенная публикация (видно только на своём компьютере) */
.scheduled { background: #FFF7E5; border-bottom: 1px solid #F2D58A; padding: 10px 0; font-size: 14px; }
.post-card__date--soon { color: #B07800; font-weight: 700; }

/* Выпадающее меню «Свой в Альфе» */
.nav__group { position: relative; }
.nav__toggle { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; cursor: pointer; font-family: inherit; }
.nav__arrow { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.nav__sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; padding: 8px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); display: none; z-index: 60; }
.nav__sub::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.nav__group:hover .nav__sub, .nav__group:focus-within .nav__sub, .nav__group.is-open .nav__sub { display: block; }
.nav__group:hover .nav__arrow, .nav__group.is-open .nav__arrow { transform: rotate(-135deg) translateY(-2px); }
.nav__sublink { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav__sublink:hover, .nav__sublink.is-active { background: var(--bg-soft); color: var(--ink); }
@media (max-width: 1140px) {
  .nav__group { display: flex; flex-direction: column; }
  .nav__toggle { justify-content: space-between; padding: 14px 12px; font-size: 17px; }
  .nav__sub { position: static; display: none; box-shadow: none; padding: 0 0 8px 12px; min-width: 0; background: none; }
  .nav__group:hover .nav__sub, .nav__group:focus-within .nav__sub { display: none; }
  .nav__group.is-open .nav__sub { display: block; }
}
