/* Тема УТРО — дизайн «Рассвет».
   Страница идёт от ночного индиго к утреннему свету: тёмные блоки с тёплым свечением,
   кнопки светятся ровно (без пульсации — просьба владельца 11.11.2026), вокруг портретов
   золотое кольцо, как на лендинге форума. Макет: redizajn-utro-future/prototip-v3/.
   Стили только главной (сцена дерева, ветви, книги) — в home.css. */

/* ---------- Шрифты: свои файлы, без Google ---------- */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(../fonts/manrope-cyrillic-wght-normal.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(../fonts/manrope-latin-wght-normal.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; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/jost-cyrillic-wght-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/jost-latin-wght-normal.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 {
  --deep: #0D0A1C;
  --night: #150F29;
  --night-2: #241A44;
  --indigo: #241A44;
  --plum: #4A2A4A;
  --accent: #E2764F;
  --accent-hover: #F18A63;
  --accent-ink: #B8481F;      /* текст и ссылки на светлом: контраст 5,1:1 */
  --peach: #FFB98A;
  --peach-2: #FF9E6E;
  --gold: #F6C66A;
  --gold-hi: #FFE2A3;
  --cream: #F4EFE8;
  --lilac: #D3CAE0;
  --lilac-2: #B7AECF;
  --on-dark: #ECE6F2;
  --on-photo: #E4E0F5;
  --surface: #F5F3F8;
  --surface-2: #ECE8F2;
  --white: #FFFFFF;
  --ink: #1A1526;
  --muted: #5B5470;
  --muted-2: #6E6785;
  --footer: #0D0A1C;
  --brick: #B8481F;
  --err: #C0392B;             /* рамка ошибочного поля и сводки ошибок: контраст 5,4:1 к белому */
  --line-dark: rgba(255, 255, 255, .13);
  --line-light: rgba(26, 21, 38, .12);
  --line-field: rgba(26, 21, 38, .5);   /* граница поля ввода: 3,4:1 к белому */
  --card-dark: rgba(255, 255, 255, .055);

  /* ветви дерева — цвета из ролика об экосистеме */
  --b-memory: #6FD34F;
  --b-people: #4AA8FF;
  --b-edu: #F4C531;
  --b-tech: #B06BFF;
  --b-comm: #2FD0E0;

  --dawn: linear-gradient(135deg, #1C1438 0%, #2A1C4C 42%, #4A2A4A 78%, #7A3F45 100%);
  --dawn-deep: linear-gradient(160deg, #150F29 0%, #241A44 55%, #3A2147 100%);
  --g-top: var(--dawn);
  --g-dark: var(--dawn-deep);
  --glow-btn: 0 10px 30px rgba(226, 118, 79, .45), 0 0 0 1px rgba(255, 185, 138, .22) inset;
  --glow-btn-hi: 0 14px 44px rgba(241, 138, 99, .62), 0 0 22px rgba(255, 185, 138, .35), 0 0 0 1px rgba(255, 226, 163, .4) inset;
  --shadow-card: 0 10px 30px rgba(26, 21, 38, .05);
  --shadow-lift: 0 22px 50px rgba(36, 26, 68, .16);

  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: var(--font-body);
  --font-logo: 'Jost', 'Futura', 'Century Gothic', Arial, sans-serif;

  --r-xl: 28px;
  --r-l: 24px;
  --r-m: 18px;
  --r-s: 14px;

  --wrap: 1200px;
  --gutter: 20px;
  --header-h: 64px;
  --section-y: 56px;
}
@media (min-width: 600px) { :root { --gutter: 32px; --section-y: 80px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; --section-y: 112px; } }
@media (min-width: 1280px) { :root { --header-h: 76px; } }

/* ---------- Основа ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 500 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.menu-open, body.no-scroll { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 800; }
p { margin: 0; }
p, li, dd, figcaption, blockquote { text-wrap: pretty; }
h3, h4 { text-wrap: balance; }
a[href^="tel:"] { white-space: nowrap; }
::selection { background: var(--peach); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
main[tabindex="-1"]:focus { outline: none; }
.section--light :focus-visible, .section--white :focus-visible { outline-color: var(--indigo); }
/* тёмные карточки внутри светлых секций */
.founder :focus-visible, .regcard :focus-visible, .form--dark :focus-visible, .tile--dark :focus-visible, .op-pull :focus-visible { outline-color: var(--gold); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.icon { width: 1.2em; height: 1.2em; flex-shrink: 0; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--white); color: var(--ink); font-weight: 800; text-decoration: none; }
.skip-link:focus { top: 16px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.site-main { background: var(--surface); }

/* ---------- Кнопки со свечением и ссылки ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border: 1px solid transparent; border-radius: 999px;
  font-size: 15.5px; font-weight: 800; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { height: 56px; padding: 0 32px; font-size: 16px; }
.btn--sm { height: 44px; padding: 0 22px; font-size: 14.5px; }
.btn--block { display: flex; width: 100%; }
.btn--accent { background: linear-gradient(135deg, var(--accent-hover), var(--accent)); color: #fff; box-shadow: var(--glow-btn); }
.btn--accent:hover { color: #fff; box-shadow: var(--glow-btn-hi); }
.btn--ghost { border-color: rgba(255, 185, 138, .45); background: rgba(255, 255, 255, .04); color: var(--cream); box-shadow: 0 0 26px rgba(255, 158, 110, .16), 0 0 0 1px rgba(255, 185, 138, .08) inset; }
.btn--ghost:hover { border-color: var(--peach); color: #fff; box-shadow: 0 0 38px rgba(255, 158, 110, .38), 0 0 0 1px rgba(255, 185, 138, .25) inset; }
.btn--outline { border-color: rgba(26, 21, 38, .26); color: var(--ink); background: var(--white); box-shadow: 0 6px 18px rgba(26, 21, 38, .06); }
.btn--outline:hover { border-color: var(--accent); color: var(--ink); box-shadow: 0 12px 30px rgba(226, 118, 79, .26); }
.btn--white { background: var(--white); color: var(--ink); box-shadow: 0 10px 30px rgba(255, 185, 138, .3); }
.btn--white:hover { color: var(--ink); box-shadow: 0 14px 44px rgba(255, 185, 138, .55); }
.btn--deep { background: var(--indigo); color: #fff; box-shadow: 0 10px 28px rgba(36, 26, 68, .32), 0 0 22px rgba(226, 118, 79, .22); }
.btn--deep:hover { color: #fff; box-shadow: 0 14px 36px rgba(36, 26, 68, .45), 0 0 26px rgba(226, 118, 79, .38); }
.btn .icon { width: 18px; height: 18px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; padding-block: 11px; margin-block: -11px; font-size: 15px; font-weight: 800; text-decoration: none; color: var(--accent-ink); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--accent, .section--dark .link-arrow, .section--dark-alt .link-arrow, .top .link-arrow, .founder .link-arrow { color: var(--peach); }
.link-arrow--accent:hover, .section--dark .link-arrow:hover, .section--dark-alt .link-arrow:hover { color: var(--gold-hi); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }

/* ---------- Типографика ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px; min-height: 34px; padding: 6px 16px;
  border: 1px solid var(--line-dark); border-radius: 999px; background: rgba(255, 255, 255, .05);
  font-size: 14px; font-weight: 800; line-height: 1.3; letter-spacing: .01em; color: var(--cream);
}
.pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--peach-2); box-shadow: 0 0 12px var(--peach-2); flex-shrink: 0; }
.pill--light { border-color: var(--line-light); background: var(--white); color: var(--ink); }
.pill--light::before { background: var(--accent); box-shadow: 0 0 10px rgba(226, 118, 79, .6); }
/* Метка над заголовком ставится, только если сообщает то, чего в заголовке нет (docs/DESIGN.md). */
.kicker, .eyebrow { display: block; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--accent-ink); }
@media (min-width: 1280px) { .page-hero .pill--where { display: none; } .page-hero .pill--where + .page-hero__title { margin-top: 0; } }
.section--dark .kicker, .section--dark-alt .kicker, .section--dark .eyebrow, .section--dark-alt .eyebrow, .section--dawn .eyebrow, .section--night .eyebrow, .top .eyebrow, .cta .eyebrow, .founder .eyebrow { color: var(--peach-2); }
.grad { background: linear-gradient(100deg, var(--peach) 0%, var(--accent-hover) 55%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.h1 { font-size: clamp(40px, 6.2vw, 88px); line-height: 1.02; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
.h2 { font-size: clamp(28px, 3.4vw, 50px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.h3 { font-size: clamp(20px, 1.5vw, 24px); line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }
.lead { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; }
.muted { color: var(--muted); }

/* ---------- Секции ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--light { background: var(--surface); color: var(--ink); }
.section--white { background: var(--white); color: var(--ink); }
.section--dark, .section--dawn {
  background: radial-gradient(circle at 96% 6%, rgba(255, 158, 110, .16) 0%, rgba(255, 158, 110, 0) 30%), var(--dawn-deep);
  color: var(--cream);
}
.section--dark-alt, .section--night {
  background: radial-gradient(circle at 4% 96%, rgba(255, 158, 110, .14) 0%, rgba(255, 158, 110, 0) 30%), linear-gradient(180deg, var(--deep) 0%, var(--night) 30%, var(--indigo) 100%);
  color: var(--cream);
}
.section--dark .muted, .section--dark-alt .muted { color: var(--lilac); }
.section--tight { padding-block: calc(var(--section-y) * .8); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head__text { max-width: 460px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.section--dark .section-head__text, .section--dark-alt .section-head__text { color: var(--lilac); }
.section-head--center { align-items: center; }
@media (max-width: 767px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-head__text { font-size: 15px; }
  .section-head--center { flex-direction: row; align-items: center; justify-content: space-between; }
  .section-head--center .btn { height: 40px; padding: 0 16px; font-size: 14px; }
}
/* Заголовок блока «Рассвета»: надпись-метка, заголовок, вводная строка */
.shead { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 52px); justify-items: start; }
.shead--row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.shead .lead { max-width: 62ch; color: var(--muted); }
.section--dark .shead .lead, .section--dark-alt .shead .lead, .section--dawn .shead .lead, .section--night .shead .lead { color: var(--lilac); }
@media (max-width: 767px) { .shead--row { grid-template-columns: minmax(0, 1fr); } }


/* ---------- Золотое свечение вокруг портретов ---------- */
.halo { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; isolation: isolate; flex-shrink: 0; }
.halo::before { content: ''; position: absolute; inset: -4%; z-index: -1; border-radius: 50%; background: conic-gradient(from 0deg, rgba(246, 198, 106, 0) 0deg, rgba(246, 198, 106, .95) 70deg, rgba(255, 226, 163, 1) 110deg, rgba(246, 198, 106, 0) 190deg, rgba(255, 158, 110, .8) 280deg, rgba(246, 198, 106, 0) 360deg); filter: blur(8px); opacity: .8; animation: halo-spin 14s linear infinite; }
/* Свечение крупного портрета уменьшено 11.11.2026 по просьбе владельца: было inset -22% и вдвое плотнее. */
.halo::after { content: ''; position: absolute; inset: -12%; z-index: -2; border-radius: 50%; background: radial-gradient(circle, rgba(246, 198, 106, .3) 40%, rgba(246, 198, 106, .1) 56%, rgba(246, 198, 106, 0) 70%); animation: halo-breathe 5.5s ease-in-out infinite; }
.halo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold-hi); box-shadow: 0 0 0 4px rgba(246, 198, 106, .14), 0 20px 60px rgba(0, 0, 0, .45); background: var(--indigo); }
.halo--sm::before { inset: -6%; filter: blur(5px); animation: none; }
.halo--sm::after { inset: -16%; animation: none; }
.halo--sm img { border-width: 2px; box-shadow: 0 0 0 3px rgba(246, 198, 106, .22), 0 8px 22px rgba(0, 0, 0, .28); }
.section--light .halo--sm::after, .section--white .halo--sm::after { opacity: .7; }
@keyframes halo-spin { to { transform: rotate(360deg); } }
@keyframes halo-breathe { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }

/* ---------- Шапка ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 40; color: var(--white); transition: background-color .3s ease, box-shadow .3s ease; }
.site-header.is-scrolled { background: rgba(21, 15, 41, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-dark); }
/* У открытого меню размытия нет: backdrop-filter делает шапку контейнером для position: fixed,
   и меню, лежащее внутри шапки, обрезалось бы до её высоты (найдено ревью 10.11.2026). */
body.menu-open .site-header { background: var(--night); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 1px 0 var(--line-dark); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; min-height: 44px; gap: 12px; color: var(--white); text-decoration: none; flex-shrink: 0; }
.brand__mark { width: 30px; height: 34px; }
.brand__word { font-family: var(--font-logo); font-weight: 600; font-size: 26px; line-height: 1; letter-spacing: .06em; }
.nav { display: flex; gap: 2px; margin-left: auto; font-size: 14px; font-weight: 700; }
.nav__link { position: relative; padding: 8px 9px; border-radius: 10px; color: var(--lilac); text-decoration: none; white-space: nowrap; transition: color .2s ease, background-color .2s ease; }
.nav__link:hover { color: var(--white); background: rgba(255, 255, 255, .07); }
.nav__link[aria-current="page"] { color: var(--white); }
.nav__link[aria-current="page"]::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--peach-2); box-shadow: 0 0 10px var(--peach-2); }
.menu-toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 1279px) {
  .nav, .site-header__cta { display: none; }
  .brand { gap: 10px; }
  .brand__mark { width: 26px; height: 30px; }
  .brand__word { font-size: 22px; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0;
    border: 1px solid var(--line-dark); border-radius: 14px; background: rgba(255, 255, 255, .05); color: var(--white); cursor: pointer;
  }
  .menu-toggle .icon { width: 20px; height: 20px; }
  /* .menu-toggle впереди — специфичность выше, чем у svg:not(:root) { display: inline } из стилей Royal Addons: на записях,
     собранных в Elementor (их стили не снимаются), значки «бургер» и «закрыть» стояли рядом (приёмка 26.11.2026). */
  .menu-toggle .menu-toggle__open { display: block; }
  .menu-toggle .menu-toggle__close { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }
  .mobile-menu:not([hidden]) {
    display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; overflow-y: auto; overscroll-behavior: contain;
    padding: 16px var(--gutter) 28px; background: var(--dawn); background-color: var(--night);
  }
  .mobile-menu__nav { display: flex; flex-direction: column; }
  .mobile-menu__link {
    /* 10 пунктов и контакты помещаются на экран 390×844 (было 898 px при 780 видимых, приёмка 26.11.2026); касание — от 44 px */
    padding: 10px 0; border-bottom: 1px solid var(--line-dark);
    font-weight: 800; font-size: 21px; letter-spacing: -.01em; color: var(--white); text-decoration: none;
  }
  .mobile-menu__link[aria-current="page"] { color: var(--peach); }
  .mobile-menu__phone, .mobile-menu__mail { display: flex; align-items: center; min-height: 44px; }
  .mobile-menu__foot { display: flex; flex-direction: column; gap: 14px; }
  .mobile-menu__phone { font-size: 20px; font-weight: 800; color: var(--white); text-decoration: none; }
  .mobile-menu__mail { color: var(--lilac); }
}

/* ---------- Первый экран внутренних страниц ---------- */
.top { position: relative; overflow: hidden; background: var(--dawn); background-color: var(--night); color: var(--cream); isolation: isolate; }
.top::before { content: ''; position: absolute; z-index: -1; left: 58%; bottom: -62vmin; width: 120vmin; height: 120vmin; border-radius: 50%; background: radial-gradient(circle, rgba(255, 158, 110, .46) 0%, rgba(226, 118, 79, .2) 34%, rgba(226, 118, 79, 0) 66%); pointer-events: none; }
.top::after { content: ''; position: absolute; z-index: -1; width: 320px; height: 320px; top: 6%; left: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 185, 138, .16), rgba(255, 185, 138, 0) 68%); pointer-events: none; }

.page-hero { padding: calc(var(--header-h) + 64px) 0 84px; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); column-gap: 56px; align-items: center; }
.page-hero__title { margin: 22px 0 0; max-width: 900px; font-weight: 800; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.05; letter-spacing: -.025em; text-wrap: balance; overflow-wrap: break-word; hyphens: manual; }
.page-hero__sub { margin-top: 14px; font-weight: 700; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.3; color: var(--peach); }
.page-hero__lead { margin-top: 22px; max-width: 680px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: var(--lilac); }
.page-hero .actions { margin-top: 32px; }
.page-hero__media { position: relative; }
.page-hero__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-xl); box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 60px rgba(226, 118, 79, .22); }
.page-hero__media::before { content: ''; position: absolute; inset: -9%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 185, 138, .28), rgba(255, 185, 138, 0) 66%); }
.page-hero__facts { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.page-hero__fact { max-width: 320px; }
/* три факта (сейчас только «История ЖКХ») держатся одним рядом и не ломаются 2+1 */
.page-hero__facts:has(> :nth-child(3)) { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 12px clamp(16px, 3vw, 36px); }
.page-hero__facts:has(> :nth-child(3)) span { text-wrap: balance; }
.page-hero__fact b { display: block; font-weight: 800; font-size: clamp(22px, 2vw, 30px); line-height: 1.15; letter-spacing: -.01em; color: var(--peach); }
.page-hero__fact span { font-size: 14px; color: var(--lilac); }
.page-hero--short { padding-bottom: 60px; }
.page-hero__note { margin-top: 14px; max-width: 680px; font-size: 15px; font-weight: 700; line-height: 1.6; color: var(--cream); }
@media (max-width: 1023px) { .page-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); column-gap: 32px; } }
@media (max-width: 767px) {
  .page-hero { padding: calc(var(--header-h) + 32px) 0 48px; }
  .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero__media { max-width: 420px; width: 100%; margin-top: 32px; }
  .page-hero .actions { flex-direction: column; align-items: stretch; }
}

.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 13px; color: var(--lilac-2); }
.crumbs a { padding-block: 12px; color: var(--lilac); text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs span[aria-hidden] { opacity: .6; }

/* ---------- Плитки с фото ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 280px; gap: 20px; }
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--r-xl); color: var(--white); text-decoration: none; isolation: isolate; transition: transform .25s ease, box-shadow .25s ease; }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(21, 15, 41, .94) 0%, rgba(21, 15, 41, 0) 65%); }
a.tile:hover { color: var(--white); transform: translateY(-4px); box-shadow: 0 22px 50px rgba(226, 118, 79, .24); }
a.tile:hover .tile__img { transform: scale(1.04); }
.tile__body { position: absolute; left: 28px; right: 28px; bottom: 26px; }
.tile__tag { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tile__title { font-weight: 800; font-size: clamp(19px, .5vw + 16px, 24px); line-height: 1.15; letter-spacing: -.01em; }
.tile__text { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--on-photo); }
.tile--xl { grid-column: span 2; grid-row: span 2; }
.tile--xl .tile__body { left: 32px; right: 32px; bottom: 32px; }
.tile--xl .tile__title { margin-top: 14px; font-size: clamp(24px, 1.2vw + 17px, 34px); line-height: 1.1; }
.tile--xl .tile__text { margin-top: 10px; max-width: 480px; font-size: 16px; line-height: 1.55; }
.tile--wide { grid-column: span 2; }
.tile--sm .tile__body { left: 24px; right: 24px; bottom: 22px; }
.tile--sm .tile__title { font-size: 19px; line-height: 1.2; }
.tile--sm .tile__text { margin-top: 6px; font-size: 14px; line-height: 1.45; }
.tile--dark { display: flex; flex-direction: column; justify-content: space-between; padding: 26px 24px; background: var(--dawn-deep); }
.tile--dark::after { display: none; }
.tile--dark .tile__title { font-size: 19px; line-height: 1.2; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags span { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 13px; font-weight: 700; line-height: 1.3; }
.tags--light span { background: var(--white); color: var(--ink); border: 1px solid var(--line-light); }
.section--white .tags--light span { background: var(--surface); }
.tile--culture { grid-column: span 4; display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: minmax(0, 1fr); background: var(--white); color: var(--ink); border: 1px solid var(--line-light); }
.tile--culture::after { display: none; }
.tile--culture .tile__img { position: static; z-index: 0; height: 100%; }
.tile--culture .tile__content { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
.tile--culture .tile__title { margin-top: 10px; font-size: clamp(20px, .6vw + 17px, 26px); }
.tile--culture .tile__text { margin-top: 10px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.tile--culture .link-arrow { margin-top: 16px; }
@media (max-width: 1023px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 230px; }
  .tile--culture { grid-column: span 2; }
}
@media (max-width: 599px) {
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 12px; }
  .tile { border-radius: var(--r-l); }
  .tile--xl, .tile--wide, .tile--culture { grid-column: auto; grid-row: auto; }
  .tile--xl { height: 300px; }
  .tile--wide, .tile--sm { height: 190px; }
  .tile__body, .tile--xl .tile__body, .tile--sm .tile__body { left: 20px; right: 20px; bottom: 18px; }
  .tile--xl .tile__title { margin-top: 10px; }
  .tile--xl .tile__text, .tile__text { font-size: 14px; line-height: 1.45; margin-top: 4px; }
  .tile__tag { min-height: 24px; font-size: 11px; padding: 3px 10px; }
  .tile--dark { padding: 22px 20px; }
  .tile--dark .link-arrow { margin-top: 16px; }
  .tile--culture { display: block; }
  .tile--culture .tile__img { height: 170px; }
  .tile--culture .tile__content { padding: 18px 20px 20px; }
  .tile--culture .tile__text { font-size: 14px; }
}

/* ---------- Разделённый блок: картинка + текст ---------- */
.split { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); column-gap: 64px; align-items: center; }
.split--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 600px); }
.split--rev > :first-child { order: 2; }
.split__img { width: 100%; aspect-ratio: 600 / 440; object-fit: cover; border-radius: var(--r-xl); box-shadow: 0 30px 80px rgba(0, 0, 0, .4), 0 0 60px rgba(226, 118, 79, .18); }
.section--light .split__img, .section--white .split__img { box-shadow: 0 24px 60px rgba(36, 26, 68, .2); }
.split__title { margin-top: 22px; font-weight: 800; font-size: clamp(26px, 2.8vw, 42px); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.split__sub { margin-top: 10px; font-weight: 800; font-size: clamp(17px, 1.5vw, 21px); color: var(--peach); }
.section--light .split__sub, .section--white .split__sub { color: var(--accent-ink); }
.split__date { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin-top: 26px; }
.split__date b { font-weight: 800; font-size: clamp(22px, .4vw + 20px, 28px); color: var(--peach); }
.split__date span { font-size: 16px; color: var(--lilac); }
.split__text { margin-top: 20px; font-size: 16px; line-height: 1.6; color: var(--lilac); }
.section--light .split__text, .section--white .split__text { color: var(--muted); }
.split .actions { margin-top: 28px; }
.split__foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 15px; }
.split__foot b { font-weight: 800; font-size: 18px; }
.split__foot span { color: var(--lilac); }
.split__foot a { color: var(--peach); font-weight: 800; text-decoration: none; }
@media (max-width: 1023px) { .split, .split--rev { column-gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 767px) {
  .split, .split--rev { grid-template-columns: minmax(0, 1fr); }
  .split--rev > :first-child { order: 0; }
  .split__img { aspect-ratio: 350 / 230; border-radius: var(--r-l); margin-bottom: 24px; }
  .section--light .split__img, .section--white .split__img { box-shadow: 0 10px 24px rgba(36, 26, 68, .14); margin-bottom: 40px; }
  .split .actions { flex-direction: column; align-items: stretch; }
}

/* ---------- Новости ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.news-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line-light); transition: transform .25s ease, box-shadow .25s ease; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.news-card__img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface-2); }
.news-card__body { padding: 20px 22px 26px; }
.news-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.news-card__kind { font-size: 13px; font-weight: 700; color: var(--muted); }
.chip { position: relative; display: inline-flex; align-items: center; min-height: 26px; padding: 3px 10px; border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 800; line-height: 1.2; text-decoration: none; }
/* Метка рубрики на касании: видимая плашка 28 px, а нажимается поле 44 px — невидимое продолжение вокруг неё
   (проверка на телефоне 25.11.2026: по меткам «Форум», «Конференция» трудно было попасть пальцем). */
@media (pointer: coarse) { .chip::before { content: ''; position: absolute; inset: -9px -4px; } }
.chip:hover { background: rgba(226, 118, 79, .16); }
.news-card__date { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.news-card__title { margin-top: 12px; font-size: 20px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; }
.news-card__title a { text-decoration: none; }
.news-card__title a::after { content: ''; position: absolute; inset: 0; }
.news-card__title a:focus-visible { outline: none; }
.news-card:focus-within { outline: 3px solid var(--indigo); outline-offset: 3px; }
.news-card__text { margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.news-card .chip { position: relative; z-index: 1; }
@media (max-width: 1023px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 600px) and (max-width: 1023px) { .news-grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); } .news-grid--compact .news-card__title { font-size: 17px; } }
@media (max-width: 599px) {
  .news-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .news-grid--compact { gap: 10px; }
  .news-grid--compact .news-card { flex-direction: row; align-items: center; gap: 14px; padding: 12px; border-radius: 20px; }
  .news-grid--compact .news-card__img { width: 96px; height: 80px; aspect-ratio: auto; border-radius: var(--r-s); flex-shrink: 0; }
  .news-grid--compact .news-card__body { padding: 0; }
  .news-grid--compact .news-card .chip { display: none; }
  .news-grid--compact .news-card__title { margin-top: 4px; font-size: 15px; line-height: 1.3; }
  .news-grid--compact .news-card__text { display: none; }
}
.news-empty { padding: 48px; border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line-light); text-align: center; color: var(--muted); }

/* Рубрики и страницы списка */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 18px; border: 1px solid var(--line-light); border-radius: 999px; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 800; text-decoration: none; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.filters a:hover { border-color: var(--accent); box-shadow: 0 8px 22px rgba(226, 118, 79, .2); }
.filters a[aria-current="page"] { background: var(--indigo); border-color: var(--indigo); color: var(--white); box-shadow: 0 10px 24px rgba(36, 26, 68, .28); }
.filters sup { margin-left: 4px; font-size: 11px; color: var(--muted-2); }
.filters a[aria-current="page"] sup { color: var(--lilac); }
@media (max-width: 599px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scrollbar-width: none; margin-bottom: 14px; }
  .filters::-webkit-scrollbar { display: none; }
  .filters a { flex-shrink: 0; }
}
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line-light); color: var(--ink); font-weight: 800; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.pagination .page-numbers.current { background: var(--indigo); border-color: var(--indigo); color: var(--white); }
.pagination a.page-numbers:hover { border-color: var(--accent); box-shadow: 0 8px 22px rgba(226, 118, 79, .22); }
.pagination .dots { background: transparent; border-color: transparent; }

/* ---------- Годы-плашки ---------- */
.years { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.years span { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px; border-radius: 12px; background: var(--white); border: 1px solid var(--line-light); font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--muted); }
.years b { color: var(--ink); font-weight: 800; }

/* ---------- Люди: основатель и команда ---------- */
.founder { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: 32px; background: var(--dawn-deep); color: var(--cream); box-shadow: 0 30px 80px rgba(36, 26, 68, .28); }
.founder::after { content: ''; position: absolute; width: 520px; height: 520px; right: -180px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 158, 110, .28), rgba(255, 158, 110, 0) 68%); pointer-events: none; }
.founder__photo { width: min(100%, 300px); justify-self: center; }
.founder__body { position: relative; z-index: 1; display: grid; gap: 16px; justify-items: start; }
.founder__name { font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.founder__role { max-width: 60ch; font-size: 16px; color: var(--lilac); }
.founder__text { max-width: 62ch; font-size: 16px; line-height: 1.65; color: var(--lilac); }
.founder__quote { margin: 0; padding-left: 22px; border-left: 3px solid var(--gold); max-width: 62ch; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; font-weight: 600; }
.founder .checklist { margin-top: 4px; color: var(--on-dark); }
.founder .checklist li::before { background-color: rgba(255, 185, 138, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFB98A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E"); }
ul.team { list-style: none; margin-bottom: 0; margin-inline: 0; padding: 0; }
/* Три колонки: строка регалий укладывается в три строки. С 29.11.2026 в ряду десять человек (Наргис Джураева — первой,
   наравне с остальными): последняя карточка остаётся одна и встаёт в среднюю колонку. Ряд идёт сразу под шапкой
   раздела — отступ даёт она, своего верхнего у ряда нет. */
.team { margin-top: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 1101px) { .team > :last-child:nth-child(3n + 1) { grid-column: 2; } }
.member { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px 20px; border-radius: 22px; background: var(--white); border: 1px solid var(--line-light); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.section--white .member { background: var(--surface); }
.member:hover { transform: translateY(-4px); border-color: rgba(246, 198, 106, .7); box-shadow: 0 16px 40px rgba(246, 198, 106, .28); }
.member b { display: block; font-size: 16.5px; font-weight: 800; line-height: 1.25; color: var(--ink); }
.member span:not(.halo) { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.4; color: var(--muted); overflow-wrap: break-word; }
@media (max-width: 1100px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } .team > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 860px) { .founder { grid-template-columns: minmax(0, 1fr); } .founder__photo { width: min(70%, 240px); } }
/* Одна колонка уже с 700 px: с регалиями в подписи слово «предпринимательству» не помещалось в узкую вторую колонку. */
@media (max-width: 700px) { .team { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Бегущие строки: «Нас поддерживают» и «Партнёры проекта» ---------- */
.mq { display: grid; gap: 18px; }
.mqrow { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.mqtrack { list-style: none; margin: 0; display: flex; gap: 18px; width: max-content; padding: 22px 18px 22px 0; }
.mqtrack.is-run { animation: mq-left var(--dur, 44s) linear infinite; }
.mqtrack--rev.is-run { animation-name: mq-right; }
.mqrow:hover .mqtrack, .mqrow:focus-within .mqtrack { animation-play-state: paused; }
.mqrow:focus-visible { -webkit-mask-image: none; mask-image: none; outline-offset: -3px; }
@keyframes mq-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mq-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .mqrow { overflow-x: auto; -webkit-mask-image: none; mask-image: none; } }
.guest { flex-shrink: 0; width: 220px; display: grid; justify-items: center; align-content: start; gap: 14px; text-align: center; padding: 6px 10px; }
.guest .halo { width: 104px; }
.guest b { font-size: 15.5px; font-weight: 800; line-height: 1.3; text-wrap: balance; }
.guest span:not(.halo) { font-size: 13px; line-height: 1.45; color: var(--lilac); text-wrap: balance; }
.section--light .guest span:not(.halo), .section--white .guest span:not(.halo) { color: var(--muted); }
.plogo { flex-shrink: 0; height: 104px; min-width: 150px; padding: 20px 26px; display: flex; align-items: center; justify-content: center; gap: 14px; border-radius: 18px; background: var(--white); border: 1px solid var(--line-light); box-shadow: 0 6px 18px rgba(26, 21, 38, .06); transition: transform .22s ease, box-shadow .22s ease; }
.plogo:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(226, 118, 79, .22); }
.plogo img { height: 100%; max-height: 62px; width: auto; min-width: 40px; max-width: 250px; object-fit: contain; }
.plogo img.inv { filter: brightness(0); }
/* Золотой логотип «Дружбы» — тот же фильтр, что у .logo__img--gold на лендинге форума (цвет знака задаёт сам партнёр). */
.plogo img.gold, .gp-logos img.gold { filter: brightness(0) saturate(100%) invert(74%) sepia(66%) saturate(900%) hue-rotate(2deg) brightness(108%) contrast(96%); }
.plogo span { max-width: 130px; font-size: 13px; font-weight: 800; line-height: 1.25; color: var(--ink); }
.plogo--text { font-size: 18px; font-weight: 800; color: var(--ink); }
.plogo--name { max-width: 290px; font-size: 13.5px; line-height: 1.3; text-align: center; text-wrap: balance; }
/* «Участники сообщества» на «Сообществе» (шаг 5 анкет): плашки как .plogo строки партнёров, но без движения. */
.members { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.members .plogo:hover { transform: none; box-shadow: 0 6px 18px rgba(26, 21, 38, .06); }
.members .plogo img { max-width: 220px; }
@media (max-width: 560px) { .guest { width: 190px; } .plogo { height: 88px; padding: 16px 20px; } }

/* ---------- Призыв ---------- */
.cta { position: relative; overflow: hidden; padding-block: clamp(72px, 9vw, 128px); background: var(--dawn); background-color: var(--night); color: var(--cream); text-align: center; }
.cta__sun { position: absolute; left: 50%; bottom: -70%; width: 900px; height: 900px; margin-left: -450px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 158, 110, .55) 0%, rgba(226, 118, 79, .2) 36%, rgba(226, 118, 79, 0) 66%); pointer-events: none; }
.cta .wrap { position: relative; display: grid; gap: 22px; justify-items: center; }
.cta__text { max-width: 640px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: var(--lilac); }
.cta .actions { justify-content: center; }
.cta__contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; }
.cta__phone, .cta__mail { display: inline-flex; align-items: center; min-height: 44px; }
.cta__phone { font-size: 20px; font-weight: 800; color: var(--white); text-decoration: none; }
.cta__mail { font-size: 16px; color: var(--white); }
.cta__phone:hover { color: var(--peach); }
.cta__mail:hover { color: var(--white); text-decoration-thickness: 2px; }
@media (max-width: 599px) {
  .cta__sun { width: 560px; height: 560px; margin-left: -280px; bottom: -46%; }
  .cta .actions { flex-direction: column; align-items: stretch; width: 100%; }
}

/* ---------- Круги сообщества: три карточки внизу страниц и на «Сообществе» ---------- */
/* Тон по умолчанию тёмный (внутри .cta); .circles--light — для светлой секции. Карточки не нажимаются целиком, движения нет. */
.circles { width: 100%; justify-self: stretch; text-align: left; }
.circles__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.circle {
  --circle: var(--accent);
  position: relative; display: flex; flex-direction: column; gap: 12px; overflow: hidden;
  padding: 30px 20px 22px; border: 1px solid var(--line-dark); border-radius: var(--r-l);
  background: var(--card-dark); color: var(--cream);
}
.circle--uo { --circle: var(--accent); }
.circle--partner { --circle: var(--gold); }
.circle--dom { --circle: var(--peach-2); }
.circle__bar { position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--circle); }
.circle__title { font-size: clamp(20px, 1.5vw, 24px); font-weight: 800; line-height: 1.25; letter-spacing: -.01em; overflow-wrap: break-word; }
.circle__who { font-size: 14px; font-weight: 800; line-height: 1.4; color: var(--gold-hi); }
.circle__text { font-size: 16px; line-height: 1.55; color: var(--lilac); }
.circle__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--on-dark); }
.circle__items li { position: relative; padding-left: 22px; }
.circle__items li::before { content: ''; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--circle); }
.circle__note { padding-top: 14px; border-top: 1px solid var(--line-dark); font-size: 14.5px; line-height: 1.55; color: var(--lilac); }
.circle > :nth-last-child(2) { margin-bottom: 12px; }
.circle__btn { margin-top: auto; width: 100%; }
.circles__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 28px; margin-top: 22px; }
.circles__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 800; color: var(--white); text-underline-offset: 3px; }
.circles__links a:hover { color: var(--peach); text-decoration-thickness: 2px; }
.circles--light .circle { border-color: var(--line-light); background: var(--white); color: var(--ink); box-shadow: var(--shadow-card); }
.circles--light .circle__who { color: var(--accent-ink); }
.circles--light .circle__text, .circles--light .circle__note { color: var(--muted); }
.circles--light .circle__items { color: var(--ink); }
.circles--light .circle__note { border-top-color: var(--line-light); }
@media (min-width: 600px) and (max-width: 1023px) {
  /* кнопка стоит справа в строке карточки: текст в левой колонке, кнопка во второй и по центру высоты (в карточке не больше пяти блоков кроме кнопки) */
  .circle { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; row-gap: 0; align-items: start; padding: 30px 24px 24px; }
  .circle > :not(.circle__bar):not(.circle__btn) { grid-column: 1; }
  .circle > :not(.circle__bar):not(.circle__btn):not(.circle__title) { margin-top: 12px; }
  .circle > :nth-last-child(2) { margin-bottom: 0; }
  .circle > .circle__btn { grid-column: 2; grid-row: 1 / span 5; align-self: center; width: auto; margin-top: 0; }
}
@media (min-width: 1024px) {
  .circles__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .circle { padding: 32px 28px 28px; }
}
.circles--light .circles__links a { color: var(--accent-ink); }
.circles--light .circles__links a:hover { color: var(--ink); }

/* ---------- Страница «Сообщество»: шаги и «Где мы общаемся» ---------- */
.sc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.sc-step { display: grid; gap: 12px; align-content: start; padding: 26px 22px; border: 1px solid var(--line-dark); border-radius: var(--r-l); background: var(--card-dark); }
.sc-step__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-hover), var(--accent)); box-shadow: var(--glow-btn); font-size: 18px; font-weight: 800; line-height: 1; color: var(--white); }
.sc-step__text { font-size: 16px; line-height: 1.6; color: var(--lilac); }
.sc-note { margin-top: 28px; max-width: 560px; font-size: 14.5px; line-height: 1.6; color: var(--lilac); }
.sc-note a { color: var(--peach); font-weight: 800; text-underline-offset: 3px; }
.sc-chan { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.sc-card { display: grid; gap: 14px; align-content: start; padding: 26px 22px; border: 1px solid var(--line-light); border-radius: var(--r-l); background: var(--surface); }
.sc-card__text { font-size: 16px; line-height: 1.6; color: var(--muted); }
.sc-links { list-style: none; margin: 0; padding: 0; display: grid; }
.sc-links a, .sc-card__more a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 800; color: var(--accent-ink); text-underline-offset: 3px; }
.sc-links a:hover, .sc-card__more a:hover { color: var(--ink); }
.sc-card__more { margin-top: -6px; }
.sc-card__btn { justify-self: stretch; margin-top: 6px; }
.sc-foot { margin-top: 24px; max-width: 70ch; font-size: 16px; line-height: 1.6; color: var(--muted); }
@media (min-width: 600px) {
  .sc-step, .sc-card { padding: 30px 28px; }
  .sc-card__btn { justify-self: start; }
}
@media (min-width: 860px) { .sc-chan { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .sc-chan--one { grid-template-columns: minmax(0, 720px); } }
@media (min-width: 1024px) { .sc-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

/* ---------- Подвал ---------- */
.site-footer { padding: 60px 0 calc(36px + var(--cookie-h, 0px)); background: var(--footer); color: var(--lilac-2); font-size: 14.5px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer__about p { margin-top: 16px; max-width: 36ch; font-size: 14px; line-height: 1.6; }
.site-footer__title { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cream); }
.site-footer ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; line-height: 1.5; }
.site-footer__links a { color: var(--lilac); text-decoration: none; }
.site-footer__contacts a { color: var(--cream); font-size: 17px; font-weight: 800; text-decoration: none; }
.site-footer a:hover { color: var(--peach); }
.site-footer__legal { font-size: 14px; gap: 6px !important; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.socials__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px; border: 1px solid rgba(255, 185, 138, .3); border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--cream); font-size: 14px; font-weight: 700; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.socials__link .icon { width: 18px; height: 18px; }
.socials__link:hover { border-color: var(--peach); box-shadow: 0 0 26px rgba(255, 158, 110, .3); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; }
.site-footer__docs { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__docs a { color: var(--lilac-2); }
@media (max-width: 1023px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) {
  .site-footer { padding: 44px 0 calc(28px + var(--cookie-h, 0px)); }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .site-footer__links { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0 20px !important; }
  .site-footer__contacts, .site-footer__docs { gap: 0 !important; }
  .site-footer__links a, .site-footer__contacts a, .site-footer__docs a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-footer__links a { color: var(--white); }
  .site-footer__bottom { flex-direction: column; margin-top: 28px; }
  .site-footer__docs { flex-direction: column; }
}

/* ---------- Плашка cookie ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 760px; margin-inline: auto;
  display: flex; align-items: center; gap: 16px 24px; padding: 16px 20px; border-radius: var(--r-m);
  background: rgba(21, 15, 41, .97); border: 1px solid rgba(255, 185, 138, .28); color: var(--lilac);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6), 0 0 40px rgba(226, 118, 79, .16); font-size: 14px; line-height: 1.5;
}
.cookie[hidden] { display: none; }
.cookie a { color: var(--white); }
.cookie__ok { flex-shrink: 0; }
/* Телефон: плашка в одну строку с кнопкой справа — в столбик она закрывала половину первого экрана вместе с главной
   кнопкой «Сообщество УТРО» (проверка на телефоне 25.11.2026). Текст тот же, кегль не меньше 13 px. */
@media (max-width: 599px) {
  .cookie { left: 8px; right: 8px; bottom: 8px; gap: 12px; padding: 10px 10px 10px 14px; font-size: 13px; line-height: 1.4; }
  .cookie__ok { min-height: 44px; padding-inline: 16px; }
}

/* ---------- Общие блоки внутренних страниц ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.intro__text p + p { margin-top: 16px; }
.intro__text { font-size: 17px; line-height: 1.7; color: var(--muted); }
.intro__text strong { color: var(--ink); }
.section--dark .intro__text, .section--dark-alt .intro__text { color: var(--lilac); }
.section--dark .intro__text strong, .section--dark-alt .intro__text strong { color: var(--white); }
@media (max-width: 1023px) { .intro { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) { .intro__text { font-size: 15px; } }

.big-quote { font-weight: 800; font-size: clamp(20px, .9vw + 16px, 30px); line-height: 1.3; }
.big-quote::before { content: '«'; color: var(--accent); }
.big-quote::after { content: '»'; color: var(--accent); }

.facts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.fact { padding: 28px; border-radius: var(--r-l); background: var(--white); }
.fact b { display: block; font-weight: 800; font-size: clamp(40px, 1.6vw + 32px, 56px); line-height: 1; color: var(--accent-ink); }
.fact span { display: block; margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.section--dark .fact, .section--dark-alt .fact { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.section--dark .fact b, .section--dark-alt .fact b { color: var(--peach); }
.section--dark .fact span, .section--dark-alt .fact span { color: var(--lilac); }

.cards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-l); background: var(--white); color: var(--ink); }
.section--white .card { background: var(--surface); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(226, 118, 79, .14); color: var(--accent-ink); }
.card__icon .icon { width: 26px; height: 26px; }
.card__num { font-weight: 800; font-size: 15px; color: var(--accent-ink); }
.card__title { margin-top: 18px; font-weight: 800; font-size: clamp(18px, .3vw + 17px, 21px); line-height: 1.25; }
.card__text { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.card__text + .card__text { margin-top: 8px; }
.card .link-arrow { margin-top: auto; padding-top: 18px; color: var(--ink); }
.section--dark .card, .section--dark-alt .card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: var(--white); }
.section--dark .card__text, .section--dark-alt .card__text { color: var(--lilac); }
.section--dark .card__icon, .section--dark-alt .card__icon { background: rgba(255, 185, 138, .14); color: var(--peach); }
.section--dark .card__num, .section--dark-alt .card__num { color: var(--peach); }
@media (max-width: 1023px) { .cards { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); } }
@media (max-width: 599px) { .cards { grid-template-columns: minmax(0, 1fr); gap: 12px; } .card { padding: 22px 20px; } }

.checklist { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.55; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(226, 118, 79, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B04A1F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.section--dark .checklist li::before, .section--dark-alt .checklist li::before { background-color: rgba(255, 185, 138, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFB98A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E"); }

.numbered { list-style: none; counter-reset: n; margin: 0; padding: 0; display: grid; gap: 12px; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 20px 24px; border-radius: var(--r-m); background: var(--white); font-size: 16px; line-height: 1.5; font-weight: 600; }
.numbered li::before { content: counter(n, decimal-leading-zero); font-weight: 800; font-size: 15px; color: var(--accent-ink); }
.numbered small { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--muted); }
@media (max-width: 599px) { .numbered li { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding: 16px; font-size: 15px; } }

.group-title { margin: 40px 0 16px; font-weight: 800; font-size: 20px; }
.group-title:first-child { margin-top: 0; }

/* Люди: команда и спикеры */
.people { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 20px; }
.person { display: flex; flex-direction: column; padding: 24px; border-radius: var(--r-l); background: var(--white); }
.section--light .person { background: var(--white); }
.section--white .person { background: var(--surface); }
.person__photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.person__photo--square { width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--r-m); }
.person__name { margin-top: 18px; font-weight: 800; font-size: 18px; line-height: 1.25; }
.person__role { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.person details { margin-top: auto; padding-top: 14px; }
.person summary { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; font-size: 14px; font-weight: 700; color: var(--accent-ink); cursor: pointer; list-style: none; }
.person summary::-webkit-details-marker { display: none; }
.person summary .icon { width: 16px; height: 16px; transition: transform .2s; }
.person details[open] summary .icon { transform: rotate(180deg); }
.person details ul { margin: 10px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.person details li + li { margin-top: 6px; }
.person__list { margin: 12px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.person__list li + li { margin-top: 6px; }
@media (max-width: 1023px) { .people { grid-template-columns: repeat(min(var(--cols, 4), 3), minmax(0, 1fr)); } }
@media (max-width: 767px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .person { padding: 18px; } .person__photo { width: 88px; height: 88px; } .person__name { font-size: 16px; } }
@media (max-width: 459px) { .people { grid-template-columns: minmax(0, 1fr); } }


.quote-card { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: center; padding: 40px; border-radius: var(--r-xl); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.quote-card img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; }
.quote-card blockquote { margin: 0; font-size: clamp(17px, .4vw + 15px, 20px); line-height: 1.6; color: var(--on-dark); }
.quote-card cite { display: block; margin-top: 18px; font-style: normal; }
.quote-card cite b { display: block; font-weight: 800; font-size: 20px; color: var(--white); }
.quote-card cite span { font-size: 14px; color: var(--lilac); }
@media (max-width: 767px) { .quote-card { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 20px; } .quote-card img { width: 120px; height: 120px; } }

/* Партнёры форума */
.gp-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gp-logos li { display: flex; align-items: center; justify-content: center; height: 140px; padding: 20px; border-radius: var(--r-l); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.gp-logos img { width: auto; max-width: 100%; max-height: 96px; object-fit: contain; }
.partner-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; margin-top: 40px; }
.partner-group { display: flex; flex-direction: column; }
.partner-group .group-title { font-size: 18px; }
.partner-group .partner-strip { flex: 1; }
.partner-group--wide { grid-column: 1 / -1; }
.partner-strip { display: flex; align-items: center; justify-content: center; min-height: 120px; padding: 16px 20px; border-radius: var(--r-l); background: var(--white); }
.partner-strip img { width: 100%; height: auto; }
.partner-strip__mob { flex-direction: column; gap: 8px; width: 100%; }
@media (max-width: 1023px) { .gp-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .partner-groups { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) { .gp-logos { grid-auto-flow: row dense; } .gp-logos li { height: 110px; } .gp-logos img { max-height: 76px; } .gp-logos li:nth-child(2), .gp-logos li:nth-child(4) { grid-column: span 2; } .gp-logos li:nth-child(4) img { max-height: 90px; } .partner-strip { padding: 12px; min-height: 0; } .partner-strip .show-sm { display: flex !important; } }

/* Галерея и просмотр фото */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery a { display: block; overflow: hidden; border-radius: var(--r-m); background: rgba(255, 255, 255, .06); }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery a:nth-child(1) img { height: 100%; aspect-ratio: auto; }
@media (max-width: 767px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .gallery a { border-radius: 12px; } }
.lightbox { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 56px 16px; background: rgba(12, 8, 26, .94); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1400px, 100%); max-height: 100%; border-radius: 12px; object-fit: contain; }
.lightbox button { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(26, 19, 56, .6); color: var(--white); cursor: pointer; }
.lightbox button .icon { width: 22px; height: 22px; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; margin-top: -24px; }
.lightbox__prev .icon { transform: rotate(180deg); }
.lightbox__next { right: 12px; top: 50%; margin-top: -24px; }
.lightbox__count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 14px; color: var(--lilac); }

.video { overflow: hidden; border-radius: var(--r-xl); background: #000; }
.video:has(> video:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }
.video video:focus-visible { outline: none; }
.video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--night); }

/* Хронология «Истории ЖКХ» */
.period { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 32px 64px; padding-block: 56px; border-top: 1px solid var(--line-light); }
.period:first-child { border-top: 0; padding-top: 0; }
.period__head { position: sticky; top: 32px; align-self: start; }
.period__years { font-weight: 800; font-size: clamp(40px, 1.6vw + 32px, 56px); line-height: 1; letter-spacing: -.03em; color: var(--accent-ink); }
.period__title { margin-top: 12px; font-weight: 800; font-size: clamp(22px, .6vw + 19px, 28px); line-height: 1.15; }
.period__img { margin-top: 24px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-l); }
.events { list-style: none; margin: 0; padding: 0; position: relative; }
.events::before { content: ''; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: var(--line-light); }
.event { position: relative; padding: 0 0 32px 44px; }
.event:last-child { padding-bottom: 0; }
.event::before { content: ''; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); }
.event__year { font-weight: 800; font-size: 20px; line-height: 1.3; }
.event__text { margin-top: 8px; font-size: 16px; line-height: 1.65; color: var(--muted); }
.event__img { margin-top: 16px; width: 100%; max-width: 560px; border-radius: var(--r-m); }
@media (max-width: 1023px) { .period { grid-template-columns: minmax(0, 1fr); } .period__head { position: static; } .period__img { max-width: 560px; } }
@media (max-width: 599px) { .period { padding-block: 40px; } .event { padding-left: 36px; } .event__text { font-size: 15px; } }

/* Реквизиты */
.requisites { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); margin: 0; border-top: 1px solid var(--line-light); }
.requisites dt, .requisites dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line-light); font-size: 15px; line-height: 1.5; }
.requisites dt { color: var(--muted-2); padding-right: 24px; }
.requisites dd { font-weight: 600; }
@media (max-width: 599px) { .requisites { grid-template-columns: minmax(0, 1fr); } .requisites dt { padding-bottom: 0; border-bottom: 0; } .requisites dd { padding-top: 2px; } }

/* Контакты */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 64px; align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r-m); background: var(--white); color: var(--ink); text-decoration: none; }
.contact-list a:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.contact-list .icon { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: rgba(226, 118, 79, .14); color: var(--accent-ink); }
.contact-list small { display: block; font-size: 13px; color: var(--muted-2); }
.contact-list b { display: block; font-size: 17px; font-weight: 800; line-height: 1.35; }
.panel { padding: 36px; border-radius: var(--r-xl); background: var(--white); }
.panel__title { font-weight: 800; font-size: clamp(22px, .6vw + 19px, 28px); line-height: 1.15; }
.panel__text { margin: 10px 0 24px; color: var(--muted); }
.panel--dark { background: var(--g-dark); color: var(--white); }
.panel--dark .panel__text { color: var(--lilac); }
@media (max-width: 1023px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) { .panel { padding: 22px 18px; border-radius: var(--r-l); } }

/* ---------- Формы ---------- */
.form { position: relative; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field--wide { grid-column: 1 / -1; }
.field__label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.field__req { margin-left: 3px; color: var(--accent-ink); }
.field__input {
  display: block; width: 100%; height: 52px; padding: 0 16px; border: 1.5px solid var(--line-field); border-radius: var(--r-s);
  background: var(--white); color: var(--ink); font: 500 16px/1.4 var(--font-body); transition: border-color .2s, box-shadow .2s;
}
select.field__input { appearance: none; padding-right: 44px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1526' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; text-overflow: ellipsis; }
textarea.field__input { height: auto; min-height: 128px; padding: 14px 16px; resize: vertical; }
.field__input:hover { border-color: rgba(26, 19, 56, .7); }
.field__input:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 4px rgba(226, 118, 79, .28); }
.field__input[aria-invalid="true"] { border-color: var(--err); }
.field__error { margin: 6px 0 0; font-size: 14px; line-height: 1.4; font-weight: 600; color: #8E2A1E; }
.check + .field__error { margin-top: 8px; }
.check { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; font-size: 14px; line-height: 1.5; cursor: pointer; }
.check__box { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--accent); cursor: pointer; }
.check a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.form__note { font-size: 13px; color: var(--muted); }
.form__status:empty { margin: 0; padding: 0; }   /* пустой, но в дереве доступности: итог отправки озвучивается */
.form__status:focus { outline: none; }
.form__status { margin-top: 18px; padding: 14px 18px; border-radius: var(--r-s); font-size: 15px; line-height: 1.5; font-weight: 600; }
.form__status--ok { background: #E3F4EA; color: #17603A; }
.form__status--error { background: #FBE7E4; color: #8E2A1E; }
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form.is-sending .form__submit { opacity: .6; pointer-events: none; }
.no-js .menu-toggle { display: none; }   /* без скрипта кнопка меню ничего не откроет — разделы есть в подвале */
.form--dark .field__label { color: var(--white); }
.form--dark .field__req { color: var(--peach); }
.form--dark .field__input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); color: var(--white); }
.form--dark .field__input:hover { border-color: rgba(255, 255, 255, .7); }
.form--dark .field__input[aria-invalid="true"] { border-color: #FFB4A8; }
.form--dark .field__error { color: #FFB4A8; }
.form--dark .field__input:focus { border-color: var(--peach); box-shadow: 0 0 0 4px rgba(255, 185, 138, .2); }
.form--dark select.field__input { background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.form--dark select.field__input option { color: var(--ink); }
.form--dark .check { color: var(--lilac); }
.form--dark .check__box { color-scheme: dark; }
.form--dark .form__note { color: var(--lilac); }
@media (max-width: 599px) {
  .form__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .form__foot { flex-direction: column; align-items: stretch; }
  .form__submit { width: 100%; }
}

/* ---------- Текст записей и простых страниц ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.article__cover { width: min(1000px, 100%); margin: 0 auto 48px; border-radius: var(--r-xl); overflow: hidden; background: var(--white); }
.article__cover img { width: 100%; height: auto; }
.prose { width: min(760px, 100%); font-size: 17px; line-height: 1.7; color: var(--ink); overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 48px; font-weight: 800; font-size: clamp(22px, .6vw + 19px, 28px); line-height: 1.2; }
.prose h3 { margin-top: 36px; font-weight: 800; font-size: clamp(19px, .3vw + 18px, 22px); line-height: 1.25; }
.prose h4, .prose h5, .prose h6 { margin-top: 28px; font-size: 18px; font-weight: 800; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--ink); }
.prose strong { font-weight: 800; }
.prose img { border-radius: var(--r-m); }
.prose figure { margin-inline: 0; }
.prose figcaption, .prose .wp-element-caption { margin-top: 8px; font-size: 14px; color: var(--muted-2); text-align: left; }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font-size: 19px; line-height: 1.6; }
.prose hr { margin-block: 40px; border: 0; border-top: 1px solid var(--line-light); }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--line-light); text-align: left; vertical-align: top; }
.prose th { background: var(--white); }
.prose iframe, .prose video { width: 100%; border: 0; border-radius: var(--r-m); }
.prose .wp-block-embed__wrapper iframe { aspect-ratio: 16 / 9; height: auto; }
.prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.prose .wp-block-button__link { display: inline-flex; align-items: center; min-height: 52px; padding: 12px 26px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; }
/* Ссылка на файл в записи: формат виден до нажатия */
.prose a[href$=".docx" i]::after, .prose a[href$=".doc" i]::after { content: " (DOCX)"; font-size: .85em; color: var(--muted); white-space: nowrap; }
.prose a[href$=".pdf" i]::after { content: " (PDF)"; font-size: .85em; color: var(--muted); white-space: nowrap; }
.prose a[href$=".xlsx" i]::after { content: " (XLSX)"; font-size: .85em; color: var(--muted); white-space: nowrap; }
.prose .wp-block-button__link:hover { background: var(--accent-hover); color: var(--ink); }
.prose .wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 20px; border-radius: var(--r-m); background: var(--white); }
.prose .wp-block-file__button { margin-left: auto; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 14px; text-decoration: none; }
.prose .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
/* Ширину плитки задаёт сетка темы. Стили галереи WordPress считают её в процентах
   (calc(33.33% − отступ)) — внутри ячейки сетки плитка сжималась до 76 px. */
.prose .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: auto; margin: 0; aspect-ratio: 3 / 2; }
.prose .wp-block-gallery img { width: 100%; height: 100%; object-fit: cover; }
.prose .wp-block-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.prose .wp-block-group.is-layout-flex { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.prose .wp-block-spacer { margin: 0; }
.prose .alignwide, .prose .alignfull { width: min(1000px, 100vw - 2 * var(--gutter)); max-width: none; margin-inline: calc(50% - min(500px, 50vw - var(--gutter))); }
.prose .aligncenter { margin-inline: auto; text-align: center; }
.prose .alignleft { float: left; margin: 6px 24px 12px 0; max-width: 50%; }
.prose .alignright { float: right; margin: 6px 0 12px 24px; max-width: 50%; }
.prose::after { content: ''; display: table; clear: both; }
.post-form { margin-top: 32px; padding: 32px; border-radius: var(--r-xl); background: var(--white); }
@media (max-width: 599px) {
  .prose { font-size: 16px; }
  .prose .wp-block-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .prose .alignleft, .prose .alignright { float: none; margin: 18px 0; max-width: 100%; }
  .post-form { padding: 20px 16px; }
}
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; font-size: 14px; color: var(--lilac); }
.article__meta .chip { background: rgba(255, 255, 255, .14); color: var(--white); }
.article__back { margin-top: 48px; width: min(760px, 100%); padding-top: 28px; border-top: 1px solid var(--line-light); }
.article__back .link-arrow .icon { transform: rotate(180deg); }
.article__back .link-arrow:hover .icon { transform: rotate(180deg) translateX(4px); }

/* Записи, собранные в Elementor, пока он включён */
.prose .elementor { width: 100%; }

.search-form { display: flex; gap: 12px; max-width: 640px; margin-bottom: 36px; }
.search-form .btn { flex-shrink: 0; }

/* ---------- Мелочи ---------- */
.show-sm, .show-md { display: none !important; }
@media (max-width: 1023px) { .hide-md { display: none !important; } .show-md { display: inline-flex !important; } }
@media (max-width: 599px) { .hide-sm { display: none !important; } .show-sm { display: inline !important; } }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.spacer-s { margin-top: 24px; }
.spacer-m { margin-top: 40px; }
.spacer-l { margin-top: 64px; }
.note { padding: 18px 22px; border-radius: var(--r-m); background: rgba(226, 118, 79, .1); color: var(--ink); font-size: 15px; line-height: 1.55; }
.section--dark .note, .section--dark-alt .note { background: rgba(255, 185, 138, .12); color: var(--on-dark); }
.not-found { text-align: left; }
.not-found__code { font-weight: 800; font-size: clamp(96px, 8vw + 60px, 200px); line-height: 1; letter-spacing: -.04em; color: var(--peach); }

/* ==================== Страницы: Ленты, записи, простые страницы, 404, «спасибо» ==================== */
/* Ленты, записи и служебные страницы — дизайн «Рассвет».
   «События», рубрики, поиск, запись, простая страница (политика, соглашение), 404, «спасибо»,
   карточка записи (стоит и на главной), фильтры и нумерация страниц.
   Правила узкие, по своим классам. */

/* ---------- Карточка записи ---------- */
.news-card { box-shadow: var(--shadow-card); }
.news-card:hover { transform: translateY(-6px); border-color: rgba(226, 118, 79, .38); box-shadow: 0 26px 56px rgba(36, 26, 68, .16), 0 0 46px rgba(226, 118, 79, .2); }
.news-card__media { position: relative; overflow: hidden; background: var(--surface-2); }
.news-card__media::after { content: ''; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(0deg, rgba(21, 15, 41, .38), rgba(21, 15, 41, 0)); pointer-events: none; }
.news-card__img { transition: transform .7s ease; }
.news-card:hover .news-card__img { transform: scale(1.05); }
/* Записи без обложки: рассветная заливка с солнцем у нижнего края */
.news-card__img--empty { background: radial-gradient(circle at 50% 100%, var(--gold-hi) 0, var(--gold-hi) 11%, var(--peach) 15%, rgba(255, 158, 110, .55) 22%, rgba(255, 158, 110, 0) 48%), var(--dawn-deep); }
.news-card .chip { position: absolute; left: 14px; top: 14px; z-index: 2; min-height: 28px; padding: 4px 12px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(21, 15, 41, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--white); font-size: 13px; letter-spacing: .02em; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.news-card .chip:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.news-card__body { display: flex; flex: 1; flex-direction: column; padding: 20px 24px 22px; }
.section--light .news-card .chip:focus-visible, .section--white .news-card .chip:focus-visible, .news-card .chip:focus-visible { outline-color: var(--gold-hi); }
.news-card__title { margin-top: 10px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.news-card__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.news-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; font-size: 14.5px; font-weight: 800; color: var(--accent-ink); }
.news-card__more .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.news-card:hover .news-card__more .icon { transform: translateX(5px); }

/* Крупная первая карточка: обложка слева, текст справа, свечение в углу */
.news-card--feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); border-radius: var(--r-xl); box-shadow: 0 24px 60px rgba(36, 26, 68, .12); }
.news-card--feature .news-card__media { min-height: 360px; }
.news-card--feature .news-card__img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.news-card--feature .news-card__body { justify-content: center; padding: clamp(28px, 3.6vw, 52px); background: radial-gradient(circle at 100% 100%, rgba(255, 158, 110, .2) 0, rgba(255, 158, 110, 0) 56%), var(--white); }
.news-card--feature .news-card__title { margin-top: 14px; font-size: clamp(24px, 1.2vw + 16px, 36px); line-height: 1.15; letter-spacing: -.02em; -webkit-line-clamp: 5; line-clamp: 5; }
.news-card--feature .news-card__text { margin-top: 16px; font-size: 16.5px; line-height: 1.6; -webkit-line-clamp: 5; line-clamp: 5; }
.news-card--feature .news-card__more { align-self: flex-start; margin-top: 28px; padding: 0 26px; height: 50px; border-radius: 999px; background: var(--indigo); color: var(--white); box-shadow: 0 10px 28px rgba(36, 26, 68, .3), 0 0 22px rgba(226, 118, 79, .22); transition: box-shadow .22s ease; }
.news-card--feature:hover .news-card__more { box-shadow: 0 14px 36px rgba(36, 26, 68, .42), 0 0 28px rgba(226, 118, 79, .4); }
@media (max-width: 1023px) {
  .news-card--feature { grid-template-columns: minmax(0, 1fr); }
  .news-card--feature .news-card__media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 599px) {
  .news-card--feature .news-card__body { padding: 22px 20px 24px; }
  .news-card--feature .news-card__more { align-self: stretch; justify-content: center; }
  /* Узкая лента на главной: миниатюра слева, без рубрики, текста и стрелки */
  .news-grid--compact .news-card__media { flex-shrink: 0; width: 96px; border-radius: var(--r-s); }
  .news-grid--compact .news-card__media::after, .news-grid--compact .news-card__more { display: none; }
  .news-grid--compact .news-card__body { padding: 0; }
  .news-grid--compact .news-card__title { -webkit-line-clamp: 3; line-clamp: 3; }
}

/* Две записи (рубрики, поиск): две равные колонки, а не две трети ряда и пустая треть */
@media (min-width: 600px) {
  .news-grid:not(.news-grid--compact):has(> .news-card:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Планшет, две колонки: осиротевшая последняя карточка занимает ряд целиком, картинка слева */
@media (min-width: 600px) and (max-width: 1023px) {
  .news-card--feature ~ .news-card:last-child:nth-child(even),
  .news-grid:not(.news-grid--compact):not(:has(.news-card--feature)) > .news-card:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; }
  .news-card--feature ~ .news-card:last-child:nth-child(even) .news-card__media,
  .news-grid:not(.news-grid--compact):not(:has(.news-card--feature)) > .news-card:last-child:nth-child(odd) .news-card__media { flex: 0 0 44%; min-height: 220px; }
  .news-card--feature ~ .news-card:last-child:nth-child(even) .news-card__img,
  .news-grid:not(.news-grid--compact):not(:has(.news-card--feature)) > .news-card:last-child:nth-child(odd) .news-card__img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
  .news-card--feature ~ .news-card:last-child:nth-child(even) .news-card__body,
  .news-grid:not(.news-grid--compact):not(:has(.news-card--feature)) > .news-card:last-child:nth-child(odd) .news-card__body { justify-content: center; padding: 28px 32px; }
}

/* ---------- Лента «Событий» и рубрик ---------- */
.lenta { padding-top: calc(var(--section-y) * .6); background: radial-gradient(900px 340px at 100% 0, rgba(255, 158, 110, .1) 0, rgba(255, 158, 110, 0) 70%), var(--surface); }
.pill__link { padding-block: 13px; color: inherit; text-decoration: none; }
.pill__link:hover { color: var(--peach); }

.filters a { border-color: rgba(26, 21, 38, .1); box-shadow: 0 4px 14px rgba(26, 21, 38, .04); }
.filters a[aria-current="page"] { border-color: transparent; background: var(--dawn-deep); box-shadow: 0 10px 28px rgba(36, 26, 68, .3), 0 0 24px rgba(226, 118, 79, .3); }
.filters sup { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 8px; padding: 0 6px; border-radius: 10px; background: var(--surface); font-size: 11.5px; font-weight: 800; line-height: 1; vertical-align: middle; color: var(--muted); }
.filters a[aria-current="page"] sup { background: rgba(255, 255, 255, .16); color: var(--white); }

.pagination { margin-top: 56px; }
.pagination .page-numbers { min-width: 48px; height: 48px; box-shadow: 0 4px 14px rgba(26, 21, 38, .05); }
.pagination .page-numbers.current { border-color: transparent; background: var(--dawn-deep); color: var(--white); box-shadow: 0 10px 26px rgba(36, 26, 68, .3), 0 0 22px rgba(226, 118, 79, .3); }
.pagination .dots { box-shadow: none; }

.news-empty { border-radius: var(--r-xl); font-size: 17px; }
.news-empty a:not(.btn), .search-empty a:not(.btn) { color: var(--accent-ink); font-weight: 800; text-underline-offset: 3px; }

@media (max-width: 599px) {
  /* Лента рубрик прокручивается вбок: правый край мягко гаснет — видно, что дальше есть ещё */
  .filters { -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); }
}

/* ---------- Поиск ---------- */
.search-form { align-items: stretch; }
.search-form .field__input { flex: 1; min-width: 0; }
.search-form--hero { max-width: 640px; margin: 32px 0 0; }
.search-form--hero .field__input { height: 56px; padding: 0 22px; border-radius: 999px; border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .08); color: var(--white); }
.search-form--hero .field__input::placeholder { color: var(--lilac-2); opacity: 1; }
.search-form--hero .field__input:hover { border-color: rgba(255, 255, 255, .7); }
.search-form--hero .field__input:focus { border-color: var(--peach); box-shadow: 0 0 0 4px rgba(255, 185, 138, .2); }
.search-form--hero .btn { height: 56px; }
.search-count { margin: 0 0 24px; font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.search-empty { display: grid; justify-items: center; gap: 22px; padding: clamp(40px, 6vw, 72px) var(--gutter); border: 1px solid var(--line-light); border-radius: var(--r-xl); background: var(--white); box-shadow: var(--shadow-card); text-align: center; }
.search-empty .news-empty { max-width: 46ch; padding: 0; border: 0; background: none; box-shadow: none; }
.search-empty .actions { justify-content: center; }
.search-empty__mark { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: radial-gradient(circle, rgba(246, 198, 106, .4), rgba(226, 118, 79, .12)); border: 2px solid rgba(246, 198, 106, .8); box-shadow: 0 0 40px rgba(246, 198, 106, .4); color: var(--accent-ink); }
.search-empty__mark .icon { width: 40px; height: 40px; }
@media (max-width: 599px) {
  .search-form--hero .btn { padding: 0 22px; }
  .search-empty .actions { flex-direction: column; align-items: stretch; width: 100%; }
}

/* ---------- Запись ---------- */
.top--post .page-hero { padding-bottom: 76px; }
.top--cover .page-hero { padding-bottom: 150px; }
.section--article { padding-top: 56px; }
.section--article-cover { padding-top: 0; }
.section--article-cover .article__cover { position: relative; z-index: 2; margin-top: -100px; border-radius: var(--r-xl); box-shadow: 0 30px 70px rgba(21, 15, 41, .26), 0 0 60px rgba(226, 118, 79, .22); }
.article__cover img { display: block; }
.article__meta { gap: 10px 22px; font-weight: 700; }
.article__meta-item { display: inline-flex; align-items: center; gap: 8px; }
.article__meta-item .icon { width: 18px; height: 18px; color: var(--peach); }
.article__meta-item + .article__meta-item::before { content: ''; width: 5px; height: 5px; margin-right: 14px; border-radius: 50%; background: var(--peach-2); box-shadow: 0 0 10px var(--peach-2); }
.article__back { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.chip--ink { min-height: 34px; padding: 5px 16px; font-size: 13px; background: var(--surface); }
.chip--ink:hover { background: rgba(226, 118, 79, .18); }
@media (max-width: 767px) {
  .top--cover .page-hero { padding-bottom: 104px; }
  .section--article-cover .article__cover { margin-top: -64px; margin-bottom: 32px; border-radius: var(--r-l); }
  .section--article { padding-top: 40px; }
}

/* Форма внутри записи («Сообщите, что отправили обращение»): секция белая, поэтому карточка формы — на фоне поверхности с рамкой, тенью и тёплой полоской сверху */
.section--article .post-form { position: relative; overflow: hidden; border: 1px solid var(--line-light); background: var(--surface); box-shadow: var(--shadow-card); }
.section--article .post-form::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--accent), var(--gold)); }
.section--article .post-form .field__input, .section--article .post-form input:not([type="checkbox"]):not([type="radio"]), .section--article .post-form textarea, .section--article .post-form select { background-color: var(--white); }

/* Текст записей и простых страниц: блоки редактора в стиле «Рассвета» */
.prose { line-height: 1.75; }
.prose > * + * { margin-top: 20px; }
.prose h2 { position: relative; margin-top: 56px; padding-top: 22px; letter-spacing: -.015em; }
.prose h2::before { content: ''; position: absolute; top: 0; left: 0; width: 44px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--gold)); }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 40px; color: var(--indigo); }
.prose ul li::marker { color: var(--accent); }
.prose ol li::marker { color: var(--accent-ink); font-weight: 800; }
.prose a { text-decoration-color: rgba(184, 72, 31, .45); transition: color .2s ease, text-decoration-color .2s ease; }
.prose a:hover { text-decoration-color: currentColor; }
.prose mark { padding: 1px 6px; border-radius: 6px; background: rgba(246, 198, 106, .5); color: inherit; }
.prose .wp-block-image { margin-block: 32px; }
.prose img { border-radius: var(--r-m); }
.prose figure { margin-inline: 0; }
.prose figcaption, .prose .wp-element-caption { text-align: center; }

/* Цитата */
.prose blockquote, .prose .wp-block-quote { position: relative; margin-inline: 0; padding: 30px 32px 28px 44px; border: 0; border-radius: var(--r-l); background: linear-gradient(135deg, rgba(246, 198, 106, .18), rgba(226, 118, 79, .07)), var(--surface); box-shadow: inset 4px 0 0 var(--accent); font-size: 19px; line-height: 1.65; font-weight: 600; color: var(--ink); }
.prose blockquote::before { content: '«'; position: absolute; left: 14px; top: 6px; font-size: 62px; line-height: 1; font-weight: 800; color: rgba(226, 118, 79, .42); }
.prose blockquote > * + * { margin-top: 12px; }
.prose blockquote cite, .prose .wp-block-quote cite { display: block; margin-top: 14px; font-size: 15px; font-style: normal; font-weight: 800; color: var(--muted); }
.prose .wp-block-pullquote { margin-inline: 0; padding: 40px 36px; border: 0; border-radius: var(--r-xl); background: var(--dawn-deep); color: var(--cream); text-align: center; box-shadow: 0 24px 60px rgba(36, 26, 68, .28); }
.prose .wp-block-pullquote blockquote { padding: 0; background: none; box-shadow: none; color: inherit; font-size: clamp(20px, 1vw + 16px, 28px); line-height: 1.4; font-weight: 800; }
.prose .wp-block-pullquote blockquote::before { position: static; display: block; margin-bottom: 6px; height: 40px; color: var(--gold); }
.prose .wp-block-pullquote cite { color: var(--peach); }

/* Кнопки блока «Кнопка» */
.prose .wp-block-button__link { min-height: 54px; padding: 12px 30px; border: 0; background: linear-gradient(135deg, var(--accent-hover), var(--accent)); box-shadow: var(--glow-btn); font-size: 15.5px; font-weight: 800; color: var(--ink); text-decoration: none; transition: transform .22s ease, box-shadow .22s ease; }
.prose .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: var(--glow-btn-hi); background: linear-gradient(135deg, var(--accent-hover), var(--accent)); color: var(--ink); }
.prose .wp-block-button.is-style-outline .wp-block-button__link { border: 1.5px solid rgba(26, 21, 38, .3); background: var(--white); box-shadow: 0 6px 18px rgba(26, 21, 38, .06); }
.prose .wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--accent); background: var(--white); box-shadow: 0 12px 30px rgba(226, 118, 79, .26); }

/* Файл для скачивания */
.prose .wp-block-file { flex-wrap: nowrap; gap: 16px; padding: 16px 18px; border: 1px solid var(--line-light); border-radius: var(--r-l); background: var(--surface); box-shadow: var(--shadow-card); }
.prose .wp-block-file::before { content: ''; flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; background: rgba(226, 118, 79, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8481F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7.5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2V7.5z'/%3E%3Cpath d='M14 3v4.5h4.5'/%3E%3C/svg%3E") center / 24px no-repeat; }
.prose .wp-block-file > a:not(.wp-block-file__button) { flex: 1; min-width: 0; font-weight: 800; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.prose .wp-block-file__button { flex-shrink: 0; padding: 10px 20px; background: var(--indigo); box-shadow: 0 8px 22px rgba(36, 26, 68, .26); font-weight: 800; color: var(--white); transition: box-shadow .22s ease; }
.prose .wp-block-file__button:hover { color: var(--white); box-shadow: 0 10px 28px rgba(36, 26, 68, .4), 0 0 20px rgba(226, 118, 79, .3); }
@media (max-width: 599px) { .prose .wp-block-file { flex-wrap: wrap; } .prose .wp-block-file__button { margin-left: 0; width: 100%; text-align: center; } }

/* Галерея, видео */
.prose .wp-block-gallery { gap: 14px; margin-block: 32px; }
.prose .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { overflow: hidden; border-radius: var(--r-m); box-shadow: 0 10px 28px rgba(36, 26, 68, .14); }
.prose .wp-block-gallery img { border-radius: 0; transition: transform .6s ease; }
.prose .wp-block-gallery figure:hover img { transform: scale(1.05); }
.prose .wp-block-video, .prose .wp-block-embed { margin-block: 32px; }
.prose .wp-block-video video, .prose .wp-block-embed__wrapper { overflow: hidden; border-radius: var(--r-l); box-shadow: 0 20px 50px rgba(36, 26, 68, .2); }

/* Таблица */
.prose table { border-collapse: separate; border-spacing: 0; border: 1px solid var(--line-light); border-radius: var(--r-m); }
.prose th, .prose td { border: 0; border-bottom: 1px solid var(--line-light); }
.prose tr:last-child td { border-bottom: 0; }
.prose th { background: var(--surface-2); font-weight: 800; color: var(--indigo); }
.prose tbody tr:nth-child(even) td { background: rgba(245, 243, 248, .7); }
.prose .wp-block-table { margin-block: 32px; }
.prose .wp-block-table figcaption { text-align: left; }

/* Разделитель, код, сворачиваемый блок */
.prose hr, .prose .wp-block-separator { height: 1px; margin-block: 48px; border: 0; background: linear-gradient(90deg, transparent, var(--line-light) 18%, rgba(226, 118, 79, .55) 50%, var(--line-light) 82%, transparent); opacity: 1; }
.prose code { padding: 2px 7px; border-radius: 6px; background: var(--surface-2); font-size: .9em; }
.prose pre { overflow-x: auto; padding: 20px 24px; border-radius: var(--r-m); background: var(--night); color: var(--cream); font-size: 14.5px; line-height: 1.6; }
.prose pre code { padding: 0; background: none; }
.prose .wp-block-details { padding: 16px 22px; border: 1px solid var(--line-light); border-radius: var(--r-m); background: var(--surface); }
.prose .wp-block-details summary { font-weight: 800; cursor: pointer; }
.prose .wp-block-group.has-background { padding: 24px 28px; border-radius: var(--r-l); }

/* ---------- Простая страница: политика, соглашение ---------- */
.section--paper { padding-block: clamp(40px, 5vw, 72px) var(--section-y); }
.prose--paper { width: min(860px, 100%); padding: clamp(24px, 5vw, 64px); border: 1px solid var(--line-light); border-radius: var(--r-xl); background: var(--white); box-shadow: 0 24px 60px rgba(36, 26, 68, .1); }
.prose--paper > .wp-block-spacer:first-child { display: none; }
.prose--paper h2 { margin-top: 40px; font-size: clamp(20px, .5vw + 18px, 24px); }
.prose--paper h2::before { width: 32px; height: 3px; }
.prose--paper > h2:first-child, .prose--paper > .wp-block-spacer:first-child + h2 { margin-top: 0; }
/* Текст политики и соглашения начинается с h2, повторяющего название на первом экране: оформляем как подзаголовок документа, без второй золотой черты */
.prose--paper > h2:first-child, .prose--paper > .wp-block-spacer:first-child + h2 { margin-top: 0; padding: 0 0 18px; border-bottom: 1px solid var(--line-light); font-size: clamp(17px, .4vw + 15px, 20px); font-weight: 700; color: var(--muted); }
.prose--paper > h2:first-child::before, .prose--paper > .wp-block-spacer:first-child + h2::before { display: none; }
/* Названия документов длинные — заголовок первого экрана чуть меньше обычного */
.top:has(+ .section--paper) .page-hero__title { font-size: clamp(30px, 3.6vw, 52px); }
@media (max-width: 599px) { .prose--paper { border-radius: var(--r-l); } }

/* ---------- Первый экран по центру: 404 и «спасибо» ---------- */
.top--center .page-hero { display: grid; align-content: center; min-height: min(86vh, 760px); padding-bottom: 88px; }
@media (max-width: 767px) { .top--center .page-hero { min-height: 0; padding-bottom: 56px; } }

/* 404: слева текст, справа огромный код, где нолик — восходящее солнце */
.not-found { grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(32px, 6vw, 96px); align-items: center; }
.not-found__code { grid-column: 2; grid-row: 1; display: flex; align-items: flex-end; font-size: clamp(120px, 15vw, 240px); line-height: .9; font-weight: 800; letter-spacing: -.04em; color: transparent; background: linear-gradient(180deg, var(--gold-hi) 0%, var(--peach) 48%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; user-select: none; }
.not-found__sun { display: inline-block; width: .7em; height: .7em; margin: 0 .05em .08em; border-radius: 50%; background: radial-gradient(circle at 38% 32%, var(--gold-hi), var(--peach) 46%, var(--accent) 100%); box-shadow: 0 0 60px 10px rgba(255, 158, 110, .5), 0 0 160px 40px rgba(226, 118, 79, .3); }
.not-found__body { grid-column: 1; grid-row: 1; min-width: 0; }
.not-found .page-hero__title { margin-top: 0; }
.not-found .search-form--hero { grid-column: 1 / -1; grid-row: 2; margin-top: 44px; }
@media (max-width: 899px) {
  .not-found { grid-template-columns: minmax(0, 1fr); }
  .not-found__code, .not-found__body, .not-found .search-form--hero { grid-column: 1; }
  .not-found__code { grid-row: 1; margin-bottom: 18px; font-size: clamp(110px, 30vw, 180px); }
  .not-found__body { grid-row: 2; }
  .not-found .search-form--hero { grid-row: 3; margin-top: 32px; }
}
@media (max-width: 599px) {
  .not-found .actions { flex-direction: column; align-items: stretch; }
}

/* «Спасибо»: по центру, золотая отметка с кольцом */
.thanks { justify-items: center; text-align: center; }
.thanks__halo { width: 132px; margin-bottom: 40px; }
.thanks__check { display: grid; place-items: center; width: 100%; height: 100%; border: 3px solid var(--gold-hi); border-radius: 50%; background: radial-gradient(circle at 36% 30%, #3A2A66, var(--night)); box-shadow: 0 0 0 6px rgba(246, 198, 106, .2), 0 20px 60px rgba(0, 0, 0, .45); color: var(--gold-hi); }
.thanks__check .icon { width: 56px; height: 56px; stroke-width: 2.4; }
.thanks .page-hero__title { text-wrap: balance; }
.thanks .page-hero__lead { margin-inline: auto; }
.thanks .actions { justify-content: center; }
@media (max-width: 599px) {
  .thanks__halo { width: 104px; margin-bottom: 32px; }
  .thanks__check .icon { width: 44px; height: 44px; }
  .thanks .actions { flex-direction: column; align-items: stretch; width: 100%; }
}

/* ==================== Страницы: «О проекте» ==================== */
/* «О проекте» — дизайн «Рассвет». Файл подключается ко всем страницам, поэтому
   все правила живут под классами op-* (только эта страница) или под .op-… секциями. */

/* ---------- Миссия ---------- */
.op-mission { overflow: hidden; }
.op-mission__glow { position: absolute; top: -220px; right: -180px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 158, 110, .22), rgba(255, 158, 110, 0) 66%); pointer-events: none; }
.op-mission .wrap { position: relative; }
.op-mission .intro .h2 { margin-top: 14px; }

/* три смысловых направления: цвет полоски — ветвь экосистемы (память, молодёжь, сообщество) */
.op-dirs { align-items: stretch; }
.op-dir { overflow: hidden; padding: 34px 30px 30px; border: 1px solid var(--line-light); border-radius: var(--r-l); box-shadow: var(--shadow-card); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.op-dir::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); box-shadow: 0 0 22px var(--c); }
.op-dir:hover { transform: translateY(-6px); border-color: rgba(246, 198, 106, .7); box-shadow: 0 22px 50px rgba(36, 26, 68, .14), 0 0 44px rgba(246, 198, 106, .28); }
.op-dir .card__title { margin-top: 0; font-size: clamp(20px, .5vw + 17px, 24px); line-height: 1.22; letter-spacing: -.01em; text-wrap: balance; }
.op-dir .card__text { margin-top: 14px; line-height: 1.65; }
.op-dir .checklist { margin-top: 14px; }

/* итоговая мысль страницы — тёмная карточка с утренним светом */
.op-pull { position: relative; overflow: hidden; max-width: none; padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 72px); border-radius: 32px; background: var(--dawn-deep); color: var(--cream); box-shadow: 0 30px 80px rgba(36, 26, 68, .28); isolation: isolate; }
.op-pull::before { content: ''; position: absolute; z-index: -1; right: -160px; bottom: -280px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 158, 110, .38), rgba(255, 158, 110, 0) 68%); pointer-events: none; }
.op-pull .big-quote { max-width: 30em; font-size: clamp(20px, 1vw + 15px, 32px); line-height: 1.35; letter-spacing: -.01em; text-wrap: balance; }
.op-pull .big-quote::before, .op-pull .big-quote::after { color: var(--peach); }

/* ---------- Проекты ---------- */
.op-projects { overflow: hidden; }
.op-projects .bento { gap: 20px; }
.op-projects .tile { border: 1px solid var(--line-dark); }
/* тонкая светящаяся полоска сверху — ветвь экосистемы, к которой проект относится */
.op-projects .tile::before { content: ''; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 3px; background: var(--c, var(--accent)); box-shadow: 0 0 18px var(--c, var(--accent)); }
/* маленькие плитки: фото светлое, подпись должна читаться — подложка плотнее */
.op-projects .tile--sm::after, .op-projects .tile--wide::after { background: linear-gradient(0deg, rgba(21, 15, 41, .96) 0%, rgba(21, 15, 41, .62) 42%, rgba(21, 15, 41, 0) 78%); }
.op-t-forum { --c: var(--accent-hover); }
.op-t-comm { --c: var(--b-comm); }
.op-t-people { --c: var(--b-people); }
.op-t-edu { --c: var(--b-edu); }
.op-t-memory { --c: var(--b-memory); }
.op-projects a.tile:hover { border-color: rgba(255, 185, 138, .5); box-shadow: 0 22px 50px rgba(226, 118, 79, .26), 0 0 44px rgba(255, 158, 110, .2); }
.op-projects .tile__tag { border: 1px solid rgba(255, 185, 138, .4); background: rgba(21, 15, 41, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--peach); }

/* плитка «Культура и история» — тёмная карточка, как остальные карточки на тёмном */
.op-projects .tile--culture { background: var(--card-dark); border-color: var(--line-dark); color: var(--cream); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.op-projects .tile--culture:hover { transform: translateY(-4px); border-color: rgba(255, 185, 138, .5); box-shadow: 0 0 44px rgba(255, 158, 110, .2); }
.op-projects .tile--culture .tile__text { color: var(--lilac); }
.op-projects .tile--culture .tile__title { color: var(--white); }
.op-projects .tile--culture .tile__img { transition: transform .6s ease; }
@media (max-width: 1023px) {
  /* на планшете текст плитки «Культура и история» длиннее строки сетки — высота по содержимому */
  .op-projects .bento { grid-auto-rows: minmax(230px, auto); }
  .op-projects .tile--culture { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .op-projects .tile--culture .tile__img { min-height: 100%; }
}
@media (max-width: 599px) {
  .op-projects .bento { grid-auto-rows: auto; }
  .op-projects .tile--culture .tile__content { padding: 20px 20px 24px; }
}

/* ---------- Команда ---------- */
.op-team-sec .founder { margin-bottom: 0; }
.op-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; margin-top: clamp(28px, 4vw, 52px); }
.op-member { position: relative; display: flex; flex-direction: column; align-items: center; padding: 32px 22px 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line-light); text-align: center; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.op-member:hover { transform: translateY(-5px); border-color: rgba(246, 198, 106, .75); box-shadow: 0 18px 44px rgba(246, 198, 106, .3); }
.op-member .halo { width: 112px; margin-bottom: 26px; }
.op-member__name { font-size: 18px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
.op-member__role { min-height: 6em; margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--muted); text-wrap: balance; }
/* карточка без подробностей — той же высоты, что соседние: низ = отступ карточки (24) + отступ details (18) + кнопка (40) */
.op-member:not(:has(details)) { padding-bottom: calc(24px + 18px + 44px); }
.op-member details { width: 100%; margin-top: auto; padding-top: 18px; }
.op-member summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 18px; border: 1px solid var(--line-light); border-radius: 999px; background: var(--white); font-size: 14px; font-weight: 800; color: var(--accent-ink); cursor: pointer; list-style: none; transition: border-color .2s ease, box-shadow .2s ease; }
.op-member summary::-webkit-details-marker { display: none; }
.op-member summary:hover { border-color: var(--accent); box-shadow: 0 8px 22px rgba(226, 118, 79, .2); }
.op-member summary .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.op-member details[open] summary .icon { transform: rotate(180deg); }
.op-member details ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; text-align: left; font-size: 14px; line-height: 1.5; color: var(--muted); }
.op-member details li { position: relative; padding-left: 18px; }
.op-member details li::before { content: ''; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px rgba(246, 198, 106, .7); }

@media (max-width: 1100px) { .op-team { grid-template-columns: repeat(2, minmax(0, 1fr)); } .op-team > :last-child:nth-child(odd) { grid-column: 1 / -1; } .op-member__role { min-height: 4.5em; } }
@media (max-width: 860px) { .op-dirs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .op-mission__glow { width: 420px; height: 420px; top: -160px; right: -200px; }
  .op-dir { padding: 28px 22px 24px; }
  .op-pull { border-radius: var(--r-l); }
  .op-team { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  /* на телефоне карточка в одну строку: портрет слева, имя и роль справа, подробности — на всю ширину */
  .op-member { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 0 20px; align-items: center; padding: 20px 18px; text-align: left; }
  .op-member .halo { width: 80px; margin: 0 4px; }
  .op-member__name { font-size: 17px; }
  .op-member__role { min-height: 0; }
  .op-member:not(:has(details)) { padding-bottom: 20px; }
  .op-member details { grid-column: 1 / -1; padding-top: 14px; }
}

/* ==================== Страницы: «Форум» ==================== */
/* Страница «Форум» (page-forum.php), дизайн «Рассвет».
   Всё под .page-forum: файл подключается на всех страницах, остальным он не нужен.
   Общие детали (.shead, .halo, .card, .person, .quote-card, бегущие строки) — в main.css;
   здесь только то, что на этой странице устроено иначе. */

/* ---------- Плашка «Форум прошёл» ---------- */
.page-forum .forum-done {
  max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); padding: 20px 26px; border-radius: var(--r-m);
  background: var(--white); border: 1px solid var(--line-light); border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-card); font-size: 16px; line-height: 1.6; color: var(--muted);
}
.page-forum .forum-done strong { color: var(--ink); }
.page-forum .forum-done a { color: var(--accent-ink); font-weight: 700; }
.page-forum .forum-done a:hover { color: var(--ink); }

/* ---------- Фото форума 2026 под миссией ---------- */
.page-forum .f-shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 280px; gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.page-forum .f-shot { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-l); background: var(--indigo); box-shadow: 0 18px 44px rgba(36, 26, 68, .16); }
.page-forum .f-shot--wide { grid-column: span 2; }
.page-forum .f-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.page-forum .f-shot:hover img { transform: scale(1.05); }
.page-forum .f-shot figcaption { position: absolute; inset: auto 0 0; padding: 44px 18px 14px; font-size: 14px; font-weight: 700; color: var(--cream); background: linear-gradient(180deg, rgba(13, 10, 28, 0), rgba(13, 10, 28, .7) 45%, rgba(13, 10, 28, .9)); text-shadow: 0 1px 8px rgba(13, 10, 28, .8); }
@media (max-width: 1023px) { .page-forum .f-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; } }
@media (max-width: 599px) {
  .page-forum .f-shots { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 12px; }
  .page-forum .f-shot, .page-forum .f-shot--wide { grid-column: auto; aspect-ratio: 16 / 10; border-radius: 20px; }
}

/* ---------- Преимущества: карточки со светящейся полоской ---------- */
.page-forum .benefit { --c: var(--accent); overflow: hidden; padding-top: 34px; border: 1px solid var(--line-light); background: var(--surface); box-shadow: var(--shadow-card); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.page-forum .benefit::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--accent), var(--gold)); box-shadow: 0 0 22px rgba(246, 198, 106, .55); }
.page-forum .benefit:hover { transform: translateY(-5px); border-color: rgba(226, 118, 79, .4); box-shadow: 0 20px 46px rgba(226, 118, 79, .2); }
.page-forum .benefit .card__title { margin-top: 0; }
@media (min-width: 600px) and (max-width: 1179px) { .page-forum .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.page-forum .benefit .checklist { margin-top: 18px; gap: 12px; }
.page-forum .benefit .checklist li { color: var(--ink); font-weight: 500; }
@media (max-width: 599px) {
  .page-forum .benefits { gap: 12px; }
  .page-forum .benefit { padding: 26px 20px 22px; }
  .page-forum .benefit .checklist { margin-top: 14px; gap: 8px; }
}

/* ---------- Слово организатора ---------- */
.page-forum .quote-card {
  position: relative; margin: 0; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px);
  padding: clamp(28px, 4vw, 56px); border-radius: 32px; border-color: rgba(255, 185, 138, .3);
  background: radial-gradient(circle at 100% 100%, rgba(255, 158, 110, .3), rgba(255, 158, 110, 0) 58%), linear-gradient(135deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35), 0 0 70px rgba(226, 118, 79, .12);
}
.page-forum .quote-card .halo { width: 100%; max-width: 240px; justify-self: center; }
.page-forum .quote-card .halo img { width: 100%; height: 100%; }
.page-forum .quote-card blockquote { font-size: clamp(18px, .5vw + 16px, 22px); line-height: 1.6; font-weight: 600; color: var(--cream); }
.page-forum .quote-card blockquote::before { content: '«'; display: block; margin-bottom: 6px; font-size: 72px; line-height: .7; font-weight: 800; color: var(--gold); }
.page-forum .quote-card cite { margin-top: 22px; }
.page-forum .quote-card cite span { display: block; margin-top: 3px; font-size: 15px; color: var(--peach); }
@media (max-width: 767px) {
  .page-forum .quote-card { grid-template-columns: minmax(0, 1fr); padding: 30px 24px; gap: 36px; }
  .page-forum .quote-card .halo { max-width: 170px; justify-self: start; margin-left: 10px; }
  .page-forum .quote-card blockquote::before { font-size: 56px; }
}

/* ---------- Спикеры ---------- */
.page-forum .person { padding: 26px; border: 1px solid var(--line-light); box-shadow: var(--shadow-card); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.page-forum .person:hover { transform: translateY(-4px); border-color: rgba(246, 198, 106, .75); box-shadow: 0 18px 44px rgba(246, 198, 106, .28); }
.page-forum .person__head { display: flex; align-items: center; gap: 22px; }
.page-forum .person__head .halo { width: 88px; margin: 4px 0 4px 6px; }
.page-forum .person__head .halo img { width: 100%; height: 100%; }
.page-forum .person__name { margin: 0; font-size: 19px; line-height: 1.25; }
.page-forum .person__list { margin-top: 20px; padding-left: 18px; font-size: 14.5px; color: var(--muted); }
.page-forum .person__list li::marker { color: var(--accent); }
@media (max-width: 1023px) { .page-forum .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.page-forum #spikery .lead a { color: var(--accent-ink); font-weight: 700; }
/* Девятая карточка на планшете не остаётся одна в ряду: растягивается на две колонки, фото слева, список справа. */
@media (min-width: 680px) and (max-width: 1023px) {
  .page-forum .person:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 24px; align-items: start; }
  .page-forum .person:last-child:nth-child(odd) .person__list { margin-top: 4px; }
}
@media (max-width: 679px) { .page-forum .people { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) {
  .page-forum .person { padding: 20px 18px; }
  .page-forum .person__head { gap: 18px; }
  .page-forum .person__name { font-size: 18px; }
}

/* ---------- Предыдущий форум ---------- */
.page-forum .prev {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(24px, 4vw, 56px); border-radius: 32px; background: var(--dawn-deep); color: var(--cream); box-shadow: 0 30px 80px rgba(36, 26, 68, .28);
}
.page-forum .prev::after { content: ''; position: absolute; width: 520px; height: 520px; right: -180px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 158, 110, .3), rgba(255, 158, 110, 0) 68%); pointer-events: none; }
.page-forum .prev__img { width: 100%; height: auto; border-radius: var(--r-l); box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 50px rgba(226, 118, 79, .2); }
.page-forum .prev__body { position: relative; z-index: 1; }
.page-forum .prev .split__text { color: var(--lilac); }
.page-forum .prev .actions { margin-top: 28px; }
.page-forum .prev :focus-visible { outline-color: var(--gold); }
@media (max-width: 900px) {
  .page-forum .prev { grid-template-columns: minmax(0, 1fr); }
  .page-forum .prev .actions { flex-direction: column; align-items: stretch; }
}
@media (max-width: 599px) { .page-forum .prev { border-radius: var(--r-xl); } }

/* ==================== Страницы: «Прошедшие форумы» ==================== */
/* «Прошедшие форумы», дизайн «Рассвет». Файл подключается на всех страницах,
   поэтому каждое правило начинается с класса страницы (.pr-…), чтобы не задеть чужие. */

/* ---------- Почему это важно: тёмные карточки с цифрами на светлом фоне ---------- */
.pr-why { overflow: hidden; }
.pr-why .intro { align-items: center; }
.pr-why .intro .shead { margin-bottom: 0; }
.pr-why .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pr-why .fact {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-start;
  min-height: 280px; padding: clamp(28px, 3.4vw, 48px); border-radius: var(--r-xl);
  background: var(--dawn-deep); border: 1px solid rgba(255, 185, 138, .22); color: var(--cream);
  box-shadow: 0 24px 60px rgba(36, 26, 68, .22), 0 0 50px rgba(226, 118, 79, .12);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pr-why .fact::before {
  content: ''; position: absolute; z-index: -1; right: -90px; top: -110px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 158, 110, .5) 0%, rgba(226, 118, 79, .2) 38%, rgba(226, 118, 79, 0) 68%);
}
.pr-why .fact:hover { transform: translateY(-5px); border-color: rgba(255, 185, 138, .55); box-shadow: 0 30px 70px rgba(36, 26, 68, .3), 0 0 64px rgba(255, 158, 110, .32); }
.pr-why .fact b {
  font-size: clamp(64px, 8.4vw, 124px); line-height: .95; letter-spacing: -.035em;
  background: linear-gradient(100deg, var(--peach) 0%, var(--accent-hover) 60%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pr-why .fact span { margin-top: 18px; max-width: 30ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: var(--lilac); }

/* ---------- Цитата ---------- */
.pr-quote { overflow: hidden; text-align: center; padding-block: clamp(64px, 9vw, 120px); }
.pr-quote::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: min(1100px, 130vw); height: min(1100px, 130vw); transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 158, 110, .22) 0%, rgba(226, 118, 79, .08) 36%, rgba(226, 118, 79, 0) 66%); pointer-events: none;
}
.pr-quote .wrap { position: relative; }
.pr-quote .big-quote {
  max-width: 980px; margin-inline: auto; padding-top: 44px; position: relative;
  font-size: clamp(22px, 1.6vw + 14px, 38px); line-height: 1.32; letter-spacing: -.015em; text-wrap: balance; color: var(--white);
}
/* Золотая черта над цитатой вместо огромной кавычки; кавычки « » — обычные, парные, из main.css */
.pr-quote .big-quote::before, .pr-quote .big-quote::after { color: var(--gold); }
.pr-quote .wrap::before {
  content: ''; display: block; width: 64px; height: 4px; margin: 0 auto; border-radius: 2px;
  background: linear-gradient(90deg, var(--peach), var(--gold)); box-shadow: 0 0 28px rgba(246, 198, 106, .7);
}

/* ---------- Ключевые события ---------- */
.pr-events .shead--row .link-arrow { align-self: end; margin-bottom: 8px; }
.pr-events__title, .pr-photo__title { display: grid; gap: 14px; justify-items: start; }
.pr-events .cards { gap: 20px; }
@media (min-width: 1024px) and (max-width: 1179px) { .pr-events .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pr-events .card {
  overflow: hidden; background: var(--white); border: 1px solid var(--line-light); border-radius: var(--r-l); box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pr-events .card::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; opacity: 0; transition: opacity .25s ease;
  background: linear-gradient(90deg, var(--peach), var(--accent-hover), var(--gold));
}
.pr-events .card:hover { transform: translateY(-6px); border-color: rgba(226, 118, 79, .35); box-shadow: var(--shadow-lift), 0 0 40px rgba(246, 198, 106, .3); }
.pr-events .card:hover::before { opacity: 1; }
.pr-events .card__icon {
  width: 60px; height: 60px; border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, var(--accent-hover), var(--accent)); box-shadow: 0 10px 24px rgba(226, 118, 79, .35);
}
.pr-events .card__title { font-size: clamp(18px, .5vw + 15px, 21px); text-wrap: balance; }

/* ---------- Видео и галерея ---------- */
.pr-photo { overflow: hidden; }
.pr-photo .shead--row .btn { align-self: end; }
.pr-photo .video {
  border-radius: var(--r-xl); border: 1px solid rgba(255, 185, 138, .3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 70px rgba(226, 118, 79, .2);
}
.pr-photo .group-title {
  display: flex; align-items: center; gap: 18px; margin-bottom: 24px;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--peach-2);
}
.pr-photo .group-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255, 185, 138, .45), rgba(255, 185, 138, 0)); }
.pr-photo .gallery { grid-auto-rows: clamp(150px, 15.5vw, 200px); grid-auto-flow: dense; gap: 14px; }
.pr-photo .gallery a {
  position: relative; border-radius: var(--r-l); border: 1px solid var(--line-dark);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.pr-photo .gallery a::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: linear-gradient(0deg, rgba(226, 118, 79, .32), rgba(226, 118, 79, 0) 55%);
}
.pr-photo .gallery a:hover { transform: translateY(-5px); border-color: rgba(255, 185, 138, .6); box-shadow: 0 20px 44px rgba(0, 0, 0, .4), 0 0 40px rgba(255, 158, 110, .32); }
.pr-photo .gallery a:hover::after, .pr-photo .gallery a:focus-visible::after { opacity: 1; }
.pr-photo .gallery img { height: 100%; aspect-ratio: auto; }
.pr-photo .gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.pr-photo .gallery a:nth-child(14) { grid-column: span 2; }

/* ---------- Форум 2026 ---------- */
.pr-next { overflow: hidden; }
.pr-next::before {
  content: ''; position: absolute; left: -180px; bottom: -260px; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 158, 110, .22), rgba(255, 158, 110, 0) 68%); pointer-events: none;
}
.pr-next .split { position: relative; }
.pr-next .split__img { border: 1px solid var(--line-light); box-shadow: 0 30px 70px rgba(36, 26, 68, .22), 0 0 60px rgba(226, 118, 79, .16); }
.pr-next .split__title { margin-top: 16px; }
.pr-next .split__text { color: var(--muted); }

@media (max-width: 1023px) {
  .pr-why .fact { min-height: 240px; }
  .pr-photo .gallery { grid-auto-rows: clamp(120px, 19vw, 190px); }
}
@media (max-width: 767px) {
  .pr-why .facts-row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pr-why .fact { min-height: 0; border-radius: var(--r-l); padding: 26px 24px; }
  .pr-why .fact::before { width: 260px; height: 260px; right: -80px; top: -90px; }
  .pr-why .fact b { font-size: clamp(64px, 22vw, 96px); }
  .pr-quote .big-quote { padding-top: 32px; }
  .pr-events .shead--row .link-arrow { margin-bottom: 0; }
  .pr-photo .shead--row .btn { align-self: start; }
  .pr-photo .gallery { gap: 8px; grid-auto-rows: clamp(104px, 30vw, 150px); }
  .pr-photo .gallery a { border-radius: 14px; }
  .pr-next .split__img { margin-bottom: 24px; }
}

/* ==================== Страницы: «Обучение», «Инновации», цифровые инструменты ==================== */
/* Тема УТРО, «Рассвет» — страницы «Обучение» и «Инновации» (группа uchim).
   «Обучение» — ветвь «Образование и молодёжь» (--b-edu), «Инновации» — «Технологии и инновации» (--b-tech):
   цвет ветви идёт только тонкой светящейся полоской карточек и точкой в номере, остальное — палитра рассвета.
   Подключается на всех страницах, поэтому все селекторы с префиксами dcard / prog / plist / regcard /
   pcard / tgrid / tcard / idea — они больше нигде не встречаются. Прежние .tools/.tool из main.css
   этим страницам не нужны. */

/* ================= «Обучение» ================= */

/* ---------- Направления (светлый блок) ---------- */
.dcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.dcard {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 0;
  padding: 30px 26px 30px; border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line-light);
  box-shadow: var(--shadow-card); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dcard::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--b-edu); box-shadow: 0 0 20px 2px color-mix(in srgb, var(--b-edu) 70%, transparent); }
.dcard::after { content: ''; position: absolute; width: 200px; height: 200px; right: -90px; top: -100px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--b-edu) 30%, transparent), transparent 68%); pointer-events: none; }
.dcard:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--b-edu) 65%, transparent); box-shadow: 0 22px 50px rgba(226, 118, 79, .18), 0 0 0 1px color-mix(in srgb, var(--b-edu) 40%, transparent); }
.dcard__icon { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(135deg, rgba(246, 198, 106, .34), rgba(255, 158, 110, .22)); color: var(--accent-ink); box-shadow: 0 6px 18px rgba(246, 198, 106, .3); }
.dcard__icon .icon { width: 28px; height: 28px; }
@media (min-width: 1101px) { .dcard__title { min-height: calc(2em * 1.22); } }
.dcard__title { position: relative; z-index: 1; margin-top: 22px; font-weight: 800; font-size: clamp(19px, .3vw + 17px, 22px); line-height: 1.22; letter-spacing: -.01em; text-wrap: balance; }
.dcard__text { position: relative; z-index: 1; margin-top: 12px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }

/* ---------- Программы (тёмный блок) ---------- */
.prog { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 88px); align-items: start; }
.prog__intro { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 18px; justify-items: start; }
.prog__intro .lead { color: var(--lilac); max-width: 44ch; }
.prog__intro .btn { margin-top: 10px; }
.prog__lists { display: grid; gap: 40px; }
.prog__title { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; font-weight: 800; font-size: clamp(19px, .5vw + 17px, 23px); line-height: 1.25; letter-spacing: -.01em; }
.prog__title::before { content: ''; flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--b-edu); box-shadow: 0 0 14px 2px color-mix(in srgb, var(--b-edu) 75%, transparent); }
.prog__title::after { content: ''; flex: 1 1 auto; height: 1px; background: linear-gradient(90deg, var(--line-dark), transparent); }

.plist { list-style: none; counter-reset: n; margin: 0; padding: 0; display: grid; gap: 12px; }
.plist--from7 { counter-reset: n 6; }
.plist--from9 { counter-reset: n 8; }
.plist li {
  counter-increment: n; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; align-items: center;
  padding: 18px 22px 18px 18px; border-radius: 20px; background: var(--card-dark); border: 1px solid var(--line-dark);
  font-size: 16.5px; line-height: 1.5; font-weight: 700; color: var(--cream);
  transition: border-color .22s ease, box-shadow .22s ease;
}
.plist li::before {
  content: counter(n, decimal-leading-zero); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--b-edu); background: color-mix(in srgb, var(--b-edu) 16%, transparent); box-shadow: 0 0 18px color-mix(in srgb, var(--b-edu) 38%, transparent);
  font-size: 15px; font-weight: 800; color: var(--gold-hi);
}
.plist li:hover { border-color: rgba(255, 185, 138, .5); box-shadow: 0 0 36px rgba(255, 158, 110, .18); }
.plist small { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; font-weight: 500; color: var(--lilac); }

/* ---------- Запись: тёмная карточка на светлом ---------- */
.regcard {
  position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px clamp(32px, 5vw, 72px); align-items: start;
  padding: clamp(24px, 4vw, 56px); border-radius: 32px; background: var(--dawn-deep); color: var(--cream); box-shadow: 0 30px 80px rgba(36, 26, 68, .3);
}
.regcard::before { content: ''; position: absolute; z-index: -1; width: 560px; height: 560px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 158, 110, .3), rgba(255, 158, 110, 0) 68%); pointer-events: none; }
.regcard::after { content: ''; position: absolute; z-index: -1; width: 420px; height: 420px; left: -180px; bottom: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(246, 198, 106, .16), rgba(246, 198, 106, 0) 68%); pointer-events: none; }
.regcard__text { display: grid; gap: 18px; justify-items: start; }
/* sticky здесь не сработает: .regcard с overflow:hidden сам становится «прокручиваемым предком», поэтому текст центрируем по высоте формы */
@media (min-width: 1024px) { .regcard { align-items: center; } }
.regcard__text .eyebrow { color: var(--peach-2); }
.regcard__text .lead { color: var(--lilac); }
.regcard .checklist { margin-top: 4px; color: var(--on-dark); }
.regcard .checklist li::before { background-color: rgba(255, 185, 138, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFB98A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E"); }
.regcard__form { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-l); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); box-shadow: 0 0 60px rgba(226, 118, 79, .1); }

/* ================= «Инновации» ================= */

/* Первый экран: картинка-экран сервиса показывается целиком, без обрезки до 5:4 */
.page-hero__media img[src*="inno-analytics"] { aspect-ratio: 514 / 305; }

/* ---------- Проекты (светлый блок) ---------- */
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pcard {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 32px 28px 34px; border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line-light);
  box-shadow: var(--shadow-card); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pcard::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--b-tech); box-shadow: 0 0 22px 3px color-mix(in srgb, var(--b-tech) 60%, transparent); }
.pcard::after { content: ''; position: absolute; width: 240px; height: 240px; right: -100px; top: -120px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--b-tech) 26%, transparent), transparent 68%); pointer-events: none; }
.pcard:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--b-tech) 55%, transparent); box-shadow: 0 22px 50px color-mix(in srgb, var(--b-tech) 24%, transparent), 0 10px 30px rgba(226, 118, 79, .12); }
.pcard__icon { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: color-mix(in srgb, var(--b-tech) 16%, var(--white)); border: 1.5px solid color-mix(in srgb, var(--b-tech) 55%, transparent); color: color-mix(in srgb, var(--b-tech) 52%, var(--indigo)); box-shadow: 0 6px 20px color-mix(in srgb, var(--b-tech) 28%, transparent); }
.pcard__icon .icon { width: 28px; height: 28px; }
.pcard__title { position: relative; z-index: 1; margin-top: 24px; font-weight: 800; font-size: clamp(19px, .3vw + 17px, 22px); line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
.pcard__text { position: relative; z-index: 1; margin-top: 14px; font-size: 15.5px; line-height: 1.65; color: var(--muted); }

/* ---------- Цифровые инструменты (тёмный блок) ---------- */
.tgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tcard {
  position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: flex-start; gap: 26px; padding: 18px 26px 18px 18px;
  border-radius: var(--r-l); background: var(--card-dark); border: 1px solid var(--line-dark);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.tcard::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--b-tech); box-shadow: 0 0 22px 3px color-mix(in srgb, var(--b-tech) 70%, transparent); }
.tcard::after { content: ''; position: absolute; z-index: -1; width: 300px; height: 300px; right: -120px; bottom: -150px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--b-tech) 24%, transparent), transparent 68%); pointer-events: none; transition: opacity .25s ease; opacity: .7; }
.tcard:hover { transform: translateY(-5px); border-color: rgba(255, 185, 138, .5); box-shadow: 0 0 46px rgba(255, 158, 110, .2), 0 18px 50px color-mix(in srgb, var(--b-tech) 20%, transparent); }
.tcard:hover::after { opacity: 1; }
.tcard__shot { position: relative; flex-shrink: 0; align-self: center; width: 260px; overflow: hidden; border-radius: var(--r-s); border: 1px solid rgba(255, 255, 255, .2); background: var(--white); box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.tcard__img { width: 100%; aspect-ratio: 260 / 154; height: auto; object-fit: cover; transition: transform .6s ease; }
.tcard:hover .tcard__img { transform: scale(1.05); }
.tcard__body { min-width: 0; display: grid; gap: 8px; justify-items: start; }
.tcard__title { font-size: clamp(19px, .4vw + 17px, 22px); font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.tcard__text { font-size: 15.5px; line-height: 1.55; color: var(--lilac); }

/* ---------- Приём идей (светлый блок) ---------- */
.idea { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 88px); align-items: center; }
.idea__text { display: grid; gap: 18px; justify-items: start; }
.idea__text .lead { color: var(--muted); max-width: 46ch; }
.idea__orb { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-hover), var(--accent)); color: #fff; box-shadow: var(--glow-btn), 0 0 50px rgba(246, 198, 106, .5); }
.idea__orb .icon { width: 32px; height: 32px; }
.idea__form {
  position: relative; overflow: hidden; padding: clamp(22px, 3vw, 40px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line-light);
  box-shadow: var(--shadow-lift);
}
.idea__form::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--b-tech), var(--accent-hover), var(--gold)); }

/* ================= Адаптив ================= */
@media (max-width: 1279px) {
  .tgrid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1100px) {
  .dcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcards { grid-template-columns: minmax(0, 1fr); }
  .pcard { padding: 28px 26px 30px; }
}
@media (min-width: 600px) and (max-width: 1100px) {
  .pcard { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 22px; align-items: start; }
  .pcard__icon { grid-row: 1 / span 2; }
  .pcard__title { margin-top: 0; align-self: center; }
  .pcard__text { margin-top: 10px; }
}
@media (max-width: 1023px) {
  .prog, .regcard, .idea { grid-template-columns: minmax(0, 1fr); }
  .prog__intro { position: static; }
  .idea__text .lead, .prog__intro .lead { max-width: 62ch; }
}
@media (max-width: 599px) {
  .dcards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .dcard { padding: 24px 20px 26px; }
  .dcard__icon { width: 50px; height: 50px; }
  .dcard__title { margin-top: 18px; }
  .pcards { gap: 12px; }
  .pcard { padding: 24px 20px 26px; }
  .prog__intro .btn { width: 100%; }
  .prog__lists { gap: 32px; }
  .plist li { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; padding: 14px 14px 14px 12px; font-size: 15.5px; border-radius: 16px; }
  .plist li::before { width: 38px; height: 38px; font-size: 13px; }
  .plist small { font-size: 13.5px; }
  .regcard { border-radius: var(--r-xl); }
  .regcard__form { padding: 18px 14px; }
  .tgrid { gap: 12px; }
  .tcard { flex-direction: column; align-items: stretch; gap: 16px; padding: 14px 14px 20px; border-radius: var(--r-l); }
  .tcard__shot { width: 100%; }
  .tcard__body { padding-inline: 6px; }
  .idea__orb { width: 56px; height: 56px; }
  .idea__orb .icon { width: 26px; height: 26px; }
  .idea__form { padding: 20px 14px; border-radius: var(--r-l); }
}

/* ==================== Страницы: «История ЖКХ» и «Контакты» ==================== */
/* Тема УТРО, «Рассвет» — страницы «История ЖКХ» и «Контакты».
   Здесь только то, чего в общих стилях выше нет. */

/* ================= История ЖКХ ================= */

/* Каждый период — отдельный блок; свечение по краю, без overflow:hidden (иначе ломается sticky) */
.hist-period { overflow: clip; }
.hist-period.section--light {
  background: radial-gradient(circle at 100% 0%, rgba(255, 158, 110, .16) 0%, rgba(255, 158, 110, 0) 34%), var(--surface);
}
.hist-period.section--dark {
  background: radial-gradient(circle at 0% 100%, rgba(255, 158, 110, .2) 0%, rgba(255, 158, 110, 0) 34%), var(--dawn-deep);
}

.hist-period .period { padding-block: 0; border-top: 0; gap: 32px clamp(40px, 6vw, 84px); grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
.hist-period .period__head { top: calc(var(--header-h) + 28px); }

/* Крупный год периода: индиго → терракот на светлом, персик → золото на тёмном */
.hist-period .period__years {
  font-size: clamp(40px, 1.2vw + 36px, 64px); letter-spacing: -.035em; line-height: 1;
  background: linear-gradient(110deg, var(--indigo) 0%, var(--plum) 45%, var(--accent-ink) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em; text-wrap: balance; display: inline-block; max-width: 100%;
}
.hist-period.section--dark .period__years { background-image: linear-gradient(110deg, var(--peach) 0%, var(--accent-hover) 55%, var(--gold) 100%); }
.hist-period .period__title { margin-top: 12px; }
.hist-period.section--dark .period__title { color: var(--white); }

/* Архивное фото: сепия, скругление, тонкая зелёная полоса «исторической памяти» сверху */
.period__pic { position: relative; margin-top: 26px; border-radius: var(--r-l); overflow: hidden; box-shadow: 0 24px 60px rgba(36, 26, 68, .22); isolation: isolate; }
.period__pic::before { content: ''; position: absolute; z-index: 2; inset: 0 0 auto; height: 3px; background: var(--b-memory); box-shadow: 0 0 8px 0 rgba(111, 211, 79, .55); }
.period__pic::after { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(36, 26, 68, 0) 55%, rgba(74, 42, 74, .38) 100%); pointer-events: none; }
.hist-period .period__img { display: block; margin-top: 0; border-radius: 0; filter: sepia(.32) saturate(.9) contrast(1.02); transition: transform .8s ease, filter .6s ease; }
.period__pic:hover .period__img { transform: scale(1.04); filter: sepia(.18) saturate(1); }
.hist-period.section--dark .period__pic { box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 50px rgba(226, 118, 79, .16); }

/* Линия времени с тёплыми светящимися точками */
.hist-period .events::before { left: 7px; width: 2px; top: 12px; bottom: 12px; border-radius: 2px; background: linear-gradient(180deg, var(--accent) 0%, rgba(226, 118, 79, .4) 35%, rgba(26, 21, 38, .1) 100%); }
.hist-period.section--dark .events::before { background: linear-gradient(180deg, var(--peach-2) 0%, rgba(255, 185, 138, .4) 35%, rgba(255, 255, 255, .1) 100%); }
.hist-period .event { padding: 0 0 clamp(30px, 3.4vw, 44px) 52px; }
.hist-period .event:last-child { padding-bottom: 0; }
.hist-period .event::before {
  left: 0; top: 7px; width: 16px; height: 16px; border: 0;
  background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--peach-2) 55%, var(--accent) 100%);
  box-shadow: 0 0 0 5px rgba(226, 118, 79, .16), 0 0 18px 3px rgba(255, 158, 110, .65);
  transition: transform .25s ease, box-shadow .25s ease;
}
.hist-period .event:hover::before { transform: scale(1.18); box-shadow: 0 0 0 7px rgba(226, 118, 79, .2), 0 0 26px 6px rgba(255, 158, 110, .85); }
.hist-period.section--dark .event::before { box-shadow: 0 0 0 5px rgba(255, 185, 138, .16), 0 0 20px 4px rgba(255, 158, 110, .7); }

.hist-period .event__year { font-size: clamp(20px, .5vw + 18px, 25px); letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.hist-period.section--dark .event__year { color: var(--peach); }
.hist-period .event__text { margin-top: 8px; max-width: 68ch; font-size: 16.5px; line-height: 1.7; }
.hist-period.section--dark .event__text { color: var(--lilac); }
.hist-period .event__img { display: block; margin-top: 18px; border-radius: var(--r-l); filter: sepia(.3) saturate(.9); box-shadow: 0 20px 50px rgba(36, 26, 68, .2); }
.hist-period.section--dark .event__img { box-shadow: 0 20px 50px rgba(0, 0, 0, .45), 0 0 40px rgba(226, 118, 79, .14); }

/* Итог — в тёплую тёмную карточку */
.hist-quote {
  position: relative; overflow: hidden; isolation: isolate; margin: clamp(48px, 6vw, 88px) 0 0; padding: clamp(28px, 4.6vw, 64px);
  border-radius: 32px; background: var(--dawn-deep); color: var(--cream); box-shadow: 0 30px 80px rgba(36, 26, 68, .3);
}
.hist-quote::before { content: ''; position: absolute; z-index: -1; width: 640px; height: 640px; right: -200px; bottom: -340px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 158, 110, .45), rgba(255, 158, 110, 0) 66%); }
.hist-quote::after { content: ''; position: absolute; z-index: -1; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--b-memory), var(--gold) 55%, var(--accent)); box-shadow: 0 0 24px 2px rgba(246, 198, 106, .5); }
.hist-quote .big-quote { max-width: 30em; font-size: clamp(20px, 1.1vw + 16px, 32px); line-height: 1.35; letter-spacing: -.01em; text-wrap: pretty; }
.hist-quote .big-quote::before, .hist-quote .big-quote::after { color: var(--gold); }

@media (max-width: 1023px) {
  .hist-period .period { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hist-period .period__head { position: static; }
  .period__pic { max-width: 560px; }
}
@media (max-width: 599px) {
  .hist-period .event { padding-left: 38px; }
  .hist-period .event__text { font-size: 15.5px; }
  .hist-period .event__img { border-radius: var(--r-m); }
  .hist-quote { border-radius: var(--r-l); }
}

/* ================= Контакты ================= */

.contacts { background: radial-gradient(circle at 0% 0%, rgba(255, 158, 110, .14) 0%, rgba(255, 158, 110, 0) 32%), var(--surface); overflow: clip; }
.contacts .contact-grid { gap: 40px clamp(40px, 6vw, 80px); }
.contact-col__title { font-size: clamp(22px, .8vw + 18px, 28px); letter-spacing: -.015em; }

/* Плитки способов связи: белые карточки с рамкой и тёплым свечением при наведении */
.contacts .contact-list { gap: 14px; }
.contacts .contact-list a, .contacts .contact-list div {
  position: relative; padding: 18px 22px; border-radius: 22px; border: 1px solid var(--line-light); box-shadow: var(--shadow-card);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.contacts .contact-list a:hover { transform: translateY(-3px); border-color: rgba(226, 118, 79, .55); box-shadow: 0 16px 40px rgba(226, 118, 79, .22); }
.contacts .contact-list a:focus-visible { outline-offset: 2px; }
.contacts .contact-list .icon {
  width: 52px; height: 52px; padding: 14px; border-radius: 50%; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-ink)); box-shadow: 0 8px 22px rgba(226, 118, 79, .38);
}
.contacts .contact-list small { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contacts .contact-list b { margin-top: 2px; font-size: clamp(17px, .6vw + 14px, 20px); overflow-wrap: anywhere; }
.contacts .contact-list a { padding-right: 52px; }
.contacts .contact-list a::after {
  content: ''; position: absolute; right: 22px; top: 50%; width: 18px; height: 18px; margin-top: -9px; opacity: .45; transition: transform .2s ease, opacity .2s ease;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8481F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.contacts .contact-list a:hover::after { opacity: 1; transform: translateX(4px); }
.contact-note { margin-top: 18px; padding-left: 4px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.contact-note a { color: var(--accent-ink); font-weight: 800; text-underline-offset: 3px; }
.contact-note a:hover { color: var(--ink); }

/* Панель с формой: белая карточка с тёплым свечением, цветная полоса сверху */
.panel--glow { position: relative; overflow: hidden; padding: clamp(24px, 3.4vw, 44px); border: 1px solid var(--line-light); box-shadow: var(--shadow-lift); isolation: isolate; }
.panel--glow::before { content: ''; position: absolute; z-index: 1; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--accent), var(--peach-2) 50%, var(--gold)); box-shadow: 0 0 22px rgba(255, 158, 110, .55); }
.panel--glow::after { content: ''; position: absolute; z-index: -1; width: 420px; height: 420px; right: -170px; top: -210px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 158, 110, .26), rgba(255, 158, 110, 0) 68%); pointer-events: none; }
.panel--glow .panel__title { font-size: clamp(24px, 1vw + 19px, 32px); letter-spacing: -.02em; }

/* Реквизиты: тёмная карточка-рассвет на белом */
.requisites-sec { overflow: clip; }
.req-card {
  position: relative; overflow: clip; isolation: isolate; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 5vw, 72px); align-items: start;
  padding: clamp(28px, 4.4vw, 60px); border-radius: 32px; background: var(--dawn-deep); color: var(--cream); box-shadow: 0 30px 80px rgba(36, 26, 68, .28);
}
.req-card::before { content: ''; position: absolute; z-index: -1; width: 600px; height: 600px; left: -220px; bottom: -330px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 158, 110, .34), rgba(255, 158, 110, 0) 66%); }
.req-card__head { display: grid; gap: 14px; justify-items: start; position: sticky; top: calc(var(--header-h) + 28px); }
.req-card .eyebrow { color: var(--peach-2); }
.req-card .requisites { border-top-color: var(--line-dark); }
@media (max-width: 1279px) { .req-card .requisites { grid-template-columns: minmax(0, 160px) minmax(0, 1fr); } }
/* Телефон: подпись над значением — в две колонки полное наименование занимало 7 строк по слову (проверка 25.11.2026). */
@media (max-width: 599px) { .req-card .requisites { grid-template-columns: minmax(0, 1fr); } }
.req-card .requisites dt, .req-card .requisites dd { border-bottom-color: var(--line-dark); }
.req-card .requisites dt { color: var(--lilac); }
.req-card .requisites dd { color: var(--white); overflow-wrap: anywhere; }
@media (max-width: 1023px) { .req-card { grid-template-columns: minmax(0, 1fr); } .req-card__head { position: static; } }
@media (max-width: 599px) {
  .req-card { border-radius: var(--r-l); }
  .contacts .contact-list a, .contacts .contact-list div { padding: 14px 16px; gap: 14px; }
  .contacts .contact-list a { padding-right: 44px; }
  .contacts .contact-list a::after { right: 16px; }
  .contacts .contact-list .icon { width: 46px; height: 46px; padding: 12px; }
}

/* Генеральные партнёры форума — на светлом блоке: тёмные карточки под белые логотипы */
.section--light .gp-logos li, .section--white .gp-logos li { background: var(--dawn-deep); border-color: transparent; box-shadow: 0 16px 40px rgba(36, 26, 68, .22); }
.gp-logos { margin-bottom: 8px; }
.section--light .group-title, .section--white .group-title { color: var(--ink); }

/* Сенсорный экран: подъём и увеличение при «наведении» не залипают после касания. Кнопки не трогаем. */
@media (hover: none) {
  .link-arrow:hover .icon,
  a.tile:hover,
  a.tile:hover .tile__img,
  .news-card:hover,
  .member:hover,
  .plogo:hover,
  .gallery a:hover img,
  .article__back .link-arrow:hover .icon,
  .news-card:hover .news-card__img,
  .news-card:hover .news-card__more .icon,
  .prose .wp-block-button__link:hover,
  .prose .wp-block-gallery figure:hover img,
  .op-dir:hover,
  .op-projects .tile--culture:hover,
  .op-member:hover,
  .page-forum .f-shot:hover img,
  .page-forum .benefit:hover,
  .page-forum .person:hover,
  .pr-why .fact:hover,
  .pr-events .card:hover,
  .pr-photo .gallery a:hover,
  .dcard:hover,
  .pcard:hover,
  .tcard:hover,
  .tcard:hover .tcard__img,
  .period__pic:hover .period__img,
  .contacts .contact-list a:hover,
  .eco-chip:hover,
  .branch:hover,
  .shot:hover img,
  .book:hover,
  .comm:hover { transform: none; }
}
