:root {
  --hero-bg:       #2927C0;
  --hero-radius:   20px;
  --page-bg:       #f5f6fa;

  --blue:          #2C84FF;
  --blue-hover:    #1a6fd4;
  --blue-light:    #EEF0FF;
  --blue-mid:      #D8DCFF;

  --orange:        #FF5F2D;
  --orange-hov:    #E84F20;

  --text-h:        #1a1a2e;
  --text-body:     #555555;
  --text-muted:    #555555;
  --text-faint:    #9CA3AF;
  --text-white:    #FFFFFF;
  --text-white-60: rgba(255,255,255,.6);
  --text-white-80: rgba(255,255,255,.82);

  --border:        #E5E7EB;
  --bg-white:      #FFFFFF;
  --bg-soft:       #F9FAFB;

  --font:          LabGrotesque, 'PT Sans', Arial, sans-serif;
  --r:             6px;
  --r-lg:          12px;
  --max-w:         1200px;
  --content-w:     820px;
}

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}


/* ── Типографика — точно по оригинальному сайту ── */
h1, h2, h3, h4, h5, h6 {
  font-family: LabGrotesque, 'PT Sans', Arial, sans-serif;
  color: var(--text-h);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); margin-bottom: 0.5rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); margin-bottom: 0.5rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.4rem; }

p { margin-bottom: 1rem; line-height: 1.7; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--blue);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
li { margin-bottom: 0.35rem; line-height: 1.6; }

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,1);
  border-bottom: 1px solid var(--border);
}

.header__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 52px;
  padding: 8px 0;
  gap: 0.5rem 2rem;
}

.header__menu-list {
  display: flex;
  list-style: none;
  gap: 0.4rem 1.75rem;
  flex-wrap: wrap;
}

.header__menu-list li a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s;
}

.header__menu-list li a:hover,
.header__menu--active a { color: var(--text-h); }

.header__col--info {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  margin-left: auto;
}

.header__info { text-align: right; }

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-h);
  text-decoration: none;
}

.header__phone svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--text-h);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header__schedule {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.header__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-h);
  border-radius: 2px;
}

.breadcrumb-outer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.875rem 2rem 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  list-style: none;
  font-size: 13px;
  color: var(--text-faint);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumb .sep { color: var(--text-faint); }

.offer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.75rem 2rem 0;
}

.offer__card {
  background: var(--hero-bg);
  border-radius: var(--hero-radius);
  padding: 2.25rem 2.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.offer__card::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.07);
  pointer-events: none;
}

.offer__logo { margin-bottom: 1.5rem; }

.offer__logo svg {
  height: 38px;
  width: auto;
  display: block;
}

.offer__h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 1.75rem;
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.offer__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.offer__stat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  color: var(--text-white);
  font-size: 14px;
  font-weight: 400;
  transition: background .15s;
}

.offer__stat:hover { background: rgba(255,255,255,.2); }

.offer__stat-num {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
}

.offer__stat svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  fill: none;
  stroke: rgba(255,255,255,.7);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.content-wrap {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 1.5rem 2rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.content-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.content-card h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 1rem;
}

.content-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 0.5rem;
  margin-top: 1.25rem;
}

.content-card p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 0.875em;
}

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

.lede p { margin-bottom: 1.1em; }
.lede p:last-child { margin-bottom: 0; }

.skills-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skills-list li {
  font-size: 15px;
  line-height: 1.6;
  padding-left: 1.4rem;
  position: relative;
  color: var(--text-body);
}

.skills-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.module { margin-bottom: 1.75rem; }
.module:last-child { margin-bottom: 0; }


.course-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-h);
  margin: 1.25rem 0 0.4rem;
  padding-left: 0;
}
.module-title {
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--text-h);
  margin-bottom: 0.875rem;
  color: var(--text-h);
}

.course-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  margin-top: 0.875rem;
}

.lesson-list {
  list-style: none;
  padding: 0;
}

.lesson-list li {
  font-size: 14px;
  line-height: 1.5;
  padding: 0.4rem 0 0.4rem 1rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  color: var(--text-body);
}

.lesson-list li:last-child { border-bottom: none; }

.lesson-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--border);
  border-radius: 50%;
}

.test-block {
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  padding: 1.1rem 1.4rem;
}

.test-block ol { padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.test-block li { font-size: 14px; color: var(--text-body); line-height: 1.5; }

.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list details:first-child { border-top: 1px solid var(--border); }

summary {
  padding: 0.875rem 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-h);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 20px; font-weight: 300; color: var(--text-faint); flex-shrink: 0; }
details[open] summary::after { content: '−'; }
.faq-answer { padding: 0 0 0.875rem; font-size: 15px; line-height: 1.7; color: var(--text-muted); }

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.related-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 0.875rem 1rem;
  text-decoration: none;
  color: var(--text-h);
  display: block;
  background: var(--bg-white);
  transition: border-color .15s;
}

.related-card:hover { border-color: var(--blue); }
.related-card .rc-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-faint); margin-bottom: 0.3rem; }
.related-card strong { font-size: 14px; display: block; line-height: 1.4; }

.cta-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  text-align: left;
}

.cta-card h2 { color: var(--text-h); font-size: 1.25rem; margin-bottom: 0.6rem; }
.cta-card p { font-size: 15px; color: var(--text-body); margin-bottom: 1rem; }

.btn-orange {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 0.8rem 2.25rem;
  border-radius: var(--r);
  text-decoration: none;
}

.btn-orange:hover { background: var(--orange-hov); }

.btn-ghost {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.3);
  color: var(--text-white-80);
  font-size: 14px;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: var(--r);
  text-decoration: none;
  margin-top: 0.75rem;
}

.btn-ghost:hover { border-color: #fff; color: #fff; }


/* ── Логотип в шапке ── */
.header__col--logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header__logo {
  display: block;
  line-height: 0;
}

.header__logo svg {
  height: 36px;
  width: auto;
  display: block;
}

@media (max-width: 900px) {
  .header__menu-list { gap: 1.25rem; }
  .offer { padding: 0.75rem 1rem 0; }
  .offer__card { padding: 1.75rem 1.5rem 2rem; }
  .content-wrap { padding: 1.25rem 1rem 4rem; }
  .content-card { padding: 1.5rem 1.25rem; }
  .breadcrumb-outer { padding: 0.75rem 1rem 0; }
}

@media (max-width: 768px) {
  .header__logo svg { height: 28px; }
}

@media (max-width: 640px) {
  .header__col--menu { display: none; }
  .header__burger { display: flex; }
  .offer__h1 { font-size: 1.4rem; }
  .offer__stats { gap: 0.4rem; }
  .offer__stat { font-size: 13px; padding: 0.35rem 0.75rem; }
  .offer__stat-num { font-size: 15px; }
  .audience-grid,
  .related-grid { grid-template-columns: 1fr; }
  .cta-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    text-align: left;
  }
}

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.footer {}

.footer__bottom {
  background: #2927C0;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 1.5rem 2rem;
}

.footer__bottom-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__copy p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.4rem;
}

.footer__links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer__links a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.footer__links a:hover { color: #fff; text-decoration: underline; }

.footer__contact {
  text-align: center;
}

.footer__contact p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.25rem;
}

.footer__contact a {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.footer__contact a:hover { text-decoration: underline; }

.footer__logo svg {
  height: 36px;
  width: auto;
}

@media (max-width: 640px) {
  .footer__form-fields { flex-direction: column; }
  .footer__input, .footer__btn { width: 100%; flex: none; }
  .footer__bottom-inner { flex-direction: column; gap: 1.25rem; }
  .footer__contact { text-align: left; }
}

.footer {
  margin-top: 3rem;
}

.footer__form-wrap {
  background: #2927C0;
  padding: 3.5rem 2rem 3rem;
}

.footer__container {
  max-width: 1000px;
  margin: 0 auto;
}

.footer__form-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.25;
  margin-bottom: 2.25rem;
}

.footer__form-fields {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.875rem;
  flex-wrap: wrap;
}

.footer__input {
  flex: 1 1 180px;
  height: 52px;
  background: rgba(255,255,255,0.95);
  border: none;
  border-radius: 999px;
  padding: 0 1.25rem;
  font-size: 15px;
  font-family: var(--font);
  color: var(--text-h);
  outline: none;
}

.footer__input::placeholder { color: var(--text-muted); }
.footer__input:focus { background: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,0.5); }

.footer__btn {
  flex-shrink: 0;
  height: 52px;
  background: #FF5F2D;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0 2rem;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}

.footer__btn:hover { background: #E84F20; }

.footer__agree {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
}

.footer__agree input { width: 14px; height: 14px; flex-shrink: 0; }

.footer__bottom {
  background: #2927C0;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 1.5rem 2rem;
}

.footer__bottom-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__copy p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.4rem;
}

.footer__links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer__links a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.footer__links a:hover { color: #fff; text-decoration: underline; }

.footer__contact {
  text-align: center;
}

.footer__contact p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.25rem;
}

.footer__contact a {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.footer__contact a:hover { text-decoration: underline; }

.footer__logo {
  max-width: 13.625rem;
  width: 100%;
  display: block;
}
.footer__logo img {
  height: 40px;
  width: auto;
  max-width: 100%;
}

@media (max-width: 640px) {
  .footer__form-fields { flex-direction: column; }
  .footer__input, .footer__btn { width: 100%; flex: none; }
  .footer__bottom-inner { flex-direction: column; gap: 1.25rem; }
  .footer__contact { text-align: left; }
}
/* ════════════════════════════════
   СТРАНИЦЫ НАВЫКОВ /navyk/
════════════════════════════════ */
.navyk-wrap {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 2rem 2rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.navyk-hero {
  padding-bottom: 0.5rem;
}

.navyk-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.navyk-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-h);
  margin-bottom: 1rem;
}

.navyk-hero p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 0.875em;
}

/* Карточки программ */
.program-card {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.program-card:last-of-type { border-bottom: none; }

.program-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 0.5rem;
}

.program-card h3 a {
  color: var(--text-h);
  text-decoration: none;
}

.program-card h3 a:hover { color: var(--blue); }

.prog-links {
  margin-top: 0.5rem;
  font-size: 13px;
}

.prog-link {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

.prog-link:hover { text-decoration: underline; }
.prog-link--demo { color: var(--text-muted); font-weight: 400; }

.prog-cta-note {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 1rem;
  font-style: italic;
}

/* Уровни паспорта */
.passport-levels {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.875rem;
}

.passport-levels li {
  font-size: 15px;
  padding-left: 1.1rem;
  position: relative;
  color: var(--text-body);
}

.passport-levels li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.passport-levels a {
  color: var(--blue);
  text-decoration: none;
}

.passport-levels a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .navyk-wrap { padding: 1.25rem 1rem 4rem; }
}

/* ── Страницы навыков ── */
.navyk-program-card {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.navyk-program-card:last-of-type { border-bottom: none; }

.navyk-prog-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 0.5rem;
}

.navyk-lessons {
  list-style: none;
  padding: 0;
  margin-bottom: 0.75rem;
}
.navyk-lessons li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 0.2rem 0 0.2rem 1rem;
  position: relative;
}
.navyk-lessons li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--text-faint);
}

.navyk-prog-links {
  font-size: 14px;
  margin: 0;
}
.navyk-prog-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}
.navyk-prog-link:hover { text-decoration: underline; }
.navyk-demo-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
}
.navyk-demo-link:hover { color: var(--blue); }

.navyk-subscription {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.passport-levels {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.passport-levels li {
  font-size: 15px;
  padding-left: 1rem;
  position: relative;
}
.passport-levels li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--blue);
  font-weight: 700;
}
.passport-levels a {
  color: var(--blue);
  text-decoration: none;
}
.passport-levels a:hover { text-decoration: underline; }


.content-card a:not(.btn-orange):not(.related-card) {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(44, 132, 255, 0.3);
  transition: border-color .15s, color .15s;
}
.content-card a:not(.btn-orange):not(.related-card):hover {
  color: var(--blue-hover);
  border-bottom-color: var(--blue-hover);
}

/* ── Дата обновления ── */
.updated {
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ── Открытое мобильное меню ── */
.header__col--menu.is-open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1rem var(--px);
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.header__col--menu.is-open .header__menu-list {
  flex-direction: column;
  gap: 0;
}

.header__col--menu.is-open .header__menu-list li a {
  display: block;
  padding: 0.75rem 0;
  font-size: 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-h);
}

.header__col--menu.is-open .header__menu-list li:last-child a {
  border-bottom: none;
}

/* Анимация бургера → крестик */
.header__burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__burger.is-active span:nth-child(2) {
  opacity: 0;
}
.header__burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__burger span {
  transition: transform 0.2s, opacity 0.2s;
}

/* Шапка позиционируется относительно для выпадения меню */
.header {
  position: relative;
}

