@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/onest-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/onest-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/onest-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/onest-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/onest-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/onest-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/onest-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/onest-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #fff;
  --bg-soft: #F5F5F2;
  --line: #E7E6E1;
  --ink: #0E0E0E;
  --ink-soft: #5E5E5A;
  --marker: #FFE14D;
  --coral: #F0503C;
  --coral-ink: #C93A28;
  --radius: 12px;
  --col: 760px;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Onest', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; hyphens: auto; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.marker { position: relative; z-index: 0; padding: 0 4px; white-space: nowrap; }
.marker::before {
  content: ''; position: absolute; z-index: -1; left: -2px; right: -2px; top: 10%; bottom: 2%;
  background: var(--marker); transform: rotate(-1.2deg); border-radius: 3px 6px 4px 7px;
}

.pill-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--ink); color: #fff; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.pill-btn:hover { background: var(--coral); border-color: var(--coral); }
.pill-btn--ghost { background: transparent; color: var(--ink); }
.pill-btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill-btn--sm { min-height: 40px; padding: 0 18px; font-size: 15px; }

.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; min-height: 68px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.logo__mark { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.logo__mark svg { width: 14px; height: 14px; }
.nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav a, .nav-dpo > summary { padding: 8px 12px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.nav a:hover, .nav-dpo > summary:hover, .nav-dpo[open] > summary { color: var(--ink); background: var(--bg-soft); }
.nav-dpo { position: relative; }
.nav-dpo > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav-dpo > summary::-webkit-details-marker { display: none; }
.nav-dpo > summary::after { content: ''; width: 6px; height: 6px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.nav-dpo__menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0,0,0,.08); display: flex; flex-direction: column; }
.nav-dpo__menu a { border-radius: 8px; }
.header__right { display: flex; align-items: center; gap: 14px; }
.header__phone { font-size: 15px; font-weight: 600; white-space: nowrap; }
.header__phone:hover { color: var(--coral-ink); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg-soft); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); transition: transform .2s; }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { display: none; }

.hero { padding-top: clamp(48px, 9vw, 112px); padding-bottom: 24px; }
.hero__title { max-width: 900px; font-size: clamp(2.1rem, 5.6vw, 4rem); line-height: 1.1; letter-spacing: -0.035em; font-weight: 700; margin-bottom: 28px; }
.para { font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.38; font-weight: 500; letter-spacing: -0.01em; max-width: var(--col); }
.hero__lead { margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 600; background: #fff; }
.chip__ic { width: 1.25em; height: 1.25em; }
.chip__ic--coral { color: var(--coral); }
.chip__ic--green { color: #1E9E5A; }
.chip__ic--blue { color: #2F6BFF; }
.chip__ic--amber { color: #D98A00; }

.search { position: relative; max-width: 680px; z-index: 20; }
.search { z-index: 100; }
.search__field { position: relative; }
.search__icon { position: absolute; left: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; color: var(--ink-soft); pointer-events: none; }
.search__input { width: 100%; height: 68px; padding: 0 24px 0 56px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font: inherit; font-size: 18px; font-weight: 500; color: var(--ink); }
.search__input::placeholder { color: var(--ink-soft); font-weight: 400; }
.search__input:focus { outline: none; box-shadow: 0 0 0 4px var(--marker); }
.search__results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; max-height: 360px; overflow-y: auto; display: none; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); }
.search__results.is-visible { display: block; }
.search__result { display: block; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.search__result:last-child { border-bottom: 0; }
.search__result:hover, .search__result:focus-visible { background: var(--bg-soft); }
.search__title { display: block; font-weight: 600; }
.search__title::first-letter { text-transform: uppercase; }
.search__cat { display: block; font-size: 14px; color: var(--ink-soft); }
.search__empty { padding: 16px 20px; color: var(--ink-soft); }
.search__hint { margin: 12px 0 0 24px; font-size: 15px; color: var(--ink-soft); }

.block { padding-top: clamp(56px, 8vw, 104px); }
.block__title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -0.03em; margin-bottom: 18px; max-width: 900px; }
.block__lead { margin-bottom: 32px; }
.block__more { margin: 32px 0 0; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 2px solid var(--marker); padding-bottom: 2px; }
.more:hover { color: var(--coral-ink); border-color: var(--coral); }
.more__ic { width: 1.1em; height: 1.1em; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.pill { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--bg-soft); font-weight: 500; font-size: 16px; }
.pill::first-letter { text-transform: uppercase; }
.pill:hover { background: var(--marker); }

.catalog { columns: 3; column-gap: 40px; border-top: 1px solid var(--line); }
.catalog__item { break-inside: avoid; border-bottom: 1px solid var(--line); }
.catalog__item a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; }
.catalog__name { font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.catalog__count { font-size: 16px; font-weight: 600; color: var(--coral-ink); white-space: nowrap; }
.catalog__count--text { color: var(--ink-soft); font-weight: 400; font-size: 15px; }
.catalog__item a:hover .catalog__name { background: linear-gradient(transparent 62%, var(--marker) 62%); }
.catalog--dirs { margin-top: 36px; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo__item { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); transition: border-color .2s; }
.duo__item:hover { border-color: var(--ink); }
.duo__name { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.duo__text { color: var(--ink-soft); }
.duo__item .more { align-self: flex-start; margin-top: auto; }

.steps { max-width: var(--col); }
.steps__item { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps__item:last-child { border-bottom: 1px solid var(--line); }
.steps__num { font-size: 3rem; line-height: 1; font-weight: 700; color: var(--coral-ink); letter-spacing: -0.04em; }
.steps__name { font-size: 1.3rem; margin-bottom: 6px; }
.steps__item p { margin: 0; color: var(--ink-soft); }

.thesis { max-width: var(--col); }
.thesis li { padding: 16px 0; border-top: 1px solid var(--line); font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.4; font-weight: 500; }
.thesis li:last-child { border-bottom: 1px solid var(--line); }
.thesis b { font-weight: 700; background: linear-gradient(transparent 60%, var(--marker) 60%); }

.proof { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.proof__item { padding: 28px; border-radius: var(--radius); background: var(--bg-soft); display: flex; flex-direction: column; gap: 10px; }
.proof__item p { margin: 0; color: var(--ink-soft); }
.proof__item .more { align-self: flex-start; margin-top: auto; }
.proof__mark { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.proof__no { font-weight: 500; color: var(--ink-soft); font-size: 1.1rem; }
.proof__score { font-size: 3rem; line-height: 1; color: var(--coral-ink); letter-spacing: -0.04em; }

.final__note { color: var(--ink-soft); font-size: 15px; margin-bottom: 20px; }
.final__btns { display: flex; flex-wrap: wrap; gap: 12px; }

.seo { padding-bottom: 24px; }
.seo__title { font-size: 1.25rem; margin-bottom: 14px; }
.seo p { color: var(--ink-soft); font-size: 16px; max-width: var(--col); }

.footer { margin-top: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line); padding: 48px 0 40px; background: var(--bg-soft); }
.footer__inner { display: grid; grid-template-columns: 1.1fr 1.2fr; gap: 32px 48px; }
.footer__name { font-weight: 700; font-size: 22px; margin-bottom: 8px; }
.footer__about { color: var(--ink-soft); font-size: 15px; max-width: 360px; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; align-content: start; align-items: start; font-size: 15px; font-weight: 500; }
.footer__nav a:hover, .footer__legal a:hover { color: var(--coral-ink); }
.footer__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }

.sticky-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 30; display: flex; gap: 6px; padding: 6px; background: var(--ink); border-radius: 999px; }
.sticky-bar__btn { padding: 10px 18px; border-radius: 999px; color: #fff; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; text-align: center; }
.sticky-bar__btn:hover { background: var(--coral); }

@media (max-width: 1100px) {
  .header__phone { display: none; }
  .nav a, .nav-dpo > summary { padding: 8px 9px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .header__inner { justify-content: space-between; }
  .header__right { margin-left: auto; }
  .menu-btn { display: block; }
  .mobile-nav.is-open { display: flex; flex-direction: column; padding: 8px 24px 20px; border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - 68px); overflow-y: auto; }
  .mobile-nav a { padding: 12px 0; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line); }
  .catalog { columns: 2; }
  .duo, .proof { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap, .header__inner { padding-left: 18px; padding-right: 18px; }
  .header__right .pill-btn { display: none; }
  .catalog { columns: 1; }
  .search__input { height: 60px; font-size: 16px; }
  .final__btns .pill-btn { flex: 1 1 calc(50% - 6px); padding: 0 14px; }
  .final__btns .pill-btn:first-child { flex-basis: 100%; }
  .steps__item { grid-template-columns: 52px 1fr; }
  .steps__num { font-size: 2.4rem; }
  .footer__nav { grid-template-columns: 1fr; }
  .sticky-bar { width: calc(100% - 24px); justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; padding-top: 28px; font-size: 15px; color: var(--ink-soft); }
.crumbs a { border-bottom: 1px solid var(--line); }
.crumbs a:hover { color: var(--coral-ink); border-color: var(--coral); }
.crumbs li + li::before { content: '/'; margin-right: 10px; color: var(--line); }

.course { display: grid; grid-template-columns: minmax(0, 1fr) 340px; column-gap: 64px; }
.course__hero { grid-column: 1; grid-row: 1; padding-top: clamp(32px, 6vw, 72px); }
.course__side { grid-column: 2; grid-row: 1 / span 2; padding-top: clamp(32px, 6vw, 72px); }
.course__rest { grid-column: 1; grid-row: 2; min-width: 0; }
.course__title { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.1; letter-spacing: -0.035em; margin-bottom: 28px; }
.course .block { padding-top: clamp(48px, 7vw, 88px); }
.course .block__title { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.facts li { font-size: 15px; color: var(--ink-soft); }
.facts b { display: block; color: var(--ink); font-size: 16px; font-weight: 700; }

.pricecard { position: sticky; top: 92px; padding: 28px; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; }
.pricecard__label { font-size: 15px; color: var(--ink-soft); margin-bottom: 4px; }
.pricecard__price { font-size: 2.4rem; line-height: 1.1; font-weight: 700; letter-spacing: -0.04em; margin-bottom: 18px; }
.pricecard__price span { background: linear-gradient(transparent 60%, var(--marker) 60%); padding: 0 4px; margin: 0 -4px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: 16px; line-height: 1.4; }
.tick { flex: none; width: 1.25em; height: 1.25em; margin-top: 1px; color: var(--coral); }
.pricecard .ticks { margin-bottom: 20px; }
.pricecard__btns { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.pricecard__btns .pill-btn { padding: 0 8px; min-height: 46px; font-size: 15px; }
.pricecard__btns .pill-btn:first-child { grid-column: 1 / -1; min-height: 52px; font-size: 16px; }
.pricecard__pay { display: flex; width: 100%; margin-top: 10px; }
.pricecard__note { margin: 14px 0 0; font-size: 14px; color: var(--ink-soft); }
.pricecard__edu { margin: 10px 0 0; font-size: 14px; color: var(--ink-soft); }
.pricecard__edu a { border-bottom: 2px solid var(--marker); font-weight: 600; color: var(--ink); }

.about .para { margin-bottom: 1em; }
.numlist > li { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 22px 0; border-top: 1px solid var(--line); }
.numlist > li:last-child { border-bottom: 1px solid var(--line); }
.numlist__num { font-size: 2.6rem; line-height: 1; font-weight: 700; color: var(--coral-ink); letter-spacing: -0.04em; }
.numlist__name { font-size: 1.3rem; margin-bottom: 8px; }
.numlist .ticks li { padding: 3px 0; color: var(--ink-soft); }

.included { max-width: var(--col); }
.included .ticks li { padding: 12px 0; border-top: 1px solid var(--line); font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 500; line-height: 1.4; }
.included .ticks li:last-child { border-bottom: 1px solid var(--line); }
.factrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.factrow li { padding: 18px 20px; border-radius: var(--radius); background: var(--bg-soft); }
.factrow b { display: block; font-size: 1.15rem; margin-bottom: 2px; }
.factrow span { color: var(--ink-soft); font-size: 15px; }

.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.doc { margin: 0; }
.doc__img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.doc__name { font-size: 1.15rem; margin: 14px 0 6px; }
.doc .ticks li { padding: 2px 0; font-size: 15px; color: var(--ink-soft); }
.docs-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.docs-cta p { margin: 0 8px 0 0; font-weight: 500; }
.docs-cta .pill-btn { min-height: 44px; padding: 0 20px; font-size: 15px; }

.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 48px; }
.review__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.review__photo { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--bg-soft); }
.review__name { font-weight: 700; line-height: 1.25; }
.review__meta { font-size: 14px; color: var(--ink-soft); line-height: 1.3; }
.review p { margin: 0; font-size: 17px; line-height: 1.5; }

.faq { max-width: var(--col); border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item > summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 600; line-height: 1.35; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: '+'; flex: none; width: 32px; height: 32px; border: 1.5px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; font-weight: 400; transition: transform .2s; }
.faq-item[open] > summary::after { transform: rotate(45deg); border-color: var(--ink); }
.faq-item > summary:hover { color: var(--coral-ink); }
.faq-item__a { padding: 0 52px 22px 0; color: var(--ink-soft); }
.faq-item__a p { margin: 0 0 .7em; }
.faq-item__a p:last-child { margin: 0; }

.finalbox { margin-top: clamp(56px, 8vw, 104px); padding: clamp(28px, 5vw, 56px); border-radius: var(--radius); background: var(--bg-soft); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px 48px; align-items: start; }
.finalbox .block__title { margin-bottom: 14px; }
.finalbox .para { margin-bottom: 20px; }
.finalbox__phone { display: inline-block; margin-top: 18px; font-weight: 600; border-bottom: 2px solid var(--marker); }
.finalbox .ticks li { font-weight: 500; }

.related { padding-top: clamp(48px, 7vw, 88px); }
.related__title { font-size: 1.15rem; margin-bottom: 14px; }
.related__title a { border-bottom: 2px solid var(--marker); }
.related__title + .pills { margin-bottom: 32px; }

.pagehead { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; align-items: center; padding-top: clamp(32px, 6vw, 72px); }
.pagehead__title { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.1; letter-spacing: -0.035em; margin-bottom: 20px; max-width: 800px; }
.pagehead .para { margin-bottom: 0; }
.pagehead__art { width: 100%; aspect-ratio: 1; background: var(--art) center / contain no-repeat; }
.listing { padding-top: 36px; }
.listing .search { margin-bottom: 36px; }
.catalog--posts a { justify-content: flex-start; align-items: center; }
.catalog--posts .catalog__name { font-weight: 500; font-size: 17px; flex: 1; }
.catalog--posts .catalog__name::first-letter { text-transform: uppercase; }
.catalog__arrow { flex: none; width: 1em; height: 1em; color: var(--ink-soft); }
.catalog--posts a:hover .catalog__arrow { color: var(--coral); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 600; border: 1px solid var(--line); }
.pager a:hover { border-color: var(--ink); }
.pager .is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager .is-gap { border: 0; min-width: 24px; padding: 0; }
.pager svg { width: 1.1em; height: 1.1em; }
.pager__prev svg { transform: scaleX(-1); }

@media (min-width: 981px) {
  .page-course .sticky-bar { display: none; }
}
@media (max-width: 980px) {
  .course { grid-template-columns: minmax(0, 1fr); }
  .course__hero, .course__side, .course__rest { grid-column: 1; grid-row: auto; }
  .course__side { padding-top: 32px; }
  .pricecard { position: static; }
  .page-course .footer { padding-bottom: 96px; }
  .pagehead { grid-template-columns: minmax(0, 1fr); }
  .pagehead__art { display: none; }
  .finalbox { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr; gap: 28px; max-width: 520px; }
  .reviews { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .factrow { grid-template-columns: 1fr; }
  .numlist > li { grid-template-columns: 48px 1fr; }
  .numlist__num { font-size: 2.2rem; }
  .pricecard { padding: 22px; }
  .faq-item__a { padding-right: 0; }
  .pager a, .pager span { min-width: 40px; height: 40px; padding: 0 10px; }
}

.prose { max-width: var(--col); }
.prose p { font-size: clamp(1.05rem, 1.8vw, 1.2rem); line-height: 1.55; margin-bottom: 1em; }
.subhead { font-size: 1.3rem; margin: 36px 0 14px; }
.subhead:first-of-type { margin-top: 0; }
.modlist { max-width: var(--col); counter-reset: mod; border-top: 1px solid var(--line); }
.modlist li { counter-increment: mod; display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; font-weight: 500; line-height: 1.4; }
.modlist li::before { content: counter(mod, decimal-leading-zero); color: var(--coral-ink); font-weight: 700; }
.plainlist { max-width: var(--col); border-top: 1px solid var(--line); }
.plainlist li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; font-weight: 500; line-height: 1.4; }
.plainlist li::first-letter { text-transform: uppercase; }
.pills--tight { margin-bottom: 0; }
.pills + .industry-more { margin-top: -40px; }
.industry-more { margin-top: 20px; }
.industry-more > summary { display: flex; align-items: center; width: fit-content; min-height: 44px; padding: 8px 18px; border: 1.5px solid var(--marker); border-radius: 999px; background: var(--bg-soft); color: var(--ink); font-weight: 600; cursor: pointer; list-style: none; }
.industry-more > summary::-webkit-details-marker { display: none; }
.industry-more > summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.industry-more > .pills { margin-top: 0; }
.pill--static:hover { background: var(--bg-soft); }

.whoart { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 40px; align-items: start; }
.lineart { width: 100%; aspect-ratio: 1; background: var(--art) center / contain no-repeat; }
.thesis--who li b { display: inline; }
.thesis--who li span { color: var(--ink-soft); font-weight: 400; font-size: .85em; display: block; margin-top: 4px; line-height: 1.45; }

.hands { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; margin-top: 36px; }
.hands__img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.hands h3 { font-size: 1.3rem; margin-bottom: 10px; }
.hands p { color: var(--ink-soft); margin-bottom: 18px; }
.hands--license { margin-top: 0; }

.reviews--three { grid-template-columns: repeat(3, 1fr); gap: 28px; }

.dirs .catalog__item a { align-items: baseline; }
.dirs .catalog__num { flex: none; width: 28px; font-size: 14px; font-weight: 600; color: var(--coral-ink); }
.dirs .catalog__name { flex: 1; font-weight: 600; font-size: 18px; }
.typegroup + .typegroup { margin-top: clamp(40px, 6vw, 72px); }
.typegroup__head { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 8px; }
.typegroup__lead { color: var(--ink-soft); max-width: var(--col); margin-bottom: 20px; }
.catalog--dpo { columns: 2; }
.catalog--dpo .catalog__item a { align-items: center; }
.catalog--dpo .catalog__name { flex: 1; font-weight: 500; font-size: 17px; }
.catalog--dpo .catalog__name::first-letter { text-transform: uppercase; }
.catalog__meta { display: block; font-size: 14px; color: var(--ink-soft); font-weight: 400; margin-top: 2px; }
.catalog--dpo .catalog__item a:hover .catalog__arrow { color: var(--coral); }
.catalog__item--held { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.catalog__item--held .catalog__name { font-weight: 500; font-size: 17px; }
.catalog__item--held .catalog__name::first-letter { text-transform: uppercase; }
.catalog__item--held .pill-btn { flex: none; white-space: nowrap; }
.catalog__item--held > div { min-width: 0; }
.heldnote { color: var(--ink-soft); max-width: var(--col); margin-bottom: 20px; }
.held-more { margin-top: 20px; max-width: none; border-top: 0; }
.held-more > summary { font-size: 1rem; }
.held-more .catalog { margin-top: 8px; }

.ask { position: fixed; inset: 0; margin: auto; padding: 28px 24px 24px; border: 2px solid var(--ink); border-radius: var(--radius); max-width: 440px; width: calc(100% - 32px); background: #fff; color: var(--ink); }
.ask::backdrop { background: rgba(14,14,14,.5); }
.ask__title { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.ask__program { color: var(--ink-soft); margin-bottom: 18px; overflow-wrap: anywhere; }
.ask__program::first-letter { text-transform: uppercase; }
.ask__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ask__links .pill-btn:first-child { grid-column: 1 / -1; }
.ask__close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--bg-soft); font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }
.ask__close:hover { background: var(--marker); }

@media (max-width: 980px) {
  .whoart { grid-template-columns: minmax(0, 1fr); }
  .whoart .lineart { display: none; }
  .hands { grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 520px; }
  .reviews--three { grid-template-columns: 1fr; }
  .catalog--dpo { columns: 1; }
}
@media (max-width: 560px) {
  .modlist li { grid-template-columns: 38px 1fr; }
  .catalog__item--held { flex-wrap: wrap; }
  .catalog__item--held .pill-btn { width: 100%; }
}
.course__title .marker { white-space: normal; background: linear-gradient(transparent 62%, var(--marker) 62%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.course__title .marker::before { display: none; }
.catalog__item--held a.pill-btn { display: inline-flex; padding: 0 18px; justify-content: center; align-items: center; }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0 32px; }
.team figure { margin: 0; }
.team img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--bg-soft); }

.contacts__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px 64px; align-items: start; }
.contacts__phone { margin: 24px 0 0; color: var(--ink-soft); }
.contacts .finalbox__phone { margin-top: 0; color: var(--ink); }

.pay__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; align-items: start; }
.pay__methods-title { margin: 32px 0 14px; font-weight: 600; }
.pay-form { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.pay-form__title { font-size: 1.35rem; margin-bottom: 24px; }
.pay-form__group { margin-bottom: 20px; }
.pay-form__label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 15px; }
.pay-form__input { width: 100%; min-height: 52px; padding: 0 16px; border: 2px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); font: inherit; font-size: 17px; }
.pay-form__input:focus { outline: none; border-color: var(--ink); }
.pay-form__hint { margin-top: 6px; font-size: 14px; color: var(--ink-soft); }
.pay-form__consent { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; font-size: 14px; color: var(--ink-soft); line-height: 1.4; }
.pay-form__consent input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.pay-form__consent a { border-bottom: 1px solid var(--line); }
.pay-form__btn { width: 100%; }
.pay-form__btn:disabled { opacity: .4; cursor: not-allowed; }
.pay-form__secure { margin: 14px 0 0; text-align: center; font-size: 14px; color: var(--ink-soft); }

.reviews--three .review { padding-top: 4px; }

.article { max-width: 720px; margin: 0 auto; padding-top: clamp(24px, 5vw, 56px); }
.article__cat { display: inline-block; margin-bottom: 16px; padding: 6px 14px; border-radius: 999px; background: var(--bg-soft); font-size: 14px; font-weight: 600; }
.article__title { font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.12; letter-spacing: -0.035em; margin-bottom: 18px; }
.article__lead { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.45; color: var(--ink-soft); margin-bottom: 28px; }
.article__cover { margin: 0 0 28px; }
.article__cover img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.article__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 36px; padding: 18px 22px; border-radius: var(--radius); background: var(--bg-soft); }
.article__cta p { margin: 0; flex: 1 1 280px; font-weight: 500; line-height: 1.4; }
.article__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.article__content { font-size: 1.15rem; line-height: 1.65; overflow-wrap: break-word; }
.article__content > * { max-width: 100%; }
.article__content p { margin: 0 0 1.1em; }
.article__content h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 1.9em 0 .6em; letter-spacing: -0.03em; }
.article__content h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
.article__content ul, .article__content ol { margin: 0 0 1.1em; padding-left: 1.3em; list-style: disc; }
.article__content ol { list-style: decimal; }
.article__content li { margin-bottom: .4em; }
.article__content a { border-bottom: 2px solid var(--marker); }
.article__content a:hover { color: var(--coral-ink); border-color: var(--coral); }
.article__content figure { margin: 1.8em 0; }
.article__content figure img, .article__content > img { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--bg-soft); }
.article__content figcaption { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }
.article__content blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--marker); }
.page-article .finalbox { max-width: 720px; margin-left: auto; margin-right: auto; grid-template-columns: 1fr; }
.page-article .related { max-width: 720px; margin: 0 auto; }

.alist { border-top: 1px solid var(--line); }
.alist__item { border-bottom: 1px solid var(--line); }
.alist__link { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; align-items: center; padding: 20px 0; }
.alist__thumb { display: block; width: 160px; aspect-ratio: 16 / 11; border-radius: var(--radius); background: var(--bg-soft); overflow: hidden; }
.alist__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.alist__body { display: block; min-width: 0; }
.alist__cat { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.alist__title { display: block; font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; }
.alist__link:hover .alist__title { background: linear-gradient(transparent 62%, var(--marker) 62%); }
.alist__text { display: -webkit-box; margin-top: 6px; color: var(--ink-soft); font-size: 16px; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.alist--related .alist__link { padding: 16px 0; }

@media (max-width: 900px) {
  .team { grid-template-columns: 1fr 1fr; }
  .contacts__grid, .pay__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .alist__link { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .alist__thumb { width: 96px; }
  .alist__text { -webkit-line-clamp: 3; font-size: 15px; }
  .article__content { font-size: 1.05rem; }
  .article__cta { padding: 16px; }
}

img[src*="/assets/img/docs/"] { user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }

.msgr-pop{position:relative;display:inline-block;z-index:80}.msgr-pop>summary{list-style:none;cursor:pointer}.msgr-pop>summary::-webkit-details-marker{display:none}.msgr-pop__menu{position:absolute;top:calc(100% + 8px);left:0;z-index:1000;min-width:190px;padding:6px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.header .msgr-pop__menu{left:auto;right:0}.msgr-pop__menu a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;color:var(--ink);text-decoration:none}.msgr-pop__menu a:hover{background:var(--bg-soft)}.msgr-link{white-space:nowrap}
.sticky-bar{gap:4px;padding-left:8px;padding-right:8px}.sticky-bar__btn{flex:1 1 0;min-width:0;padding:10px 4px;font-size:12px;white-space:nowrap}
