

/* Start:/local/templates/profi_main/styles.css?177669170249992*/
/* ============================================================
   ПРОФИ СПб — Elite Design System
   Шрифты: Plus Jakarta Sans + Inter
   Палитра: тёмный navy, электрический синий, белый
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ── Переменные ─────────────────────────────────────────── */
:root {
  --navy:        #07111F;
  --navy-2:      #0D1B2E;
  --navy-3:      #162236;
  --blue:        #2563EB;
  --blue-hover:  #1d4fd7;
  --blue-light:  rgba(37,99,235,.1);
  --blue-glow:   rgba(37,99,235,.4);
  --gold:        #F59E0B;
  --text:        #0F172A;
  --text-2:      #334155;
  --text-3:      #64748B;
  --border:      #E2E8F0;
  --bg:          #F8FAFC;
  --white:       #FFFFFF;
  --r:           14px;
  --r-sm:         8px;
  --r-lg:        22px;
  --r-xl:        32px;
  --ease:        cubic-bezier(.4,0,.2,1);
  --spring:      cubic-bezier(.16,1,.3,1);
  --sh:          0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.08);
  --sh-md:       0 8px 32px rgba(0,0,0,.1);
  --sh-lg:       0 20px 60px rgba(0,0,0,.14);
  --sh-blue:     0 8px 32px rgba(37,99,235,.3);
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.profi-main-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Лендинг: два блока (тестирование + кабинет) ──────────── */
.profi-landing {
  padding: 32px 0 60px;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(37,99,235,.07) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(99,102,241,.05) 0%, transparent 55%),
    var(--bg);
}
.profi-landing__inner {
  width: 100%;
  margin: 0 auto;
}
.profi-landing__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.profi-landing__card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--sh);
}
.profi-landing__card--grid {
  height: 100%;
}
.profi-landing__card-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 28px;
}
.profi-landing__card-icon--secondary {
  background: rgba(99,102,241,.1);
  color: #6366f1;
}
.profi-landing__card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--text);
  margin-bottom: 14px;
}
.profi-landing__card-text {
  font-size: 1rem;
  color: var(--text-3);
  line-height: 1.65;
  margin-bottom: 36px;
  flex: 1;
}
.profi-landing__card-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all .25s var(--ease);
  width: 100%;
  justify-content: center;
}
.profi-landing__card-btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,99,235,.35);
}
.profi-landing__card-btn--primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,.45);
}
.profi-landing__card-btn--secondary {
  background: #6366f1;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(99,102,241,.35);
}
.profi-landing__card-btn--secondary:hover {
  background: #4f46e5;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(99,102,241,.45);
}
.profi-landing__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0;
  position: relative;
}
.profi-landing__divider span {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-3);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 20px;
  white-space: nowrap;
  z-index: 1;
}
@media (max-width: 700px) {
  .profi-landing { padding: 32px 20px; min-height: calc(100vh - 64px); }
  .profi-landing__inner { flex-direction: column; border-radius: 20px; }
  .profi-landing__card { padding: 40px 32px; }
  .profi-landing__card:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  .profi-landing__divider { width: 100%; height: 0; }
  .profi-landing__divider span { position: relative; }
}

/* ── Утилиты ─────────────────────────────────────────────── */
.profi-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 768px) { .profi-container { padding: 0 16px; } }

/* ============================================================
   HEADER
   ============================================================ */
.profi-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s var(--ease);
}
.profi-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}

.profi-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 20px);
  padding: 8px clamp(16px, 3vw, 40px);
  min-height: 72px;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
  width: 100%;
}
@media (max-width: 768px) {
  .profi-header__inner {
    padding: 8px 16px;
    min-height: 64px;
    gap: 12px;
  }
}

/* Логотип */
.profi-header__logo { flex-shrink: 0; line-height: 0; }
.profi-header__logo-img {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
@media (max-width: 1199px) and (min-width: 992px) {
  .profi-header__logo-img {
    max-width: 152px;
    height: auto;
  }
}

/* Навигация — один ряд; при переполнении — гориз. прокрутка */
.profi-header__nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
@supports (justify-content: safe center) {
  .profi-header__nav {
    justify-content: safe center;
  }
}
.profi-header__nav::-webkit-scrollbar {
  display: none;
  height: 0;
}
.profi-header__nav a {
  color: var(--text-2);
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(0.75rem, 1.05vw, 0.875rem);
  padding: 8px clamp(4px, 0.9vw, 10px);
  border-radius: var(--r-sm);
  transition: color .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
  flex: 0 0 auto;
  min-width: max-content;
  overflow: visible;
}
@media (min-width: 1320px) {
  .profi-header__nav a {
    font-size: 0.9375rem;
    padding: 8px 12px;
  }
}
.profi-header__nav a:hover {
  color: var(--blue);
  background: var(--blue-light);
}

/* Правая группа */
.profi-header__end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 12px;
  min-width: 0;
  flex-shrink: 0;
}

/* Контакты в шапке */
.profi-header__contacts {
  display: flex;
  align-items: center;
  gap: 12px 14px;
  flex-shrink: 0;
}
.profi-header__item--mail .profi-header__item-text {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profi-header__item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  transition: color .2s var(--ease);
}
.profi-header__item svg { flex-shrink: 0; }
.profi-header__item:hover { color: var(--blue); }
.profi-header__address { cursor: default; }

/* CTA кнопка в шапке */
.profi-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--blue);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: .875rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  flex-shrink: 0;
}
.profi-header__cta:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: var(--sh-blue);
}

/* Бургер — только мобильная ширина */
.profi-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color .2s var(--ease);
  flex-shrink: 0;
}
.profi-header__burger:hover {
  border-color: var(--blue);
}
.profi-header__burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: .25s var(--ease);
  margin: 0 auto;
}
.profi-header__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.profi-header__burger.is-open span:nth-child(2) {
  opacity: 0;
}
.profi-header__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Мобильное выезжающее меню */
.profi-header__mobile-contacts {
  display: none;
  flex-direction: column;
  padding: 20px;
  background: var(--white);
  border-top: 1px solid var(--border);
  gap: 4px;
}
.profi-header__mobile-contacts.is-open {
  display: flex;
}
.profi-header__mobile-contacts a {
  padding: 12px 16px;
  border-radius: var(--r-sm);
  color: var(--text-2);
  text-decoration: none;
  font-weight: 500;
  transition: background .2s, color .2s;
}
.profi-header__mobile-contacts a:hover {
  background: var(--blue-light);
  color: var(--blue);
}

@media (max-width: 991px) {
  .profi-header__inner {
    justify-content: space-between;
  }
  .profi-header__nav {
    display: none;
  }
  .profi-header__end .profi-header__contacts,
  .profi-header__end .profi-header__cta {
    display: none;
  }
  .profi-header__burger {
    display: flex;
  }
}

/* Плавающая кнопка «Для слабовидящих» — закреплена к окну при скролле */
.profi-a11y-fab {
  position: fixed;
  z-index: 300;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(37, 99, 235, 0.4);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}
.profi-a11y-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
  border-color: var(--blue);
}
.profi-a11y-fab svg {
  flex-shrink: 0;
  color: var(--blue);
}
.profi-a11y-fab[aria-pressed="true"] {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy-3);
}
.profi-a11y-fab[aria-pressed="true"] svg {
  color: #93c5fd;
}
@media (max-width: 520px) {
  .profi-a11y-fab__text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .profi-a11y-fab {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .profi-a11y-fab {
    transition: none;
  }
  .profi-a11y-fab:hover {
    transform: none;
  }
}

/* ============================================================
   MAIN
   ============================================================ */
.profi-main { min-height: 70vh; }

/* ============================================================
   HERO
   ============================================================ */
.profi-hero { padding: 0; position: relative; overflow: hidden; }

.profi-hero--slider .profi-hero__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: calc(100vh - 72px);
}
.profi-hero--slider .profi-hero__track {
  display: flex;
  width: calc(var(--n, 1) * 100%);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.profi-hero__slide {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
}
.profi-hero--slider .profi-hero__slide {
  flex: 0 0 calc(100% / var(--n, 1));
  box-sizing: border-box;
}

/* Overlay: настроение «Нева» — глубокий синий + лёгкий бирюзовый блик */
.profi-hero__slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,17,31,.95) 0%, rgba(7,17,31,.75) 60%, rgba(13,27,46,.85) 100%);
}
.profi-hero--slider .profi-hero__slide::before {
  background: linear-gradient(
    118deg,
    rgba(7, 17, 31, 0.93) 0%,
    rgba(13, 27, 46, 0.62) 44%,
    rgba(22, 78, 99, 0.48) 78%,
    rgba(37, 99, 235, 0.22) 100%
  );
}

.profi-hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(7, 17, 31, 0.42);
  color: #fff;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.profi-hero__arrow:hover {
  background: rgba(37, 99, 235, 0.55);
  border-color: rgba(255,255,255,.5);
}
.profi-hero__arrow--prev { left: max(16px, env(safe-area-inset-left)); }
.profi-hero__arrow--next { right: max(16px, env(safe-area-inset-right)); }
.profi-hero__arrow::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border: 2px solid currentColor;
  border-width: 0 0 2px 2px;
  transform: rotate(45deg);
}
.profi-hero__arrow--next::after {
  transform: rotate(-135deg);
}

.profi-hero__dots {
  position: absolute;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
  align-items: center;
}
.profi-hero__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.38);
  cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.profi-hero__dot:hover { transform: scale(1.15); }
.profi-hero__dot.is-active {
  background: var(--blue);
  box-shadow: 0 0 0 2px rgba(255,255,255,.45);
}

.profi-hero__hint {
  font-size: .9375rem;
  color: rgba(255,255,255,.65);
  max-width: 640px;
  margin: 1rem auto 0;
  line-height: 1.55;
}
.profi-hero__hint strong { color: #93C5FD; font-weight: 600; }

/* Декоративные круги */
.profi-hero__slide--default::after {
  content: '';
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.15) 0%, transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
}

.profi-hero__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.profi-hero__deco::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,.08) 0%, transparent 70%);
  bottom: -100px; left: -100px;
}
.profi-hero__deco::after {
  content: '';
  position: absolute;
  width: 1px; height: 100%;
  top: 0; left: 50%;
  background: linear-gradient(to bottom, transparent, rgba(37,99,235,.15), transparent);
}

/* Контент Hero */
.profi-hero__content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  text-align: center;
  padding: 80px 40px 100px;
}

.profi-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,.2);
  border: 1px solid rgba(37,99,235,.4);
  color: #93C5FD;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--r-xl);
  margin-bottom: 28px;
}
.profi-hero__label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #60A5FA;
  box-shadow: 0 0 8px #60A5FA;
}

.profi-hero__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.04em;
  color: var(--white);
  margin-bottom: 28px;
}
.profi-hero__title em {
  font-style: normal;
  background: linear-gradient(90deg, #60A5FA, #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.profi-hero__text {
  font-size: 1.1875rem;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 44px;
}
.profi-hero__text p { margin: 0; }

.profi-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.profi-hero__stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(7,17,31,.5);
  backdrop-filter: blur(12px);
}
.profi-hero__stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.profi-hero__stat {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.06);
}
.profi-hero__stat:last-child { border-right: none; }
.profi-hero__stat-num {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.profi-hero__stat-num span { color: #60A5FA; }
.profi-hero__stat-label {
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
  letter-spacing: .02em;
}
@media (max-width: 768px) {
  .profi-hero__stats-inner { grid-template-columns: repeat(2, 1fr); }
  .profi-hero__stat { padding: 20px 16px; }
  .profi-hero__stat-num { font-size: 1.5rem; }
  .profi-hero__slide { min-height: auto; }
  .profi-hero--slider .profi-hero__viewport { min-height: auto; }
  .profi-hero--slider .profi-hero__slide { min-height: min(88vh, 640px); }
  .profi-hero__content { padding: 60px 20px 120px; }
  .profi-hero__arrow { width: 40px; height: 40px; opacity: .92; }
}
@media (max-width: 480px) {
  .profi-hero__stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ── Кнопки ──────────────────────────────────────────────── */
.profi-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.profi-btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,99,235,.4);
}
.profi-btn--primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,.5);
}
.profi-btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.3);
}
.profi-btn--outline:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.6);
}

/* ============================================================
   СЕКЦИИ — общие правила
   ============================================================ */
.profi-section { padding: 96px 0; }

.profi-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.profi-section-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.profi-section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.15;
  color: var(--text);
}
.profi-section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
  white-space: nowrap;
  transition: gap .2s var(--ease), color .2s var(--ease);
}
.profi-section-link::after { content: '→'; }
.profi-section-link:hover { color: var(--blue-hover); gap: 12px; }

/* ── Направления обучения (тизеры) ────────────────────────── */
.profi-teasers { background: var(--white); border-bottom: 1px solid var(--border); }
.profi-teasers .profi-section-header { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
.profi-teasers .profi-cards { gap: 24px; }
.profi-teasers .profi-card {
  position: relative;
  padding-top: 4px;
}
.profi-teasers .profi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--blue);
  border-radius: var(--r) var(--r) 0 0;
  transform: scaleX(0);
  transition: transform .35s var(--spring);
  transform-origin: left;
}
.profi-teasers .profi-card:hover::before { transform: scaleX(1); }

/* ── Новости ──────────────────────────────────────────────── */
.profi-news { background: var(--bg); }

/* ── Отзывы ──────────────────────────────────────────────── */
.profi-reviews {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.profi-reviews::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.12) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
}
.profi-reviews .profi-section-label { color: #60A5FA; }
.profi-reviews .profi-section-title { color: var(--white); }
.profi-reviews .profi-section-link { color: #60A5FA; }
.profi-reviews .profi-section-link:hover { color: #93C5FD; }

/* ── Статьи ───────────────────────────────────────────────── */
.profi-articles { background: var(--white); border-top: 1px solid var(--border); }

/* ── Партнёры ─────────────────────────────────────────────── */
.profi-partners-section { background: var(--bg); border-top: 1px solid var(--border); }

/* ── О компании ──────────────────────────────────────────── */
.profi-company { background: var(--white); border-top: 1px solid var(--border); }

/* ── Карта ───────────────────────────────────────────────── */
.profi-map { padding: 0; }
.profi-map-inner {
  height: 440px;
  overflow: hidden;
  border-radius: 0;
  position: relative;
}
.profi-map-inner iframe,
.profi-map-inner .bx-yandex-view-layout,
.profi-map-inner > div { height: 100% !important; border-radius: 0 !important; }

/* ── Главная: популярные направления (квадраты) ─────────── */
.profi-popular {
  padding: 72px 0 88px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(37,99,235,.06) 0%, transparent 55%),
    var(--white);
  border-top: 1px solid var(--border);
}
.profi-section-header--center {
  text-align: center;
  flex-direction: column;
  align-items: center;
  margin-bottom: 48px;
}
.profi-popular .profi-section-title { margin-bottom: 0; }
.profi-popular__lead {
  margin-top: 14px;
  font-size: 1.0625rem;
  color: var(--text-3);
  max-width: 560px;
  line-height: 1.55;
}

.profi-dir-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
/* Карточка: обводка цвета логотипа (#2563EB), лёгкая тень; контент на белом */
.profi-dir-grid__item {
  display: flex;
  flex-direction: column;
  aspect-ratio: 1;
  min-height: 140px;
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(37, 99, 235, 0.38);
  background: var(--white);
  box-shadow:
    0 1px 2px rgba(37, 99, 235, 0.06),
    0 8px 28px rgba(7, 17, 31, 0.08);
  transition: transform .28s var(--spring), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.profi-dir-grid__item:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow:
    0 2px 8px rgba(37, 99, 235, 0.12),
    0 14px 40px rgba(7, 17, 31, 0.12);
}
.profi-dir-grid__thumb {
  flex: 0 0 40%;
  min-height: 96px;
  background-size: cover;
  background-position: center;
  background-color: rgba(37, 99, 235, 0.06);
}
.profi-dir-grid__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px 20px 20px;
  background: var(--white);
  min-height: 0;
}
.profi-dir-grid__item--noimg .profi-dir-grid__inner {
  flex: 1;
  padding: 22px 20px;
}
.profi-dir-grid__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -.03em;
  line-height: 1.25;
  color: var(--text);
}
.profi-dir-grid__desc {
  font-size: .875rem;
  color: var(--text-3);
  line-height: 1.45;
}
@media (max-width: 1100px) {
  .profi-dir-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .profi-popular { padding: 48px 0 56px; }
  .profi-dir-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .profi-dir-grid__item { min-height: 0; }
  .profi-dir-grid__inner { padding: 14px 16px 16px; }
  .profi-dir-grid__item--noimg .profi-dir-grid__inner { padding: 18px 16px; }
  .profi-dir-grid__title { font-size: 1rem; }
}

/* Версия для слабовидящих */
html.profi-a11y-mode {
  font-size: 118%;
}
html.profi-a11y-mode body.profi-main-page {
  color: #0a0a0a;
}
html.profi-a11y-mode .profi-header {
  background: #fff;
  border-bottom: 2px solid #111;
}
html.profi-a11y-mode .profi-header__nav {
  justify-content: flex-start;
}
html.profi-a11y-mode .profi-header__nav a {
  min-width: max-content;
  overflow: visible;
  flex-shrink: 0;
}
html.profi-a11y-mode .profi-header__item {
  min-width: max-content;
  overflow: visible;
}
html.profi-a11y-mode .profi-header__item--mail .profi-header__item-text {
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
}
html.profi-a11y-mode .profi-header__nav a,
html.profi-a11y-mode .profi-header__item {
  text-decoration: underline;
  text-underline-offset: 3px;
}
html.profi-a11y-mode .profi-hero__title,
html.profi-a11y-mode .profi-section-title {
  letter-spacing: 0;
}
html.profi-a11y-mode .profi-a11y-fab {
  outline: 3px solid #111;
  outline-offset: 3px;
}

/* ============================================================
   КАРТОЧКИ
   ============================================================ */
.profi-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}

.profi-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--spring), box-shadow .35s var(--ease), border-color .25s var(--ease);
}
.profi-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}

.profi-card__img-wrap {
  display: block;
  aspect-ratio: 3/2;
  overflow: hidden;
}
.profi-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.profi-card:hover .profi-card__img { transform: scale(1.06); }

.profi-card__body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.profi-card__date,
.profi-card__meta {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.profi-card__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.profi-card__title a {
  color: var(--text);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.profi-card__title a:hover { color: var(--blue); }
.profi-card__text {
  font-size: .9375rem;
  color: var(--text-3);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}
.profi-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
  transition: gap .2s var(--ease), color .2s var(--ease);
}
.profi-card__link::after { content: '→'; }
.profi-card__link:hover { color: var(--blue-hover); gap: 12px; }

/* Тёмные карточки (отзывы) */
.profi-reviews .profi-card {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.1);
}
.profi-reviews .profi-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(37,99,235,.5);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.profi-reviews .profi-card__date,
.profi-reviews .profi-card__meta { color: #93C5FD; }
.profi-reviews .profi-card__title { color: var(--white); }
.profi-reviews .profi-card__title a { color: var(--white); }
.profi-reviews .profi-card__title a:hover { color: #60A5FA; }
.profi-reviews .profi-card__text { color: rgba(255,255,255,.65); }
.profi-reviews .profi-card__link { color: #60A5FA; }
.profi-reviews .profi-card__link:hover { color: #93C5FD; }

/* ============================================================
   ПАРТНЁРЫ
   ============================================================ */
.profi-partners {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 20px;
}
.profi-partners__item {}
.profi-partners__link,
.profi-partners__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: all .3s var(--ease);
  text-decoration: none;
}
.profi-partners__link:hover,
.profi-partners__logo:hover {
  border-color: var(--blue);
  box-shadow: var(--sh-blue);
  transform: translateY(-3px);
}
.profi-partners__link img,
.profi-partners__logo img {
  max-width: 100%; max-height: 60px;
  object-fit: contain;
  filter: grayscale(.5);
  opacity: .8;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}
.profi-partners__link:hover img,
.profi-partners__logo:hover img { filter: none; opacity: 1; }
.profi-partners__link span,
.profi-partners__logo span {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-2);
  text-align: center;
}

/* ============================================================
   О КОМПАНИИ
   ============================================================ */
.profi-company-content {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 48px 52px;
  line-height: 1.8;
  color: var(--text-2);
  font-size: 1.0625rem;
}
.profi-company-content p { margin-bottom: 1em; }
.profi-company-content p:last-child { margin-bottom: 0; }

/* ============================================================
   PAGER
   ============================================================ */
.profi-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.profi-pager a,
.profi-pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
  transition: all .2s var(--ease);
}
.profi-pager a {
  background: var(--white);
  color: var(--text-2);
  border: 1px solid var(--border);
}
.profi-pager a:hover,
.profi-pager a.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: var(--sh-blue);
}
.profi-pager span { color: var(--text-3); }

/* ============================================================
   FOOTER
   ============================================================ */
.profi-footer {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  font-size: .9375rem;
}

/* Верхний блок футера */
.profi-footer__top {
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 72px 0 64px;
}
.profi-footer__top-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 900px) {
  .profi-footer__top-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .profi-footer__top-inner { grid-template-columns: 1fr; }
}

/* Колонка с брендом */
.profi-footer__brand {}
.profi-footer__logo-img {
  height: 44px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.profi-footer__desc {
  font-size: .9375rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 28px;
}
.profi-footer__socials {
  display: flex;
  gap: 12px;
}
.profi-footer__social {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 700;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.profi-footer__social:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* Колонки ссылок */
.profi-footer__col {}
.profi-footer__col-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 20px;
}
.profi-footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.profi-footer__col-links a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: .9375rem;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.profi-footer__col-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

/* Контактная колонка */
.profi-footer__contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  color: rgba(255,255,255,.65);
  font-size: .9375rem;
}
.profi-footer__contact-item svg { flex-shrink: 0; margin-top: 3px; opacity: .7; }
.profi-footer__contact-item a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .2s;
}
.profi-footer__contact-item a:hover { color: var(--white); }

/* Нижний блок футера */
.profi-footer__bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.profi-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.profi-footer__copy {
  color: rgba(255,255,255,.4);
  font-size: .875rem;
}
.profi-footer__legal {
  display: flex;
  gap: 24px;
}
.profi-footer__legal a {
  color: rgba(255,255,255,.4);
  text-decoration: none;
  font-size: .875rem;
  transition: color .2s;
}
.profi-footer__legal a:hover { color: rgba(255,255,255,.8); }
.profi-footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37,99,235,.2);
  border: 1px solid rgba(37,99,235,.3);
  color: #93C5FD;
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--r-xl);
}
.profi-footer__badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #60A5FA;
  box-shadow: 0 0 6px #60A5FA;
}

/* ── Адаптив ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .profi-section { padding: 64px 0; }
  .profi-section-header { margin-bottom: 36px; }
  .profi-hero__stats-inner { grid-template-columns: repeat(2, 1fr); }
  .profi-footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 600px) {
  .profi-cards { grid-template-columns: 1fr; }
  .profi-partners { grid-template-columns: repeat(2, 1fr); }
}

/* ── Личный кабинет тестирования (profi_main) ───────────────── */
.profi-tests-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 40px 60px;
}
.profi-tests-layout {
  display: flex;
  min-height: calc(100vh - 72px - 112px);
  gap: 0;
  background: var(--white);
  border-radius: var(--r);
  border: 1px solid var(--border);
  box-shadow: var(--sh);
  overflow: hidden;
}
.profi-tests-sidebar {
  flex: 0 0 240px;
  background: var(--bg);
  border-right: 1px solid var(--border);
  padding: 24px 0;
}
.profi-tests-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.profi-tests-sidebar__link {
  display: block;
  padding: 12px 24px;
  color: var(--text-3);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all .2s ease;
  border-left: 3px solid transparent;
}
.profi-tests-sidebar__link:hover {
  color: var(--blue);
  background: var(--blue-light);
}
.profi-tests-sidebar__link.active {
  color: var(--blue);
  background: var(--blue-light);
  border-left-color: var(--blue);
}
.profi-tests-sidebar__link--logout {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.profi-tests-content {
  flex: 1;
  min-width: 0;
  padding: 40px 40px 40px 40px;
  background: var(--white);
}
.profi-tests-title {
  margin: 0 0 28px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--text);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

/* Форма личных данных */
.profi-profile-form {
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--sh);
  padding: 32px;
  max-width: 560px;
}
.profi-profile-form .profi-form-group {
  margin-bottom: 20px;
}
.profi-profile-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
  font-size: 0.9rem;
}
.profi-profile-form input[type="text"],
.profi-profile-form input[type="email"],
.profi-profile-form input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 1rem;
  transition: border-color .2s;
}
.profi-profile-form input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}
.profi-profile-form .profi-form-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
}
.profi-profile-form .profi-btn {
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background .2s;
}
.profi-profile-form .profi-btn--primary {
  background: var(--blue);
  color: var(--white);
  border: none;
}
.profi-profile-form .profi-btn--primary:hover {
  background: var(--blue-hover);
}
.profi-profile-form .profi-btn--secondary {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}
.profi-profile-form .profi-btn--secondary:hover {
  background: var(--border);
}
.profi-profile-success {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(15,157,88,.08) 0%, rgba(34,197,94,.06) 100%);
  border: 1px solid rgba(15,157,88,.25);
  border-radius: var(--r);
  box-shadow: 0 2px 8px rgba(15,157,88,.08);
}
.profi-profile-success__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15,157,88,.15);
  border-radius: 50%;
  color: #0f9d58;
}
.profi-profile-success__content {
  flex: 1;
}
.profi-profile-success__title {
  margin: 0 0 4px 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f9d58;
}
.profi-profile-success__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.5;
}
.profi-profile-form .errortext {
  color: #dc2626;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .profi-tests-page { padding: 40px 20px 40px; }
  .profi-tests-layout { flex-direction: column; min-height: auto; }
  .profi-tests-sidebar {
    flex: none;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
  }
  .profi-tests-sidebar__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .profi-tests-sidebar__link {
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 8px 14px;
  }
  .profi-tests-sidebar__link.active {
    border-left-color: transparent;
    border-bottom-color: var(--blue);
  }
  .profi-tests-sidebar__link--logout {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    margin-left: auto;
  }
  .profi-tests-content { padding: 24px 20px; }
  .profi-profile-form { padding: 24px; }
}

/* ── Страница авторизации (tests/index.php) ──────────────────── */
.profi-auth-page {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: radial-gradient(ellipse 80% 60% at 30% 20%, rgba(37,99,235,.07) 0%, transparent 55%), var(--bg);
}
.profi-auth-card {
  display: flex;
  max-width: 900px;
  width: 100%;
  background: var(--white);
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.profi-auth-brand {
  flex: 0 0 340px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%);
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
}
.profi-auth-brand::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(37,99,235,.15);
  pointer-events: none;
}
.profi-auth-brand__logo { display: block; margin-bottom: 40px; position: relative; z-index: 1; }
.profi-auth-brand__logo img { height: 48px; width: auto; filter: brightness(0) invert(1); }
.profi-auth-brand__logo-text { font-size: 1.5rem; font-weight: 800; color: #fff; }
.profi-auth-brand__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,.3);
  border: 1px solid rgba(37,99,235,.5);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 24px;
  width: fit-content;
}
.profi-auth-brand__title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 16px;
}
.profi-auth-brand__title span { color: #60a5fa; }
.profi-auth-brand__desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 40px;
  flex: 1;
}
.profi-auth-brand__features { display: flex; flex-direction: column; gap: 14px; }
.profi-auth-brand__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: #cbd5e1;
}
.profi-auth-brand__feature-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(37,99,235,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
}
.profi-auth-form {
  flex: 1;
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
}
.profi-auth-form h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 8px 0;
}
.profi-auth-form .profi-auth-subtitle {
  font-size: 0.95rem;
  color: var(--text-3);
  margin: 0 0 36px 0;
  line-height: 1.55;
}
.profi-auth-form .profi-form-group {
  margin-bottom: 20px;
}
.profi-auth-form .profi-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
  font-size: 0.9rem;
}
.profi-auth-form .profi-form-group label input[type="checkbox"] {
  margin-right: 8px;
}
.profi-auth-form .profi-form-group label.profi-auth-policy {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-3);
  cursor: pointer;
  margin-bottom: 0;
}
.profi-auth-form .profi-form-group label.profi-auth-policy input[type="checkbox"] {
  margin: 3px 0 0 0;
  flex-shrink: 0;
}
.profi-auth-form .profi-form-group label.profi-auth-policy span {
  flex: 1;
  min-width: 0;
}
.profi-auth-form .profi-form-group label.profi-auth-policy a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.profi-auth-form .profi-form-group label.profi-auth-policy a:hover {
  color: var(--blue-hover);
}
.profi-form-group--policy {
  margin-bottom: 16px;
}
.profi-form-group--remember {
  margin-bottom: 12px;
}
.profi-auth-form input[type="text"],
.profi-auth-form input[type="password"] {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  box-sizing: border-box;
}
.profi-auth-form .profi-form-group input[type="text"],
.profi-auth-form .profi-form-group input[type="password"] {
  margin-bottom: 0;
}
.profi-auth-form input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}
.profi-auth-form .profi-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 24px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  margin-top: 8px;
}
.profi-auth-form .profi-auth-btn:hover { background: var(--blue-hover); }
.profi-auth-form .errortext { color: #dc2626; margin-bottom: 12px; }
@media (max-width: 768px) {
  .profi-auth-card { flex-direction: column; }
  .profi-auth-brand { flex: none; padding: 40px 32px; }
  .profi-auth-form { padding: 40px 32px; }
}

/* Скрыть иконки «Поделиться» (Яндекс) рядом с постоянной ссылкой на результат теста */
#ya_share { display: none !important; }

/* End */
/* /local/templates/profi_main/styles.css?177669170249992 */
