/* Oi-Lab: единственный файл стилей темы. */

/* ---------- Шрифт Montserrat, самохостинг ---------- */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/montserrat-cyrillic-ext-400-normal.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/montserrat-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/montserrat-latin-400-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: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/montserrat-cyrillic-ext-600-normal.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/montserrat-cyrillic-600-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/montserrat-latin-600-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: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/montserrat-cyrillic-ext-700-normal.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/montserrat-cyrillic-700-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/montserrat-latin-700-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: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/montserrat-cyrillic-ext-800-normal.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/montserrat-cyrillic-800-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/montserrat-latin-800-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 {
  --navy: #003080;
  --navy-deep: #00225e;
  --navy-light: #0b3c9a;
  --orange: #f87000;
  --orange-hover: #ff8a2a;
  --orange-text: #a84800;
  --orange-soft: #fff3e8;
  --ink: #14213d;
  --muted: #5b6478;
  --line: #e6e9f0;
  --paper: #f6f7fa;
  --white: #fff;
  --r: 12px;
  --r-card: 16px;
  --r-photo: 18px;
  --wrap: 1240px;
  --gutter: 32px;
  --header-h: 66px;
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 12px 32px rgba(0, 34, 94, 0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-light); }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; color: var(--navy); }
h1 { font-size: clamp(32px, 4vw, 44px); }
h2 { font-size: clamp(26px, 3vw, 34px); }
h3 { font-size: 20px; }
h4 { font-size: 16px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { 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: -60px; z-index: 100; background: var(--orange); color: var(--navy-deep); padding: 10px 16px; border-radius: var(--r); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section__head { max-width: 62ch; margin-bottom: 32px; }
.section__head p { color: var(--muted); font-size: 17px; margin: 0; }
.icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.muted { color: var(--muted); }
.text-orange { color: var(--orange-text); }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: var(--r); font-weight: 700; font-size: 14px; line-height: 1.2; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.12s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--navy-deep); }
.btn-primary:hover { background: var(--orange-hover); color: var(--navy-deep); }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.55); background: transparent; }
.btn-ghost:hover { color: var(--white); border-color: var(--white); }
.btn-ghost.on-light { color: var(--navy); border-color: var(--navy); }
.btn-ghost.on-light:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

/* ---------- Шапка ---------- */
.site-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0); z-index: 50; background: var(--navy-deep); color: var(--white); height: var(--header-h); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 100%; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 48px; width: auto; background: var(--white); border-radius: 10px; padding: 4px 10px; }
.site-nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.site-nav__list { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.site-nav__list a { color: var(--white); text-decoration: none; font-weight: 500; font-size: 14px; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color 0.2s; white-space: nowrap; }
.site-nav__list a:hover { border-color: var(--orange); color: var(--white); }
.site-nav__lang.lang { display: none; }
.site-header__right { display: flex; align-items: center; gap: 18px; flex: none; }
.phone { display: inline-flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; }
.phone .icon { width: 20px; height: 20px; }
.phone__text b { display: block; font-size: 14px; font-weight: 700; white-space: nowrap; }
.phone__text small { display: block; font-size: 10px; color: rgba(255, 255, 255, 0.65); letter-spacing: 0.02em; }
.lang { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.lang a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.lang a[aria-current="true"] { color: var(--white); }
.lang a:hover { color: var(--white); }
.btn--cabinet { display: none; padding: 9px 10px; }
.btn--cabinet span { display: none; }
.btn--cabinet .icon { width: 20px; height: 20px; }
.hero__cabinet { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--white); font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.35); padding-bottom: 4px; transition: border-color 0.2s, color 0.2s; }
.hero__cabinet .icon { width: 20px; height: 20px; flex: none; }
.hero__cabinet .icon:first-child { color: var(--orange); }
.hero__cabinet .icon:last-child { width: 16px; height: 16px; transition: transform 0.2s; }
.hero__cabinet:hover { color: var(--white); border-color: var(--orange); }
.hero__cabinet:hover .icon:last-child { transform: translateX(3px); }
.site-nav__cabinet { display: none; }
.site-nav__cabinet a { display: inline-flex; align-items: center; gap: 10px; color: var(--orange); }
.site-nav__cabinet .icon { width: 22px; height: 22px; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--white); border-radius: var(--r); cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 1359.98px) {
  .phone__text small { display: none; }
}
@media (max-width: 1279.98px) {
  .site-nav { position: fixed; inset: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 0px)) 0 0 0; display: block; background: var(--navy-deep); padding: 24px var(--gutter) 40px; transform: translateX(100%); transition: transform 0.3s var(--ease); overflow-y: auto; }
  body.nav-open .site-nav { transform: none; }
  body.nav-open { overflow: hidden; }
  @media (prefers-reduced-motion: reduce) { .site-nav { transition: none; } }
  .site-nav__list { flex-direction: column; gap: 4px; }
  .site-nav__list a { display: block; font-size: 22px; font-weight: 700; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .site-nav__lang.lang { display: inline-flex; margin-top: 24px; font-size: 16px; }
  .site-nav__cabinet { display: block; margin-top: 8px; }
  .btn--cabinet { display: inline-flex; }
  .site-nav__cabinet a { border-bottom: 0; }
  .lang--desktop { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 639.98px) {
  :root { --gutter: 16px; }
  .brand img { height: 42px; padding: 3px 8px; }
  .phone__text { display: none; }
  .phone .icon { width: 24px; height: 24px; }
  .btn--apply { padding: 10px 14px; font-size: 13px; }
  .hero__cabinet-q { display: none; }
  .site-header__right { gap: 10px; }
}

/* ---------- Подвал ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.8); padding: 48px 0 32px; margin-top: 48px; }
.site-footer__in { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 32px; align-items: start; }
.site-footer__brand p { margin: 12px 0 0; font-size: 14px; max-width: 32ch; }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__nav a { color: var(--white); text-decoration: none; font-size: 14px; font-weight: 500; }
.site-footer__nav a:hover { color: var(--orange); }
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255, 255, 255, 0.08); color: var(--white); transition: background 0.2s, color 0.2s; }
.socials a:hover { background: var(--orange); color: var(--navy-deep); }
.socials .icon { width: 22px; height: 22px; }
.site-footer__copy { grid-column: 1 / -1; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 13px; color: rgba(255, 255, 255, 0.65); }
@media (max-width: 767.98px) {
  .site-footer__in { grid-template-columns: 1fr; }
}

/* ---------- Появление при прокрутке ---------- */
/* Прячем только когда есть JS (класс js ставит инлайн-скрипт в <head>): без скрипта всё видно сразу. */
html.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Первый экран ---------- */
.hero { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-light) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.2px, transparent 1.3px); background-size: 22px 22px; opacity: 0.55; pointer-events: none; }
.hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(248, 112, 0, 0.35), rgba(248, 112, 0, 0) 65%); pointer-events: none; }
.hero__top { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) 520px; gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 32px; }
.hero__title { color: var(--white); font-size: clamp(32px, 3.2vw, 44px); line-height: 1.06; letter-spacing: -0.025em; margin: 0 0 16px; max-width: 19ch; }
.hero__title em { font-style: normal; color: var(--orange); }
.hero__lead { font-size: 17px; max-width: 46ch; margin: 0 0 24px; color: rgba(255, 255, 255, 0.86); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.collage { position: relative; width: 100%; max-width: 520px; aspect-ratio: 520 / 380; justify-self: end; }
.collage > * { position: absolute; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage__rect { right: 0; top: 3%; width: 63%; aspect-ratio: 330 / 240; border-radius: var(--r-photo); overflow: hidden; transform: rotate(-3deg); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35); }
.collage__circle { left: 8%; bottom: 0; width: 40%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 8px var(--orange), 0 20px 40px rgba(0, 0, 0, 0.3); }
.collage__dot { left: 0; top: 8%; width: 21%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 5px var(--white); }
.collage__ring { left: -2%; top: 5%; width: 25%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, 0.35); }
.collage__placeholder { display: grid; place-items: center; background: var(--navy-light); font-weight: 800; font-size: 48px; color: var(--white); }
.collage__sticker { background: var(--white); color: var(--navy); padding: 10px 14px; border-radius: var(--r); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); line-height: 1.1; }
.collage__sticker b { display: block; font-size: 18px; font-weight: 800; }
.collage__sticker small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; margin-top: 2px; }
.collage__sticker--1 { right: -2%; top: 60%; transform: rotate(2deg); }
.collage__sticker--2 { left: 48%; bottom: 10%; background: var(--orange); color: var(--navy-deep); transform: rotate(-4deg); }
.collage__sticker--2 small { color: rgba(0, 34, 94, 0.8); }
.facts { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; align-items: baseline; list-style: none; margin: 0; padding: 18px 0 28px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.facts b { font-size: 28px; font-weight: 800; color: var(--orange); letter-spacing: -0.02em; margin-right: 8px; }
.facts span { color: rgba(255, 255, 255, 0.8); font-size: 13px; }
@media (max-width: 899.98px) {
  .hero__top { grid-template-columns: 1fr; padding-top: 32px; }
  .hero__title { max-width: none; }
  .collage { justify-self: center; margin-top: 8px; }
}
@media (max-width: 639.98px) {
  .facts { gap: 12px 16px; justify-content: flex-start; }
  .facts li { flex: 1 1 45%; }
  .facts b { display: block; margin: 0; font-size: 24px; }
  .collage__sticker { padding: 8px 10px; }
  .collage__sticker b { font-size: 15px; }
}

/* ---------- О проекте ---------- */
.about__in { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; }
.prose { max-width: 62ch; }
.prose p { font-size: 16px; }
.about__curator { color: var(--muted); font-size: 14px; border-left: 3px solid var(--orange); padding-left: 12px; margin-top: 20px; }
.about__photo img { border-radius: var(--r-card); width: 100%; }
.partner { display: flex; gap: 14px; align-items: center; margin-top: 20px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-card); }
.partner__logo { width: 64px; height: auto; flex: none; }
.partner small { display: block; color: var(--muted); font-size: 12px; }
.partner b, .partner a { font-weight: 700; font-size: 14px; }
@media (max-width: 767.98px) {
  .about__in { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Для кого и формат ---------- */
.who { background: var(--paper); }
.who__in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.who__lead { color: var(--muted); max-width: 50ch; font-size: 17px; }
.who__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.who__card { padding: 16px; border: 1px solid var(--line); background: var(--white); border-radius: 14px; font-weight: 700; }
.who__card span { display: block; color: var(--muted); font-weight: 400; font-size: 13px; margin-top: 6px; }
.format { background: var(--navy); color: var(--white); border-radius: var(--r-photo); padding: 24px; transform: rotate(1deg); margin-top: 12px; box-shadow: var(--shadow); }
.format__title { color: var(--white); font-size: 18px; margin-bottom: 12px; }
.format__rows { margin: 0; }
.format__row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 14px; }
.format__row dt { color: rgba(255, 255, 255, 0.8); }
.format__row dd { margin: 0; font-weight: 700; text-align: right; }
@media (max-width: 767.98px) {
  .who__in { grid-template-columns: 1fr; gap: 28px; }
  .who__pair { grid-template-columns: 1fr; }
  .format { transform: none; }
}

/* ---------- Как стать слушателем ---------- */
.steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { padding: 24px 20px 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); }
.step__num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: var(--navy-deep); font-weight: 800; margin-bottom: 14px; }
.step__title { font-size: 17px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.how__cta { margin: 0; }
@media (max-width: 991.98px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559.98px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Чипы ---------- */
.chips { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 500; }
.chip b { font-weight: 800; }
.chip--navy { background: var(--navy); color: var(--white); }
.chip--orange { background: var(--orange-soft); color: var(--orange-text); font-weight: 700; }
.chip--grey { background: #eef0f4; color: var(--muted); }

/* ---------- Программа ---------- */
.disc-list { border-top: 1px solid var(--line); }
.disc { border-bottom: 1px solid var(--line); }
.disc__summary { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 24px; align-items: center; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; }
.disc__summary::-webkit-details-marker { display: none; }
.disc__summary:hover .disc__title { color: var(--navy-light); }
.disc__num { font-weight: 800; color: var(--orange-text); font-size: 14px; }
.disc__title { font-weight: 700; font-size: 17px; color: var(--navy); transition: color 0.2s; }
.disc__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.disc__hours { font-weight: 700; color: var(--ink); }
.disc__caret { width: 22px; height: 22px; color: var(--navy); transition: transform 0.25s var(--ease); }
.disc[open] .disc__caret { transform: rotate(180deg); }
.disc__body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 4px 0 24px 60px; animation: disc-open 0.3s var(--ease); }
.disc__body h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 8px; }
.disc__body ul { margin: 0; padding-left: 18px; }
.disc__body li { margin-bottom: 4px; font-size: 15px; }
.disc__teacher-full { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--muted); }
@keyframes disc-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .disc__body { animation: none; } .disc__caret { transition: none; } }
@media (max-width: 767.98px) {
  .disc__summary { grid-template-columns: 36px minmax(0, 1fr) 24px; }
  .disc__meta { grid-column: 2; grid-row: 2; flex-direction: row; gap: 12px; align-items: center; white-space: normal; }
  .disc__title { font-size: 16px; }
  .disc__body { grid-template-columns: 1fr; padding-left: 0; gap: 16px; }
}

/* ---------- Преподаватели ---------- */
.teachers__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.teacher { padding: 24px 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.avatar { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px var(--orange); background: var(--navy); display: grid; place-items: center; margin-bottom: 8px; flex: none; }
.avatar__img { width: 100%; height: 100%; object-fit: cover; }
.avatar__fallback { color: var(--white); font-weight: 800; font-size: 32px; letter-spacing: 0.02em; }
.teacher__name { font-size: 17px; margin: 0; }
.teacher__position { margin: 0; color: var(--muted); font-size: 13px; }
.teacher__disciplines { margin: 0; font-size: 13px; color: var(--ink); }
.teacher .chip { margin-top: auto; }
@media (max-width: 991.98px) { .teachers__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479.98px) { .teachers__grid { grid-template-columns: 1fr; } }

/* ---------- Проекты слушателей ---------- */
.projects { background: var(--paper); }
.projects__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; }
.project__cover img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project__body { padding: 18px 20px 20px; }
.project__title { font-size: 17px; margin-bottom: 6px; }
.project__title a { text-decoration: none; }
.project__meta { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.project__text { font-size: 14px; color: var(--ink); }
.project__text p { margin: 0; }
@media (max-width: 899.98px) { .projects__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559.98px) { .projects__grid { grid-template-columns: 1fr; } }

/* ---------- Синяя полоса: Talks и подкаст ---------- */
.band { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(115deg, var(--navy-deep), var(--navy) 60%, var(--navy-light)); }
.band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.2px, transparent 1.3px); background-size: 22px 22px; opacity: 0.5; pointer-events: none; }
.band__in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.band--single .band__in { grid-template-columns: 1fr; max-width: 820px; }
.band__title { color: var(--white); font-size: clamp(24px, 2.6vw, 30px); }
.band__text { color: rgba(255, 255, 255, 0.84); max-width: 44ch; font-size: 16px; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border: 0; border-radius: 50%; background: var(--orange); color: var(--navy-deep); display: grid; place-items: center; cursor: pointer; transition: transform 0.2s var(--ease), background 0.2s; }
.yt__play .icon { width: 32px; height: 32px; margin-left: 3px; }
.yt__play:hover { transform: scale(1.06); background: var(--orange-hover); }
.yt-link { color: var(--white); font-weight: 700; }
@media (max-width: 899.98px) { .band__in { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Отзывы ---------- */
.reviews__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--paper); border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.review__text { margin: 0; font-size: 16px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review__text::before { content: "\201C"; color: var(--orange); font-weight: 800; margin-right: 2px; }
.review__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review__author b { display: block; font-size: 14px; }
.review__author span { display: block; font-size: 13px; color: var(--muted); }
.review__photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.review__photo--fallback { display: grid; place-items: center; background: var(--navy); color: var(--white); font-weight: 800; font-size: 15px; }
@media (max-width: 767.98px) {
  .reviews__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); }
  .review { flex: 0 0 82%; scroll-snap-align: start; }
}

/* ---------- Галерея ---------- */
.gallery__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 12px; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.gallery__grid--8 .gallery__item--1 { grid-row: span 2; grid-column: span 2; }
.gallery__grid--8 .gallery__item--6 { grid-column: span 2; }
@media (max-width: 767.98px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 8px; }
  .gallery__grid--8 .gallery__item--1 { grid-row: auto; grid-column: span 2; }
  .gallery__grid--8 .gallery__item--6 { grid-column: auto; }
}

/* ---------- Новости и СМИ ---------- */
.news__in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 40px; align-items: start; }
.news__in--single { grid-template-columns: 1fr; }
.news__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news__list--archive { grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
.news-card__link { display: block; text-decoration: none; color: inherit; }
.news-card__img { aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden; background: var(--paper); margin-bottom: 12px; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.news-card__link:hover .news-card__img img { transform: scale(1.03); }
.news-card__img--empty { display: grid; place-items: center; background: var(--navy); color: var(--white); font-weight: 800; font-size: 28px; }
.news-card__meta { margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.news-card__source { color: var(--orange-text); font-weight: 700; }
.news-card__title { font-size: 17px; margin: 0; line-height: 1.3; }
.news-card__link:hover .news-card__title { color: var(--navy-light); }
.press { background: var(--paper); border-radius: var(--r-card); padding: 22px; }
.press__title { font-size: 16px; margin-bottom: 12px; }
.press__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.press__item b { display: block; font-size: 12px; color: var(--orange-text); text-transform: uppercase; letter-spacing: 0.03em; }
.press__item a { font-size: 14px; font-weight: 600; text-decoration: none; }
.press__item a:hover { text-decoration: underline; }
.news__more { margin: 28px 0 0; }
.archive .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.archive .page-numbers { display: inline-flex; align-items: center; gap: 6px; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14px; }
.archive .page-numbers.current { background: var(--navy); color: var(--white); border-color: var(--navy); }
.archive .page-numbers.dots { border: 0; }
@media (max-width: 1099.98px) { .news__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 899.98px) { .news__in { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 559.98px) { .news__list, .news__list--archive { grid-template-columns: 1fr; } }

/* ---------- Страница новости ---------- */
.entry__back { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; font-size: 14px; margin-bottom: 20px; }
.entry__date { color: var(--muted); font-size: 14px; margin: -8px 0 20px; }
.entry__img { margin-bottom: 24px; }
.entry__img img { border-radius: var(--r-card); width: 100%; height: auto; }
.entry__content { font-size: 17px; }
.entry__content h2, .entry__content h3 { margin-top: 1.4em; }
.entry__content img { border-radius: var(--r-card); height: auto; }
.entry__content a { word-break: break-word; }

/* ---------- Контакты ---------- */
.contacts { background: var(--paper); }
.contacts__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 0.6fr); gap: 40px; align-items: start; }
.contacts__list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.contacts__list li { display: flex; align-items: center; gap: 12px; font-size: 17px; }
.contacts__list .icon { width: 24px; height: 24px; color: var(--orange-text); }
.contacts__list a { font-weight: 700; text-decoration: none; }
.contacts__list a:hover { text-decoration: underline; }
.socials--light a { background: var(--white); color: var(--navy); border: 1px solid var(--line); }
.socials--light a:hover { background: var(--orange); border-color: var(--orange); color: var(--navy-deep); }
.contacts__partner { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; }
.contacts__partner-logo { width: 96px; height: auto; margin-bottom: 12px; }
.contacts__partner small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.contacts__partner b, .contacts__partner a { font-weight: 700; font-size: 15px; }
@media (max-width: 767.98px) { .contacts__in { grid-template-columns: 1fr; } }

/* ---------- Кабинет: шапка и подвал ---------- */
.brand__label { margin-left: 12px; font-weight: 600; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.cab-header .site-nav__list a[aria-current="page"] { color: var(--orange); font-weight: 700; border-color: var(--orange); }
.cab-user { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.9); font-weight: 600; font-size: 14px; }
.cab-user i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--orange); color: var(--navy-deep); font-style: normal; font-weight: 800; font-size: 12px; flex: none; }
.cab-main { background: var(--paper); min-height: 60vh; }
.cab-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.75); font-size: 13px; padding: 20px 0; }
.cab-footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.cab-footer a { color: var(--white); text-decoration: none; font-weight: 600; }
.cab-footer a:hover { color: var(--orange); }
@media (max-width: 767.98px) {
  .brand__label, .cab-user__name { display: none; }
}

/* ---------- Вход ---------- */
body.login-page .site-main { background: linear-gradient(115deg, var(--navy-deep), var(--navy) 60%, var(--navy-light)); }
.login { min-height: calc(100vh - 62px); display: grid; place-items: center; padding: 48px var(--gutter); }
.login__card { width: 100%; max-width: 420px; background: var(--white); border-radius: var(--r-card); padding: 32px 28px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); }
.login__logo { display: inline-block; margin-bottom: 16px; }
.login__logo img { height: 56px; width: auto; }
.login__title { font-size: 24px; margin-bottom: 16px; }
.login__error { background: #fdecec; color: #8a1c1c; border-radius: 10px; padding: 10px 12px; font-size: 14px; font-weight: 600; }
#oilab-login p { margin: 0 0 14px; }
#oilab-login label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
#oilab-login .input, #oilab-login input[type="text"], #oilab-login input[type="password"] { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r); font: inherit; font-size: 16px; color: var(--ink); background: var(--white); }
#oilab-login input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0, 48, 128, 0.15); }
#oilab-login .login-submit { margin: 20px 0 0; }
#oilab-login #wp-submit { width: 100%; padding: 13px 20px; border: 0; border-radius: var(--r); background: var(--orange); color: var(--navy-deep); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; transition: background 0.2s, transform 0.12s; }
#oilab-login #wp-submit:hover { background: var(--orange-hover); }
#oilab-login #wp-submit:active { transform: translateY(1px); }
.login__forgot { margin: 18px 0 0; font-size: 14px; }
.login__forgot a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.login__forgot a:hover { text-decoration: underline; }
.login__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.login__bottom > a { font-weight: 600; text-decoration: none; }
.lang--dark { color: var(--line); }
.lang--dark a { color: var(--muted); }
.lang--dark a[aria-current="true"] { color: var(--navy); }

/* ---------- Кабинет: страницы ---------- */
.cab-band { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(115deg, var(--navy-deep), var(--navy) 60%, var(--navy-light)); padding: 30px 0 74px; }
.cab-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.2px, transparent 1.3px); background-size: 22px 22px; opacity: 0.5; pointer-events: none; }
.cab-band::after { content: ""; position: absolute; right: -140px; top: -180px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(248, 112, 0, 0.32), rgba(248, 112, 0, 0) 65%); pointer-events: none; }
.cab-band__in { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.cab-band__title { color: var(--white); font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 6px; }
.cab-band__text { margin: 0; color: rgba(255, 255, 255, 0.84); }
.cab-track { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; width: min(380px, 100%); }
.cab-track__cell { height: 9px; border-radius: 3px; background: rgba(255, 255, 255, 0.22); }
.cab-track__cell--done { background: var(--white); }
.cab-track__cell--now { background: var(--orange); }
.cab-grid { position: relative; margin-top: -46px; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 20px; padding-bottom: 48px; }
.cab-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px 22px; }
.cab-card--wide { grid-column: 1 / -1; }
.cab-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.cab-card__head .cab-card__title { margin: 0; }
.cab-card__head a { font-size: 13px; font-weight: 600; text-decoration: none; }
.cab-card__title { font-size: 16px; margin-bottom: 12px; }
.cab-empty { color: var(--muted); margin: 0; font-size: 14px; }
.cab-next { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; border-left: 4px solid var(--orange); }
.cab-next--off { border-left-color: #c9d1e3; }
.cab-next__when { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; margin: 8px 0 4px; }
.cab-next__meta { margin: 0; color: var(--muted); font-size: 13px; }
.cab-next__none { margin: 8px 0 0; color: var(--muted); font-weight: 600; }
.cab-schedule { margin: 0; font-size: 14px; line-height: 1.7; }
.recs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rec__video { margin-bottom: 10px; }
.rec__video .yt { box-shadow: none; border-radius: 12px; }
.rec__video .yt__play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
.rec__video .yt__play .icon { width: 24px; height: 24px; }
.rec__title { font-size: 14px; margin: 0 0 6px; line-height: 1.3; }
.rec__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; font-size: 12px; color: var(--muted); }
.rec__teacher { display: inline-flex; align-items: center; gap: 8px; }
.rec__teacher .avatar__img, .rec__teacher .avatar__fallback { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.rec__teacher .avatar__fallback { display: grid; place-items: center; background: var(--navy); color: var(--white); font-size: 10px; font-weight: 800; }
.rec__text { margin: 6px 0 0; font-size: 13px; color: var(--ink); }
.files { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.file { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); }
.file__ext { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 46px; height: 46px; border-radius: 10px; background: var(--navy); color: var(--white); font-weight: 800; font-size: 9px; flex: none; }
.file__ext .icon { width: 18px; height: 18px; }
.file__ext--pdf { background: var(--orange); color: var(--navy-deep); }
.file__body { min-width: 0; display: grid; gap: 2px; }
.file__name { font-size: 13px; font-weight: 700; line-height: 1.3; text-decoration: none; word-break: break-word; }
.file__meta, .file__text { font-size: 12px; color: var(--muted); }
.hw { list-style: none; margin: 0; padding: 0; }
.hw__item { padding: 12px 0; border-top: 1px solid var(--line); }
.hw__item:first-child { border-top: 0; padding-top: 0; }
.hw__item--past .hw__title { color: var(--muted); }
.hw__title { font-size: 15px; margin: 0 0 6px; }
.hw__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 8px; font-size: 12px; color: var(--muted); }
.hw__excerpt { margin: 0; font-size: 13px; color: var(--ink); }
.hw__text { font-size: 15px; }
.hw__files { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hw__files a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none; }
.hw__files small { color: var(--muted); font-weight: 400; }
@media (max-width: 899.98px) {
  .cab-grid { grid-template-columns: 1fr; }
  .recs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 559.98px) {
  .recs { grid-template-columns: 1fr; }
  .cab-next { grid-template-columns: 1fr; }
}

/* ---------- Кабинет: списки ---------- */
.cab-page { padding-top: 28px; padding-bottom: 48px; }
.cab-page__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.cab-page__title { font-size: clamp(24px, 2.6vw, 30px); margin: 0; }
.cab-page__count { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-text); font-size: 14px; font-weight: 700; letter-spacing: 0; }
.cab-page__sub { font-size: 20px; margin: 28px 0 12px; color: var(--muted); }
.cab-filter select { padding: 10px 36px 10px 14px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%2314213d'%3E%3Cpath d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); appearance: none; max-width: 100%; }
.recs--page { grid-template-columns: repeat(3, 1fr); }
.cab-group + .cab-group { margin-top: 24px; }
.cab-group__title { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 10px; }
.files--page { grid-template-columns: 1fr 1fr; }
.hw--page .hw__item { padding: 18px 0; }
.hw--page .hw__title { font-size: 17px; }
.cab-card--muted { background: var(--paper); }
@media (max-width: 899.98px) { .recs--page { grid-template-columns: 1fr 1fr; } .files--page { grid-template-columns: 1fr; } }
@media (max-width: 559.98px) { .recs--page { grid-template-columns: 1fr; } }

/* ---------- Запасные страницы ---------- */
.entry__title { margin-bottom: 24px; }
.entry__content img { border-radius: var(--r-card); }
.section--notfound { text-align: left; }
.section--notfound p { color: var(--muted); max-width: 50ch; margin-bottom: 24px; }
