/* «Лестница Cambridge» и «Требования по уровням» для rptica.ru.
   Цвета, шрифты и радиусы — из main.css сайта: фиолетовый #BA65DC, кнопка #c16ee2→#a449c8,
   тёмно-синий текст #05203E, пастель карточек #D3E4FF / #EEE0F7 / #B8E9E1 / #F7EDAE, радиусы 32 и 50 px.
   Раскладка: лестница — 12 ступеней по классам, растущих слева направо; на телефоне — лесенка боком. */
.rpcl {
  --rp-violet: #BA65DC;
  --rp-g1: #c16ee2;
  --rp-g2: #a449c8;
  --rp-blue: #2B87DE;
  --rp-navy: #05203E;
  --rp-muted: #4a5a78;
  --rp-lav: #EEE0F7;
  --rp-lav2: #E3CDF3;
  --rp-sky: #D3E4FF;
  --rp-mint: #B8E9E1;
  --rp-sun: #F7EDAE;
  --rp-white: #ffffff;
  --rp-line: rgba(5, 32, 62, 0.12);
  --rp-deep: #1b1660;
  --rp-f: 'Museo Sans Cyrl 500', 'Trebuchet MS', Arial, sans-serif;
  --rp-fb: 'Museo Sans Cyrl 700', 'Trebuchet MS', Arial, sans-serif;
  --rp-fx: 'Museo Sans Cyrl 900', 'Trebuchet MS', Arial, sans-serif;
  --rp-fl: 'Museo Sans Cyrl 300', 'Trebuchet MS', Arial, sans-serif;
  font-family: var(--rp-f);
  color: #000;
  position: relative;
}
.rpcl *, .rpcl *::before, .rpcl *::after { box-sizing: border-box; }

/* ---------- секции ---------- */
.rpcl-sec { padding: 110px 0; position: relative; }
.rpcl-sec--lav { background: var(--rp-lav); border-radius: 50px; max-width: 1820px; width: 100%; margin: 0 auto; }
.rpcl-sec--lav + .rpcl-sec--lav { margin-top: 40px; }
.rpcl-sec__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 40px; margin-bottom: 48px; }
.rpcl-sec__head h2 { text-wrap: balance; }
.rpcl-sec__sub { grid-column: 1 / -1; max-width: 980px; font-size: 23.8px; line-height: 1.25; letter-spacing: -0.02em; color: var(--rp-navy); margin: 0; }
.rpcl-sec__deco { width: 150px; height: auto; align-self: start; pointer-events: none; }
.rpcl-sec__deco--sm { width: 110px; }
.rpcl-sec__pic { position: absolute; pointer-events: none; z-index: 0; }

/* ---------- кнопки ---------- */
.rpcl-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.rpcl .rpcl-btn { width: auto; min-width: 250px; height: 66px; padding: 0 38px; font-size: 19px; }
.rpcl .rpcl-btn--ghost { background: var(--rp-white); color: var(--rp-navy); box-shadow: inset 0 0 0 2px var(--rp-violet); }
.rpcl .rpcl-btn--ghost:hover { background: var(--rp-violet); color: var(--rp-white); }
.rpcl .rpcl-btn:focus-visible, .rpcl-pill:focus-visible, .rpcl-step:focus-visible, .rpcl summary:focus-visible, .rpcl-scroll:focus-visible {
  outline: 3px solid var(--rp-blue); outline-offset: 3px;
}

/* ---------- цвета уровней ---------- */
.rpcl-c-sun { --c-bg: var(--rp-sun); --c-fg: var(--rp-navy); --c-soft: #fbf5d2; }
.rpcl-c-mint { --c-bg: var(--rp-mint); --c-fg: var(--rp-navy); --c-soft: #dcf4f0; }
.rpcl-c-sky { --c-bg: var(--rp-sky); --c-fg: var(--rp-navy); --c-soft: #e8f0ff; }
.rpcl-c-lav { --c-bg: var(--rp-lav2); --c-fg: var(--rp-navy); --c-soft: #f4ebfa; }
.rpcl-c-vio { --c-bg: linear-gradient(180deg, var(--rp-g1), var(--rp-g2)); --c-fg: #fff; --c-soft: #efdcf8; }
.rpcl-c-dark { --c-bg: var(--rp-deep) url(../img/bg14.png) center / cover no-repeat; --c-fg: #fff; --c-soft: #e2e0f5; }

/* ---------- вкладки-«таблетки» ---------- */
.rpcl-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.rpcl-pill {
  font: inherit; font-family: var(--rp-fb); font-weight: 600; font-size: 18px; line-height: 1;
  border: 0; cursor: pointer; border-radius: 500px; padding: 16px 26px;
  background: var(--rp-white); color: var(--rp-navy); box-shadow: inset 0 0 0 1.5px var(--rp-line);
  display: inline-flex; align-items: baseline; gap: 8px; transition: background .3s, color .3s, box-shadow .3s, transform .2s;
}
.rpcl-pill:hover { box-shadow: inset 0 0 0 2px var(--rp-violet); }
.rpcl-pill[aria-selected="true"] { background: linear-gradient(180deg, var(--rp-g1), var(--rp-g2)); color: #fff; box-shadow: none; }
.rpcl-pill__sub { font-family: var(--rp-f); font-weight: 500; font-size: 14px; opacity: .75; }
.rpcl-sec--lav .rpcl-pill { box-shadow: none; }
.rpcl-sec--lav .rpcl-pill:hover { box-shadow: inset 0 0 0 2px var(--rp-violet); }
.rpcl-sec--lav .rpcl-pill[aria-selected="true"] { box-shadow: none; }
.rpcl-pills--sub .rpcl-pill { font-size: 16px; padding: 12px 20px; }

/* ---------- чипы ---------- */
.rpcl-chip {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 500px; padding: 8px 14px;
  font-size: 16px; line-height: 1.1; background: rgba(255, 255, 255, .14); color: inherit; white-space: nowrap;
}
.rpcl-chip--lvl, .rpcl-chip--cefr, .rpcl-chip--sm[class*="rpcl-c-"] { background: var(--c-bg); color: var(--c-fg); font-family: var(--rp-fb); font-weight: 600; }
.rpcl-chip--sm { font-size: 13px; padding: 5px 10px; background: var(--rp-lav); color: var(--rp-navy); }
.rpcl-chip--exam { background: #ffe9a8; color: #6b4a00; }
.rpcl-chip--mark { background: var(--rp-navy); color: #fff; }
.rpcl-chip--topic { background: var(--rp-white); color: var(--rp-navy); font-size: 15px; box-shadow: inset 0 0 0 1px var(--rp-line); white-space: normal; }

/* =================== ЛЕСТНИЦА =================== */
.rpcl-ladder__top { display: grid; gap: 18px; margin-bottom: 8px; }
.rpcl-ladder__lead { margin: 0; max-width: 1000px; font-size: 19px; line-height: 1.45; color: var(--rp-navy); }
.rpcl-ladder__lead b { font-family: var(--rp-fb); font-weight: 600; }
.rpcl-ladder__hint { margin: 26px 0 0; font-size: 15px; color: var(--rp-muted); }

.rpcl-stairs-wrap { position: relative; }
.rpcl-stairs {
  --h0: 104px; --dh: 25px;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; align-items: end;
  padding-top: 112px; position: relative;
}
.rpcl-stairs::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--rp-line); border-radius: 2px; }
.rpcl-step {
  font: inherit; text-align: left; border: 0; cursor: pointer; position: relative;
  height: calc(var(--h0) + var(--i) * var(--dh)); min-width: 0;
  border-radius: 24px 24px 8px 8px; padding: 16px 14px 14px;
  background: var(--c-bg, var(--rp-lav)); color: var(--c-fg, var(--rp-navy));
  display: flex; flex-direction: column; justify-content: space-between; gap: 8px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.rpcl-step:hover { transform: translateY(-4px); }
.rpcl-step.is-sel { transform: translateY(-6px); box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--rp-violet), 0 18px 30px -18px rgba(27, 22, 96, .55); }
.rpcl-step__cls { display: flex; flex-direction: column; gap: 2px; }
.rpcl-step__num { font-family: var(--rp-fb); font-weight: 600; font-size: 30px; line-height: 1; letter-spacing: -0.02em; }
.rpcl-step__word { font-size: 13px; opacity: .8; }
.rpcl-step__book { font-size: 13px; line-height: 1.25; opacity: .9; overflow-wrap: anywhere; }
.rpcl-step__lvl { display: none; }
.rpcl-step__mark {
  align-self: flex-start; font-family: var(--rp-fb); font-weight: 600; font-size: 11px; letter-spacing: .04em; line-height: 1;
  padding: 4px 7px; border-radius: 500px; background: var(--rp-navy); color: #fff;
}
.rpcl-c-vio .rpcl-step__mark, .rpcl-c-dark .rpcl-step__mark { background: #fff; color: var(--rp-navy); }
.rpcl-step__exam {
  position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 2px; width: max-content; max-width: 120%;
  font-family: var(--rp-fb); font-weight: 600; font-size: 13px; line-height: 1.15; color: var(--rp-navy); text-align: center;
  pointer-events: none;
}
.rpcl-step__exam img { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(150, 100, 0, .25)); }
.rpcl-step__exam span { max-width: 92px; }

.rpcl-bands { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.rpcl-band {
  border-radius: 500px; padding: 9px 14px; text-align: center; font-size: 15px; line-height: 1.1;
  background: var(--c-bg); color: var(--c-fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rpcl-band b { font-family: var(--rp-fb); font-weight: 600; }
.rpcl-band span { opacity: .75; }

/* карточка класса */
.rpcl-detail { margin-top: 34px; }
.rpcl-detail__card {
  position: relative; overflow: hidden; border-radius: 32px; color: #fff;
  background: var(--rp-deep) url(../img/bg14.png) center / cover no-repeat;
  padding: 44px 48px; min-height: 330px;
}
.rpcl-detail__body { position: relative; z-index: 2; max-width: min(760px, 68%); display: grid; gap: 14px; }
.rpcl-detail__eyebrow { margin: 0; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.rpcl-detail__title { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; font-family: var(--rp-fb); font-weight: 600; font-size: 40px; line-height: 1.05; letter-spacing: -0.02em; }
.rpcl-detail__book { font-family: var(--rp-f); font-weight: 500; font-size: 24px; letter-spacing: 0; opacity: .85; }
.rpcl-detail__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rpcl-detail__about { margin: 4px 0 0; font-size: 20px; line-height: 1.4; }
.rpcl-detail__line { margin: 0; font-size: 17px; line-height: 1.45; opacity: .9; display: flex; gap: 10px; align-items: flex-start; }
.rpcl-detail__line img { flex: none; margin-top: -2px; }
.rpcl-detail__line--exam { opacity: 1; background: rgba(255, 255, 255, .1); border-radius: 18px; padding: 12px 16px; }
.rpcl-detail__mod { margin: 0; font-size: 16px; line-height: 1.45; opacity: .9; }
.rpcl-detail__mod b { font-family: var(--rp-fb); font-weight: 600; }
.rpcl-detail__kid { position: absolute; right: 36px; bottom: 0; width: 230px; height: auto; z-index: 1; }
.rpcl-detail__star { position: absolute; right: 250px; top: 34px; width: 70px; height: auto; z-index: 1; opacity: .95; }

/* экзамены темпа */
.rpcl-exams { margin-top: 34px; }
.rpcl-exams__title { margin: 0 0 14px; font-family: var(--rp-fb); font-weight: 600; font-size: 22px; }
.rpcl-exams__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.rpcl-exams__item { border-radius: 24px; padding: 18px 20px; background: var(--c-bg); color: var(--c-fg); display: grid; gap: 4px; }
.rpcl-exams__item b { font-family: var(--rp-fb); font-weight: 600; font-size: 22px; }
.rpcl-exams__item span { font-size: 18px; }
.rpcl-exams__item small { font-size: 14px; opacity: .78; }
.rpcl-exams__total { margin: 16px 0 0; font-size: 16px; color: var(--rp-muted); }

/* =================== ТРЕБОВАНИЯ =================== */
.rpcl-req .rpcl-pills--levels { margin-bottom: 40px; }
.rpcl-req__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: stretch; }
.rpcl-req__grid--full { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; }
.rpcl-req__grid--full .rpcl-lcard { position: sticky; top: 24px; }
.rpcl-lcard {
  position: relative; border-radius: 50px; padding: 44px 42px 40px; color: #fff; min-width: 0;
  background: var(--rp-deep) url(../img/bg7.png) center / cover no-repeat; display: flex; flex-direction: column; gap: 18px;
}
.rpcl-lcard__head { display: grid; gap: 10px; justify-items: start; padding-right: 120px; }
.rpcl-lcard__name { margin: 4px 0 0; font-family: var(--rp-fb); font-weight: 600; font-size: 88px; line-height: .95; letter-spacing: -0.04em; color: #fff; }
.rpcl-lcard__full { margin: 0; font-size: 20px; opacity: .85; }
.rpcl-lcard__dur { margin: 8px 0 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 17px; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 18px; }
.rpcl-lcard__dur b { font-family: var(--rp-fb); font-weight: 600; font-size: 28px; }
.rpcl-lcard__papers { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.rpcl-lcard__papers li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: 17px; }
.rpcl-lcard__papers li b { font-family: var(--rp-fb); font-weight: 600; white-space: nowrap; }
.rpcl-lcard__res { margin: auto 0 0; background: rgba(255, 255, 255, .12); border-radius: 22px; padding: 16px 18px; font-size: 17px; line-height: 1.4; }
.rpcl-lcard__pic { position: absolute; right: 18px; top: -48px; width: 170px; height: auto; pointer-events: none; filter: drop-shadow(0 18px 24px rgba(10, 6, 60, .35)); }
.rpcl-lcard__star { position: absolute; right: 30px; top: 134px; width: 56px; height: auto; pointer-events: none; }

.rpcl-req__right { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.rpcl-skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rpcl-skill { background: var(--rp-white); border-radius: 32px; padding: 30px 30px 32px; display: grid; align-content: start; gap: 12px; min-width: 0; }
.rpcl-skill h4 { margin: 0; font-family: var(--rp-fb); font-weight: 600; font-size: 26px; line-height: 1; display: flex; align-items: center; gap: 12px; }
.rpcl-skill h4::before { content: ""; width: 38px; height: 38px; border-radius: 50%; background: var(--c-bg) var(--ico) center / 22px no-repeat; flex: none; }
.rpcl-skill p { margin: 0; font-size: 19px; line-height: 1.4; color: var(--rp-navy); }
.rpcl-skill.rpcl-c-sky { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305203E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9a6 6 0 1 1 12 0c0 3-2 4-3 5.5S14 18 12 20a2.5 2.5 0 0 1-4-1'/%3E%3Cpath d='M10 9a2 2 0 1 1 4 0'/%3E%3C/svg%3E"); }
.rpcl-skill.rpcl-c-lav { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305203E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5.5C5.5 4 8.5 4 12 6c3.5-2 6.5-2 9-.5V19c-2.5-1.5-5.5-1.5-9 .5-3.5-2-6.5-2-9-.5z'/%3E%3Cpath d='M12 6v13.5'/%3E%3C/svg%3E"); }
.rpcl-skill.rpcl-c-mint { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305203E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15.5 4.5l4 4L9 19H5v-4z'/%3E%3Cpath d='M13 7l4 4'/%3E%3C/svg%3E"); }
.rpcl-skill.rpcl-c-sun { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305203E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v10H9l-5 4z'/%3E%3Cpath d='M8 9h8M8 12h5'/%3E%3C/svg%3E"); }
.rpcl-req__words, .rpcl-req__center { margin: 0; font-size: 18px; line-height: 1.45; color: var(--rp-navy); }
.rpcl-req__words b, .rpcl-req__center b { font-family: var(--rp-fb); font-weight: 600; }
.rpcl-req__center { display: flex; flex-direction: column; gap: 2px; background: var(--rp-white); border-radius: 24px; padding: 18px 24px; }
.rpcl-req__words { padding: 0 6px; }

/* полная версия: панель разделов */
.rpcl-panel { background: var(--rp-white); border-radius: 32px; padding: 34px 36px 38px; display: grid; gap: 22px; min-width: 0; }
.rpcl-panel__lead { margin: 0; font-size: 20px; line-height: 1.5; color: var(--rp-navy); max-width: 62ch; }
.rpcl-panel__lead b { font-family: var(--rp-fb); font-weight: 600; }
.rpcl-req--full .rpcl-skill { background: var(--c-soft); border-radius: 26px; padding: 24px 24px 26px; }
.rpcl-req--full .rpcl-skill h4 { font-size: 22px; }
.rpcl-req--full .rpcl-skill h4::before { background-color: var(--rp-white); }
.rpcl-req--full .rpcl-skill p { font-size: 17px; }
.rpcl-note { margin: 0; font-size: 14px; line-height: 1.45; color: var(--rp-muted); }
.rpcl-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.rpcl-facts div { padding: 14px 0; border-top: 1px solid var(--rp-line); min-width: 0; }
.rpcl-facts dt { font-size: 14px; color: var(--rp-muted); margin-bottom: 4px; }
.rpcl-facts dd { margin: 0; font-size: 18px; line-height: 1.35; color: var(--rp-navy); font-family: var(--rp-fb); font-weight: 600; }

.rpcl-papers { gap: 26px; }
.rpcl-paper__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; border-bottom: 2px solid var(--rp-lav); padding-bottom: 10px; margin-bottom: 4px; }
.rpcl-paper__head h4 { margin: 0; font-family: var(--rp-fb); font-weight: 600; font-size: 24px; }
.rpcl-paper__head span { font-family: var(--rp-fb); font-weight: 600; font-size: 17px; color: var(--rp-violet); }
.rpcl-paper__parts { list-style: none; margin: 0; padding: 0; display: grid; }
.rpcl-paper__parts li { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--rp-line); font-size: 17px; line-height: 1.4; color: var(--rp-navy); }
.rpcl-paper__parts li b { font-family: var(--rp-fb); font-weight: 600; color: #000; }
.rpcl-paper__parts li small { font-size: 14px; color: var(--rp-muted); white-space: nowrap; }

.rpcl-cando { gap: 26px; }
.rpcl-cando__group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.rpcl-cando__group h4 { grid-column: 1 / -1; margin: 0; font-family: var(--rp-fb); font-weight: 600; font-size: 22px; }
.rpcl-cando__label { margin: 0 0 6px; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--rp-violet); font-family: var(--rp-fb); font-weight: 600; }
.rpcl-cando ul, .rpcl-checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.rpcl-cando li, .rpcl-checks li { position: relative; padding-left: 26px; font-size: 17px; line-height: 1.45; color: var(--rp-navy); }
.rpcl-cando li::before, .rpcl-checks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2.5px solid var(--rp-violet); border-bottom: 2.5px solid var(--rp-violet); transform: rotate(-45deg); }

.rpcl-words { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.rpcl-words__num { margin: 0; font-family: var(--rp-fb); font-weight: 600; font-size: 34px; letter-spacing: -0.02em; color: var(--rp-violet); }
.rpcl-words__label { margin: 0; font-size: 16px; color: var(--rp-muted); }
.rpcl-topics h4, .rpcl-gram h4, .rpcl-samples h4 { margin: 0 0 10px; font-family: var(--rp-fb); font-weight: 600; font-size: 22px; }
.rpcl-topics__list { display: flex; flex-wrap: wrap; gap: 8px; }
.rpcl-gram { display: grid; gap: 10px; }
.rpcl-gram__group { border-radius: 20px; background: #f7f2fb; padding: 0 20px; }
.rpcl-gram__group summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 16px 0; font-family: var(--rp-fb); font-weight: 600; font-size: 18px; }
.rpcl-gram__group summary::-webkit-details-marker { display: none; }
.rpcl-gram__group summary small { font-family: var(--rp-f); font-weight: 500; font-size: 14px; color: var(--rp-muted); display: flex; align-items: center; gap: 10px; }
.rpcl-gram__group summary small::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--rp-navy); border-bottom: 2px solid var(--rp-navy); transform: rotate(45deg); transition: transform .25s; margin-top: -4px; }
.rpcl-gram__group[open] summary small::after { transform: rotate(-135deg); margin-top: 4px; }
.rpcl-gram__group ul { margin: 0; padding: 0 0 18px; list-style: none; display: grid; gap: 10px; }
.rpcl-gram__group li { display: grid; gap: 2px; font-size: 16px; line-height: 1.4; color: var(--rp-navy); }
.rpcl-gram__group li i { font-style: normal; font-size: 15px; color: var(--rp-muted); }

.rpcl-shields { display: flex; gap: 10px; }
.rpcl-shield { width: 52px; height: 60px; display: grid; place-items: center; font-family: var(--rp-fb); font-weight: 600; font-size: 22px; color: var(--rp-navy); background: var(--rp-lav); clip-path: path('M26 0 L52 9 V30 C52 45 40 55 26 60 C12 55 0 45 0 30 V9 Z'); }
.rpcl-shield.is-good { background: linear-gradient(180deg, var(--rp-g1), var(--rp-g2)); color: #fff; }

.rpcl-tempo3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rpcl-tempo3__item { border-radius: 24px; background: var(--rp-lav); padding: 18px 20px; display: grid; gap: 4px; }
.rpcl-tempo3__item:first-child { background: linear-gradient(180deg, var(--rp-g1), var(--rp-g2)); color: #fff; }
.rpcl-tempo3__item p { margin: 0; }
.rpcl-tempo3__name { font-size: 14px; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
.rpcl-tempo3__cls { font-family: var(--rp-fb); font-weight: 600; font-size: 24px; }
.rpcl-tempo3__h { font-size: 15px; opacity: .8; }
.rpcl-samples { display: grid; gap: 6px; }
.rpcl-samples a { color: var(--rp-navy); text-decoration: underline; text-decoration-color: var(--rp-violet); text-underline-offset: 4px; font-size: 17px; width: max-content; max-width: 100%; }
.rpcl-samples a:hover { color: var(--rp-violet); }

/* ---------- таблицы ---------- */
.rpcl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 24px; }
.rpcl-table { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 1.35; color: var(--rp-navy); font-variant-numeric: tabular-nums; background: var(--rp-white); }
.rpcl-table th, .rpcl-table td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--rp-line); }
.rpcl-table thead th { font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--rp-muted); font-family: var(--rp-f); font-weight: 500; background: #faf6fd; }
.rpcl-table tbody th { font-family: var(--rp-fb); font-weight: 600; color: #000; }
.rpcl-table tbody th small { display: block; font-family: var(--rp-f); font-weight: 500; font-size: 13px; color: var(--rp-muted); }
.rpcl-table td b { display: block; font-family: var(--rp-fb); font-weight: 600; color: #000; }
.rpcl-table td span { display: block; }
.rpcl-table__total th, .rpcl-table__total td { background: #faf6fd; }
.rpcl-table--compare { min-width: 1050px; }
.rpcl-table--hours { min-width: 640px; }
.rpcl-table--bands td:first-child { white-space: nowrap; font-family: var(--rp-fb); font-weight: 600; }
.rpcl-ltable .rpcl-table { min-width: 860px; }
.rpcl-table__book { display: block; font-family: var(--rp-fb); font-weight: 600; color: #000; margin-bottom: 6px; }
.rpcl-table__meta { display: flex !important; flex-wrap: wrap; gap: 6px; align-items: center; }
.rpcl-table__h { font-size: 13px; color: var(--rp-muted); display: inline !important; }
.rpcl-muted { color: var(--rp-muted); }

/* ---------- шкала CEFR ---------- */
.rpcl-scale__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; align-items: end; }
.rpcl-scale__item {
  height: calc(150px + var(--i) * 34px); border-radius: 28px 28px 10px 10px; padding: 20px 20px 18px; min-width: 0;
  background: var(--c-bg); color: var(--c-fg); display: flex; flex-direction: column; gap: 6px;
}
.rpcl-scale__cefr { font-family: var(--rp-fb); font-weight: 600; font-size: 34px; line-height: 1; letter-spacing: -0.02em; }
.rpcl-scale__ex { font-size: 18px; font-family: var(--rp-fb); font-weight: 600; }
.rpcl-scale__cls { margin-top: auto; font-size: 15px; opacity: .85; display: grid; gap: 2px; }

/* ---------- три темпа ---------- */
.rpcl-tempos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rpcl-tcard {
  position: relative; overflow: hidden; border-radius: 32px; padding: 44px 40px 210px; color: #fff; min-width: 0;
  background: var(--rp-deep) url(../img/bg10.png) center / cover no-repeat; display: flex; flex-direction: column; gap: 14px;
}
.rpcl-tcard__lead { margin: 0; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; opacity: .72; }
.rpcl-tcard__name { margin: 0; font-family: var(--rp-fb); font-weight: 600; font-size: 40px; line-height: 1; letter-spacing: -0.02em; }
.rpcl-tcard__text { margin: 0; font-size: 18px; line-height: 1.45; }
.rpcl-tcard__ex { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.rpcl-tcard__ex li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); font-size: 17px; }
.rpcl-tcard__ex li b { font-family: var(--rp-fb); font-weight: 600; }
.rpcl-tcard__kid { position: absolute; right: 26px; bottom: 0; width: 190px; height: auto; }

/* ---------- модули ---------- */
.rpcl-mods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.rpcl-mod { border-radius: 32px; padding: 34px 32px 36px; background: var(--c-bg); color: var(--c-fg); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rpcl-mod__h { margin: 0; font-family: var(--rp-fb); font-weight: 600; font-size: 44px; line-height: 1; letter-spacing: -0.03em; }
.rpcl-mod h3 { margin: 0; font-family: var(--rp-fb); font-weight: 600; font-size: 24px; line-height: 1.15; }
.rpcl-mod p { margin: 0; font-size: 17px; line-height: 1.45; }
.rpcl-mod__note { margin-top: auto !important; font-size: 14px !important; opacity: .75; }

/* ---------- как проходит год ---------- */
.rpcl-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: rpflow; }
.rpcl-flow li { counter-increment: rpflow; background: var(--rp-sky); border-radius: 32px; padding: 32px 30px 34px; display: grid; align-content: start; gap: 10px; min-width: 0; }
.rpcl-flow li:nth-child(2) { background: var(--rp-lav); }
.rpcl-flow li:nth-child(3) { background: var(--rp-mint); }
.rpcl-flow li:nth-child(4) { background: var(--rp-sun); }
.rpcl-flow li::before { content: counter(rpflow); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--rp-g1), var(--rp-g2)); color: #fff; font-family: var(--rp-fb); font-weight: 600; font-size: 22px; }
.rpcl-flow h3 { margin: 0; font-family: var(--rp-fb); font-weight: 600; font-size: 24px; line-height: 1.15; }
.rpcl-flow p { margin: 0; font-size: 17px; line-height: 1.45; color: var(--rp-navy); }

/* ---------- инфо-карточки ---------- */
.rpcl-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rpcl-info__card { border-radius: 32px; padding: 40px 42px; background: var(--rp-white); display: grid; align-content: start; gap: 14px; min-width: 0; }
.rpcl-info__card--sky { background: var(--rp-sky); }
.rpcl-info__card--sun { background: var(--rp-sun); }
.rpcl-info__card h3 { margin: 0; font-family: var(--rp-fb); font-weight: 600; font-size: 30px; line-height: 1.1; }
.rpcl-info__card p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--rp-navy); }
.rpcl-info__card .rpcl-checks li { font-size: 18px; }

/* ---------- призыв ---------- */
.rpcl-info + .rpcl-cta { margin-top: 40px; }
.rpcl-cta {
  position: relative; overflow: hidden; border-radius: 50px; color: #fff; padding: 70px 64px; min-height: 340px;
  background: #5b3fd6 url(../img/bg12.png) center / cover no-repeat; display: grid; align-content: center; gap: 18px;
}
.rpcl-cta h2 { color: #fff; max-width: 820px; position: relative; z-index: 2; }
.rpcl-cta p { margin: 0; max-width: 640px; font-size: 22px; line-height: 1.4; position: relative; z-index: 2; }
.rpcl-cta .rpcl-actions { margin-top: 12px; position: relative; z-index: 2; }
.rpcl-cta__kid { position: absolute; right: 70px; bottom: 0; width: 300px; height: auto; z-index: 1; }
.rpcl-cta__star { position: absolute; right: 360px; top: 40px; width: 90px; height: auto; z-index: 1; }

/* ---------- ссылки-карточки на подстраницы ---------- */
.rpcl-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

/* =================== адаптив =================== */
@media screen and (max-width: 1620px) {
  .rpcl-sec { padding: 96px 0; }
  .rpcl-stairs { --h0: 96px; --dh: 22px; }
  .rpcl-step__num { font-size: 26px; }
  .rpcl-lcard__name { font-size: 76px; }
}
@media screen and (max-width: 1350px) {
  .rpcl-step__book { display: none; }
  .rpcl-step { padding: 14px 10px 12px; }
  .rpcl-band span { display: none; }
  .rpcl-exams__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rpcl-mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rpcl-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rpcl-tcard { padding: 38px 32px 200px; }
}
@media screen and (max-width: 1250px) {
  .rpcl-sec__sub { font-size: 21px; }
  .rpcl-stairs { --h0: 88px; --dh: 18px; gap: 7px; }
  .rpcl-bands { gap: 7px; }
  .rpcl-step { padding: 12px 7px 10px; border-radius: 18px 18px 6px 6px; }
  .rpcl-step__num { font-size: 19px; }
  .rpcl-step__word { font-size: 11px; }
  .rpcl-step__exam span { font-size: 12px; }
  .rpcl-band { font-size: 13px; padding: 8px 6px; }
  .rpcl-req__grid, .rpcl-req__grid--full { grid-template-columns: minmax(0, 1fr); }
  .rpcl-req__grid--full .rpcl-lcard { position: relative; top: 0; }
  .rpcl-lcard { min-height: 0; }
  .rpcl-lcard__star { display: none; }
  .rpcl-tempos { grid-template-columns: minmax(0, 1fr); }
  .rpcl-tcard { padding: 38px 260px 38px 36px; }
  .rpcl-tcard__kid { width: 200px; }
  .rpcl-scale__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rpcl-scale__item { height: auto; min-height: 150px; }
  .rpcl-detail__kid { width: 190px; right: 20px; }
  .rpcl-detail__star { right: 200px; }
  .rpcl-cta__kid { width: 230px; right: 30px; }
  .rpcl-cta__star { display: none; }
}
@media (max-width: 991px) {
  .rpcl-sec { padding: 80px 0; }
  .rpcl-sec--lav { border-radius: 40px; }
  .rpcl-sec__head { grid-template-columns: minmax(0, 1fr); }
  .rpcl-sec__deco { display: none; }
  .rpcl-detail__card { padding: 36px 32px 220px; }
  .rpcl-detail__body { max-width: 100%; }
  .rpcl-detail__kid { width: 180px; }
  .rpcl-detail__star { right: 190px; top: auto; bottom: 120px; }
  .rpcl-info, .rpcl-links { grid-template-columns: minmax(0, 1fr); }
  .rpcl-cta { padding: 56px 40px 300px; }
  .rpcl-cta__kid { width: 240px; right: 50%; transform: translateX(50%); }
}
@media screen and (max-width: 991px) {
  /* лестница боком: ступени — строки, ширина растёт с классом */
  .rpcl-stairs { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding-top: 0; }
  .rpcl-stairs::after { display: none; }
  .rpcl-bands { display: none; }
  .rpcl-step {
    height: auto; width: calc(58% + var(--i) * 3.8%); max-width: 100%; min-height: 60px;
    border-radius: 8px 20px 20px 8px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; padding: 10px 16px;
  }
  .rpcl-step:hover, .rpcl-step.is-sel { transform: none; }
  .rpcl-step.is-sel { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--rp-violet); }
  .rpcl-step__cls { flex-direction: row; align-items: baseline; gap: 4px; min-width: 76px; }
  .rpcl-step__num { font-size: 20px; }
  .rpcl-step__word { font-size: 13px; }
  .rpcl-step__book { display: none; }
  .rpcl-step__lvl { display: block; font-family: var(--rp-fb); font-weight: 600; font-size: 15px; }
  .rpcl-step__mark { position: static; margin-left: auto; }
  .rpcl-step__exam { position: static; transform: none; flex-direction: row; gap: 6px; margin-left: auto; order: 5; width: auto; max-width: none; color: inherit; }
  .rpcl-step__mark + .rpcl-step__exam, .rpcl-step__exam ~ .rpcl-step__mark { margin-left: 0; }
  .rpcl-step__exam img { width: 28px; height: 28px; }
  .rpcl-step__exam span { max-width: none; font-size: 13px; }
  .rpcl-step__mark { align-self: center; }
  .rpcl-detail { margin: 6px 0 10px; }
}
@media screen and (max-width: 767px) {
  .rpcl-detail__card { border-radius: 26px; padding: 28px 22px 190px; min-height: 0; }
  .rpcl-detail__title { font-size: 30px; }
  .rpcl-detail__book { font-size: 19px; }
  .rpcl-detail__about { font-size: 18px; }
  .rpcl-detail__kid { width: 150px; right: 16px; }
  .rpcl-detail__star { width: 54px; right: 170px; bottom: 90px; }
  .rpcl-exams__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rpcl-skills { grid-template-columns: minmax(0, 1fr); }
  .rpcl-lcard { border-radius: 36px; padding: 36px 26px 30px; }
  .rpcl-lcard__head { padding-right: 96px; }
  .rpcl-lcard__name { font-size: 60px; }
  .rpcl-lcard__pic { width: 120px; top: -30px; right: 8px; }
  .rpcl-panel { padding: 26px 22px 28px; border-radius: 26px; }
  .rpcl-facts { grid-template-columns: minmax(0, 1fr); }
  .rpcl-paper__parts li { grid-template-columns: minmax(0, 1fr); }
  .rpcl-cando__group { grid-template-columns: minmax(0, 1fr); }
  .rpcl-tempo3 { grid-template-columns: minmax(0, 1fr); }
  .rpcl-mods, .rpcl-flow { grid-template-columns: minmax(0, 1fr); }
  .rpcl-tcard { padding: 34px 26px 200px; }
  .rpcl-tcard__kid { width: 170px; }
  .rpcl-scale__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 576px) {
  .rpcl-sec { padding: 64px 0; }
  .rpcl-sec--lav { border-radius: 32px; }
  .rpcl-sec__head { margin-bottom: 30px; }
  .rpcl-sec__sub { font-size: 18px; }
  .rpcl-pills { flex-wrap: nowrap; overflow-x: auto; margin-left: -19px; margin-right: -19px; padding: 4px 19px 8px; scrollbar-width: none; }
  .rpcl-pills::-webkit-scrollbar { display: none; }
  .rpcl-pill { flex: none; font-size: 16px; padding: 13px 18px; }
  .rpcl-ladder__lead { font-size: 17px; }
  .rpcl-panel__lead { font-size: 18px; }
  .rpcl-step { width: calc(64% + var(--i) * 3.2%); }
  .rpcl-step__cls { min-width: 64px; }
  .rpcl-exams__item b { font-size: 19px; }
  .rpcl-exams__item span { font-size: 16px; }
  .rpcl .rpcl-btn { width: 100%; min-width: 0; height: 60px; font-size: 17px; }
  .rpcl-actions { margin-top: 32px; }
  .rpcl-skill { padding: 24px 22px 26px; border-radius: 26px; }
  .rpcl-skill h4 { font-size: 22px; }
  .rpcl-skill p { font-size: 17px; }
  .rpcl-mod__h { font-size: 36px; }
  .rpcl-info__card { padding: 30px 24px; border-radius: 26px; }
  .rpcl-info__card h3 { font-size: 24px; }
  .rpcl-cta { border-radius: 32px; padding: 44px 24px 260px; }
  .rpcl-cta p { font-size: 18px; }
  .rpcl-scale__list { grid-template-columns: minmax(0, 1fr); }
  .rpcl-scale__item { min-height: 0; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .rpcl-step, .rpcl-pill, .rpcl-gram__group summary small::after { transition: none; }
}
