/*
Theme Name: Postypashki Theme
Author: Postypashki
Version: 1.0
*/

/* =========================================================
   ОГЛАВЛЕНИЕ

   01. Токены проекта
   02. База и общая раскладка
   03. Header / меню / мобильное меню
   04. Footer
   05. Общие секции, кнопки, ссылки, модалки
   06. Shortcodes Ultimate: tabs / spoilers / таблицы
   07. Страница «Курсы»: сетка карточек и модальные окна
   08. Страница «Интенсив ЕГЭ»: hero и CTA
   09. Страница «Интенсив ЕГЭ»: статистика, карточки, цены
   10. Страница «Интенсив ЕГЭ»: сравнение, этапы, программа
   11. Страница «Интенсив ЕГЭ»: преподаватели
   12. Страница «Интенсив ЕГЭ»: отзывы, FAQ, финальный CTA
   13. Адаптив: горизонтальный планшет
   14. Адаптив: вертикальный планшет
   15. Адаптив: мобильная версия
========================================================= */


/* =========================================================
   01. ТОКЕНЫ ПРОЕКТА
   Централизованные шрифты, цвета, радиусы, тени, контейнеры,
   отступы и адаптивная типографика.
========================================================= */

:root {
  /* ---------- шрифты ---------- */
  --font-main: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ui: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-accent: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-fallback: Arial, Helvetica, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

 /* ---------- основные цвета ---------- */
--color-bg: #ffffff;
--color-surface: rgba(255, 255, 255, 0.96);
--color-surface-strong: #ffffff;
--color-surface-soft: #eeeeee;

--color-text: #111111;
--color-text-strong: #000000;
--color-text-muted: #8f8f8f;
--color-text-light: #a6a6a6;

--color-primary: #bd3f3b;
--color-primary-dark: #9f2f2b;
--color-primary-soft: #d85a55;
--color-primary-pale: #efeaea;

--color-accent: #bd3f3b;
--color-accent-soft: #d85a55;

--color-line: rgba(0, 0, 0, 0.12);
--color-line-soft: rgba(0, 0, 0, 0.14);

/* ---------- градиенты ---------- */
--gradient-primary: linear-gradient(180deg, #c94642, #9f2f2b);
--gradient-surface-soft: linear-gradient(180deg, #f2f2f2, #e7e7e7);
--gradient-primary-soft: linear-gradient(180deg, #d85a55, #bd3f3b);
--gradient-burger: linear-gradient(180deg, #f2f2f2, #e2e2e2);
--gradient-burger-open: linear-gradient(180deg, #f7e7e6, #eeeeee);
--gradient-card: linear-gradient(180deg, #ffffff, #f1f1f1);
--gradient-hill: linear-gradient(90deg, #eeeeee, #d9d9d9);

/* ---------- тени ---------- */
--shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.08);
--shadow-header: 0 12px 28px rgba(0, 0, 0, 0.10);
--shadow-primary: 0 10px 20px rgba(189, 63, 59, 0.24);
--shadow-primary-hover: 0 12px 24px rgba(189, 63, 59, 0.34);
--shadow-tabs: 0 20px 50px rgba(0, 0, 0, 0.14), 0 6px 18px rgba(0, 0, 0, 0.10);
--shadow-burger: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 6px 14px rgba(0, 0, 0, 0.10);
	
  /* ---------- радиусы ---------- */
  --radius-xs: 12px;
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-2xl: 26px;
  --radius-3xl: 28px;
  --radius-pill: 999px;

  /* ---------- blur ---------- */
  --blur-ui: blur(10px);

  /* ---------- контейнеры ---------- */
  --container-main: 1540px;
  --container-wide: 1520px;
  --container-course: 1180px;
  --tabs-max-width: 1064px;
  --table-max-width: 880px;
  --table-diploma-max-width: 520px;

  /* ---------- адаптивные отступы ---------- */
  --space-page-x: clamp(10px, 3vw, 54px);
  --space-section-y: clamp(26px, 3vw, 42px);
  --space-card-gap: clamp(1px, 1.2vw, 18px);
  --space-card-pad-x: clamp(18px, 2vw, 30px);
  --space-card-pad-y: clamp(18px, 2vw, 32px);
  --space-header-pad-y: clamp(1px, 1vw, 14px);
  --space-tabs-pane-x: clamp(16px, 2vw, 24px);
  --space-tabs-pane-y: clamp(16px, 2vw, 18px);
  --space-table-cell-y: clamp(8px, 1vw, 16px);
  --space-table-cell-x: clamp(8px, 1.5vw, 22px);

  /* ---------- адаптивная типографика ---------- */
  --fz-body: clamp(15px, 1.05vw, 18px);
  --fz-small: clamp(12px, 0.9vw, 15px);
  --fz-menu: clamp(14px, 0.95vw, 16px);
  --fz-card-title: clamp(24px, 2vw, 32px);
  --fz-section-title: clamp(40px, 5vw, 58px);
  --fz-table: clamp(11px, 1vw, 16px);
  --fz-spoiler: clamp(13px, 1vw, 16px);
}


/* =========================================================
   02. БАЗА И ОБЩАЯ РАСКЛАДКА
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: var(--fz-body);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

.section {
  max-width: var(--container-main);
  margin: 0 auto;
  padding: var(--space-section-y) var(--space-page-x);
}

.section-title {
  margin: 0 20px 60px;
  color: var(--color-text-strong);
  font-family: var(--font-heading);
  font-size: var(--fz-section-title);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.03em;
  display: none!important;
}

.titlehtml {
  margin:  margin: 0 clamp(5px, 1vw, 25px) clamp(5px, 1vw, 25px);
  color: var(--color-text-strong);
  font-family: var(--font-heading);
  font-size: var(--fz-section-title);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

/* =========================================================
   03. HEADER / МЕНЮ / МОБИЛЬНОЕ МЕНЮ
========================================================= */

.site-header {
  position: static;
  top: 16px;
  z-index: 50;
  padding: var(--space-header-pad-y) var(--space-page-x) 0;
}

.header-shell {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  min-height: clamp(64px, 5vw, 78px);
  padding: var(--space-header-pad-y) clamp(12px, 1.2vw, 18px);
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 18px);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-header);
  backdrop-filter: var(--blur-ui);
  -webkit-backdrop-filter: var(--blur-ui);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-strong);
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.15vw, 20px);
  font-weight: 900;
  line-height: 1;
}

.brand__dot,
.footer-dot {
  width: clamp(12px, 1vw, 14px);
  height: clamp(12px, 1vw, 14px);
  border-radius: 50%;
  background: var(--gradient-primary-soft);
  box-shadow: 0 4px 10px rgba(189, 63, 59, 0.17);
}

.brand__text {
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(4px, 0.7vw, 8px);
  margin-left: auto;
}

.main-nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

.main-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(40px, 3vw, 42px);
  padding: 0 clamp(12px, 1vw, 16px);
  border-radius: var(--radius-pill);
  color: var(--color-text-muted);
  font-size: var(--fz-menu);
  font-weight: 700;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.main-nav__link:hover {
  background: rgba(247, 237, 236, 0.9);
  color: #9f2f2b;
  transform: translateY(-1px);
}

.main-nav__link--active {
  background: var(--color-primary-pale);
  color: #bd3f3b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(180px, 13vw, 210px);
  height: clamp(44px, 3.4vw, 48px);
  padding: 0 clamp(14px, 1vw, 18px);
  margin-left: 6px;
  border-radius: var(--radius-md);
  color: #fff;
  font-size: clamp(14px, 0.95vw, 15px);
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-primary);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-primary-hover);
}

.header-burger {
  display: none;
  position: relative;
  flex-shrink: 0;
  width: clamp(48px, 3.8vw, 52px);
  height: clamp(48px, 3.8vw, 52px);
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--gradient-burger);
  box-shadow: var(--shadow-burger);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-burger:hover {
  transform: scale(1.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 10px 18px rgba(83, 112, 223, 0.16);
}

.header-burger span {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2.5px;
  border-radius: var(--radius-pill);
  background: #bd3f3b;
  transform: translateX(-50%);
  transition: transform 0.22s ease, opacity 0.22s ease, top 0.22s ease;
}

.header-burger span:nth-child(1) { top: 18px; }
.header-burger span:nth-child(2) { top: 25px; }
.header-burger span:nth-child(3) { top: 32px; }

.site-header.is-open .header-burger {
  background: var(--gradient-burger-open);
}

.site-header.is-open .header-burger span:nth-child(1) {
  top: 25px;
  transform: translateX(-50%) rotate(45deg);
}

.site-header.is-open .header-burger span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .header-burger span:nth-child(3) {
  top: 25px;
  transform: translateX(-50%) rotate(-45deg);
}

.main-nav__item.has-children {
  gap: 2px;
}

.main-nav__toggle {
  position: relative;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.main-nav__toggle:hover {
  background: rgba(247, 237, 236, 0.9);
}

.main-nav__toggle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid #bd3f3b;
  border-bottom: 2px solid #bd3f3b;
  transform: translate(-50%, -60%) rotate(45deg);
  transition: transform 0.2s ease;
}

.main-nav__item.has-children:hover .main-nav__toggle::before,
.main-nav__item.has-children:focus-within .main-nav__toggle::before,
.main-nav__item.has-children.is-open .main-nav__toggle::before {
  transform: translate(-50%, -35%) rotate(225deg);
}

.main-subnav {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 60;
  min-width: 220px;
  padding: 10px;
  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-header);
  backdrop-filter: var(--blur-ui);
  -webkit-backdrop-filter: var(--blur-ui);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.main-nav__item.has-children:hover .main-subnav,
.main-nav__item.has-children:focus-within .main-subnav,
.main-nav__item.has-children.is-open .main-subnav {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.main-subnav__link {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  color: var(--color-text-muted);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-subnav__link:hover {
  background: rgba(247, 237, 236, 0.9);
  color: #9f2f2b;
}

.mobile-menu {
  display: none;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 16px;
  color: var(--color-text-muted);
  font-size: 16px;
  font-weight: 700;
  background: transparent;
}

.mobile-nav__link--active {
  background: var(--color-primary-pale);
  color: #bd3f3b;
}

.mobile-menu__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-primary);
}


/* =========================================================
   04. FOOTER
========================================================= */

.site-footer {
padding: 0 var(--space-page-x) clamp(8px, 3vw, 40px);
}

.footer-shell {
  width: 100%;
  max-width: var(--container-wide);
  margin: 56px auto 0;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-header);
  backdrop-filter: var(--blur-ui);
  -webkit-backdrop-filter: var(--blur-ui);
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-desc {
  color: var(--color-text-light);
  font-size: clamp(14px, 0.95vw, 15px);
  line-height: 1.4;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-soft);
  transition: transform 0.2s ease, background 0.2s ease;
}

.social:hover {
  transform: translateY(-2px);
  background: #e3ebff;
}

.social svg {
  width: 20px;
  height: 20px;
  fill: var(--color-primary);
}


/* =========================================================
   05. ОБЩИЕ СЕКЦИИ, КНОПКИ, ССЫЛКИ, МОДАЛКИ
   Используются на нескольких страницах.
========================================================= */
/* ссылки */
.link-default,
.link-default:link,
.link-default:visited {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.link-default:hover,
.link-default:focus {
  color: var(--color-primary-dark);
  text-decoration: underline;
}


.course-page {
  max-width: var(--container-course);
  margin: 0 auto;
  padding: clamp(6px, 1vw, 7px) var(--space-page-x);
  font-family: var(--font-main);
  color: var(--color-text);
}

.course-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.course-page a {
  text-decoration: none;
}

.course-page__divider {
  position: relative;
  height: 0;
  margin: clamp(24px, 4vw, 40px) 0;
}

.course-page__divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  max-width: 100vw;
  border-top: 3px dashed rgba(189, 63, 59, 0.3);
  pointer-events: none;
}

.course-page__space-lg,
.abzaz {
  height: clamp(20px, 2.5vw, 40px);
}

.course-btn,
.course-btn:link,
.course-btn:visited {
  min-height: 54px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.course-btn:hover {
  transform: translateY(-1px);
}

.course-btn--primary {
  color: #fff;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-primary);
  border: 0;
}

.course-btn--primary:hover {
  box-shadow: var(--shadow-primary-hover);
}

.course-btn--ghost {
  color: var(--color-primary-dark);
  background: transparent;
  border: 2px solid rgba(77, 128, 255, 0.65);
}

.course-btn--ghost:hover {
  background: rgba(232, 238, 255, 0.72);
  border-color: var(--color-primary);
}

.cta-button,
.cta-button:link,
.cta-button:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: clamp(50px, 4vw, 58px);
  min-width: 200px;
  padding: 0 clamp(20px, 2vw, 28px) !important;
  border: 0 !important;
  border-radius: var(--radius-md) !important;
  background: var(--gradient-primary) !important;
  color: #fff !important;
  font-size: clamp(15px, 1.1vw, 18px) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: var(--shadow-primary);
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  position: relative;
  overflow: hidden;
}

.cta-button:hover,
.cta-button:focus {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary-hover);
}

.cta-button span {
  position: relative;
  z-index: 2;
}

.cta-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.38) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-18deg);
  animation: shine 2.2s ease;
}

.cta-button--vk {
  background: linear-gradient(135deg, #a84744, #b75853) !important;
  box-shadow: 0 10px 24px rgba(76, 117, 163, 0.3);
}

.custom-link,
.custom-link:link,
.custom-link:visited {
  color: var(--color-primary-dark) !important;
  font-weight: 800;
  text-decoration: none !important;
  border-bottom: 1px dashed rgba(47, 99, 243, 0.5);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.custom-link:hover,
.custom-link:focus {
  color: var(--color-primary) !important;
  border-color: var(--color-primary);
}

.course-chip {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text-strong);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(31, 40, 86, 0.08);
  backdrop-filter: var(--blur-ui);
  -webkit-backdrop-filter: var(--blur-ui);
}

.course-chip--dark {
  background: linear-gradient(180deg, #292626, #1b1b1b);
  color: #fff;
}

.course-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.course-modal.is-open {
  display: flex;
}

.course-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 40, 86, 0.34);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.course-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  max-height: calc(100vh - 28px);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 30px 70px rgba(35, 40, 75, 0.22);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-line-soft);
}

.course-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9ca2c4;
  font-size: 34px;
  line-height: 1;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.course-modal__close:hover {
  color: var(--color-primary-dark);
  background: rgba(247, 237, 236, 0.9);
}

.course-modal__content {
  padding: 34px 34px 26px;
  overflow-y: auto;
}

.course-modal__title {
  margin: 0 36px 18px 0;
  color: var(--color-text-strong);
  font-family: var(--font-heading);
  font-size: clamp(28px, 2.2vw, 46px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.course-modal__topmeta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.course-modal__lead {
  margin: 0 0 22px;
  color: var(--color-text-muted);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 600;
}

.course-modal__list p {
  margin: 0 0 12px;
  color: var(--color-text-strong);
  font-weight: 800;
}

.course-modal__list ul {
  margin: 0;
  padding-left: 20px;
  color: var(--color-text-muted);
}

.course-modal__list li + li {
  margin-top: 8px;
}

.course-modal__days {
  margin-top: 30px;
}

.course-modal__days h4 {
  margin: 0 0 14px;
  color: var(--color-text-strong);
  font-size: 20px;
  font-weight: 900;
}

.course-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.course-day {
  min-height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(77, 128, 255, 0.14);
  color: var(--color-primary-dark);
  font-size: 16px;
  font-weight: 800;
}

.course-day.is-active {
  background: var(--gradient-primary);
  color: #fff;
}

.course-modal__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 20px 34px;
  background: linear-gradient(180deg, rgba(238, 243, 255, 0.96), rgba(232, 238, 255, 0.96));
  border-top: 1px solid rgba(35, 40, 75, 0.06);
}

.course-modal__price {
  margin-right: auto;
  color: var(--color-text-strong);
  font-family: var(--font-heading);
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 900;
  line-height: 1;
}


/* =========================================================
   06. SHORTCODES ULTIMATE: TABS / SPOILERS / ТАБЛИЦЫ
========================================================= */

.su-tabs {
  max-width: var(--tabs-max-width);
  margin: 24px auto 0 !important;
  border-radius: var(--radius-3xl) !important;
  overflow: hidden !important;
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: var(--shadow-tabs);
  border: none !important;
  outline: none !important;
}

.su-tabs .su-tabs-nav {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  background: var(--gradient-primary) !important;
  border: 0 !important;
  border-radius: var(--radius-3xl) var(--radius-3xl) 0 0 !important;
  overflow: hidden !important;
}

.su-tabs .su-tabs-nav span {
  float: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 68px !important;
  padding: 0 28px !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  font-family: var(--font-ui) !important;
  font-size: clamp(15px, 1vw, 16px) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

.su-tabs .su-tabs-nav span:hover {
  background: rgba(255, 255, 255, 0.10) !important;
}

.su-tabs .su-tabs-nav span.su-tabs-current {
  background: #fff !important;
  color: var(--color-text-strong) !important;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0 !important;
}

.su-tabs .su-tabs-panes {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 0 var(--radius-3xl) var(--radius-3xl) !important;
  padding: var(--space-tabs-pane-y) var(--space-tabs-pane-x) !important;
  box-shadow: none !important;
}

.su-tabs .su-tabs-pane {
  background: transparent !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  color: #373737 !important;
  font-size: var(--fz-body) !important;
  line-height: 1.65 !important;
}

.su-tabs .su-tabs-pane p {
  margin: 0 0 18px !important;
}

.su-table,
.su-tabs .su-tabs-pane .su-table,
.su-tabs .su-tabs-pane table,
.su-table-inner {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.table-wrap {
  width: 100%;
  max-width: var(--table-max-width);
  margin: 0 auto;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-clean {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 0;
  background: transparent;
}

.table-clean th,
.table-clean td {
  padding: var(--space-table-cell-y) var(--space-table-cell-x);
  font-size: var(--fz-table);
  text-align: center;
  vertical-align: middle;
  border: none;
}

.table-clean th {
  background: var(--gradient-surface-soft);
  color: var(--color-text-strong);
  font-weight: 900;
  white-space: nowrap;
}

.table-clean td {
  background: #fff;
  color: var(--color-text-muted);
  line-height: 1.45;
  border-bottom: 1px solid var(--color-line);
}

.table-clean td:first-child,
.table-clean th:first-child {
  color: var(--color-text-strong);
  font-weight: 900;
  white-space: nowrap;
  border-left: 4px solid var(--color-surface-soft);
}

.table-clean th:last-child,
.table-clean td:last-child {
  border-right: 4px solid var(--color-surface-soft);
}

.table-clean tbody tr:last-child td {
  border-bottom: 4px solid var(--color-surface-soft);
}

.table-clean tbody tr:last-child td:first-child {
  border-bottom-left-radius: var(--radius-xl);
}

.table-clean tbody tr:last-child td:last-child {
  border-bottom-right-radius: var(--radius-xl);
}

.table-clean th:first-child {
  border-top-left-radius: var(--radius-xl);
}

.table-clean th:last-child {
  border-top-right-radius: var(--radius-xl);
}

.table-clean tr:hover td {
  background: rgba(232, 238, 255, 0.35);
}

.table-clean a {
  color: var(--color-primary);
  font-weight: 700;
}

.table-clean a:hover {
  text-decoration: underline;
}

.table-tasks th,
.table-tasks td,
.table-tasks td[colspan="2"] {
  text-align: center;
}

.diploma-layout {
  display: grid;
  grid-template-columns: minmax(380px, 520px) minmax(280px, 1fr);
  gap: 28px;
  align-items: start;
}

.diploma-layout .table-wrap {
  max-width: var(--table-diploma-max-width);
  margin: 0;
}

.diploma-note {
  padding-top: 6px;
  color: #373737;
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.6;
}

.diploma-note p {
  margin: 0;
}

.su-spoiler {
  margin: 0 0 16px !important;
  border: 0 !important;
  border-radius: var(--radius-lg) !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.su-spoiler .su-spoiler-title,
.su-spoiler-style-default > .su-spoiler-title {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  min-height: 62px !important;
  padding: 0 20px 0 48px !important;
  border: 0 !important;
  border-radius: var(--radius-lg) !important;
  background: var(--color-surface-soft) !important;
  color: var(--color-text-strong) !important;
  font-size: var(--fz-spoiler) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

.su-spoiler .su-spoiler-icon,
.su-spoiler .su-spoiler-title .su-spoiler-icon,
.su-spoiler .su-spoiler-title::after {
  display: none !important;
}

.su-spoiler .su-spoiler-title::before {
  content: "›";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-52%) rotate(90deg);
  transform-origin: center;
  color: var(--color-accent) !important;
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
}

.su-spoiler.su-spoiler-closed .su-spoiler-title::before {
  transform: translateY(-52%) rotate(0deg);
}

.su-spoiler .su-spoiler-content {
  margin-top: 10px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}



/* =========================================================
   07. СТРАНИЦА «КУРСЫ»: СЕТКА КАРТОЧЕК И МОДАЛЬНЫЕ ОКНА
========================================================= */

.courses-section {
  padding-top: 24px;
  padding-bottom: 40px;
}

.courses-section .section-title {
  margin: 0 0 26px;
  font-size: clamp(34px, 4vw, 56px);
}

.courses-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 28px;
  flex-wrap: wrap;
}

.courses-toolbar__group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.courses-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(189, 63, 59, 0.18);
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.courses-filter:hover {
  transform: translateY(-1px);
  background: rgba(247, 231, 230, 0.92);
  color: var(--color-primary-dark);
}

.courses-filter.is-active {
  background: var(--gradient-primary);
  border-color: #ffffff;
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  max-width: 100%;
  margin: 0 auto;
}

.courses-grid--two {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.course-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: var(--radius-2xl);
  border: 1px solid #ffffff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.course-card--gray {
  background: var(--gradient-card);
}

.course-card--red {
  box-shadow: var(--shadow-primary);
}

.course-card--clickable {
  cursor: pointer;
}

.course-card:hover,
.course-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-header);
}

.course-card--red:hover,
.course-card--red:focus-visible {
  box-shadow: var(--shadow-primary-hover);
}

.course-card__media {
  position: relative;
  min-height: 0;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(189, 63, 59, 0.16), transparent 30%),
    radial-gradient(circle at 82% 14%, rgba(216, 90, 85, 0.14), transparent 24%),
    linear-gradient(135deg, #f5f5f5 0%, #eeeeee 48%, #e2e2e2 100%);
}

.course-card--red .course-card__media {
  background:
     radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.26), transparent 30%),
    radial-gradient(circle at 82% 14%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(135deg, #e98682 0%, #d85a55 48%, #bd3f3b 100%);
}

.course-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(255,255,255,0.12) 0 18%, transparent 18% 100%),
    linear-gradient(32deg, transparent 0 58%, rgba(255,255,255,0.10) 58% 67%, transparent 67% 100%);
  pointer-events: none;
  z-index: 1;
}

.course-card__image {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  width: auto;
  height: 100%;
  margin: 0 auto;
  object-fit: contain;
  object-position: center bottom;
  z-index: 2;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.12));
}

.course-card__badge {
  position: absolute;
  top: 0;
  right: 16px;
  z-index: 3;
  min-width: 146px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 0 0 16px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #57cf37, #44bd26);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 10px 18px rgba(68, 189, 38, 0.18);
}

.course-card__badge--marathon {
  background: linear-gradient(180deg, #ff824f, #f0652d);
  box-shadow: 0 10px 18px rgba(240, 101, 45, 0.18);
}

.course-card__meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.course-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 8px 8px;
  flex: 1;
}

.course-card__title {
  margin: 0;
  color: var(--color-text-strong);
  font-family: var(--font-heading);
  font-size: clamp(23px, 1.65vw, 30px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  word-break: break-word;
}



.course-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.course-tag {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(189, 63, 59, 0.08);
  color: var(--color-primary-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.course-card--red .course-tag {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.course-card__price {
  margin-top: auto;
  color: var(--color-text-strong);
  font-family: var(--font-heading);
  font-size: clamp(25px, 2vw, 34px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.course-card--red .course-card__price {
  color: #ffffff;
}

.course-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}




/* =========================================================
   08. СТРАНИЦА «ИНТЕНСИВ ЕГЭ»: HERO И CTA
========================================================= */



.course-intro {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: clamp(26px, 3.4vw, 42px);
  border-radius: var(--radius-3xl);
  background:
    radial-gradient(circle at 0% 0%, rgba(189, 63, 59, 0.11), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(189, 63, 59, 0.06), transparent 26%),
    var(--gradient-card);
  border: 1px solid var(--color-line-soft);
  box-shadow: var(--shadow-header);
}

.course-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  grid-template-areas:
    "left right"
    "cta right"
    "meta meta";
  gap: 24px 36px;
  align-items: center;
}

.course-intro__left {
  grid-area: left;
  min-width: 0;
}

.course-intro__right {
  grid-area: right;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.course-intro__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  margin: 0 0 18px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(77, 128, 255, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-primary-dark);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(77, 128, 255, 0.08);
}

.course-intro__title {
  margin: 0 0 18px;
  color: var(--color-text-strong);
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 82px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.course-intro__desc {
  margin: 0;
  max-width: 760px;
  color: var(--color-text-muted);
  font-size: clamp(17px, 1.55vw, 25px);
  font-weight: 700;
  line-height: 1.4;
}

.course-intro__art {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-intro__glow {
  position: absolute;
  width: 82%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189, 63, 59, 0.18) 0%, rgba(189, 63, 59, 0.07) 42%, transparent 72%);
  filter: blur(2px);
  pointer-events: none;
}

.course-intro__image {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 470px;
  height: auto;
  object-fit: contain;
}

.course-intro__floating {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--color-line-soft);
  box-shadow: var(--shadow-soft);
  color: var(--color-primary-dark);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: var(--blur-ui);
  -webkit-backdrop-filter: var(--blur-ui);
}

.course-intro__floating::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient-primary);
  flex: 0 0 10px;
  box-shadow: 0 0 0 6px rgba(77, 128, 255, 0.08);
}

.course-intro__floating--top {
  top: 0%;
  left: 0%;
}

.course-intro__floating--mid {
  top: 10%;
  right: -5%;
}

.course-intro__floating--bottom {
  bottom: 9%;
  left: 18%;
}

.hero-cta {
  grid-area: cta;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  max-width: 600px;
}

.hero-cta .cta-button {
  flex: 1 1 0;
  min-width: 0;
  max-width: 600px;
}

.course-intro__meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}

.course-intro__chip {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--color-line-soft);
  box-shadow: var(--shadow-soft);
  color: var(--color-text-muted);
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 700;
  line-height: 1;
}

.course-intro__chip strong {
  margin-right: 8px;
  color: var(--color-primary-dark);
  font-weight: 800;
}


/* =========================================================
   09. СТРАНИЦА «ИНТЕНСИВ ЕГЭ»: СТАТИСТИКА, КАРТОЧКИ, ЦЕНЫ
========================================================= */

.results-strip {
  position: relative;
  overflow: visible;
  margin: clamp(28px, 4vw, 54px) 0;
}

.results-strip__line {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  max-width: 100vw;
  border-top: 3px dashed rgba(189, 63, 59, 0.3);
  z-index: 1;
  pointer-events: none;
}

.results-strip__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}

.results-strip__card {
  position: relative;
  min-height: 170px;
  padding: clamp(18px, 2vw, 30px);
  border-radius: var(--radius-2xl);
  background: var(--gradient-card);
  border: 1px solid var(--color-line-soft);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.results-strip__card--accent {
  background: var(--gradient-primary);
  border-color: rgba(77, 128, 255, 0.22);
  box-shadow: var(--shadow-primary);
}

.results-strip__value {
  margin: 0 0 14px;
  color: var(--color-text-strong);
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 62px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.results-strip__card--accent .results-strip__value {
  color: #fff;
}

.results-strip__text {
  max-width: 18ch;
  color: var(--color-text-muted);
  font-size: clamp(12px, 1vw, 18px);
  font-weight: 700;
  line-height: 1.4;
}

.results-strip__card--accent .results-strip__text {
  color: rgba(255,255,255,0.95);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  width: 100%;
}

.story-card {
  overflow: hidden;
  background: var(--gradient-card);
  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-soft);
}

.story-card__media {
  position: relative;
  min-height: 0;
  aspect-ratio: 1 / 0.9;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(126, 160, 255, 0.34), transparent 38%),
    radial-gradient(circle at bottom right, rgba(77, 128, 255, 0.24), transparent 42%),
    linear-gradient(180deg, #edf4ff 0%, #dfeaff 100%);
}

.story-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.story-card__body {
  padding: clamp(18px, 2vw, 24px);
}

.story-card__title {
  margin: 0 0 12px;
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.story-card__text {
  margin: 0;
  color: var(--color-text-muted);
  font-size: clamp(15px, 1.05vw, 18px);
  font-weight: 600;
  line-height: 1.52;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.sale-cta {
  width: 100%;
  margin: 0 auto;
  padding: 120px 0;
  font-family: var(--font-main);
}

.sale-cta__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 16px;
  border-radius: 38px;
  background: var(--gradient-primary);
  box-shadow: 0 22px 60px rgba(43, 62, 111, .12);
}

.sale-cta__panel {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 24px 28px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.sale-cta__panel + .sale-cta__panel {
  margin-left: 8px;
}

.sale-cta__panel:first-child {
  border-radius: 28px 0 0 28px;
}

.sale-cta__panel:last-child {
  border-radius: 0 28px 28px 0;
}

.sale-cta__label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.96);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 28px;
}

.sale-cta__label--ghost {
  opacity: .95;
}

.sale-cta__price {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: baseline;
  margin-bottom: 10px;
}

.sale-cta__price-old,
.sale-cta__price-new {
  font-size: clamp(28px, 2.5vw, 52px);
  line-height: .92;
  letter-spacing: -.04em;
  font-weight: 900;
  color: #fff;
}

.sale-cta__price-old {
  position: relative;
  display: inline-block;
}

.sale-cta__price-old--crossed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 54%;
  height: 7px;
  background: var(--color-text-strong);
  transform: translateY(-50%);
  border-radius: 999px;
  pointer-events: none;
}

.sale-cta__note {
  margin-top: 10px;
  color: rgba(255,255,255,.88);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 500;
}

.sale-cta__panel--action {
  justify-content: center;
  border-radius: 28px;
  background: transparent;
}

.sale-cta__timer {
  color: #fff;
  font-size: clamp(28px, 2.5vw, 52px);
  line-height: .98;
  letter-spacing: -.04em;
  font-weight: 900;
  margin-bottom: 18px;
}

.sale-cta__sub {
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.45;
  margin-bottom: 24px;
  max-width: 26ch;
}

.sale-cta__button,
.sale-cta__button:link,
.sale-cta__button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
  padding: 0;
  border-radius: 999px;
  background: #fff;
  color: #4a3434;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  border: 1px solid rgba(44,58,93,.08);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sale-cta__button:hover,
.sale-cta__button:focus {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary-hover);
}

.sale-cta__line {
  position: absolute;
  pointer-events: none;
}

.sale-cta__line--v {
  top: 24px;
  bottom: 24px;
  width: 0;
  border-left: 2px dashed rgba(255,255,255,.35);
}

.sale-cta__line--h {
  left: 24px;
  right: 24px;
  height: 0;
  border-top: 2px dashed rgba(255,255,255,.35);
}

.price-box {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--radius-2xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(232,238,255,0.96));
  border: 1px solid rgba(77, 128, 255, 0.16);
  box-shadow: var(--shadow-soft);
}

.price-title {
  margin: 0 0 10px;
  color: var(--color-text-strong);
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.old-price {
  position: relative;
  display: inline-block;
  color: var(--color-text-light);
}

.old-price::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  height: clamp(2px, 0.45vw, 5px);
  background: var(--color-primary);
  transform: translateY(-50%);
}

.new-price {
  color: var(--color-primary-dark);
}

.price-sub {
  color: var(--color-text-muted);
  font-size: clamp(15px, 1.15vw, 20px);
  font-weight: 700;
  line-height: 1.45;
}

.price-note {
  max-width: 860px;
  margin: 10px auto 0;
  color: var(--color-text-strong);
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 700;
  line-height: 1.4;
  text-align: right;
}

.date {
  display: inline;
  white-space: nowrap;
}


/* =========================================================
   10. СТРАНИЦА «ИНТЕНСИВ ЕГЭ»: СРАВНЕНИЕ, ЭТАПЫ, ПРОГРАММА
========================================================= */

.ege-compare {
  width: 100%;
  margin: 0 auto;
  padding: 0 0 48px;
}

.ege-compare__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: stretch;
}

.ege-compare__left {
  padding: 30px;
  border-radius: var(--radius-2xl);
  background: var(--gradient-card);
  border: 1px solid var(--color-line-soft);
  box-shadow: var(--shadow-soft);
}

.ege-compare__badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(77, 128, 255, 0.1);
  color: var(--color-primary-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.ege-compare__title {
  margin: 18px 0 18px;
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.4vw, 50px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.ege-compare__list {
  margin: 0;
  padding-left: 22px;
  color: var(--color-text-muted);
}

.ege-compare__list li {
  margin-bottom: 14px;
  font-size: clamp(15px, 1.05vw, 18px);
  font-weight: 600;
  line-height: 1.5;
}

.ege-compare__list li:last-child {
  margin-bottom: 0;
}

.ege-compare__right {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--color-line-soft);
  box-shadow: var(--shadow-soft);
  min-width: 0;
}

.ege-compare__col {
  min-width: 0;
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ege-compare__col--bad {
  background:
    linear-gradient(180deg, rgba(126, 160, 255, 0.22), rgba(126, 160, 255, 0.16)),
    linear-gradient(180deg, #e5edff 0%, #dce7ff 100%);
}

.ege-compare__col--good {
  background:
    linear-gradient(180deg, rgba(77, 128, 255, 0.27), rgba(77, 128, 255, 0.77)),
    linear-gradient(180deg, #d8e5ff 0%, #cfe0ff 100%);
}

.ege-compare__divider {
  width: 1px;
  background: repeating-linear-gradient(to bottom, rgba(126, 160, 255, 0.55) 0 8px, transparent 8px 14px);
}

.ege-compare__bubble {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(77, 128, 255, 0.14);
  box-shadow: var(--shadow-soft);
  color: var(--color-primary-dark);
}

.ege-compare__bubble-title {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-primary-dark);
}

.ege-compare__bubble-text {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.ege-compare__bubble--accent {
  background: rgba(255,255,255,0.96);
}

.teachers-title,
.features-title,
.program__title,
.faq-title {
  margin: 0 0 24px;
  color: var(--color-text-strong);
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.stage {
  width: 100%;
  display: flex;
  justify-content: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 352px);
  gap: 48px;
  justify-content: center;
}

.card-item {
  position: relative;
  width: 352px;
  height: 336px;
}

.sheet {
  position: absolute;
  top: 10px;
  right: 6px;
  width: 150px;
  height: 104px;
  background: linear-gradient(180deg, #f4e4e2, #ebcfcc);
  border: 1px solid var(--color-line-soft);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  z-index: 0;
}

.card-folder {
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-primary);
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 34px 28px 26px;
  clip-path: path("M14,0 H210 C228,0 236,8 236,24 V44 H332 C343,44 352,53 352,64 V316 C352,327 343,336 332,336 H20 C9,336 0,327 0,316 V14 C0,6 6,0 14,0 Z");
}

.card-folder::before {
  content: "";
  position: absolute;
  top: -38px;
  right: 0;
  width: 132px;
  height: 38px;
  background: var(--gradient-primary);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.card-step {
  position: absolute;
  top: -26px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  background: #f1f4ff;
  color: var(--color-primary-dark);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  box-shadow: 0 10px 22px rgba(89, 110, 181, 0.12);
}

.card-folder-title {
  margin: 0 0 14px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(30px, 2.6vw, 44px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
	 padding-top: 20px;
}

.card-folder-text {
  margin: 0;
  max-width: 32ch;
  color: rgba(255,255,255,0.92);
  font-size: clamp(16px, 1.1vw, 19px);
  font-weight: 700;
  line-height: 1.5;
}

.cta-folder,
.cta-folder:link,
.cta-folder:visited {
  margin-top: auto;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(50px, 4vw, 58px);
  min-width: 236px;
  max-width: 100%;
  padding: 0 clamp(20px, 2vw, 28px);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.96);
  color: var(--color-primary-dark);
  font-size: clamp(15px, 1.1vw, 18px);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-folder:hover,
.cta-folder:focus {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary-hover);
}

.program {
  overflow: visible;
}

.program__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: visible;
}

.program__item {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: stretch;
  overflow: visible;
}

.program__rail {
  position: relative;
  display: flex;
  justify-content: center;
  overflow: visible;
}

.program__rail::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  background: linear-gradient(180deg, #efc6c3, #d86b65);
  border-radius: var(--radius-pill);
  z-index: 0;
}

.program__item--start .program__rail::before {
  top: 34px;
  bottom: -14px;
}

.program__item--middle .program__rail::before {
  top: -14px;
  bottom: -14px;
}

.program__item--end .program__rail::before {
  top: -14px;
  height: calc(34px + 14px);
}

.program__dot {
  position: relative;
  z-index: 2;
  width: 54px;
  height: 54px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  box-shadow: var(--shadow-primary);
}

.program__content {
  position: relative;
  z-index: 1;
  padding: 18px 18px 16px;
  background: var(--gradient-card);
  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.program__accordion {
  margin: 0;
}

.program__accordion summary {
  list-style: none;
  cursor: pointer;
}

.program__accordion summary::-webkit-details-marker {
  display: none;
}

.program__summary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  justify-content: space-between;
}

.program__name {
  margin: 0;
  color: var(--color-text-strong);
  font-size: clamp(18px, 1.5vw, 26px);
  font-weight: 800;
  line-height: 1.18;
}

.program__desc {
  margin-top: 14px;
  color: var(--color-text-muted);
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 600;
  line-height: 1.55;
}

.program__desc strong {
  color: var(--color-primary-dark) !important;
}

.program__toggle-wrap {
  flex-shrink: 0;
  display: flex;
}

.program__toggle {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gradient-primary);
  box-shadow: 0 6px 16px rgba(77, 128, 255, 0.2);
  transition: transform 0.25s ease, background 0.25s ease;
}

.program__toggle::before,
.program__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2.5px;
  border-radius: 999px;
  background: #fff;
  transform: translate(-50%, -50%);
}

.program__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.program__accordion[open] .program__toggle {
  background: linear-gradient(180deg, #f1bc43, #e7ae29);
  transform: rotate(45deg);
}


/* =========================================================
   11. СТРАНИЦА «ИНТЕНСИВ ЕГЭ»: ПРЕПОДАВАТЕЛИ
========================================================= */

.teachers-block {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.teacher-card {
  margin: 0 auto clamp(16px, 2vw, 22px);
  max-width: clamp(800px, 40vw, 900px);
  display: grid;
  grid-template-columns: clamp(180px, 22vw, 260px) 1fr;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  background: var(--gradient-card);
  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-soft);
  backdrop-filter: var(--blur-ui);
  -webkit-backdrop-filter: var(--blur-ui);
}

.teacher-card:last-child {
  margin-bottom: 0;
}

.teacher-photo-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 100%;
  overflow: hidden;
}

.teacher-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.teacher-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(18px, 2.2vw, 28px) clamp(18px, 2.4vw, 30px);
}

.teacher-name {
  margin: 0 0 12px;
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.4vw, 38px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.teacher-desc {
  margin: 0;
  color: var(--color-text-light);
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.teacher-desc > div + div {
  margin-top: 2px;
}

.teachers-mobile-grid {
  display: none;
}

.teacher-mobile-card {
  min-width: 195px;
  display: flex;
  flex-direction: column;
  padding: 2px;
  border-radius: var(--radius-2xl);
  background: var(--gradient-card);
  border: 1px solid var(--color-line-soft);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.teacher-mobile-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-header);
}

.teacher-mobile-card__media {
  position: relative;
  min-height: 220px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(126, 160, 255, 0.30), transparent 30%),
    radial-gradient(circle at 82% 14%, rgba(77, 128, 255, 0.22), transparent 24%),
    linear-gradient(135deg, #edf4ff 0%, #dce8ff 48%, #cfe0ff 100%);
}

.teacher-mobile-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(255,255,255,0.12) 0 18%, transparent 18% 100%),
    linear-gradient(32deg, transparent 0 58%, rgba(255,255,255,0.10) 58% 67%, transparent 67% 100%);
  pointer-events: none;
  z-index: 1;
}

.teacher-mobile-card__photo {
   position: relative;

    width: 100%;
    height: auto;

    object-fit: contain;
  object-fit: contain;
  object-position: center bottom;
  z-index: 2;
  filter: drop-shadow(0 10px 18px rgba(24, 34, 88, 0.12));
}

.teacher-mobile-card__meta {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.teacher-mobile-card__chip,
.teacher-fact {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #292626, #1b1b1b);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(31, 40, 86, 0.08);
}

.teacher-mobile-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 6px 6px;
  flex: 1;
}

.teacher-mobile-card__name {
  margin: 0;
  color: var(--color-text-strong);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  word-break: break-word;
}

.teacher-mobile-card__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.teacher-mobile-card__btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  color: var(--color-primary-dark);
  background: transparent;
  border: 2px solid rgba(77, 128, 255, 0.65);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}



.teacher-mobile-card__btn:hover {
  transform: translateY(-1px);
  background: rgba(232, 238, 255, 0.72);
  border-color: var(--color-primary);
}

.teacher-modal .course-modal__dialog {
  width: min(760px, 100%);
}

.teacher-modal__top {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 22px;
}

.teacher-modal__photo-wrap {
	 min-width: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
	  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(126, 160, 255, 0.26), transparent 34%),
    linear-gradient(180deg, #edf4ff 0%, #dfeaff 100%);
}


.teacher-modal__photo {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.teacher-modal__meta {
  min-width: 0;
}

.teacher-modal__role {
  margin: 0 0 10px;
  color: var(--color-primary-dark);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

.teacher-modal__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.teacher-fact {
  background: rgba(77, 128, 255, 0.08);
  color: var(--color-primary-dark);
  box-shadow: none;
}



/* =========================================================
   12. СТРАНИЦА «ИНТЕНСИВ ЕГЭ»: ОТЗЫВЫ, FAQ, ФИНАЛЬНЫЙ CTA
========================================================= */

.reviews-section {
  width: 100%;
}

.reviews-section__head {
  margin-bottom: 22px;
}

.reviews-section__title {
  margin: 0 0 10px;
  color: var(--color-text-strong);
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.8vw, 58px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.reviews-section__desc {
  margin: 0;
  max-width: 760px;
  color: var(--color-text-muted);
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 600;
  line-height: 1.45;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.review-card {
  min-width: 0;
  min-height: 260px;
  padding: 22px 22px 18px;
  border-radius: var(--radius-2xl);
  background: var(--gradient-card);
  border: 1px solid var(--color-line-soft);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.review-card__title {
  margin: 0 0 14px;
  color: var(--color-primary-dark);
  font-size: clamp(20px, 1.55vw, 25px);
  font-weight: 800;
  line-height: 1.18;
}

.review-card__details {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-top: auto;
}

.review-card__details summary {
  list-style: none;
  cursor: pointer;
}

.review-card__details summary::-webkit-details-marker {
  display: none;
}

.review-card__summary {
  order: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: auto;
}

.review-card__preview {
  color: var(--color-text-muted);
  font-size: clamp(15px, 1.05vw, 18px);
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.review-card__toggle {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--color-primary);
}

.review-card__toggle::before {
  content: "Далее";
}

.review-card__toggle::after {
  content: "";
  margin-left: 6px;
  font-size: 12px;
  transition: transform .2s ease;
}

.review-card__full {
  display: none;
  margin-top: 12px;
  color: var(--color-text-muted);
  font-size: clamp(15px, 1.05vw, 18px);
  font-weight: 600;
  line-height: 1.5;
}

.review-card__details[open] .review-card__preview {
  display: none;
}

.review-card__details[open] .review-card__full {
  display: block;
}

.review-card__details[open] .review-card__toggle::before {
  content: "Закрыть";
}

.review-card__details[open] .review-card__toggle::after {
  transform: rotate(180deg);
}

.review-card__meta {
  margin-top: 14px;
  color: var(--color-text-strong);
  font-size: clamp(16px, 1.55vw, 21px);
  font-weight: 700;
  line-height: 1.35;
	text-align: right;
}



.faq-block {
  position: relative;
}

.faq-image-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: -22px;
  position: relative;
  z-index: 2;
}

.faq-image {
  width: clamp(200px, 26vw, 320px);
}

.faq-card {
  position: relative;
  z-index: 1;
  padding: clamp(30px, 2.2vw, 30px);
  background: var(--gradient-card);
  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-soft);
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 28px;
  position: relative;
}

.faq-item {
  padding: 16px 0;
}

.faq-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.faq-question {
  margin: 0 0 6px;
  color: var(--color-primary-dark);
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 800;
  line-height: 1.35;
}

.faq-answer {
  margin: 0;
  color: var(--color-text-muted);
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 600;
  line-height: 1.55;
}

.quiz-cta {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: center;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 32px;
  background: var(--gradient-primary);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-primary);
}

.quiz-cta__content {
  min-width: 0;
}

.quiz-cta__title {
  margin: 0 0 16px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.4vw, 54px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.quiz-cta__text {
  margin: 0;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 600;
  line-height: 1.5;
}

.quiz-cta__card {
  justify-self: end;
  width: min(100%, 380px);
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 40px rgba(50, 79, 170, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.quiz-cta__amount {
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(34px, 3vw, 52px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.quiz-cta__note {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(15px, 1.05vw, 18px);
  font-weight: 700;
  line-height: 1.4;
}

.quiz-cta__button,
.quiz-cta__button:link,
.quiz-cta__button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(52px, 4vw, 60px);
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-primary-dark);
  text-decoration: none;
  text-align: center;
  font-size: clamp(15px, 1.05vw, 18px);
  font-weight: 800;
  line-height: 1;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.quiz-cta__button + .quiz-cta__button {
  margin-top: 14px;
}

.quiz-cta__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(20, 40, 110, 0.16);
}

.reviews-more {
  width: 100%;
  margin-top: clamp(18px, 2vw, 26px);
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: var(--radius-2xl);
  background:
    radial-gradient(circle at 8% 20%, rgba(255,255,255,0.22), transparent 28%),
    radial-gradient(circle at 92% 80%, rgba(241,188,67,0.18), transparent 30%),
    var(--gradient-primary);
  box-shadow: var(--shadow-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.reviews-more__text {
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(20px, 1.55vw, 30px); /* как в отзывах */
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.reviews-more__button,
.reviews-more__button:link,
.reviews-more__button:visited {
  flex-shrink: 0;
  min-height: clamp(52px, 4vw, 60px);
  padding: 0 clamp(22px, 2vw, 30px);
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.96);
  color: var(--color-primary-dark);
  font-size: clamp(15px, 1.05vw, 18px);
  font-weight: 800;
  line-height: 1;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}

.reviews-more__button:hover,
.reviews-more__button:focus {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(20, 40, 110, 0.16);
}

@media (max-width: 1024px) {
  .reviews-more {
    border-radius: var(--radius-xl);
    padding: 24px;
  }

  .reviews-more__text {
    font-size: clamp(22px, 3.4vw, 32px);
  }
}

@media (max-width: 640px) {
  .reviews-more {
    margin-top: 14px;
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: left;
    align-items: stretch;
  }

  .reviews-more__text {
    padding: 4px 4px 0;
    font-size: clamp(20px, 6.2vw, 26px);
    line-height: 1.12;
  }

  .reviews-more__button,
  .reviews-more__button:link,
  .reviews-more__button:visited {
    width: 100%;
    min-height: 50px;
    font-size: 15px;
  }
}

/* =========================================================
   13. АДАПТИВ: ГОРИЗОНТАЛЬНЫЙ ПЛАНШЕТ
========================================================= */

@media (min-width: 1025px) {
  .sale-cta__line--v1 {
    left: 33.333%;
    transform: translateX(-50%);
  }

  .sale-cta__line--v2 {
    left: 66.666%;
    transform: translateX(-50%);
  }

  .sale-cta__line--h {
    display: none;
  }

  .faq-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 36px;
  }
}

@media (max-width: 1200px) {
  .cards {
    gap: 16px;
  }

  .section-title {
    font-size: clamp(36px, 4vw, 48px);
  }

  .main-nav {
    gap: 4px;
  }

  .main-nav__link {
    padding: 0 12px;
  }

  .header-cta {
    min-width: 180px;
  }

  .courses-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 900px;
  }



  .course-card__actions {
    gap: 12px;
  }
}

@media (max-width: 1100px) {
  .table-clean th,
  .table-clean td {
    padding: 12px 14px;
    font-size: 14px;
  }

  .diploma-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .diploma-note {
    order: -1;
    padding-top: 0;
    font-size: 16px;
  }

  .diploma-layout .table-wrap {
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .sale-cta__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .sale-cta__panel {
    min-height: 0 !important;
    border-radius: 24px !important;
    margin-left: 0 !important;
  }

  .sale-cta__panel--action {
    grid-column: 1 / -1;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
  }

  .sale-cta__note,
  .sale-cta__sub {
    font-size: 16px;
  }

  .sale-cta__timer {
    margin-bottom: 12px;
  }

  .sale-cta__sub {
    max-width: none;
    margin-bottom: 16px;
  }

  .sale-cta__timer br {
    display: none;
  }

  .sale-cta__button {
    width: min(100%, 360px);
    min-height: 56px;
    font-size: 16px;
  }

  .sale-cta__line--v1 {
    display: block;
    left: 50%;
    top: 14px;
    height: 53%;
    transform: translateX(-50%);
  }

  .sale-cta__line--v2 {
    display: none;
  }

  .sale-cta__line--h {
    display: block;
    left: 24px;
    right: 24px;
    top: 57%;
  }

  .ege-compare {
    padding-bottom: 40px;
  }

  .ege-compare__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ege-compare__left {
    padding: 24px;
  }

  .ege-compare__right {
    border-radius: var(--radius-xl);
  }

  .ege-compare__col {
    padding: 20px 18px 22px;
  }

  .ege-compare__title {
    font-size: clamp(24px, 5vw, 40px);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .review-card {
    min-height: 240px;
    padding: 20px 18px 18px;
    border-radius: var(--radius-xl);
  }

  .review-card__title {
    font-size: clamp(16px, 2vw, 21px);
  }

  .review-card__text,
  .review-card__preview,
  .review-card__full {
    font-size: 15px;
  }
}


/* =========================================================
   14. АДАПТИВ: ВЕРТИКАЛЬНЫЙ ПЛАНШЕТ
========================================================= */

@media (max-width: 920px) {
  .main-nav,
  .header-cta {
    display: none !important;
  }

  .header-burger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu {
    display: none;
    max-width: var(--container-main);
    margin: 10px auto 0;
    padding: 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--color-line-soft);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-header);
    backdrop-filter: var(--blur-ui);
    -webkit-backdrop-filter: var(--blur-ui);
  }

  .site-header.is-open .mobile-menu {
    display: block;
  }

  .su-tabs .su-tabs-nav {
    flex-direction: column !important;
  }

  .su-tabs .su-tabs-nav span {
    width: 100% !important;
    min-height: 74px !important;
    padding: 0 24px !important;
    justify-content: center !important;
    font-size: 15px !important;
  }

  .su-tabs .su-tabs-nav span.su-tabs-current {
    border-radius: 0 !important;
  }

  .su-tabs .su-tabs-panes {
    padding: 16px 18px !important;
  }

  .table-wrap {
    max-width: 100%;
  }

  .table-clean th,
  .table-clean td {
    padding: 12px 14px;
    font-size: 14px;
  }

  .results-strip__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .results-strip__card {
    min-height: 150px;
  }

  .results-strip__text {
    max-width: none;
  }

  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .story-card__title {
    font-size: clamp(20px, 2.6vw, 26px);
  }

  .story-card__text {
    font-size: 15px;
    line-height: 1.45;
  }

  .card-item {
    height: 300px;
  }

  .sheet {
    width: 132px;
    height: 92px;
    right: 45px;
  }

  .card-folder {
  padding: 42px 42px 28px;
  clip-path: path("M14,0 H188 C206,0 214,8 214,22 V40 H300 C311,40 320,49 320,60 V286 C320,297 311,306 300,306 H18 C8,306 0,298 0,288 V14 C0,6 6,0 14,0 Z");
  }

  .card-folder::before {
    top: -34px;
    width: 120px;
    height: 34px;
  }

  .card-step {
    top: -24px;
    right: 12px;
    min-height: 30px;
    font-size: 14px;
  }

  .card-folder-title {
    font-size: clamp(24px, 3vw, 32px);
  }

  .card-folder-text {
    font-size: 15px;
    line-height: 1.45;
  }

  .cta-folder,
  .cta-folder:link,
  .cta-folder:visited {
    min-width: 210px;
    font-size: 15px;
  }
	
   .course-intro__chip {
	   display: none;}
}

@media (max-width: 900px) {
  .course-intro__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "left"
      "right"
      "cta"
      "meta";
    gap: 18px;
  }

  .hero-cta {
    justify-content: center;
  }

  .course-intro__art {
    min-height: 300px;
    max-width: 420px;
    margin: 0 auto;
  }

  .course-intro__meta {
    justify-content: center;
    margin-top: 8px;
  }

  .course-intro__floating--top {
    display: none !important;
  }

  .course-intro__floating--mid {
    top: -4%;
    right: -4%;
  }

  .course-intro__floating--bottom {
    bottom: -2%;
    left: 10%;
  }
}

@media (max-width: 768px) {
  .quiz-cta {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 18px;
    border-radius: 28px;
  }

  .quiz-cta__title {
    font-size: clamp(28px, 8vw, 42px);
  }

  .quiz-cta__text {
    max-width: none;
    font-size: 16px;
  }

  .quiz-cta__card {
    justify-self: stretch;
    width: 100%;
    padding: 18px;
    border-radius: 22px;
  }

  .quiz-cta__amount {
    font-size: clamp(30px, 8vw, 42px);
  }
}


/* =========================================================
   15. АДАПТИВ: МОБИЛЬНАЯ ВЕРСИЯ
========================================================= */

@media (max-width: 760px) {
  .site-header,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-shell {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-left {
    max-width: 60%;
  }

  .footer-socials {
    display: grid;
    grid-template-columns: repeat(2, 44px);
    grid-template-rows: repeat(2, 44px);
    gap: 10px;
    justify-content: end;
  }

  .courses-section,
  .section {
    padding: 18px 10px 26px;
  }

  .courses-toolbar {
    gap: 12px;
    margin-bottom: 22px;
  }

  .courses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 900px;
    gap: 14px;
  }

  .course-card {
    padding: 10px;
    border-radius: 22px;
  }


	

  .course-card__image {
    left: 8px;
    right: 8px;
    max-height: 98%;
  }

  .course-card__badge {
    right: 10px;
    min-width: 108px;
    min-height: 38px;
    font-size: 13px;
  }

  .course-card__meta {
    left: 10px;
    right: 10px;
    bottom: 10px;
    gap: 6px;
  }

  .course-chip {
    min-height: 28px;
    padding: 0 8px;
    font-size: 12px;
    border-radius: 10px;
  }

  .course-card__body {
    gap: 14px;
    padding: 14px 6px 6px;
  }

  .course-card__title {
    font-size: 18px;
    line-height: 1.1;
  }

  .course-tag {
    min-height: 26px;
    padding: 0 8px;
    font-size: 12px;
  }

  .course-card__price {
    font-size: 22px;
  }

  .course-card__actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .course-btn {
    min-height: 44px;
    font-size: 14px;
  }

  .course-modal {
    padding: 6px;
  }

  .course-modal__dialog {
    width: 100%;
    max-height: calc(100vh - 12px);
    border-radius: 20px;
  }

  .course-modal__content {
    padding: 24px 18px 20px;
  }

  .course-modal__title {
    margin-right: 34px;
    font-size: 24px;
  }

  .course-modal__lead {
    font-size: 16px;
  }

  .course-days {
    grid-template-columns: repeat(4, 1fr);
  }

  .course-modal__footer {
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
  }

  .course-modal__footer .course-btn {
    width: 100%;
  }
}

@media (max-width: 740px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .card-item {
    height: 312px;
  }

  .sheet {
    top: 12px;
    right: 46px;
    width: 126px;
    height: 88px;
  }
}

@media (max-width: 690px) {
  .sale-cta {
    width: 100%;
    padding: 28px 0;
  }

  .sale-cta__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .sale-cta__line--v1,
  .sale-cta__line--v2,
  .sale-cta__line--h {
    display: none;
  }

  .sale-cta__panel + .sale-cta__panel {
    border-top: 2px dashed rgba(255,255,255,.35);
    margin-top: 12px;
    padding-top: 18px;
  }

  .sale-cta__panel {
    min-height: auto;
    padding: 18px 18px 20px;
    border-radius: 0 !important;
  }

  .sale-cta__label {
    min-height: 36px;
    padding: 0 14px;
    margin-bottom: 18px;
    font-size: 14px;
  }

  .sale-cta__price {
    gap: 10px;
    margin-bottom: 14px;
  }

  .sale-cta__price-old,
  .sale-cta__price-new {
    font-size: clamp(26px, 8vw, 36px);
  }

  .sale-cta__note,
  .sale-cta__sub {
    font-size: 15px;
    line-height: 1.4;
  }

  .sale-cta__timer {
    font-size: clamp(26px, 8vw, 36px);
    margin-bottom: 14px;
  }

  .sale-cta__timer br {
    display: block;
  }

  .sale-cta__button {
    min-height: 56px;
    width: 100%;
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer {
    padding-left: 10px;
    padding-right: 10px;
  }

  .section {
    padding: 40px 10px 26px;
  }

  .su-tabs .su-tabs-pane {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  .su-tabs .su-tabs-pane p {
    margin: 0 0 16px !important;
  }

  .table-clean {
    table-layout: fixed;
  }

  .table-clean th,
  .table-clean td {
    padding: 8px;
    font-size: 11px;
    line-height: 1.25;
  }

  .table-clean th {
    white-space: normal;
  }

  .table-clean td:first-child,
  .table-clean th:first-child {
    width: 72px;
  }

  .su-spoiler .su-spoiler-title,
  .su-spoiler-style-default > .su-spoiler-title {
    min-height: 54px !important;
    padding: 0 14px 0 38px !important;
    font-size: 13px !important;
    border-radius: 16px !important;
  }

  .su-spoiler .su-spoiler-title::before {
    left: 14px;
    font-size: 22px;
  }

  .course-page {
    padding-left: 10px;
    padding-right: 10px;
  }

  .course-intro {
    padding: 18px;
    border-radius: var(--radius-xl);
  }

  .course-intro__title {
    font-size: clamp(34px, 10vw, 54px);
  }

  .course-intro__desc {
    font-size: 15px;
    line-height: 1.45;
  }

  .course-intro__art {
    min-height: 280px;
    max-width: 340px;
    margin-top: -15px !important;
  }

  .course-intro__image {
    max-width: 320px;
    margin-top: 42px !important;
  }

  .course-intro__floating {
    font-size: 11px !important;
    min-height: 36px !important;
    padding: 0 10px !important;
    border-radius: 12px !important;
    white-space: nowrap !important;
  }

  .course-intro__floating--top {
    display: none !important;
  }

  .course-intro__floating--mid,
  .course-intro__floating--bottom {
    position: absolute !important;
    top: 6% !important;
    bottom: auto !important;
    display: inline-flex !important;
  }

  .course-intro__floating--mid {
    left: 1% !important;
    right: auto !important;
  }

  .course-intro__floating--bottom {
    right: 1% !important;
    left: auto !important;
  }

  .cta-button,
  .cta-button--vk {
    flex: 1;
    min-width: 0 !important;
    min-height: 52px;
    padding: 0 10px !important;
    font-size: 14px !important;
  }

  .course-intro__meta {
    display: none;
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .results-strip__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .results-strip__line {
    display: none;
  }

  .results-strip__card {
    min-height: auto;
    padding: 18px;
    border-radius: var(--radius-xl);
  }

  .results-strip__value {
    font-size: clamp(30px, 8vw, 48px);
    margin-bottom: 10px;
  }

  .results-strip__text {
    font-size: 14px;
    line-height: 1.4;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .story-card {
    border-radius: var(--radius-xl);
  }

  .story-card__media {
    display: none !important;
  }

  .story-card__body {
    padding: 16px;
  }

  .story-card__title {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.08;
  }

  .story-card__text {
    font-size: 14px;
    line-height: 1.45;
  }

  .ege-compare {
    padding-bottom: 32px;
  }

  .ege-compare__left,
  .ege-compare__right,
  .faq-card,
  .price-box,
  .stat-card,
  .teacher-card {
    border-radius: var(--radius-xl);
  }

  .ege-compare__left {
    padding: 18px;
  }

  .ege-compare__title {
    margin: 14px 0 14px;
    font-size: 20px;
    line-height: 1.08;
    letter-spacing: -0.02em;
  }

  .ege-compare__list {
    padding-left: 18px;
  }

  .ege-compare__list li {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.45;
  }

  .ege-compare__right {
    grid-template-columns: 1fr;
  }

  .ege-compare__divider {
    display: none;
  }

  .ege-compare__col {
    padding: 16px;
    gap: 12px;
  }

  .ege-compare__bubble {
    padding: 14px;
    border-radius: 18px;
  }

  .ege-compare__bubble-title {
    font-size: 14px;
  }

  .ege-compare__bubble-text {
    font-size: 13px;
    line-height: 1.4;
  }

  .ege-compare__col--good {
    position: relative;
  }

  .ege-compare__col--good::before {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    top: 0;
    border-top: 2px dashed rgba(126, 160, 255, 0.55);
  }

  .program__item {
    grid-template-columns: 58px 1fr;
  }

  .program__dot {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .program__item--start .program__rail::before {
    top: 28px;
  }

  .program__summary {
    gap: 10px;
  }

  .program__content {
    padding: 14px;
  }

  .teacher-card {
    display: none !important;
  }

  .teachers-block {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .teachers-mobile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(195px, 1fr));
    width: 100%;
    gap: 10px;
    margin-left: -10px;
    margin-right: -10px;
    padding: 0 10px !important;
  }

  .teachers-mobile-grid > *:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .teacher-mobile-card {
    padding: 10px;
    border-radius: 22px;
  }

  .teacher-mobile-card__media {
      min-height: unset;
    height: auto;
  }

  .teacher-mobile-card__name {
    font-size: 18px;
    line-height: 1.1;
  }

  .teacher-mobile-card__btn {
    min-height: 44px;
    font-size: 14px;
  }

.teacher-modal__top {
  grid-template-columns: minmax(118px, 118px) minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.teacher-modal__photo-wrap {
  width: 118px;
  min-width: 118px;
  height: 124px;
  border-radius: 14px;
}

.teacher-modal__meta {
  min-width: 0;
}

.teacher-modal__role {
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.teacher-modal__facts {
  flex-wrap: wrap;
  gap: 8px;
}

  .teacher-modal__role {
    font-size: 14px;
  }

  .teacher-fact {
    min-height: 28px;
    padding: 0 10px;
    font-size: 12px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .reviews-section__title {
    font-size: clamp(28px, 9vw, 42px);
  }

  .reviews-section__desc {
    font-size: 15px;
    line-height: 1.42;
  }

  .review-card {
    min-height: auto;
    padding: 18px 16px 16px;
  }

  .review-card__title {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.12;
  }

  .review-card__preview,
  .review-card__full {
    font-size: 14px;
    line-height: 1.45;
  }

  .review-card__meta {
    margin-top: 12px;
    font-size: 13px;
  }

  .price-note {
    text-align: left;
  }
}


/* =========================================================
   16. АНИМАЦИИ
========================================================= */

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes shine {
  from { left: -75%; }
  to { left: 125%; }
}








/* =========================================================
   ANTI-BLUE PATCH: красный / серый / чёрный стиль
========================================================= */

:root {
  --color-bg: #f5f5f5;

  --color-surface: rgba(255, 255, 255, 0.96);
  --color-surface-strong: #ffffff;
  --color-surface-soft: #eeeeee;

  --color-text: #111111;
  --color-text-strong: #000000;
  --color-text-muted: #858585;
  --color-text-light: #9a9a9a;

  --color-primary: #bd3f3b;
  --color-primary-dark: #9f2f2b;
  --color-primary-soft: #d65a55;
  --color-primary-pale: #f3e8e7;

  --color-accent: #bd3f3b;
  --color-accent-soft: #d65a55;

  --color-line: rgba(0, 0, 0, 0.12);
  --color-line-soft: rgba(0, 0, 0, 0.12);

  --gradient-primary: linear-gradient(180deg, #c94642, #9f2f2b);
  --gradient-primary-soft: linear-gradient(180deg, #d65a55, #bd3f3b);
  --gradient-surface-soft: linear-gradient(180deg, #f2f2f2, #e7e7e7);
  --gradient-burger: linear-gradient(180deg, #f5f5f5, #e9e9e9);
  --gradient-burger-open: linear-gradient(180deg, #f3e8e7, #eeeeee);
  --gradient-card: linear-gradient(180deg, #ffffff, #f2f2f2);
  --gradient-hill: linear-gradient(90deg, #eeeeee, #d9d9d9);

  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.08);
  --shadow-header: 0 12px 28px rgba(0, 0, 0, 0.10);
  --shadow-primary: 0 10px 20px rgba(189, 63, 59, 0.24);
  --shadow-primary-hover: 0 12px 24px rgba(189, 63, 59, 0.34);
  --shadow-tabs: 0 20px 50px rgba(0, 0, 0, 0.14), 0 6px 18px rgba(0, 0, 0, 0.10);
  --shadow-burger: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 6px 14px rgba(0, 0, 0, 0.10);
}


/* ---------- ШАПКА / МЕНЮ ---------- */

.header-shell,
.footer-shell {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.12);
}

.brand__dot,
.footer-dot {
  background: var(--gradient-primary-soft);
  box-shadow: 0 4px 10px rgba(189, 63, 59, 0.28);
}

.main-nav__link:hover,
.main-subnav__link:hover,
.mobile-nav__link:hover {
  background: #f5eeee;
  color: var(--color-primary-dark);
}

.main-nav__link--active,
.mobile-nav__link--active,
.current-menu-item > .main-nav__link,
.current-menu-ancestor > .main-nav__link {
  background: #f3e8e7;
  color: var(--color-primary-dark);
}

.header-burger:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 10px 18px rgba(0, 0, 0, 0.12);
}

.header-burger span {
  background: var(--color-primary-dark);
}

.main-nav__toggle:hover {
  background: #f5eeee;
}

.main-nav__toggle::before {
  border-right-color: var(--color-primary-dark);
  border-bottom-color: var(--color-primary-dark);
}

.social:hover {
  background: #eeeeee;
}


/* ---------- ОБЩИЕ ССЫЛКИ / КНОПКИ ---------- */

.course-btn--ghost {
  color: var(--color-primary-dark);
  border-color: rgba(189, 63, 59, 0.55);
}

.course-btn--ghost:hover {
  background: #f5eeee;
  border-color: var(--color-primary);
}

.custom-link,
.custom-link:link,
.custom-link:visited {
  color: var(--color-primary-dark) !important;
  border-bottom-color: rgba(189, 63, 59, 0.5);
}

.cta-button--vk {
  background: var(--gradient-primary) !important;
  box-shadow: var(--shadow-primary);
}


/* ---------- РАЗДЕЛИТЕЛИ / ЛИНИИ ---------- */

.course-page__divider::before,
.results-strip__line {
  border-top-color: rgba(0, 0, 0, 0.22);
}

.ege-compare__divider {
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.28) 0 8px,
    transparent 8px 14px
  );
}


/* ---------- ФИЛЬТРЫ И КАРТОЧКИ КУРСОВ ---------- */

.courses-filter {
  border-color: rgba(189, 63, 59, 0.22);
}

.courses-filter:hover {
  background: #f5eeee;
  color: var(--color-primary-dark);
}

.course-card__media,
.teacher-mobile-card__media {
  background:
    radial-gradient(circle at 16% 18%, rgba(189, 63, 59, 0.14), transparent 30%),
    radial-gradient(circle at 82% 14%, rgba(0, 0, 0, 0.07), transparent 24%),
    linear-gradient(135deg, #f4f4f4 0%, #ebebeb 48%, #dedede 100%);
}

.course-tag,
.teacher-fact {
  background: rgba(189, 63, 59, 0.08);
  color: var(--color-primary-dark);
}

.course-chip--dark,
.teacher-mobile-card__chip--dark {
  background: linear-gradient(180deg, #222222, #000000);
  color: #ffffff;
}


/* ---------- МОДАЛКИ ---------- */

.course-modal__overlay {
  background: rgba(0, 0, 0, 0.34);
}

.course-modal__dialog {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
}

.course-modal__close {
  color: #999999;
}

.course-modal__close:hover {
  color: var(--color-primary-dark);
  background: #f5eeee;
}

.course-day {
  background: rgba(189, 63, 59, 0.10);
  color: var(--color-primary-dark);
}

.course-modal__footer {
  background: linear-gradient(180deg, #f5f5f5, #eeeeee);
  border-top-color: rgba(0, 0, 0, 0.08);
}


/* ---------- ТАБЫ / ТАБЛИЦЫ ---------- */

.su-tabs .su-tabs-pane {
  color: #111111 !important;
}

.table-clean tr:hover td {
  background: rgba(189, 63, 59, 0.06);
}


/* ---------- HERO / INTRO ---------- */

.course-intro {
  background:
    radial-gradient(circle at 0% 0%, rgba(189, 63, 59, 0.12), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(0, 0, 0, 0.06), transparent 26%),
    var(--gradient-card);
}

.course-intro__eyebrow {
  border-color: rgba(189, 63, 59, 0.18);
  box-shadow: 0 6px 16px rgba(189, 63, 59, 0.08);
}

.course-intro__glow {
  background: radial-gradient(
    circle,
    rgba(189, 63, 59, 0.16) 0%,
    rgba(189, 63, 59, 0.06) 42%,
    transparent 72%
  );
}

.course-intro__floating::before {
  box-shadow: 0 0 0 6px rgba(189, 63, 59, 0.10);
}


/* ---------- СТАТИСТИКА / ИСТОРИИ / ЦЕНА ---------- */

.results-strip__card--accent {
  border-color: rgba(189, 63, 59, 0.28);
}

.story-card__media {
  background:
    radial-gradient(circle at top left, rgba(189, 63, 59, 0.14), transparent 38%),
    radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.06), transparent 42%),
    linear-gradient(180deg, #f4f4f4 0%, #e7e7e7 100%);
}

.sale-cta__button,
.sale-cta__button:link,
.sale-cta__button:visited {
  color: #111111;
}

.price-box {
  background: linear-gradient(180deg, #ffffff, #f1f1f1);
  border-color: rgba(189, 63, 59, 0.18);
}

.old-price::after {
  background: #111111;
}

.new-price {
  color: var(--color-primary-dark);
}


/* ---------- СРАВНЕНИЕ ---------- */

.ege-compare__badge {
  background: rgba(189, 63, 59, 0.10);
  color: var(--color-primary-dark);
}

.ege-compare__title {
  color: var(--color-primary-dark);
}

.ege-compare__col--bad {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.03)),
    linear-gradient(180deg, #f0f0f0 0%, #e4e4e4 100%);
}

.ege-compare__col--good {
  background:
    linear-gradient(180deg, rgba(189, 63, 59, 0.20), rgba(189, 63, 59, 0.72)),
    linear-gradient(180deg, #f3e8e7 0%, #c94642 100%);
}

.ege-compare__bubble {
  border-color: rgba(189, 63, 59, 0.16);
  color: var(--color-primary-dark);
}


/* ---------- ПРОГРАММА ---------- */

.sheet {
  background: linear-gradient(180deg, #eeeeee, #dcdcdc);
}

.card-step {
  background: #f2f2f2;
  color: var(--color-primary-dark);
}

.program__rail::before {
  background: linear-gradient(180deg, #cccccc, #111111);
}

.program__toggle {
  box-shadow: 0 6px 16px rgba(189, 63, 59, 0.20);
}


/* ---------- ПРЕПОДАВАТЕЛИ ---------- */

.teacher-mobile-card__btn {
  color: var(--color-primary-dark);
  border-color: rgba(189, 63, 59, 0.55);
}

.teacher-mobile-card__btn:hover {
  background: #f5eeee;
  border-color: var(--color-primary);
}

.teacher-modal__photo-wrap {
  background:
    radial-gradient(circle at top left, rgba(189, 63, 59, 0.14), transparent 34%),
    linear-gradient(180deg, #f4f4f4 0%, #e7e7e7 100%);
}


/* ---------- МОБИЛЬНАЯ ВЕРСИЯ ---------- */

@media (max-width: 767px) {
  .program__item::before {
    border-top-color: rgba(0, 0, 0, 0.24);
  }
}
















```css
/* ---------- pricing ---------- */

.pricing-section {
  width: 100%;
  margin: clamp(56px, 7vw, 92px) 0;
  font-family: inherit;
}

.pricing-head {
  margin-bottom: clamp(24px, 3vw, 38px);
}

.pricing-title {
  margin: 0 0 12px;
  max-width: 820px;

  color: var(--color-text-strong);
  font-family: inherit;
  font-size: clamp(36px, 4.8vw, 70px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.pricing-subtitle {
  margin: 0;
  max-width: 760px;

  color: var(--color-text-strong);
  font-family: inherit;
  font-size: clamp(15px, 1.1vw, 19px);
  font-weight: 700;
  line-height: 1.45;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  align-items: stretch;
}

.price-card {
  position: relative;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  min-height: 100%;

  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--radius-2xl);

  background: var(--gradient-card);
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-soft);

  font-family: inherit;

  backdrop-filter: var(--blur-ui);
  -webkit-backdrop-filter: var(--blur-ui);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

/* Убираем верхнюю цветную шапочку */
.price-card::before,
.price-card--accent::before {
  content: none;
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

/* Средний тариф теперь отличается только общей карточной стилистикой,
   без верхней полоски и без отдельной цветовой схемы */
.price-card--accent {
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-soft);
}

.price-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;

  min-height: 26px;
  padding: 0 12px;
  margin-bottom: 18px;

  border-radius: 999px;
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);

  color: var(--color-primary-dark);
  font-family: inherit;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-card-title {
  margin: 0 0 12px;

  color: var(--color-text-strong);
  font-family: inherit;
  font-size: clamp(28px, 2.4vw, 42px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.price-card-text {
  margin: 0 0 22px;

    color: var(--color-text-light);
  font-family: inherit;
  font-size: clamp(14px, 0.95vw, 17px);
  font-weight: 700;
  line-height: 1.45;
}

.price-main {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: auto 0 8px;
}

.price-value {
   color: var(--color-text-light);
  font-family: inherit;
  font-size: clamp(42px, 3.2vw, 58px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.06em;
}

.price-period {
  padding-bottom: 6px;

   color: var(--color-text-light);
  font-family: inherit;
  font-size: clamp(13px, 0.9vw, 16px);
  font-weight: 800;
  line-height: 1;
}

.price-total {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;

  margin-bottom: 22px;
}

.price-current {
   color: var(--color-text-light);
  font-family: inherit;
  font-size: clamp(16px, 1vw, 20px);
  font-weight: 900;
  line-height: 1.2;
}

.price-old {
  color: color-mix(in srgb, var(--color-primary) 55%, var(--color-text-light));
  font-family: inherit;
  font-size: clamp(14px, 0.95vw, 18px);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.price-list {
	color: var(--color-surface-soft);
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.price-list li {
  position: relative;

  padding: 13px 0 13px 22px;
  border-top: 1px solid var(--color-line-soft);

   color: var(--color-text-light);
  font-family: inherit;
  font-size: clamp(14px, 0.95vw, 17px);
  font-weight: 700;
  line-height: 1.4;
}

.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;

  width: 8px;
  height: 8px;
  border-radius: 50%;

  background: var(--color-primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 10%, transparent);
}

.price-button,
.price-button:link,
.price-button:visited {
  margin-top: auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: clamp(50px, 3.8vw, 58px);
  padding: 0 22px;

  border-radius: 999px;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  text-align: center;

  font-family: inherit;
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 900;
  line-height: 1;

  box-shadow: var(--shadow-primary);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.price-button:hover {
  transform: translateY(-2px);
  filter: saturate(1.06);
  box-shadow: var(--shadow-primary);
}

.price-button:active {
  transform: translateY(0);
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card-title {
    font-size: clamp(28px, 6vw, 40px);
  }

  .price-value {
    font-size: clamp(40px, 9vw, 54px);
  }
}

@media (max-width: 560px) {
  .pricing-section {
    margin: clamp(42px, 9vw, 68px) 0;
  }

  .pricing-title {
    font-size: clamp(34px, 11vw, 48px);
  }

  .pricing-subtitle {
    font-size: 15px;
  }

  .price-card {
    padding: 22px;
  }

  .price-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .price-period {
    padding-bottom: 0;
  }
}
```










.reviews-more {
  width: 100%;
  margin-top: clamp(18px, 2vw, 26px);
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: var(--radius-2xl);
  background:
    radial-gradient(circle at 8% 20%, rgba(255,255,255,0.22), transparent 28%),
    radial-gradient(circle at 92% 80%, rgba(241,188,67,0.18), transparent 30%),
    var(--gradient-primary);
  box-shadow: var(--shadow-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.reviews-more__text {
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(20px, 1.55vw, 30px); /* как в отзывах */
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.reviews-more__button,
.reviews-more__button:link,
.reviews-more__button:visited {
  flex-shrink: 0;
  min-height: clamp(52px, 4vw, 60px);
  padding: 0 clamp(22px, 2vw, 30px);
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.96);
  color: var(--color-primary-dark);
  font-size: clamp(15px, 1.05vw, 18px);
  font-weight: 800;
  line-height: 1;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}

.reviews-more__button:hover,
.reviews-more__button:focus {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(20, 40, 110, 0.16);
}

@media (max-width: 1024px) {
  .reviews-more {
    border-radius: var(--radius-xl);
    padding: 24px;
  }

  .reviews-more__text {
    font-size: clamp(22px, 3.4vw, 32px);
  }
}

@media (max-width: 640px) {
  .reviews-more {
    margin-top: 14px;
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: left;
    align-items: stretch;
  }

  .reviews-more__text {
    padding: 4px 4px 0;
    font-size: clamp(20px, 6.2vw, 26px);
    line-height: 1.12;
  }

  .reviews-more__button,
  .reviews-more__button:link,
  .reviews-more__button:visited {
    width: 100%;
    min-height: 50px;
    font-size: 15px;
  }
}

.story-card {
  display: flex;
  flex-direction: column;
}

.story-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.story-card .course-btn {
  width: 100%;
  min-height: 48px;
  margin-top: 20px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

.home-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  width: 100%;
  align-items: stretch;
}

.home-story-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--gradient-card);
  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-soft);
}

.home-story-card__media {
  position: relative;
  display: block !important;
  min-height: 0;
  aspect-ratio: 1 / 0.9;
  overflow: hidden;
  background:
      radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.38), transparent 32%),
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(135deg, #f7d8d6 0%, #e98682 48%, #d85a55 100%);
}

.home-story-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.home-story-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(18px, 2vw, 24px);
}

.home-story-card__title {
  margin: 0 0 12px;
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.home-story-card__text {
  margin: 0;
  color: var(--color-text-muted);
  font-size: clamp(15px, 1.05vw, 18px);
  font-weight: 600;
  line-height: 1.52;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.home-story-card .course-btn {
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 15px;
}

.home-story-card__text + .course-btn {
  margin-top: auto;
}

/* отступ между текстом и кнопкой, но кнопка всё равно прижата вниз */
.home-story-card__text {
  padding-bottom: 22px;
}

@media (max-width: 900px) {
  .home-story-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-story-card {
    border-radius: var(--radius-xl);
  }

  .home-story-card__media {
    display: block !important;
    aspect-ratio: 1 / 0.72;
  }

  .home-story-card__body {
    padding: 16px;
  }

  .home-story-card__title {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.08;
  }

  .home-story-card__text {
    font-size: 14px;
    line-height: 1.45;
    padding-bottom: 18px;
  }

  .home-story-card .course-btn {
    min-height: 46px;
    font-size: 14px;
  }
}

/* =========================================================
   07B. СТРАНИЦА «КУРСЫ»: НОВАЯ СЕТКА 3/2
========================================================= */

.courses-alt-section {
  padding-top: 24px;
  padding-bottom: 40px;
}

.courses-alt-section .section-title {
  margin: 0 0 26px;
  font-size: clamp(34px, 4vw, 56px);
}

.courses-alt-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 28px;
  flex-wrap: wrap;
}

.courses-alt-toolbar__group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.courses-alt-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(189, 63, 59, 0.18);
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.courses-alt-filter:hover {
  transform: translateY(-1px);
  background: rgba(247, 231, 230, 0.92);
  color: var(--color-primary-dark);
}

.courses-alt-filter.is-active {
  background: var(--gradient-primary);
  border-color: #ffffff;
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.courses-alt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  max-width: 100%;
  margin: 0 auto;
}

.courses-alt-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: var(--radius-2xl);
  border: 1px solid #ffffff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.courses-alt-card--gray {
  background: var(--gradient-card);
}

.courses-alt-card--red {
  box-shadow: var(--shadow-primary);
}

.courses-alt-card--clickable {
  cursor: pointer;
}

.courses-alt-card:hover,
.courses-alt-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-header);
}

.courses-alt-card--red:hover,
.courses-alt-card--red:focus-visible {
  box-shadow: var(--shadow-primary-hover);
}

.courses-alt-card__media {
  position: relative;
  min-height: 0;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(189, 63, 59, 0.16), transparent 30%),
    radial-gradient(circle at 82% 14%, rgba(216, 90, 85, 0.14), transparent 24%),
    linear-gradient(135deg, #f5f5f5 0%, #eeeeee 48%, #e2e2e2 100%);
}

.courses-alt-card--red .courses-alt-card__media {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.26), transparent 30%),
    radial-gradient(circle at 82% 14%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(135deg, #e98682 0%, #d85a55 48%, #bd3f3b 100%);
}

.courses-alt-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(255,255,255,0.12) 0 18%, transparent 18% 100%),
    linear-gradient(32deg, transparent 0 58%, rgba(255,255,255,0.10) 58% 67%, transparent 67% 100%);
  pointer-events: none;
  z-index: 1;
}

.courses-alt-card__image {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  width: auto;
  height: 100%;
  margin: 0 auto;
  object-fit: contain;
  object-position: center bottom;
  z-index: 2;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.12));
}

.courses-alt-card__badge {
  position: absolute;
  top: 0;
  right: 16px;
  z-index: 3;
  min-width: 146px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 0 0 16px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #57cf37, #44bd26);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 10px 18px rgba(68, 189, 38, 0.18);
}

.courses-alt-card__badge--marathon {
  background: linear-gradient(180deg, #ff824f, #f0652d);
  box-shadow: 0 10px 18px rgba(240, 101, 45, 0.18);
}

.courses-alt-card__meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.courses-alt-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 8px 8px;
  flex: 1;
}

.courses-alt-card__title {
  margin: 0;
  color: var(--color-text-strong);
  font-family: var(--font-heading);
  font-size: clamp(23px, 1.65vw, 30px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  word-break: break-word;
}

.courses-alt-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.courses-alt-tag {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(189, 63, 59, 0.08);
  color: var(--color-primary-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.courses-alt-card--red .courses-alt-tag {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.courses-alt-card__price {
  margin-top: auto;
  color: var(--color-text-strong);
  font-family: var(--font-heading);
  font-size: clamp(25px, 2vw, 34px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.courses-alt-card--red .courses-alt-card__price {
  color: #ffffff;
}

.courses-alt-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* На узких экранах — 2 карточки в ряд */
@media (max-width: 900px) {
  .courses-alt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .courses-alt-card {
    padding: 10px;
  }

  .courses-alt-card__body {
    padding: 14px 6px 6px;
  }

  .courses-alt-card__title {
    font-size: clamp(18px, 4.6vw, 24px);
  }

  .courses-alt-card__badge {
    right: 12px;
    min-width: 118px;
    min-height: 42px;
    padding: 0 12px;
    font-size: 13px;
  }

  .courses-alt-card__meta {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .courses-alt-tag {
    min-height: 28px;
    padding: 0 10px;
    font-size: 12px;
  }
}

/* =========================================================
   Горизонтальные кнопки направлений
========================================================= */

.course-directions {
  width: 32%;
  max-width: 680px;
  min-width: 420px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0 auto 28px;
}

.course-directions .course-btn {
  width: 100%;
  min-height: 58px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  font-size: clamp(20px, 2vw, 34px);
  font-weight: 900;
  letter-spacing: -0.04em;
  white-space: nowrap;
  background: var(--gradient-card);
  color: var(--color-text-strong);
  border: 1px solid var(--color-line-soft);
  box-shadow: var(--shadow-soft);
}

.course-directions .course-btn:hover {
  color: var(--color-primary-dark);
  border-color: rgba(189, 63, 59, 0.28);
  box-shadow: var(--shadow-header);
}

.course-directions .course-btn--primary {
  color: #fff;
  background: var(--gradient-primary);
  border-color: transparent;
  box-shadow: var(--shadow-primary);
}

.course-directions .course-btn--primary:hover {
  color: #fff;
  box-shadow: var(--shadow-primary-hover);
}

/* Планшет */
@media (max-width: 1180px) {
  .course-directions {
    width: 58%;
    max-width: 620px;
    min-width: 360px;
    gap: 10px;
  }

  .course-directions .course-btn {
    min-height: 54px;
    padding: 0 20px;
    font-size: clamp(19px, 3vw, 30px);
  }
}

/* Мобильная версия */
@media (max-width: 640px) {
  .course-directions {
    width: 88%;
    max-width: none;
    min-width: 0;
    gap: 8px;
    margin: 0 auto 22px;
  }

  .course-directions .course-btn {
    min-height: 48px;
    padding: 0 12px;
    border-radius: 18px;
    font-size: clamp(15px, 5.2vw, 22px);
    letter-spacing: -0.04em;
  }
}

/* Совсем узкие экраны */
@media (max-width: 390px) {
  .course-directions {
    width: 94%;
  }

  .course-directions .course-btn {
    font-size: clamp(14px, 4.7vw, 18px);
  }
}
}

@media (max-width: 640px) {
  .card-folder {
    box-sizing: border-box;
    padding: 42px 38px 30px;
  }

  .card-folder-title {
    margin-bottom: 18px;
    line-height: 1.05;
  }

  .card-folder-text {
    line-height: 1.25;
    max-width: 100%;
  }

  .cta-folder {
    margin-top: auto;
  }
}

/* =========================================================
   РЕКЛАМНЫЙ БАННЕР КАРЬЕРНЫХ КУРСОВ
========================================================= */

.career-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  width: 100%;
  max-width: var(--container-wide);
  min-height: 96px;
  margin: 0 auto clamp(12px, 1vw, 16px);
  padding: 6px 16px 6px 10px;

  display: grid;
  grid-template-columns:
    96px
    minmax(160px, 184px)
    2px
    minmax(0, 1fr)
    minmax(160px, 210px);
  grid-template-areas: "mascot cta divider copy visual";
  align-items: center;
  gap: clamp(12px, 1.15vw, 20px);

  border: 1px solid rgba(0, 0, 0, 0.11);
  border-radius: var(--radius-2xl);

  background:
    radial-gradient(
      circle at 4% 50%,
      rgba(216, 90, 85, 0.15),
      transparent 24%
    ),
    radial-gradient(
      circle at 96% 50%,
      rgba(216, 90, 85, 0.11),
      transparent 23%
    ),
    linear-gradient(
      100deg,
      #fff6f5 0%,
      #fffafa 34%,
      #ffffff 64%,
      #fff7f6 100%
    );

  box-shadow: var(--shadow-header);
}


/* ---------- логотип внутри баннера ---------- */

.career-banner__brand {
  grid-area: brand;
  display: none;
  align-items: center;
  gap: 10px;

  color: var(--color-text-strong);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.career-banner__brand-dot {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;

  background: var(--gradient-primary-soft);
  box-shadow: 0 4px 10px rgba(189, 63, 59, 0.28);
}

.career-banner__brand-text {
  letter-spacing: -0.03em;
}


/* ---------- отдельный пингвин на десктопе ---------- */

.career-banner__mascot {
  grid-area: mascot;
  align-self: stretch;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  min-width: 0;
}

.career-banner__mascot img {
  width: 94px;
  height: 94px;
  max-width: none;

  object-fit: contain;
  object-position: center bottom;

  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.10));
}


/* ---------- кнопка ---------- */

.career-banner__cta,
.career-banner__cta:link,
.career-banner__cta:visited {
  grid-area: cta;

  width: 100%;
  min-height: 48px;
  padding: 0 18px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  box-shadow: var(--shadow-primary);

  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.career-banner__cta:hover,
.career-banner__cta:focus-visible {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary-hover);
}


/* ---------- вертикальный разделитель ---------- */

.career-banner__divider {
  grid-area: divider;

  display: block;
  width: 2px;
  height: 76px;

  border-radius: var(--radius-pill);
  background: rgba(189, 63, 59, 0.34);
}


/* ---------- текст ---------- */

.career-banner__copy {
  grid-area: copy;
  min-width: 0;
}

.career-banner__copy-desktop {
  display: block;
}

.career-banner__copy-compact {
  display: none;
}

.career-banner__desktop-title {
  margin: 0 0 5px;

  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.18vw, 20px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.career-banner__desktop-subtitle {
  color: var(--color-text-muted);
  font-size: clamp(12px, 0.9vw, 15px);
  font-weight: 600;
  line-height: 1.35;
}


/* ---------- изображения справа ---------- */

.career-banner__visual {
  grid-area: visual;
  align-self: stretch;

  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.career-banner__visual img {
  width: 100%;
  max-width: 205px;
  max-height: 88px;

  object-fit: contain;
  object-position: right center;

  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.08));
}


/* =========================================================
   ПЛАНШЕТНАЯ ВЕРСИЯ
========================================================= */

@media (max-width: 1100px) {

  .career-banner {
    min-height: 200px;
    padding: 18px 24px;

    grid-template-columns:
      minmax(0, 1fr)
      minmax(260px, 39%);
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
      "brand visual"
      "copy  visual"
      "cta   visual";

    column-gap: 22px;
    row-gap: 10px;

    border-radius: var(--radius-3xl);
  }

  .career-banner__brand {
    display: inline-flex;
    width: fit-content;
  }

  .career-banner__mascot,
  .career-banner__divider {
    display: none;
  }

  .career-banner__copy-desktop {
    display: none;
  }

  .career-banner__copy-compact {
    display: block;
  }

  .career-banner__compact-title {
    margin: 0 0 2px;

    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 38px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.045em;
  }

  .career-banner__compact-direction {
    margin: 0 0 10px;

    color: var(--color-text-strong);
    font-size: clamp(18px, 2.25vw, 25px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.025em;
  }

  .career-banner__compact-subtitle {
    color: var(--color-text-muted);
    font-size: clamp(15px, 1.7vw, 19px);
    font-weight: 600;
    line-height: 1.42;
  }

  .career-banner__cta {
    width: min(100%, 230px);
    min-height: 50px;
    justify-self: start;

    font-size: 16px;
  }

  .career-banner__visual {
    justify-content: center;
  }

  .career-banner__visual img {
    width: 100%;
    max-width: 340px;
    max-height: 190px;
    object-position: center bottom;
  }
}


/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
========================================================= */

@media (max-width: 760px) {

  .career-banner {
    min-height: 184px;
    padding: 15px 14px 13px 16px;

    grid-template-columns:
      minmax(0, 55%)
      minmax(0, 45%);
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
      "brand visual"
      "copy  visual"
      "cta   visual";

    column-gap: 4px;
    row-gap: 7px;

    border-radius: 26px;
  }

  .career-banner__brand {
    gap: 8px;
    font-size: clamp(17px, 4.8vw, 20px);
  }

  .career-banner__brand-dot {
    width: 12px;
    height: 12px;
  }

  .career-banner__compact-title {
    margin-bottom: 1px;
    font-size: clamp(23px, 6.8vw, 31px);
    line-height: 0.98;
  }

  .career-banner__compact-direction {
    margin-bottom: 7px;
    font-size: clamp(15px, 4.4vw, 20px);
    line-height: 1.12;
  }

  .career-banner__compact-subtitle {
    font-size: clamp(13px, 3.7vw, 16px);
    line-height: 1.4;
  }

  .career-banner__cta {
    width: min(100%, 210px);
    min-height: 47px;
    padding: 0 13px;

    border-radius: 17px;
    font-size: clamp(14px, 3.8vw, 16px);
  }

  .career-banner__visual {
    align-self: end;
    overflow: visible;
  }

  .career-banner__visual img {
    width: 118%;
    max-width: none;
    max-height: 174px;

    object-position: center bottom;
    transform: translateX(-4%);
  }
}


/* ---------- совсем узкие телефоны ---------- */

@media (max-width: 390px) {

  .career-banner {
    min-height: 174px;
    padding-left: 13px;

    grid-template-columns:
      minmax(0, 57%)
      minmax(0, 43%);
  }

  .career-banner__compact-title {
    font-size: 22px;
  }

  .career-banner__compact-direction {
    font-size: 14px;
  }

  .career-banner__compact-subtitle {
    font-size: 12px;
  }

  .career-banner__cta {
    min-height: 44px;
    font-size: 13px;
  }

  .career-banner__visual img {
    width: 124%;
    transform: translateX(-7%);
  }
}

/* =========================================================
   ИСПРАВЛЕННЫЙ МОБИЛЬНЫЙ БАННЕР
   Добавить в самый конец style.css
========================================================= */

@media (max-width: 760px) {

  .career-banner {
    position: relative;
    display: block;
    isolation: isolate;
    overflow: hidden;

    width: 100%;
    min-height: 210px;
    margin-bottom: 18px;
    padding: 16px 16px 15px 18px;

    border-radius: 26px;
  }


  /* Логотип внутри баннера */

  .career-banner__brand {
    position: relative;
    z-index: 4;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    width: fit-content;
    margin: 0;

    color: var(--color-text-strong);
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
  }

  .career-banner__brand-dot {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
  }


  /* Убираем элементы десктопной версии */

  .career-banner__mascot,
  .career-banner__divider,
  .career-banner__copy-desktop {
    display: none;
  }

  .career-banner__copy-compact {
    display: block;
  }


  /* Текст */

  .career-banner__copy {
    position: relative;
    z-index: 4;

    width: 255px;
    max-width: calc(100% - 90px);
    margin-top: 17px;
  }

  .career-banner__compact-title {
    margin: 0 0 3px;

    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-size: clamp(22px, 6.2vw, 25px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.045em;
    white-space: nowrap;
  }

  .career-banner__compact-direction {
    margin: 0 0 11px;

    color: var(--color-text-strong);
    font-size: clamp(14px, 4vw, 16px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.025em;
    white-space: nowrap;
  }

  .career-banner__compact-subtitle {
    max-width: 205px;

    color: var(--color-text-muted);
    font-size: clamp(13px, 3.7vw, 15px);
    font-weight: 600;
    line-height: 1.4;
  }


  /* Кнопка */

  .career-banner__cta,
  .career-banner__cta:link,
  .career-banner__cta:visited {
    position: absolute;
    left: 18px;
    bottom: 15px;
    z-index: 5;

    width: 188px;
    min-height: 47px;
    padding: 0 14px;

    border-radius: 17px;

    font-size: 15px;
    white-space: nowrap;
  }


  /* Пингвин, ноутбук и график */

  .career-banner__visual {
    position: absolute;
    right: 4px;
    bottom: 8px;
    z-index: 3;

    display: block;
    width: 174px;
    height: auto;

    overflow: visible;
    pointer-events: none;
  }

  .career-banner__visual img {
    display: block;

    width: 100%;
    max-width: none;
    max-height: none;
    height: auto;

    object-fit: contain;
    object-position: right bottom;

    transform: none;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.08));
  }
}


/* =========================================================
   УЗКИЕ ТЕЛЕФОНЫ
========================================================= */

@media (max-width: 390px) {

  .career-banner {
    min-height: 202px;
    padding-top: 15px;
    padding-left: 15px;
  }

  .career-banner__brand {
    font-size: 17px;
  }

  .career-banner__copy {
    width: 230px;
    margin-top: 15px;
  }

  .career-banner__compact-title {
    font-size: 22px;
  }

  .career-banner__compact-direction {
    font-size: 13.5px;
  }

  .career-banner__compact-subtitle {
    max-width: 185px;
    font-size: 12.5px;
  }

  .career-banner__cta,
  .career-banner__cta:link,
  .career-banner__cta:visited {
    left: 15px;
    bottom: 14px;

    width: 174px;
    min-height: 44px;

    font-size: 14px;
  }

  .career-banner__visual {
    right: 1px;
    bottom: 8px;
    width: 158px;
  }
}


/* =========================================================
   ОЧЕНЬ УЗКИЕ ТЕЛЕФОНЫ
========================================================= */

@media (max-width: 350px) {

  .career-banner {
    min-height: 195px;
  }

  .career-banner__compact-title {
    font-size: 20px;
  }

  .career-banner__compact-direction {
    font-size: 12px;
  }

  .career-banner__compact-subtitle {
    max-width: 165px;
    font-size: 11.5px;
  }

  .career-banner__cta,
  .career-banner__cta:link,
  .career-banner__cta:visited {
    width: 158px;
    min-height: 42px;
    font-size: 13px;
  }

  .career-banner__visual {
    width: 145px;
  }
}

/* =========================================================
   ФИНАЛЬНАЯ МОБИЛЬНАЯ ВЕРСИЯ БАННЕРА
========================================================= */

@media (max-width: 760px) {

  .career-banner {
    position: relative;
    display: block;
    overflow: hidden;

    width: 100%;
    min-height: 188px;
    margin-bottom: 18px;
    padding: 0;

    border-radius: 26px;
  }

  /* Полностью убираем логотип из рекламного баннера */
  .career-banner__brand {
    display: none !important;
  }

  .career-banner__mascot,
  .career-banner__divider,
  .career-banner__copy-desktop {
    display: none !important;
  }

  .career-banner__copy-compact {
    display: block;
  }

  /* Весь текст поднимаем наверх */
  .career-banner__copy {
    position: absolute;
    top: 18px;
    left: 20px;
    right: 16px;
    z-index: 4;

    width: auto;
    max-width: none;
    margin: 0;
  }

  .career-banner__compact-title {
    margin: 0 0 2px;

    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-size: clamp(23px, 6.4vw, 27px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.045em;
    white-space: nowrap;
  }

  .career-banner__compact-direction {
    margin: 0 0 10px;

    color: var(--color-text-strong);
    font-size: clamp(14px, 4vw, 16px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.025em;
    white-space: nowrap;
  }

  .career-banner__compact-subtitle {
    width: 190px;
    max-width: 55%;
    margin: 0;

    color: var(--color-text-muted);
    font-size: clamp(12px, 3.6vw, 14px);
    font-weight: 600;
    line-height: 1.35;
  }

  /* Кнопка отдельно внизу — больше не перекрывает текст */
  .career-banner__cta,
  .career-banner__cta:link,
  .career-banner__cta:visited {
    position: absolute;
    left: 20px;
    bottom: 15px;
    z-index: 5;

    width: 185px;
    min-height: 44px;
    padding: 0 14px;

    border-radius: 16px;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
  }

  /* Изображение с пингвином справа */
  .career-banner__visual {
    position: absolute;
    right: 3px;
    bottom: 7px;
    z-index: 3;

    display: block;
    width: 158px;
    height: auto;

    overflow: visible;
    pointer-events: none;
  }

  .career-banner__visual img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;

    object-fit: contain;
    object-position: right bottom;

    transform: none;
    filter: drop-shadow(0 7px 10px rgba(0, 0, 0, 0.08));
  }
}


/* Узкие телефоны */

@media (max-width: 390px) {

  .career-banner {
    min-height: 182px;
  }

  .career-banner__copy {
    top: 16px;
    left: 17px;
  }

  .career-banner__compact-title {
    font-size: 23px;
  }

  .career-banner__compact-direction {
    font-size: 13.5px;
  }

  .career-banner__compact-subtitle {
    width: 175px;
    font-size: 12px;
  }

  .career-banner__cta,
  .career-banner__cta:link,
  .career-banner__cta:visited {
    left: 17px;
    bottom: 13px;

    width: 172px;
    min-height: 42px;

    font-size: 13.5px;
  }

  .career-banner__visual {
    right: 0;
    bottom: 7px;
    width: 148px;
  }
}


/* Очень узкие телефоны */

@media (max-width: 350px) {

  .career-banner {
    min-height: 180px;
  }

  .career-banner__compact-title {
    font-size: 21px;
  }

  .career-banner__compact-direction {
    font-size: 12px;
  }

  .career-banner__compact-subtitle {
    width: 155px;
    font-size: 11.5px;
  }

  .career-banner__cta,
  .career-banner__cta:link,
  .career-banner__cta:visited {
    width: 155px;
    min-height: 40px;
    font-size: 12.5px;
  }

  .career-banner__visual {
    width: 138px;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .career-banner__cta,
  .career-banner__cta:link,
  .career-banner__cta:visited {
    width: 260px;
    max-width: 100%;
    justify-self: start;
  }
}

/* =========================================================
   РАСПИСАНИЕ КУРСА
========================================================= */

.schedule-section {
  --schedule-gap-x: 42px;
  --schedule-gap-y: 22px;

  width: 100%;
  margin: clamp(42px, 5vw, 72px) 0;

  font-family: var(--font-main);
  color: var(--color-text);
}


/* =========================================================
   ЗАГОЛОВОК
========================================================= */

.schedule-section__title {
  margin: 0 0 clamp(28px, 3vw, 40px);

  color: var(--color-text-strong);

  font-family: var(--font-heading);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
}


/* =========================================================
   ОСНОВНАЯ РАСКЛАДКА
========================================================= */

.schedule-section__layout {
  display: grid;

  grid-template-columns:
    minmax(250px, 31%)
    minmax(0, 69%);

  column-gap: var(--schedule-gap-x);

  align-items: center;
}


/* =========================================================
   ПИНГВИН
========================================================= */

.schedule-section__mascot {
  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

.schedule-section__mascot-img {
  display: block;

  width: min(100%, 360px);
  max-height: 470px;

  object-fit: contain;
}


/* =========================================================
   СЕТКА КАРТОЧЕК
========================================================= */

.schedule-grid {
  min-width: 0;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  column-gap: var(--schedule-gap-x);
  row-gap: var(--schedule-gap-y);

  /*
   * Даём место половине кружка,
   * чтобы он не вылезал за общую сетку.
   */
  padding-left: 24px;

  align-items: stretch;
}


/* =========================================================
   ОБЁРТКА КАРТОЧКИ
========================================================= */

.schedule-item {
  position: relative;

  min-width: 0;

  display: flex;
  align-self: stretch;
}


/* =========================================================
   КАРТОЧКА
========================================================= */

.schedule-item__card {
  position: relative;

  width: 100%;
  min-width: 0;
  height: 100%;

  min-height: 120px;

  overflow: hidden;

  padding:
    18px
    22px
    18px
    38px;

  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-lg);

  background:
    linear-gradient(
      90deg,
      rgba(189, 63, 59, 0.15) 0px,
      rgba(189, 63, 59, 0.09) 28px,
      rgba(189, 63, 59, 0.03) 52px,
      #ffffff 88px,
      #ffffff 100%
    );

  box-shadow: var(--shadow-soft);
}


/* плотный красный край */

.schedule-item__card::before {
  content: "";

  position: absolute;

  top: 0;
  bottom: 0;
  left: 0;

  width: 10px;

  background: var(--gradient-primary);
}


/* =========================================================
   НОМЕР
========================================================= */

.schedule-item__number {
  position: absolute;

  top: 50%;
  left: 0;

  z-index: 5;

  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  transform: translate(-50%, -50%);

  border-radius: 50%;

  background: var(--gradient-primary);

  color: #fff;

  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;

  box-shadow:
    0 8px 18px rgba(189, 63, 59, 0.26);
}


/* =========================================================
   ЗАГОЛОВОК КАРТОЧКИ
========================================================= */

.schedule-item__title {
  margin: 0 0 12px;

  color: var(--color-text-strong);

  font-family: var(--font-heading);
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 900;

  line-height: 1.08;
  letter-spacing: -0.025em;
}


/* =========================================================
   СТРОКИ
========================================================= */

.schedule-item__rows {
  display: flex;
  flex-direction: column;

  gap: 7px;
}

.schedule-row {
  min-width: 0;

  display: grid;

  grid-template-columns:
    7px
    max-content
    minmax(0, 1fr);

  column-gap: 7px;

  align-items: center;
}


/* красная точка */

.schedule-row__dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--color-primary);
}


/* тип */

.schedule-row strong {
  color: var(--color-text-strong);

  font-size: clamp(11px, 0.85vw, 13px);
  font-weight: 800;
  line-height: 1.3;
}


/* дата */

.schedule-row > span:last-child {
  min-width: 0;

  color: var(--color-text-muted);

  font-size: clamp(11px, 0.85vw, 13px);
  font-weight: 600;
  line-height: 1.3;
}


/* =========================================================
   ГОРИЗОНТАЛЬНЫЙ ПЛАНШЕТ
========================================================= */

@media (min-width: 901px) and (max-width: 1180px) {

  .schedule-section {
    --schedule-gap-x: 34px;
    --schedule-gap-y: 18px;
  }


  .schedule-section__layout {
    grid-template-columns:
      minmax(190px, 29%)
      minmax(0, 71%);
  }


  .schedule-section__mascot-img {
    width: min(100%, 285px);
    max-height: 400px;
  }


  .schedule-grid {
    padding-left: 22px;
  }


  .schedule-item__card {
    min-height: 112px;

    padding:
      17px
      17px
      16px
      34px;
  }


  .schedule-item__number {
    width: 42px;
    height: 42px;

    font-size: 17px;
  }


  .schedule-item__title {
    margin-bottom: 10px;

    font-size: clamp(15px, 1.6vw, 18px);
  }


  .schedule-row {
    grid-template-columns:
      6px
      max-content
      minmax(0, 1fr);

    column-gap: 6px;
  }


  .schedule-row__dot {
    width: 6px;
    height: 6px;
  }


  .schedule-row strong,
  .schedule-row > span:last-child {
    font-size: 11px;
  }
}


/* =========================================================
   ВЕРТИКАЛЬНЫЙ ПЛАНШЕТ
========================================================= */

@media (max-width: 900px) {

  .schedule-section__layout {
    display: block;
  }


  /* пингвин полностью исчезает */

  .schedule-section__mascot {
    display: none;
  }


  .schedule-grid {
    grid-template-columns: 1fr;

    row-gap: 18px;

    padding-left: 23px;
  }


  .schedule-item__card {
    min-height: 108px;

    padding:
      20px
      22px
      19px
      38px;
  }


  .schedule-item__number {
    width: 44px;
    height: 44px;

    font-size: 18px;
  }


  .schedule-item__title {
    font-size: clamp(18px, 2.8vw, 22px);
  }


  .schedule-row strong,
  .schedule-row > span:last-child {
    font-size: 13px;
  }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

  .schedule-section {
    margin: 36px 0 48px;
  }


  .schedule-section__title {
    margin-bottom: 26px;

    font-size: clamp(30px, 9vw, 40px);
  }


  .schedule-grid {
    row-gap: 14px;

    padding-left: 20px;
  }


  .schedule-item__card {
    min-height: 0;

    padding:
      18px
      16px
      17px
      30px;

    border-radius: 16px;

    background:
      linear-gradient(
        90deg,
        rgba(189, 63, 59, 0.15) 0px,
        rgba(189, 63, 59, 0.08) 22px,
        rgba(189, 63, 59, 0.02) 42px,
        #ffffff 70px,
        #ffffff 100%
      );
  }


  .schedule-item__card::before {
    width: 8px;
  }


  .schedule-item__number {
    width: 38px;
    height: 38px;

    font-size: 16px;
  }


  .schedule-item__title {
    margin-bottom: 11px;

    font-size: 17px;
  }


  .schedule-row {
    grid-template-columns:
      6px
      max-content
      minmax(0, 1fr);

    column-gap: 6px;
  }


  .schedule-row__dot {
    width: 6px;
    height: 6px;
  }


  .schedule-row strong,
  .schedule-row > span:last-child {
    font-size: 11px;
  }
}


/* =========================================================
   УЗКИЙ MOBILE
========================================================= */

@media (max-width: 390px) {

  .schedule-grid {
    padding-left: 19px;
  }


  .schedule-item__number {
    width: 36px;
    height: 36px;

    font-size: 15px;
  }


  .schedule-item__card {
    padding:
      17px
      14px
      16px
      28px;
  }


  .schedule-row {
    grid-template-columns:
      6px
      1fr;

    gap: 3px 6px;
  }


  .schedule-row__dot {
    grid-column: 1;
    grid-row: 1;
  }


  .schedule-row strong {
    grid-column: 2;
    grid-row: 1;
  }


  .schedule-row > span:last-child {
    grid-column: 2;
    grid-row: 2;
  }
}


/* =========================================================
   НОМЕР — добавляем белую обводку
========================================================= */

.schedule-item__number {
  position: absolute;

  top: 50%;
  left: 0;

  z-index: 5;

  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  transform: translate(-50%, -50%);

  border-radius: 50%;

  background: var(--gradient-primary);

  /* белая обводка */
  border: 4px solid #fff;

  color: #fff;

  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;

  box-shadow:
    0 8px 18px rgba(189, 63, 59, 0.26);
}


/* =========================================================
   ТОЧКА ВМЕСТО L / S
========================================================= */

.schedule-row__dot {
  width: 7px;
  height: 7px;

  display: block;

  border-radius: 50%;

  background: var(--color-primary);
}


/* =========================================================
   ЛЕКЦИЯ / СЕМИНАР — КРАСНЫЕ
========================================================= */

.schedule-row strong {
  color: var(--color-primary);

  font-size: clamp(11px, 0.85vw, 13px);
  font-weight: 800;
  line-height: 1.3;
}


/* дата остаётся серой */

.schedule-row > span:last-child {
  min-width: 0;

  color: var(--color-text-muted);

  font-size: clamp(11px, 0.85vw, 13px);
  font-weight: 600;
  line-height: 1.3;
}

/* =========================================================
   РАСПИСАНИЕ КУРСА
========================================================= */

.schedule-section {
  width: 100%;
  margin: clamp(42px, 5vw, 72px) 0;

  font-family: var(--font-main);
  color: var(--color-text);
}


/* =========================================================
   ЗАГОЛОВОК
========================================================= */

.schedule-section__title {
  margin: 0 0 clamp(28px, 3vw, 40px);

  color: var(--color-text-strong);

  font-family: var(--font-heading);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
}


/* =========================================================
   DESKTOP
========================================================= */

.schedule-section__layout {
  display: grid;

  /*
   * Пингвин остаётся примерно того же размера,
   * а расписанию отдаём немного больше пространства.
   */
  grid-template-columns:
    minmax(250px, 29fr)
    minmax(0, 71fr);

  column-gap: 32px;

  align-items: center;
}


/* =========================================================
   ПИНГВИН
========================================================= */

.schedule-section__mascot {
  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

.schedule-section__mascot-img {
  display: block;

  width: min(100%, 360px);
  max-height: 470px;

  object-fit: contain;
}


/* =========================================================
   СЕТКА РАСПИСАНИЯ
========================================================= */

.schedule-grid {
  min-width: 0;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  /*
   * Примерно как на целевом скриншоте.
   */
  column-gap: 46px;
  row-gap: 26px;

  padding-left: 24px;

  align-items: stretch;
}


/* =========================================================
   ЭЛЕМЕНТ
========================================================= */

.schedule-item {
  position: relative;

  min-width: 0;

  display: flex;
  align-self: stretch;
}


/* =========================================================
   КАРТОЧКА
========================================================= */

.schedule-item__card {
  position: relative;

  width: 100%;
  min-width: 0;
  height: 100%;

  /*
   * Было меньше — теперь карточки заметно крупнее,
   * как на втором скриншоте.
   */
  min-height: 142px;

  overflow: hidden;

  padding:
    22px
    24px
    21px
    40px;

  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-lg);

  background:
    linear-gradient(
      90deg,
      rgba(189, 63, 59, 0.15) 0px,
      rgba(189, 63, 59, 0.09) 30px,
      rgba(189, 63, 59, 0.03) 58px,
      #ffffff 94px,
      #ffffff 100%
    );

  box-shadow: var(--shadow-soft);
}


/* Красная часть слева */

.schedule-item__card::before {
  content: "";

  position: absolute;

  top: 0;
  bottom: 0;
  left: 0;

  width: 10px;

  background: var(--gradient-primary);
}


/* =========================================================
   НОМЕР
========================================================= */

.schedule-item__number {
  position: absolute;

  top: 50%;
  left: 0;

  z-index: 5;

  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  transform: translate(-50%, -50%);

  border: 4px solid #fff;
  border-radius: 50%;

  background: var(--gradient-primary);

  color: #fff;

  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 900;
  line-height: 1;

  box-shadow:
    0 8px 18px rgba(189, 63, 59, 0.26);
}


/* =========================================================
   НАЗВАНИЕ КАРТОЧКИ
========================================================= */

.schedule-item__title {
  margin: 0 0 14px;

  color: var(--color-text-strong);

  font-family: var(--font-heading);
  font-size: clamp(18px, 1.45vw, 21px);
  font-weight: 900;

  line-height: 1.08;
  letter-spacing: -0.025em;
}


/* =========================================================
   СТРОКИ
========================================================= */

.schedule-item__rows {
  display: flex;
  flex-direction: column;

  gap: 9px;
}

.schedule-row {
  min-width: 0;

  display: grid;

  grid-template-columns:
    7px
    max-content
    minmax(0, 1fr);

  column-gap: 8px;

  align-items: center;
}


/* =========================================================
   ТОЧКА
========================================================= */

.schedule-row__dot {
  display: block;

  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--color-primary);
}


/* =========================================================
   ЛЕКЦИЯ / СЕМИНАР
========================================================= */

.schedule-row strong {
  color: var(--color-primary);

  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 800;

  line-height: 1.3;
}


/* =========================================================
   ДАТА
========================================================= */

.schedule-row > span:last-child {
  min-width: 0;

  color: var(--color-text-muted);

  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 600;

  line-height: 1.3;
}


/* =========================================================
   ГОРИЗОНТАЛЬНЫЙ ПЛАНШЕТ
========================================================= */

@media (min-width: 901px) and (max-width: 1180px) {

  .schedule-section__layout {
    grid-template-columns:
      minmax(190px, 28fr)
      minmax(0, 72fr);

    column-gap: 28px;
  }


  .schedule-section__mascot-img {
    width: min(100%, 290px);
    max-height: 400px;
  }


  .schedule-grid {
    column-gap: 36px;
    row-gap: 20px;

    padding-left: 22px;
  }


  .schedule-item__card {
    min-height: 124px;

    padding:
      19px
      18px
      18px
      34px;
  }


  .schedule-item__number {
    width: 44px;
    height: 44px;

    border-width: 4px;

    font-size: 17px;
  }


  .schedule-item__title {
    margin-bottom: 11px;

    font-size: clamp(16px, 1.65vw, 19px);
  }


  .schedule-item__rows {
    gap: 7px;
  }


  .schedule-row {
    grid-template-columns:
      6px
      max-content
      minmax(0, 1fr);

    column-gap: 6px;
  }


  .schedule-row__dot {
    width: 6px;
    height: 6px;
  }


  .schedule-row strong,
  .schedule-row > span:last-child {
    font-size: 11px;
  }
}


/* =========================================================
   ВЕРТИКАЛЬНЫЙ ПЛАНШЕТ
   ПИНГВИН УБИРАЕМ
========================================================= */

@media (max-width: 900px) {

  .schedule-section__layout {
    display: block;
  }


  .schedule-section__mascot {
    display: none;
  }


  .schedule-grid {
    grid-template-columns: 1fr;

    row-gap: 18px;

    padding-left: 24px;
  }


  .schedule-item__card {
    min-height: 118px;

    padding:
      22px
      24px
      21px
      40px;
  }


  .schedule-item__number {
    width: 46px;
    height: 46px;

    font-size: 18px;
  }


  .schedule-item__title {
    font-size: clamp(19px, 2.8vw, 23px);
  }


  .schedule-row strong,
  .schedule-row > span:last-child {
    font-size: 13px;
  }
}


/* =========================================================
   ТЕЛЕФОН
========================================================= */

@media (max-width: 640px) {

  .schedule-section {
    margin: 36px 0 48px;
  }


  .schedule-section__title {
    margin-bottom: 26px;

    font-size: clamp(30px, 9vw, 40px);
  }


  .schedule-grid {
    row-gap: 15px;

    padding-left: 20px;
  }


  .schedule-item__card {
    min-height: 0;

    padding:
      19px
      17px
      18px
      31px;

    border-radius: 16px;

    background:
      linear-gradient(
        90deg,
        rgba(189, 63, 59, 0.15) 0px,
        rgba(189, 63, 59, 0.08) 22px,
        rgba(189, 63, 59, 0.02) 44px,
        #ffffff 72px,
        #ffffff 100%
      );
  }


  .schedule-item__card::before {
    width: 8px;
  }


  .schedule-item__number {
    width: 40px;
    height: 40px;

    border-width: 3px;

    font-size: 16px;
  }


  .schedule-item__title {
    margin-bottom: 12px;

    font-size: 18px;
  }


  .schedule-item__rows {
    gap: 7px;
  }


  .schedule-row {
    grid-template-columns:
      6px
      max-content
      minmax(0, 1fr);

    column-gap: 6px;
  }


  .schedule-row__dot {
    width: 6px;
    height: 6px;
  }


  .schedule-row strong,
  .schedule-row > span:last-child {
    font-size: 11px;
  }
}


/* =========================================================
   ОЧЕНЬ УЗКИЙ ТЕЛЕФОН
========================================================= */

@media (max-width: 390px) {

  .schedule-grid {
    padding-left: 19px;
  }


  .schedule-item__number {
    width: 38px;
    height: 38px;

    font-size: 15px;
  }


  .schedule-item__card {
    padding:
      18px
      14px
      17px
      29px;
  }


  .schedule-row {
    grid-template-columns:
      6px
      1fr;

    gap: 3px 6px;
  }


  .schedule-row__dot {
    grid-column: 1;
    grid-row: 1;
  }


  .schedule-row strong {
    grid-column: 2;
    grid-row: 1;
  }


  .schedule-row > span:last-child {
    grid-column: 2;
    grid-row: 2;
  }
}

.schedule-section__layout {
  align-items: stretch;
}

.schedule-section__mascot {
  display: flex;
  align-items: flex-end;
  align-self: stretch;
}

.schedule-section__mascot-img {
  margin-top: auto;
}

@media (max-width: 980px) {
  .schedule-section__mascot {
    display: none !important;
  }
}

/* Вертикальные планшеты */
@media (min-width: 561px) and (max-width: 980px) {

  .schedule-section__mascot {
    display: none !important;
  }

  .schedule-section__layout {
    display: block !important;
    width: 100%;
    min-width: 0;
  }

  .schedule-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    gap: 18px;
  }

  .schedule-item {
    width: 100% !important;
    min-width: 0 !important;
  }

  .schedule-item__card {
    width: 100% !important;
    min-width: 0 !important;
  }

  .schedule-row {
    min-width: 0;
    flex-wrap: wrap;
  }
}

:root {
  --red: #bd3f3b;
  --red-dark: #9f2f2b;
  --ink: #111111;
  --muted: #746867;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.31);
  --shadow: 0 22px 60px rgba(52, 31, 29, 0.12);
  --radius-xl: 36px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% 0%, rgba(189, 63, 59, 0.045), transparent 31rem),
    #ffffff;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

.page-shell {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: clamp(38px, 5vw, 70px) clamp(18px, 4vw, 44px) 70px;
}

.section-heading {
  max-width: none;
  margin: 0 0 27px;
}

.section-heading__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--red-dark);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h1 {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.section-heading__title-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-height: 72px;
}

.course-picker-trigger {
  position: relative;
  display: inline-grid;
  width: 124px;
  height: 68px;
  overflow: hidden;
  flex: 0 0 auto;
  grid-template-columns: 1fr 48px;
  padding: 0;
  border: 2px solid var(--red-dark);
  border-radius: 19px;
  background: #f3d8d6;
  box-shadow: 0 9px 22px rgba(114, 37, 33, 0.18);
  color: var(--red-dark);
  cursor: pointer;
  vertical-align: middle;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.course-picker-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 28px rgba(114, 37, 33, 0.24);
}

.course-picker-trigger:active {
  transform: translateY(0) scale(0.98);
}

.course-picker-trigger::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -65%;
  bottom: -65%;
  left: -44%;
  width: 28%;
  opacity: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.78), transparent);
  transform: rotate(12deg);
  pointer-events: none;
}

.course-picker-trigger.needs-attention::before {
  animation: picker-shine 1.35s ease-in-out 0.9s 1;
}

.course-picker-trigger__value,
.course-picker-trigger__arrow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-picker-trigger__value {
  font-size: 42px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.07em;
}

.course-picker-trigger__arrow {
  background: linear-gradient(145deg, #c94b47, var(--red-dark));
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  transition: transform 180ms ease;
}

.course-picker-trigger[aria-expanded="true"] .course-picker-trigger__arrow {
  transform: rotate(180deg);
}

@keyframes picker-shine {
  0%, 12% {
    left: -44%;
    opacity: 0;
  }
  30% {
    opacity: 0.88;
  }
  72%, 100% {
    left: 118%;
    opacity: 0;
  }
}

.course-picker-panel {
  display: grid;
  width: min(100%, 720px);
  max-width: 720px;
  max-height: 0;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 5px;
  overflow: hidden;
  flex: 0 0 auto;
  margin-top: 0;
  padding: 0;
  border: 0 solid rgba(159, 47, 43, 0.2);
  border-radius: 18px;
  background: rgba(189, 63, 59, 0.055);
  box-shadow: 0 12px 30px rgba(64, 24, 22, 0);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    max-height 260ms ease,
    margin-top 220ms ease,
    padding 220ms ease,
    border-width 180ms ease,
    box-shadow 220ms ease,
    opacity 160ms ease,
    transform 220ms ease;
}

.course-picker-panel.is-open {
  max-height: 82px;
  margin-top: 14px;
  padding: 5px;
  border-width: 1px;
  box-shadow: 0 12px 30px rgba(64, 24, 22, 0.1);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.course-picker-panel.has-combo {
  grid-template-columns: minmax(88px, 0.58fr) repeat(3, minmax(125px, 1fr));
}

.course-picker-reset,
.course-picker-option {
  display: flex;
  min-width: 0;
  min-height: 68px;
  flex-direction: column;
  justify-content: center;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.course-picker-reset {
  display: none;
  align-items: center;
  gap: 3px;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.course-picker-panel.has-combo .course-picker-reset {
  display: flex;
}

.course-picker-reset:hover,
.course-picker-option:hover {
  background: rgba(189, 63, 59, 0.075);
  color: var(--red-dark);
  transform: translateY(-1px);
}

.course-picker-option.is-selected {
  border-color: rgba(159, 47, 43, 0.26);
  background: rgba(189, 63, 59, 0.1);
  color: var(--red-dark);
}

.course-picker-option strong {
  font-size: 17px;
  font-weight: 950;
  line-height: 1.05;
}

.course-picker-option > span:last-child {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.18;
}

.course-picker-option__topline {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
}

.course-picker-option__topline small {
  padding: 3px 5px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 650;
}

.pricing-stage {
  position: relative;
  padding-top: 0;
}

.offer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #c94642 0%, #bd3f3b 50%, #9f2f2b 100%);
  box-shadow: var(--shadow);
  color: var(--white);
}

.offer__main {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 22px 30px 20px;
}

.offer__main::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 2px dashed var(--line);
  pointer-events: none;
}

.pricing-nav {
  position: absolute;
  z-index: 1;
  top: 0;
  right: auto;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  width: min(620px, calc(100% - 52px));
  min-height: 90px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px 20px 0 0;
  background: linear-gradient(145deg, #cf5e5a 0%, #c24e4a 100%);
  box-shadow: 0 15px 30px rgba(84, 25, 23, 0.17);
  color: #fff;
  transform: translateX(-50%);
}

.pricing-nav.is-dropdown-open {
  z-index: 3;
}

.pricing-nav__item {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 74px;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.pricing-nav__item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.pricing-nav__item.is-selected {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.pricing-nav__item:active {
  transform: scale(0.985);
}

.pricing-nav__item--combo::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -65%;
  bottom: -65%;
  left: -48%;
  width: 30%;
  opacity: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.66), transparent);
  transform: rotate(12deg);
  pointer-events: none;
}

.pricing-nav__item--combo.needs-attention::before {
  animation: combo-shine 2.35s ease-in-out 0.8s 2;
}

.pricing-nav__name,
.pricing-nav__hint {
  position: relative;
  z-index: 1;
  display: block;
}

.pricing-nav__name {
  font-size: 16px;
  font-weight: 930;
  line-height: 1.1;
}

.pricing-nav__hint {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.pricing-nav__chevron {
  display: inline-block;
  margin-left: 3px;
  font-size: 15px;
  transition: transform 180ms ease;
}

.pricing-nav__item--combo[aria-expanded="true"] .pricing-nav__chevron {
  transform: rotate(180deg);
}

@keyframes combo-shine {
  0%, 15% {
    left: -48%;
    opacity: 0;
  }
  28% {
    opacity: 0.8;
  }
  58% {
    left: 122%;
    opacity: 0;
  }
  100% {
    left: 122%;
    opacity: 0;
  }
}

.combo-popover {
  position: absolute;
  z-index: 20;
  top: auto;
  right: 0;
  bottom: calc(100% + 9px);
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background: #b94a47;
  box-shadow: 0 18px 38px rgba(67, 18, 16, 0.26);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(7px) scale(0.985);
  transform-origin: bottom center;
  transition: opacity 170ms ease, transform 210ms ease, visibility 0s linear 210ms;
}

.combo-popover.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.combo-option {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 62px;
  flex-direction: column;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.15;
  text-align: left;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.combo-option span {
  display: block;
}

.combo-option small {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 750;
}

.combo-option:hover,
.combo-option.is-selected {
  color: #fff;
}

.combo-option:hover {
  background: rgba(255, 255, 255, 0.07);
}

.combo-option.is-selected {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.13);
}

.price-view {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
  padding: 0 0 7px;
  transition: opacity 130ms ease, transform 130ms ease;
}

.price-view.is-switching {
  opacity: 0.4;
  transform: translateY(3px);
}

.payment-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 2px 0 3px 25px;
  border-left: 0;
}

.payment-column--upfront {
  padding-right: 25px;
  padding-left: 0;
  border-left: 0;
}

.payment-column__cap {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 38px;
  align-items: center;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
}

.payment-column__old-price {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 18px;
  font-weight: 850;
  line-height: 1;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.9);
  text-decoration-thickness: 2px;
}

.payment-column__price {
  margin-top: 5px;
  font-size: clamp(39px, 4vw, 52px);
  font-weight: 950;
  line-height: 0.94;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.payment-column__period {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 650;
}

.payment-column__saving,
.payment-column__total {
  margin-top: 16px;
}

.payment-column__saving {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.payment-column__saving::before {
  content: "↘";
  margin-right: 6px;
  color: rgba(255, 255, 255, 0.66);
}

.payment-column__total strong,
.payment-column__total span {
  display: block;
}

.payment-column__total strong {
  font-size: 17px;
  font-weight: 900;
}

.payment-column__total span {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.57);
  font-size: 11px;
  font-weight: 650;
}

.payment-options {
  display: grid;
  gap: 4px;
  align-content: start;
  margin-top: auto;
  padding-top: 17px;
}

.payment-options--upfront {
  padding: 17px 0 0;
}

.discount-toggle {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 31px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  text-align: left;
  transition: color 180ms ease;
}

.discount-toggle--combo {
  overflow: hidden;
}

.discount-toggle--combo::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -80%;
  bottom: -80%;
  left: -48%;
  width: 30%;
  opacity: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  transform: rotate(12deg);
  pointer-events: none;
}

.discount-toggle--combo.needs-attention::before {
  animation: combo-shine 2.35s ease-in-out 0.8s 2;
}

.discount-toggle--combo .discount-toggle__label,
.discount-toggle--combo .discount-toggle__switch {
  position: relative;
  z-index: 1;
}

.discount-toggle:hover,
.discount-toggle.is-active {
  color: #fff;
}

.discount-toggle__label {
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
}

.discount-toggle__switch {
  position: relative;
  width: 38px;
  height: 22px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  transition: background 180ms ease, border-color 180ms ease;
}

.discount-toggle__switch span {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 2px 7px rgba(55, 18, 16, 0.2);
  transition: transform 180ms ease, background 180ms ease;
}

.discount-toggle.is-active .discount-toggle__switch {
  border-color: #fff;
  background: #fff;
}

.discount-toggle.is-active .discount-toggle__switch span {
  background: var(--red-dark);
  transform: translateX(16px);
}

.combo-choices {
  display: grid;
  width: 100%;
  max-height: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border-radius: 10px;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: max-height 260ms ease, margin 220ms ease, padding 220ms ease, background-color 180ms ease, opacity 180ms ease, transform 220ms ease, visibility 0s linear 260ms;
}

.combo-choices.is-open {
  max-height: 190px;
  margin: 4px 0 6px;
  padding: 7px 9px 8px;
  background: rgba(255, 255, 255, 0.09);
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.combo-choice {
  display: flex;
  width: 100%;
  min-height: 32px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.66);
  cursor: pointer;
  text-align: left;
  transition: color 180ms ease;
}

.combo-choice + .combo-choice {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.combo-choice:hover,
.combo-choice.is-selected {
  color: #fff;
}

.combo-choice__label {
  min-width: 0;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.18;
}

.combo-choice__label small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.57);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.combo-choice.is-selected .combo-choice__switch {
  border-color: #fff;
  background: #fff;
}

.combo-choice.is-selected .combo-choice__switch span {
  background: var(--red-dark);
  transform: translateX(16px);
}

.promo-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 31px 27px 26px;
  border-left: 2px dashed var(--line);
}

.promo-panel__eyebrow {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-panel h2 {
  margin: 11px 0 7px;
  font-size: clamp(26px, 2.7vw, 37px);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.promo-panel__copy > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 20px 0;
}

.countdown__unit {
  min-width: 0;
  padding: 7px 5px 5px;
  text-align: center;
}

.countdown__unit + .countdown__unit {
  border-left: 1px dashed rgba(255, 255, 255, 0.26);
}

.countdown__unit strong,
.countdown__unit span {
  display: block;
}

.countdown__unit strong {
  font-variant-numeric: tabular-nums;
  font-size: clamp(22px, 2.2vw, 29px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.04em;
}

.countdown__unit span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  font-weight: 750;
}

.promo-panel__action {
  margin-top: auto;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 55px;
  padding: 0 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(65, 19, 17, 0.14);
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(65, 19, 17, 0.2);
}

.course-picker-trigger:focus-visible,
.course-picker-reset:focus-visible,
.course-picker-option:focus-visible {
  outline: 3px solid rgba(159, 47, 43, 0.7);
  outline-offset: 3px;
}

.pricing-nav__item:focus-visible,
.combo-option:focus-visible,
.combo-choice:focus-visible,
.discount-toggle:focus-visible,
.primary-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 721px) and (max-width: 1024px) {
  .page-shell {
    padding: 48px 28px 64px;
  }

  .section-heading__title-row {
    flex-wrap: nowrap;
  }

  .course-picker-panel {
    transform: translateY(-7px);
  }

  .course-picker-panel.is-open {
    width: 100%;
    max-width: 100%;
    max-height: 82px;
    margin-top: 14px;
    transform: translateY(0);
  }

  .pricing-stage {
    padding-top: 0;
  }

  .pricing-nav {
    right: auto;
    left: 50%;
    width: 100%;
  }

  .offer {
    grid-template-columns: 1fr;
    border-radius: var(--radius-xl);
  }

  .offer__main {
    padding: 24px 27px 22px;
  }

  .promo-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.88fr);
    align-items: center;
    gap: 15px 26px;
    padding: 25px 28px 27px;
    border-top: 2px dashed var(--line);
    border-left: 0;
  }

  .promo-panel__copy,
  .countdown {
    grid-column: 1;
  }

  .promo-panel h2 {
    max-width: 16ch;
    font-size: 32px;
  }

  .countdown {
    margin: 0;
  }

  .promo-panel__action {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 32px 11px 50px;
  }

  .section-heading {
    margin-bottom: 21px;
    padding: 0 5px;
  }

  .section-heading__title-row {
    display: block;
    min-height: 0;
  }

  .section-heading h1 {
    gap: 7px;
    font-size: clamp(35px, 11vw, 46px);
  }

  .course-picker-trigger {
    width: 98px;
    height: 55px;
    grid-template-columns: 1fr 38px;
    border-radius: 15px;
  }

  .course-picker-trigger__value {
    font-size: 33px;
  }

  .course-picker-trigger__arrow {
    font-size: 22px;
  }

  .course-picker-panel,
  .course-picker-panel.has-combo {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    max-height: 0;
    gap: 0;
    margin-top: 0;
    transform: translateY(-6px);
  }

  .course-picker-panel.is-open {
    width: 100%;
    max-width: 100%;
    max-height: 320px;
    margin-top: 11px;
    transform: translateY(0);
  }

  .course-picker-reset {
    min-height: 44px;
    flex-direction: row;
  }

  .course-picker-option {
    min-height: 55px;
    padding: 8px 10px;
  }

  .course-picker-option + .course-picker-option,
  .course-picker-reset + .course-picker-option {
    border-top-color: rgba(159, 47, 43, 0.12);
  }

  .course-picker-option__topline small {
    font-size: 8px;
  }

  .section-heading p {
    margin-top: 9px;
    font-size: 16px;
  }

  .offer {
    grid-template-columns: 1fr;
    border-radius: 27px;
  }

  .pricing-stage {
    padding-top: 0;
  }

  .pricing-nav {
    right: auto;
    left: 50%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
    width: 100%;
    min-height: 68px;
    padding: 5px;
    border-radius: 17px 17px 0 0;
  }

  .pricing-nav__item {
    min-height: 56px;
    align-items: center;
    padding: 8px 5px;
    border-radius: 11px;
    text-align: center;
  }

  .pricing-nav__name {
    font-size: 14px;
  }

  .pricing-nav__hint {
    display: none;
  }

  .combo-popover {
    top: auto;
    bottom: calc(100% + 7px);
    gap: 3px;
    padding: 5px;
    border-radius: 15px;
  }

  .combo-option {
    min-height: 58px;
    padding: 8px 5px;
    border-radius: 10px;
    font-size: clamp(11px, 3.4vw, 14px);
    text-align: center;
  }

  .combo-option small {
    margin-top: 4px;
    font-size: 10px;
  }

  .offer__main {
    padding: 19px 15px 18px;
  }

  .offer__main::after {
    display: none;
  }

  .price-view {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 0;
    padding: 0;
  }

  .payment-column {
    padding: 24px 7px 3px;
    border-top: 2px dashed var(--line);
  }

  .payment-column--upfront {
    padding: 2px 7px 24px;
    border-top: 0;
  }

  .payment-column__cap {
    width: fit-content;
    min-height: 35px;
    padding: 6px 13px;
    font-size: 12px;
    line-height: 1.15;
    text-align: left;
  }

  .payment-column__old-price {
    margin-top: 16px;
    font-size: 17px;
  }

  .payment-column__price {
    margin-top: 6px;
    font-size: clamp(36px, 11vw, 46px);
    white-space: normal;
  }

  .payment-column__period {
    min-height: 0;
    margin-top: 8px;
    font-size: 13px;
  }

  .payment-column__saving,
  .payment-column__total {
    min-height: 0;
    margin-top: 17px;
  }

  .payment-column__saving {
    font-size: 13px;
    line-height: 1.25;
  }

  .payment-column__saving::before {
    margin-right: 3px;
  }

  .payment-column__total strong {
    font-size: 18px;
  }

  .payment-column__total span {
    font-size: 12px;
  }

  .payment-options {
    gap: 7px;
    margin-top: auto;
    padding: 18px 0 0;
  }

  .payment-options--upfront {
    padding: 18px 0 0;
  }

  .discount-toggle {
    min-height: 34px;
    gap: 10px;
  }

  .discount-toggle__label {
    font-size: 12px;
    line-height: 1.2;
  }

  .discount-toggle__switch {
    width: 32px;
    height: 19px;
  }

  .discount-toggle__switch span {
    width: 13px;
    height: 13px;
  }

  .discount-toggle.is-active .discount-toggle__switch span {
    transform: translateX(13px);
  }

  .combo-choices.is-open {
    max-height: 270px;
    margin: 4px 0 6px;
    padding: 7px;
  }

  .combo-choice {
    min-height: 38px;
    gap: 5px;
    padding: 5px 0;
  }

  .combo-choice__label {
    font-size: 11px;
    line-height: 1.15;
  }

  .combo-choice.is-selected .combo-choice__switch span {
    transform: translateX(13px);
  }

  .promo-panel {
    padding: 22px 17px 20px;
    border-top: 2px dashed var(--line);
    border-left: 0;
  }

  .promo-panel h2 {
    max-width: 15ch;
    font-size: 30px;
  }

  .countdown {
    margin: 18px 0 20px;
  }
}

@media (max-width: 370px) {
  .section-heading h1 {
    gap: 5px;
    font-size: 30px;
  }

  .course-picker-trigger {
    width: 86px;
    height: 50px;
    grid-template-columns: 1fr 34px;
    border-radius: 14px;
  }

  .course-picker-trigger__value {
    font-size: 29px;
  }

  .course-picker-trigger__arrow {
    font-size: 20px;
  }

  .pricing-nav__name {
    font-size: 13px;
  }

  .combo-option {
    padding-right: 4px;
    padding-left: 4px;
    font-size: 11px;
  }

  .payment-column__price {
    font-size: 26px;
  }

  .payment-column__cap {
    padding-right: 4px;
    padding-left: 4px;
    font-size: 11px;
  }

  .discount-toggle__label {
    font-size: 11px;
  }

  .countdown__unit strong {
    font-size: 20px;
  }

  .countdown__unit span {
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* Выравнивание ценового блока внутри WordPress */
main.page-shell {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

main.page-shell .section-heading {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

main.page-shell .pricing-stage,
main.page-shell .offer {
  width: 100% !important;
  max-width: 100% !important;
}

/*
 * ПЕРЕКЛЮЧАТЕЛЬ КОЛИЧЕСТВА КУРСОВ
 * Добавьте этот код в самый конец style.css.
 * HTML менять не нужно: footer.php сам заменит старую кнопку со стрелкой.
 */

.page-shell .course-picker-panel {
  display: none !important;
}

.course-stepper {
  position: relative;
  display: inline-grid;
  width: 186px;
  height: 68px;
  overflow: hidden;
  flex: 0 0 auto;
  grid-template-columns: 52px minmax(0, 82px) 52px;
  grid-template-rows: 1fr;
  border: 2px solid #9f2f2b;
  border-radius: 19px;
  background: #f3d8d6;
  box-shadow: 0 9px 22px rgba(114, 37, 33, 0.18);
  vertical-align: middle;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.course-stepper:hover {
  box-shadow: 0 13px 28px rgba(114, 37, 33, 0.24);
  transform: translateY(-2px);
}

.page-shell .course-stepper__button,
.course-stepper__value {
  grid-row: 1;
  min-width: 0;
  height: 100%;
  margin: 0;
}

.page-shell .course-stepper__button {
  position: relative;
  z-index: 1;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  appearance: none;
  background: linear-gradient(145deg, #c94b47, #9f2f2b);
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 31px;
  font-weight: 850;
  line-height: 1;
  transition: filter 180ms ease, opacity 180ms ease, transform 120ms ease;
}

.page-shell .course-stepper__button:not(:disabled):hover {
  background: linear-gradient(145deg, #d35551, #aa3531);
  filter: brightness(1.04);
}

.page-shell .course-stepper__button:not(:disabled):active {
  transform: scale(0.93);
}

.page-shell .course-stepper__button--minus {
  grid-column: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.page-shell .course-stepper__button--plus {
  grid-column: 3;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.course-stepper__value {
  position: relative;
  z-index: 2;
  display: flex;
  grid-column: 2;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border: 0;
  background: #f3d8d6;
  color: #9f2f2b;
  font-size: 42px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.07em;
  transition: font-size 160ms ease, grid-column 180ms ease;
}

.course-stepper.has-combo .course-stepper__value {
  font-size: 32px;
  letter-spacing: -0.055em;
}

.course-stepper.is-at-min .course-stepper__value {
  grid-column: 1 / 3;
}

.page-shell .course-stepper.is-at-min .course-stepper__button--minus {
  opacity: 0;
  pointer-events: none;
}

.page-shell .course-stepper.is-at-max .course-stepper__button--plus {
  opacity: 0.43;
  cursor: default;
}

.page-shell .course-stepper__button--plus::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -70%;
  bottom: -70%;
  left: -65%;
  width: 42%;
  opacity: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.86), transparent);
  pointer-events: none;
  transform: rotate(13deg);
}

.page-shell .course-stepper__button--plus > span {
  position: relative;
  z-index: 1;
}

.page-shell .course-stepper__button--plus.needs-attention::before {
  animation: course-stepper-shine 1.4s ease-in-out 0.9s 1;
}

@keyframes course-stepper-shine {
  0%, 12% {
    left: -65%;
    opacity: 0;
  }

  30% {
    opacity: 0.92;
  }

  72%, 100% {
    left: 125%;
    opacity: 0;
  }
}

.section-heading .course-choice-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.course-choice-note__badge {
  padding: 5px 9px;
  border-radius: 999px;
  background: #bd3f3b;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.course-choice-note__badge[hidden] {
  display: none !important;
}

.page-shell .course-stepper__button:focus-visible {
  z-index: 4;
  outline: 3px solid #fff;
  outline-offset: -5px;
}

@media (max-width: 720px) {
  .section-heading h1 > [data-course-word] {
    display: none;
  }

  .course-stepper {
    width: 146px;
    height: 55px;
    grid-template-columns: 42px minmax(0, 62px) 42px;
    border-radius: 15px;
  }

  .page-shell .course-stepper__button {
    font-size: 27px;
  }

  .course-stepper__value {
    font-size: 33px;
  }

  .course-stepper.has-combo .course-stepper__value {
    font-size: 25px;
  }

  .course-choice-note__badge {
    padding: 4px 8px;
    font-size: 10px;
  }
}

@media (max-width: 370px) {
  .course-stepper {
    width: 132px;
    height: 50px;
    grid-template-columns: 38px minmax(0, 56px) 38px;
    border-radius: 14px;
  }

  .page-shell .course-stepper__button {
    font-size: 24px;
  }

  .course-stepper__value {
    font-size: 29px;
  }

  .course-stepper.has-combo .course-stepper__value {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .course-stepper,
  .course-stepper *,
  .course-stepper *::before {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}



















/*
 * ПЕРЕКЛЮЧАТЕЛЬ КОЛИЧЕСТВА КУРСОВ
 * Добавьте этот код в самый конец style.css.
 * HTML менять не нужно: footer.php сам заменит старую кнопку со стрелкой.
 */

.page-shell .course-picker-panel {
  display: none !important;
}

.course-stepper {
  position: relative;
  display: inline-grid;
  width: 186px;
  height: 68px;
  overflow: hidden;
  flex: 0 0 auto;
  grid-template-columns: 52px minmax(0, 82px) 52px;
  grid-template-rows: 1fr;
  border: 2px solid #9f2f2b;
  border-radius: 19px;
  background: #f3d8d6;
  box-shadow: 0 9px 22px rgba(114, 37, 33, 0.18);
  vertical-align: middle;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.course-stepper:hover {
  box-shadow: 0 13px 28px rgba(114, 37, 33, 0.24);
  transform: translateY(-2px);
}

.page-shell .course-stepper__button,
.course-stepper__value {
  grid-row: 1;
  min-width: 0;
  height: 100%;
  margin: 0;
}

.page-shell .course-stepper__button {
  position: relative;
  z-index: 1;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  appearance: none;
  background: linear-gradient(145deg, #c94b47, #9f2f2b);
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 31px;
  font-weight: 850;
  line-height: 1;
  transition: filter 180ms ease, opacity 180ms ease, transform 120ms ease;
}

.page-shell .course-stepper__button:not(:disabled):hover {
  background: linear-gradient(145deg, #d35551, #aa3531);
  filter: brightness(1.04);
}

.page-shell .course-stepper__button:not(:disabled):active {
  transform: scale(0.93);
}

.page-shell .course-stepper__button--minus {
  grid-column: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.page-shell .course-stepper__button--plus {
  grid-column: 3;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.course-stepper__value {
  position: relative;
  z-index: 2;
  display: flex;
  grid-column: 2;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border: 0;
  background: #f3d8d6;
  color: #9f2f2b;
  font-size: 42px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.07em;
  transition: font-size 160ms ease, grid-column 180ms ease;
}

.course-stepper.has-combo .course-stepper__value {
  font-size: 32px;
  letter-spacing: -0.055em;
}

.course-stepper.is-at-min .course-stepper__value {
  grid-column: 1 / 3;
}

.page-shell .course-stepper.is-at-min .course-stepper__button--minus {
  opacity: 0;
  pointer-events: none;
}

.page-shell .course-stepper.is-at-max .course-stepper__button--plus {
  opacity: 0.43;
  cursor: default;
}

.page-shell .course-stepper__button--plus::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -70%;
  bottom: -70%;
  left: -65%;
  width: 42%;
  opacity: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.86), transparent);
  pointer-events: none;
  transform: rotate(13deg);
}

.page-shell .course-stepper__button--plus > span {
  position: relative;
  z-index: 1;
}

.page-shell .course-stepper__button--plus.needs-attention::before {
  animation: course-stepper-shine 1.4s ease-in-out 0.9s 1;
}

@keyframes course-stepper-shine {
  0%, 12% {
    left: -65%;
    opacity: 0;
  }

  30% {
    opacity: 0.92;
  }

  72%, 100% {
    left: 125%;
    opacity: 0;
  }
}

.section-heading .course-choice-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.course-choice-note__badge {
  padding: 5px 9px;
  border-radius: 999px;
  background: #bd3f3b;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.course-choice-note__badge[hidden] {
  display: none !important;
}

/*
 * ФРАЗА И ЕЖЕДНЕВНЫЙ ТАЙМЕР
 * Фраза набрана как цены, а сам таймер вынесен на отдельную
 * крупную строку, как в целевом варианте.
 */
.page-shell .promo-panel [data-deadline-title] {
  width: 100%;
  max-width: none;
  margin: 11px 0 0;
  font-family: inherit !important;
  font-style: normal !important;
  font-size: clamp(29px, 2.7vw, 37px);
  font-weight: 950 !important;
  line-height: 0.96;
  letter-spacing: -0.055em !important;
}

.page-shell .promo-panel [data-timer],
.page-shell .promo-panel [data-deadline-title] #timer,
.page-shell .promo-panel [data-deadline-title] .timer,
.page-shell .promo-panel [data-deadline-title] .countdown-timer,
.page-shell .promo-panel [data-deadline-title] .shad-offer__timer-value {
  display: block !important;
  width: 100%;
  margin: 20px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: clamp(48px, 5vw, 62px) !important;
  font-style: normal !important;
  font-weight: 950 !important;
  font-variant-numeric: tabular-nums;
  line-height: 0.9 !important;
  letter-spacing: -0.065em !important;
  text-align: center;
  white-space: nowrap;
}

.page-shell .promo-panel [data-timer] [data-hours],
.page-shell .promo-panel [data-timer] [data-minutes],
.page-shell .promo-panel [data-timer] [data-seconds] {
  display: inline !important;
  font: inherit !important;
}

.page-shell .course-stepper__button:focus-visible {
  z-index: 4;
  outline: 3px solid #fff;
  outline-offset: -5px;
}

@media (max-width: 720px) {
  .section-heading h1 > [data-course-word] {
    display: none;
  }

  .course-stepper {
    width: 146px;
    height: 55px;
    grid-template-columns: 42px minmax(0, 62px) 42px;
    border-radius: 15px;
  }

  .page-shell .course-stepper__button {
    font-size: 27px;
  }

  .course-stepper__value {
    font-size: 33px;
  }

  .course-stepper.has-combo .course-stepper__value {
    font-size: 25px;
  }

  .course-choice-note__badge {
    padding: 4px 8px;
    font-size: 10px;
  }

  .page-shell .promo-panel [data-deadline-title] {
    font-size: clamp(27px, 8.2vw, 34px);
  }

  .page-shell .promo-panel [data-timer],
  .page-shell .promo-panel [data-deadline-title] #timer,
  .page-shell .promo-panel [data-deadline-title] .timer,
  .page-shell .promo-panel [data-deadline-title] .countdown-timer,
  .page-shell .promo-panel [data-deadline-title] .shad-offer__timer-value {
    margin-top: 16px !important;
    font-size: clamp(44px, 14vw, 58px) !important;
  }
}

@media (max-width: 370px) {
  .course-stepper {
    width: 132px;
    height: 50px;
    grid-template-columns: 38px minmax(0, 56px) 38px;
    border-radius: 14px;
  }

  .page-shell .course-stepper__button {
    font-size: 24px;
  }

  .course-stepper__value {
    font-size: 29px;
  }

  .course-stepper.has-combo .course-stepper__value {
    font-size: 22px;
  }

  .page-shell .promo-panel [data-timer],
  .page-shell .promo-panel [data-deadline-title] #timer,
  .page-shell .promo-panel [data-deadline-title] .timer,
  .page-shell .promo-panel [data-deadline-title] .countdown-timer,
  .page-shell .promo-panel [data-deadline-title] .shad-offer__timer-value {
    font-size: 42px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .course-stepper,
  .course-stepper *,
  .course-stepper *::before {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}











/*
 * ПЕРЕКЛЮЧАТЕЛЬ КОЛИЧЕСТВА КУРСОВ
 * Добавьте этот код в самый конец style.css.
 * HTML менять не нужно: footer.php сам заменит старую кнопку со стрелкой.
 */

.page-shell .course-picker-panel {
  display: none !important;
}

.course-stepper {
  position: relative;
  display: inline-grid;
  width: 186px;
  height: 68px;
  overflow: hidden;
  flex: 0 0 auto;
  grid-template-columns: 52px minmax(0, 82px) 52px;
  grid-template-rows: 1fr;
  border: 2px solid #9f2f2b;
  border-radius: 19px;
  background: #f3d8d6;
  box-shadow: 0 9px 22px rgba(114, 37, 33, 0.18);
  vertical-align: middle;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.course-stepper:hover {
  box-shadow: 0 13px 28px rgba(114, 37, 33, 0.24);
  transform: translateY(-2px);
}

.page-shell .course-stepper__button,
.course-stepper__value {
  grid-row: 1;
  min-width: 0;
  height: 100%;
  margin: 0;
}

.page-shell .course-stepper__button {
  position: relative;
  z-index: 1;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  appearance: none;
  background: linear-gradient(145deg, #c94b47, #9f2f2b);
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 31px;
  font-weight: 850;
  line-height: 1;
  transition: filter 180ms ease, opacity 180ms ease, transform 120ms ease;
}

.page-shell .course-stepper__button:not(:disabled):hover {
  background: linear-gradient(145deg, #d35551, #aa3531);
  filter: brightness(1.04);
}

.page-shell .course-stepper__button:not(:disabled):active {
  transform: scale(0.93);
}

.page-shell .course-stepper__button--minus {
  grid-column: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.page-shell .course-stepper__button--plus {
  grid-column: 3;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.course-stepper__value {
  position: relative;
  z-index: 2;
  display: flex;
  grid-column: 2;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border: 0;
  background: #f3d8d6;
  color: #9f2f2b;
  font-size: 42px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.07em;
  transition: font-size 160ms ease, grid-column 180ms ease;
}

.course-stepper.has-combo .course-stepper__value {
  font-size: 32px;
  letter-spacing: -0.055em;
}

.course-stepper.is-at-min .course-stepper__value {
  grid-column: 1 / 3;
}

.page-shell .course-stepper.is-at-min .course-stepper__button--minus {
  opacity: 0;
  pointer-events: none;
}

.page-shell .course-stepper.is-at-max .course-stepper__button--plus {
  opacity: 0.43;
  cursor: default;
}

.page-shell .course-stepper__button--plus::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -70%;
  bottom: -70%;
  left: -65%;
  width: 42%;
  opacity: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.86), transparent);
  pointer-events: none;
  transform: rotate(13deg);
}

.page-shell .course-stepper__button--plus > span {
  position: relative;
  z-index: 1;
}

.page-shell .course-stepper__button--plus.needs-attention::before {
  animation: course-stepper-shine 1.4s ease-in-out 0.9s 1;
}

@keyframes course-stepper-shine {
  0%, 12% {
    left: -65%;
    opacity: 0;
  }

  30% {
    opacity: 0.92;
  }

  72%, 100% {
    left: 125%;
    opacity: 0;
  }
}

.section-heading .course-choice-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.course-choice-note__badge {
  padding: 5px 9px;
  border-radius: 999px;
  background: #bd3f3b;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.course-choice-note__badge[hidden] {
  display: none !important;
}

/*
 * ФРАЗА И ЕЖЕДНЕВНЫЙ ТАЙМЕР
 * Фраза набрана как цены, а сам таймер вынесен на отдельную
 * крупную строку, как в целевом варианте.
 */
.page-shell .promo-panel [data-deadline-title] {
  width: 100%;
  max-width: none;
  margin: 11px 0 0;
  font-family: inherit !important;
  font-style: normal !important;
  font-size: clamp(29px, 2.7vw, 37px);
  font-weight: 950 !important;
  line-height: 0.96;
  letter-spacing: -0.055em !important;
}

.page-shell .promo-panel [data-timer],
.page-shell .promo-panel [data-deadline-title] #timer,
.page-shell .promo-panel [data-deadline-title] .timer,
.page-shell .promo-panel [data-deadline-title] .countdown-timer,
.page-shell .promo-panel [data-deadline-title] .shad-offer__timer-value {
  display: block !important;
  width: 100%;
  margin: 20px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: clamp(48px, 5vw, 62px) !important;
  font-style: normal !important;
  font-weight: 950 !important;
  font-variant-numeric: tabular-nums;
  line-height: 0.9 !important;
  letter-spacing: -0.065em !important;
  text-align: center;
  white-space: nowrap;
}

.page-shell .promo-panel [data-timer] [data-hours],
.page-shell .promo-panel [data-timer] [data-minutes],
.page-shell .promo-panel [data-timer] [data-seconds] {
  display: inline !important;
  font: inherit !important;
}

.page-shell .course-stepper__button:focus-visible {
  z-index: 4;
  outline: 3px solid #fff;
  outline-offset: -5px;
}

@media (max-width: 720px) {
  .section-heading h1 > [data-course-word] {
    display: none;
  }

  .course-stepper {
    width: 146px;
    height: 55px;
    grid-template-columns: 42px minmax(0, 62px) 42px;
    border-radius: 15px;
  }

  .page-shell .course-stepper__button {
    font-size: 27px;
  }

  .course-stepper__value {
    font-size: 33px;
  }

  .course-stepper.has-combo .course-stepper__value {
    font-size: 25px;
  }

  .course-choice-note__badge {
    padding: 4px 8px;
    font-size: 10px;
  }

  .page-shell .promo-panel {
    padding-top: 24px;
  }

  .page-shell .promo-panel__copy,
  .page-shell .promo-panel__eyebrow {
    width: 100%;
    text-align: center;
  }

  .page-shell .promo-panel [data-deadline-title] {
    max-width: 15ch;
    margin: 11px auto 0;
    font-size: clamp(27px, 7.8vw, 32px);
    line-height: 0.98;
    text-align: center;
  }

  .page-shell .promo-panel [data-timer],
  .page-shell .promo-panel [data-deadline-title] #timer,
  .page-shell .promo-panel [data-deadline-title] .timer,
  .page-shell .promo-panel [data-deadline-title] .countdown-timer,
  .page-shell .promo-panel [data-deadline-title] .shad-offer__timer-value {
    margin-top: 17px !important;
    font-size: clamp(46px, 13vw, 54px) !important;
    line-height: 1 !important;
    letter-spacing: -0.055em !important;
  }

  .page-shell .promo-panel__action {
    width: 100%;
    margin-top: 26px;
  }
}

@media (max-width: 370px) {
  .course-stepper {
    width: 132px;
    height: 50px;
    grid-template-columns: 38px minmax(0, 56px) 38px;
    border-radius: 14px;
  }

  .page-shell .course-stepper__button {
    font-size: 24px;
  }

  .course-stepper__value {
    font-size: 29px;
  }

  .course-stepper.has-combo .course-stepper__value {
    font-size: 22px;
  }

  .page-shell .promo-panel [data-timer],
  .page-shell .promo-panel [data-deadline-title] #timer,
  .page-shell .promo-panel [data-deadline-title] .timer,
  .page-shell .promo-panel [data-deadline-title] .countdown-timer,
  .page-shell .promo-panel [data-deadline-title] .shad-offer__timer-value {
    margin-top: 14px !important;
    font-size: 42px !important;
  }

  .page-shell .promo-panel__action {
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .course-stepper,
  .course-stepper *,
  .course-stepper *::before {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}






/* Стили карусели отзывов. Добавить в конец style.css основной темы. */

/* ИНТЕРВЬЮ С УЧЕНИКАМИ */
.shad-stories button.shad-stories__arrow {
  width: 52px;
  height: 52px;
  padding: 0;
  border: none !important;
  border-radius: 50% !important;
  background: #a92f2d !important;
  color: #fff !important;

  display: flex;
  align-items: center;
  justify-content: center;
}

.shad-stories button.shad-stories__arrow svg {
  display: block !important;
  width: 26px;
  height: 26px;
  fill: none !important;
}

.shad-stories button.shad-stories__arrow svg path {
  stroke: #fff !important;
  stroke-width: 3;
  fill: none !important;
}

.shad-stories button.shad-stories__arrow:hover {
  background: #851f1d !important;
}
.shad-stories {
  margin: 42px 0 20px;
  font-family: inherit;
}

.shad-stories,
.shad-stories * {
  box-sizing: border-box;
}

.shad-stories__carousel {
  position: relative;
  min-width: 0;
  padding: 0 25px;
}

.shad-stories__grid {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;

  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.shad-stories__grid::-webkit-scrollbar {
  display: none;
}

/* КАРТОЧКИ */

.shad-stories .shad-story {
  display: flex;
  flex-direction: column;

  min-width: 0;
  margin: 0;
  overflow: hidden;

  border: 1px solid #dedede;
  border-radius: 24px;
  background: #fff;

  scroll-snap-align: start;
}

.shad-story__body {
  padding: 22px 22px 18px;
}

.shad-story__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.shad-story__year {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;

  border-radius: 999px;
  background: #fae9e7;
  color: #a92f2d;

  font-size: 13px;
  line-height: 1;
  font-weight: 800;
}

.shad-story__result {
  color: #a92f2d;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
}

.shad-stories .shad-story__name {
  margin: 0 0 8px;
  color: #111;
  font-size: 25px;
  line-height: 1.1;
  font-weight: 900;
}

.shad-stories .shad-story__text {
  margin: 0;
  color: #727272;
  font-size: 15px;
  line-height: 1.45;
}

/* ВИДЕО */

.shad-story__video {
  position: relative;
  display: block;
  margin-top: auto;
  overflow: hidden;

  aspect-ratio: 16 / 9;
  background: #ddd;
  text-decoration: none;
}

.shad-story__video img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.shad-story__video:hover img {
  transform: scale(1.025);
}

.shad-story__video::after {
  content: "▶";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  display: flex;
  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;
  padding-left: 4px;
  border-radius: 50%;

  background: rgba(180, 45, 43, .94);
  color: #fff;
  font-size: 22px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
}

.shad-story__video-label {
  position: absolute;
  left: 14px;
  bottom: 12px;

  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #111;

  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

/* СТРЕЛКИ */

.shad-stories .shad-stories__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);

  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;
  min-width: 0;
  margin: 0;
  padding: 0;

  border: 1px solid #dedede;
  border-radius: 50%;
  background: #fff;
  color: #a92f2d;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .1);

  cursor: pointer;
  appearance: none;
}

.shad-stories__arrow--prev {
  left: 0;
}

.shad-stories__arrow--next {
  right: 0;
}

.shad-stories .shad-stories__arrow:disabled {
  visibility: hidden;
  pointer-events: none;
}

.shad-stories .shad-stories__arrow:hover {
  background: #fae9e7;
}

.shad-stories__arrow:focus-visible,
.shad-story__video:focus-visible {
  outline: 3px solid #a92f2d;
  outline-offset: -3px;
}

.shad-stories__arrow svg {
  display: block;
  width: 22px;
  height: 22px;
}

/* ПЛАНШЕТ: 2 КАРТОЧКИ */

@media (max-width: 900px) {
  .shad-stories__grid {
    grid-auto-columns: calc((100% - 18px) / 2);
  }
}

/* ТЕЛЕФОН: 1 КАРТОЧКА */

@media (max-width: 520px) {
  .shad-stories {
    margin-top: 32px;
  }

  .shad-stories__grid {
    grid-auto-columns: 100%;
  }

  .shad-story__body {
    padding: 20px 18px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shad-story__video img {
    transition: none;
  }
}

