

/* Start:/local/templates/profi_main/styles.css?178497997589548*/
/* ============================================================
   ПРОФИ СПб — Elite Design System
   Шрифты: Plus Jakarta Sans + Inter
   Палитра: тёмный navy, электрический синий, белый
   ============================================================ */

/* ── Переменные (макет главной) ─────────────────────────── */
:root {
  --navy:        #22253A;
  --navy-2:      #22253A;
  --navy-3:      #1B1E30;
  --blue:        #0099CC;
  --blue-hover:  #0086B3;
  --blue-light:  rgba(0,153,204,.1);
  --blue-glow:   rgba(0,153,204,.35);
  --gold:        #F59E0B;
  --text:        #1A1D2E;
  --text-2:      #3A3F55;
  --text-3:      #6B7288;
  --border:      #E4E7EF;
  --bg:          #F3F4F8;
  --white:       #FFFFFF;
  --r:           12px;
  --r-sm:         8px;
  --r-lg:        16px;
  --r-xl:        24px;
  --ease:        cubic-bezier(.4,0,.2,1);
  --spring:      cubic-bezier(.16,1,.3,1);
  --sh:          0 1px 3px rgba(0,0,0,.05), 0 6px 18px rgba(42,45,68,.06);
  --sh-md:       0 8px 28px rgba(42,45,68,.1);
  --sh-lg:       0 18px 48px rgba(42,45,68,.12);
  --sh-blue:     0 8px 24px rgba(0,153,204,.28);
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

#profiConsult {
  scroll-margin-top: 140px;
}
#profiLearn {
  scroll-margin-top: 120px;
}

body.profi-main-page {
  font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ── Лендинг: два блока (тестирование + кабинет) ──────────── */
.profi-landing {
  padding: 32px 0 60px;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(0,153,204,.07) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(0,153,204,.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(0,153,204,.1);
  color: var(--blue);
}
.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(0,153,204,.35);
}
.profi-landing__card-btn--primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,153,204,.45);
}
.profi-landing__card-btn--secondary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,153,204,.35);
}
.profi-landing__card-btn--secondary:hover {
  background: #0086B3;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,153,204,.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(0,153,204, 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: 0;
}
.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: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center top;
  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(0,153,204, 0.22) 100%
  );
}

.profi-hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.92);
  color: #0099CC;
  cursor: pointer;
  transition: background .2s, color .2s;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.profi-hero__arrow:hover {
  background: #0099CC;
  color: #fff;
}
.profi-hero__arrow--prev { left: max(12px, env(safe-area-inset-left)); }
.profi-hero__arrow--next { right: max(12px, env(safe-area-inset-right)); }
.profi-hero__arrow::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  margin: 0;
  border: solid currentColor;
  border-width: 0 3px 3px 0;
  background: none;
  box-sizing: border-box;
  flex-shrink: 0;
}
.profi-hero__arrow--prev::after {
  transform: translateX(1px) rotate(135deg);
}
.profi-hero__arrow--next::after {
  transform: translateX(-1px) rotate(-45deg);
}

.profi-hero__dots {
  position: absolute;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: auto;
}
.profi-hero__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.profi-hero__dot:hover { transform: scale(1.15); }
.profi-hero__dot.is-active {
  background: #0099CC;
  border-color: #0099CC;
  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: #7DD3F0; font-weight: 600; }

/* Декоративные круги */
.profi-hero__slide--default::after {
  content: '';
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,153,204,.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(0,153,204,.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(0,153,204,.2);
  border: 1px solid rgba(0,153,204,.4);
  color: #7DD3F0;
  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: #33BBE0;
  box-shadow: 0 0 8px #33BBE0;
}

.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, #33BBE0, #33BBE0);
  -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: #33BBE0; }
.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: 0; }
  .profi-hero--slider .profi-hero__viewport { min-height: 0; }
  .profi-hero--slider .profi-hero__slide { min-height: 0; }
  .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(0,153,204,.4);
}
.profi-btn--primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,153,204,.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(0,153,204,.12) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
}
.profi-reviews .profi-section-label { color: #33BBE0; }
.profi-reviews .profi-section-title { color: var(--white); }
.profi-reviews .profi-section-link { color: #33BBE0; }
.profi-reviews .profi-section-link:hover { color: #7DD3F0; }

/* ── Статьи ───────────────────────────────────────────────── */
.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(0,153,204,.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;
}
/* Карточка: обводка цвета логотипа (#0099CC), лёгкая тень; контент на белом */
.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(0,153,204, 0.38);
  background: var(--white);
  box-shadow:
    0 1px 2px rgba(0,153,204, 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(0,153,204, 0.55);
  box-shadow:
    0 2px 8px rgba(0,153,204, 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(0,153,204, 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(0,153,204,.5);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.profi-reviews .profi-card__date,
.profi-reviews .profi-card__meta { color: #7DD3F0; }
.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: #33BBE0; }
.profi-reviews .profi-card__text { color: rgba(255,255,255,.65); }
.profi-reviews .profi-card__link { color: #33BBE0; }
.profi-reviews .profi-card__link:hover { color: #7DD3F0; }

/* ============================================================
   ПАРТНЁРЫ
   ============================================================ */
.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(0,153,204,.2);
  border: 1px solid rgba(0,153,204,.3);
  color: #7DD3F0;
  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: #33BBE0;
  box-shadow: 0 0 6px #33BBE0;
}

/* ── Адаптив ─────────────────────────────────────────────── */
@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(0,153,204,.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(0,153,204,.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(0,153,204,.3);
  border: 1px solid rgba(0,153,204,.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(0,153,204,.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; }

/* ============================================================
   МАКЕТ ГЛАВНОЙ (по PDF) — поверх прежних блоков
   Боковые отступы: .profi-container без изменений
   ============================================================ */

.profi-site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  box-shadow: none;
}
.profi-site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(42,45,68,.08);
}

.profi-topbar {
  background: #EEF0F5;
  border-bottom: 1px solid var(--border);
  font-size: .8125rem;
  color: var(--text-3);
}
.profi-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  gap: 16px;
}
.profi-topbar__city {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-weight: 500;
}
.profi-topbar__a11y {
  border: 0;
  background: transparent;
  color: var(--text-3);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 6px 0;
}
.profi-topbar__a11y:hover,
.profi-topbar__a11y[aria-pressed="true"] {
  color: var(--blue);
}

.profi-headbar {
  background: var(--white);
}
.profi-headbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 88px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.profi-brand { display: inline-flex; line-height: 0; flex-shrink: 0; }
.profi-brand__img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.profi-headbar__right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.profi-head-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}
.profi-head-phone__num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
  text-decoration: none;
  letter-spacing: -.02em;
}
.profi-head-phone__num:hover { color: var(--blue-hover); }
.profi-head-phone__meta {
  margin-top: 4px;
  font-size: .8125rem;
  color: var(--text-2);
  font-weight: 600;
}
.profi-head-phone__note {
  font-size: .75rem;
  color: var(--text-3);
}

.profi-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1.5px solid var(--blue);
  border-radius: 10px;
  color: var(--blue);
  background: var(--white);
  font-weight: 700;
  font-size: .9375rem;
  text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.profi-btn-outline:hover {
  background: var(--blue-light);
  box-shadow: var(--sh-blue);
}
.profi-btn-outline--wide {
  min-width: 220px;
  padding: 14px 36px;
}

.profi-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: .9375rem;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.profi-btn-primary:hover {
  background: var(--blue-hover);
  box-shadow: var(--sh-blue);
  transform: translateY(-1px);
}
.profi-btn-primary--block {
  width: 100%;
  padding: 14px 18px;
}

.profi-btn-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  text-decoration: none;
  font-weight: 600;
  font-size: .875rem;
}
.profi-btn-login:hover { color: var(--blue); }

.profi-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: 10px;
  cursor: pointer;
}
.profi-burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 1px;
  transition: .25s var(--ease);
}
.profi-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.profi-burger.is-open span:nth-child(2) { opacity: 0; }
.profi-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.profi-navbar {
  background: var(--navy);
  overflow: visible;
  position: relative;
  z-index: 210;
  margin: 0;
  border: 0;
  box-shadow: none;
}
.profi-navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 56px;
  overflow: visible;
}
.profi-navbar__links {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  min-width: 0;
  overflow: visible;
}
.profi-navbar__links::-webkit-scrollbar { display: none; }
.profi-navbar__link {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  min-height: 56px;
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font-weight: 600;
  font-size: .9375rem;
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.profi-navbar__link:hover { background: rgba(0,153,204,.45); color: #fff; }
.profi-navbar__link.is-active {
  background: var(--blue);
  color: #fff;
}
.profi-navbar__link.is-active:hover {
  background: var(--blue);
}

.profi-nav-item {
  position: relative;
  display: inline-flex;
  align-items: stretch;
}
.profi-nav-item > .profi-navbar__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.profi-nav-item__caret {
  flex-shrink: 0;
  opacity: .85;
  transition: transform .2s var(--ease);
}
.profi-nav-item:hover > .profi-navbar__link,
.profi-nav-item:focus-within > .profi-navbar__link {
  background: rgba(0,153,204,.45);
  color: #fff;
}
.profi-nav-item.is-active > .profi-navbar__link {
  background: var(--blue);
  color: #fff;
}
.profi-nav-item:hover .profi-nav-item__caret,
.profi-nav-item:focus-within .profi-nav-item__caret {
  transform: rotate(180deg);
}
.profi-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 320px;
  max-width: min(420px, 90vw);
  padding: 8px 0;
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 32px rgba(42,45,69,.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  z-index: 220;
}
.profi-nav-item:hover .profi-submenu,
.profi-nav-item:focus-within .profi-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.profi-submenu__link {
  display: block;
  padding: 12px 18px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: .9375rem;
  line-height: 1.35;
  white-space: normal;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.profi-submenu__link:hover {
  background: rgba(0,153,204,.1);
  color: #0099CC;
}

.profi-mobile-nav__group {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border);
}
.profi-mobile-nav__group > a:first-child {
  font-weight: 700;
}
.profi-mobile-nav__sub {
  padding-left: 20px !important;
  font-size: .9375rem !important;
  color: var(--text-2) !important;
  border-bottom: none !important;
}

.profi-search {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 999px;
  overflow: hidden;
  min-width: min(280px, 36vw);
  flex-shrink: 0;
}
.profi-search input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 10px 16px 10px 18px;
  font: inherit;
  font-size: .875rem;
  color: var(--text);
  background: transparent;
  min-width: 0;
}
.profi-search button {
  border: 0;
  background: transparent;
  color: var(--navy);
  width: 44px;
  height: 40px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.profi-search--mobile {
  margin-top: 12px;
  border: 1px solid var(--border);
  width: 100%;
  min-width: 0;
}

.profi-mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 0 20px;
}
.profi-mobile-nav:not([hidden]) { display: block; }
.profi-mobile-nav a {
  display: block;
  padding: 12px 4px;
  color: var(--text-2);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.profi-mobile-nav a:hover { color: var(--blue); }

@media (max-width: 991px) {
  .profi-navbar { display: none; }
  .profi-burger { display: flex; }
  .profi-btn-outline,
  .profi-btn-login span { display: none; }
  .profi-btn-login {
    width: 44px; height: 44px;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 10px;
  }
  .profi-head-phone__note { display: none; }
}
@media (max-width: 640px) {
  .profi-head-phone { display: none; }
  .profi-brand__img { height: 40px; }
  .profi-headbar__inner { min-height: 72px; }
}

/* Hero — cinematic slider (меню отдельно, не поверх слайдера) */
.profi-hero-block {
  padding: 0;
  margin: 0;
  line-height: 0;
  font-size: 0;
}
.profi-main > .profi-index > .profi-hero-block:first-child,
.profi-main > .profi-hero-block:first-child {
  margin-top: 0;
}
.profi-hero--cinema {
  position: relative;
  display: block;
  width: 100%;
  min-height: clamp(520px, 78vh, 860px);
  height: clamp(520px, 78vh, 860px);
  overflow: hidden;
  background: #12141f;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  line-height: normal;
  font-size: 16px;
}
.profi-hero--cinema .profi-hero__viewport {
  position: absolute;
  inset: 0;
  min-height: 0 !important;
  height: 100% !important;
  max-height: none;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 0;
}
.profi-hero--cinema .profi-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
  pointer-events: none;
}
.profi-hero--cinema .profi-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.profi-hero--cinema .profi-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.04);
  transition: transform 7s linear;
}
.profi-hero--cinema .profi-hero__slide.is-active .profi-hero__img {
  transform: scale(1);
}
.profi-hero--cinema .profi-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12,14,22,.82) 0%, rgba(12,14,22,.55) 42%, rgba(12,14,22,.2) 70%, rgba(12,14,22,.35) 100%),
    linear-gradient(0deg, rgba(12,14,22,.78) 0%, rgba(12,14,22,.15) 45%, rgba(12,14,22,.35) 100%);
  pointer-events: none;
}
.profi-hero--cinema .profi-hero__content {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 20px 180px;
  box-sizing: border-box;
  color: #fff;
  text-align: left;
  pointer-events: none;
}
.profi-hero--cinema .profi-hero__label {
  display: block !important;
  margin: 0 0 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.profi-hero--cinema .profi-hero__title {
  display: block !important;
  margin: 0 0 18px;
  max-width: 14ch;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 10px 40px rgba(0,0,0,.35);
}
.profi-hero--cinema .profi-hero__text {
  display: block !important;
  margin: 0;
  max-width: 420px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255,255,255,.78);
}
.profi-hero--cinema .profi-hero__deco { display: none !important; }

.profi-hero--cinema .profi-hero__controls {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: max(20px, calc((100% - 1280px) / 2 + 20px));
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.profi-hero--cinema .profi-hero__arrow {
  position: static;
  transform: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 10px;
  background: rgba(18,20,31,.45);
  color: #fff;
  cursor: pointer;
  box-shadow: none;
  opacity: 1;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.profi-hero--cinema .profi-hero__arrow:hover {
  background: rgba(0,153,204,.85);
  border-color: transparent;
  color: #fff;
}
.profi-hero--cinema .profi-hero__arrow::after { display: none !important; content: none !important; }

.profi-hero--cinema .profi-hero__thumbs {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  overflow-x: auto;
  scrollbar-width: none;
}
.profi-hero--cinema .profi-hero__thumbs::-webkit-scrollbar { display: none; }
.profi-hero--cinema .profi-hero__thumb {
  flex: 0 0 auto;
  position: relative;
  width: 110px;
  height: 150px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #1a1d2b;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  transition: transform .3s var(--spring), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.profi-hero--cinema .profi-hero__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.85);
  transition: filter .25s var(--ease), transform .45s var(--spring);
}
.profi-hero--cinema .profi-hero__thumb-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 10px 10px;
  background: linear-gradient(0deg, rgba(10,12,20,.92) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}
.profi-hero--cinema .profi-hero__thumb-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #7DD3F0;
}
.profi-hero--cinema .profi-hero__thumb-name {
  font-size: .72rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.profi-hero--cinema .profi-hero__thumb:hover {
  transform: translateY(-4px);
}
.profi-hero--cinema .profi-hero__thumb:hover img {
  filter: brightness(1);
  transform: scale(1.05);
}
.profi-hero--cinema .profi-hero__thumb.is-active {
  border-color: #0099CC;
  box-shadow: 0 12px 32px rgba(0,153,204,.35);
}
.profi-hero--cinema .profi-hero__thumb.is-active img {
  filter: brightness(1);
}

.profi-hero--cinema .profi-hero__dots,
.profi-hero--cinema .profi-hero__track {
  display: none !important;
}

@media (max-width: 900px) {
  .profi-hero--cinema {
    min-height: clamp(480px, 72vh, 680px);
    height: clamp(480px, 72vh, 680px);
  }
  .profi-hero--cinema .profi-hero__content {
    padding: 48px 16px 170px;
  }
  .profi-hero--cinema .profi-hero__title {
    max-width: 18ch;
  }
  .profi-hero--cinema .profi-hero__controls {
    top: auto;
    bottom: 196px;
    right: 16px;
    transform: none;
    flex-direction: row;
  }
  .profi-hero--cinema .profi-hero__thumbs {
    justify-content: flex-start;
    bottom: 16px;
    padding: 0 16px;
  }
  .profi-hero--cinema .profi-hero__thumb {
    width: 92px;
    height: 124px;
  }
}
@media (max-width: 640px) {
  .profi-hero--cinema .profi-hero__title {
    font-size: clamp(2rem, 10vw, 2.6rem);
  }
  .profi-hero--cinema .profi-hero__text {
    font-size: .95rem;
    max-width: 34ch;
  }
}

/* Обучение */
.profi-learn { padding: 56px 0 32px; }
.profi-home-section-lead {
  margin: -8px 0 28px;
  max-width: 640px;
  color: var(--text-3);
  font-size: 1.05rem;
  line-height: 1.6;
}
.profi-block-title {
  font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--navy);
  margin: 0 0 28px;
}
.profi-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.profi-course-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--sh);
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--spring), box-shadow .3s var(--ease);
}
.profi-course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
}
.profi-course-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dde3ee;
}
.profi-course-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s var(--spring);
}
.profi-course-card:hover .profi-course-card__media img { transform: scale(1.06); }
.profi-course-card__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.profi-course-card__title {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.02em;
  min-height: 2.7em;
}
.profi-course-card__title a {
  color: var(--navy);
  text-decoration: none;
}
.profi-course-card__title a:hover { color: var(--blue); }
.profi-course-card.is-hidden {
  display: none;
}
.profi-learn__more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.profi-learn__more.is-hidden {
  display: none;
}
.profi-learn__more .profi-btn-outline {
  cursor: pointer;
  font: inherit;
}

@media (max-width: 960px) {
  .profi-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .profi-course-grid { grid-template-columns: 1fr; }
  .profi-course-card__title { min-height: 0; }
}

/* Консультация */
.profi-consult {
  padding: 24px 0 80px;
}
.profi-consult__panel {
  padding: 40px 40px 44px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse 60% 120% at 100% 0%, rgba(0,153,204,.35) 0%, transparent 55%),
    linear-gradient(120deg, #22253A 0%, #1B1E30 100%);
  color: #fff;
  box-shadow: var(--sh-lg);
}
.profi-consult__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px 48px;
  align-items: start;
}
.profi-about-kicker--on-dark {
  color: #7DD3F0;
}
.profi-about-heading--on-dark {
  color: #fff;
  margin-bottom: 14px;
}
.profi-consult__lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255,255,255,.78);
  margin: 0 0 22px;
  max-width: 420px;
  line-height: 1.6;
}
.profi-consult__text {
  color: rgba(255,255,255,.7);
  margin: 0 0 28px;
}
.profi-consult__hint {
  color: rgba(255,255,255,.55);
  font-size: .9375rem;
  margin: 0 0 14px;
}
.profi-consult__messengers {
  display: flex;
  gap: 12px;
}
.profi-msg {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: transform .2s var(--ease);
}
.profi-msg:hover { transform: translateY(-2px); }
.profi-msg--tg { background: #2AABEE; }
.profi-msg--wa { background: #25D366; }
.profi-msg--vb { background: #7360F2; }

.profi-consult__form {
  background: var(--white);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--sh-md);
  color: var(--text);
}
.profi-consult__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.profi-field input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font: inherit;
  background: #FAFBFD;
  color: var(--text);
}
.profi-field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}
.profi-field--phone {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #FAFBFD;
  overflow: hidden;
}
.profi-field--phone:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}
.profi-field__prefix {
  padding: 0 4px 0 14px;
  font-weight: 700;
  color: var(--text-2);
  white-space: nowrap;
  font-size: .875rem;
}
.profi-field--phone input {
  border: 0;
  box-shadow: none !important;
  background: transparent;
  padding-left: 8px;
}
.profi-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .75rem;
  color: var(--text-3);
  line-height: 1.45;
  margin-bottom: 10px;
}
.profi-check input { margin-top: 3px; flex-shrink: 0; }
.profi-check a { color: var(--blue); }
.profi-consult__form .profi-btn-primary { margin-top: 10px; }

@media (max-width: 900px) {
  .profi-consult__grid { grid-template-columns: 1fr; gap: 28px; }
  .profi-consult__panel { padding: 28px 22px 32px; }
}
@media (max-width: 640px) {
  .profi-consult__fields { grid-template-columns: 1fr; }
}

/* Footer */
.profi-footer {
  background: var(--navy);
  color: rgba(255,255,255,.78);
}
.profi-footer__main { padding: 56px 0 40px; }
.profi-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr 1.6fr 1fr;
  gap: 32px 28px;
}
.profi-footer__logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .95;
  margin-bottom: 18px;
}
.profi-footer__phone {
  display: inline-block;
  color: #fff;
  font-weight: 800;
  font-size: 1.125rem;
  text-decoration: none;
  margin-bottom: 16px;
}
.profi-footer__phone:hover { color: var(--blue); }
.profi-footer__socials { display: flex; gap: 10px; }
.profi-footer__social {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: .6875rem;
  font-weight: 800;
}
.profi-footer__social:hover { background: var(--blue); }
.profi-footer__heading {
  color: rgba(255,255,255,.45);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.profi-footer__links-col,
.profi-footer__programs a {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.profi-footer__links-col a,
.profi-footer__programs a {
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: .875rem;
  line-height: 1.4;
}
.profi-footer__links-col a:hover,
.profi-footer__programs a:hover { color: #fff; }
.profi-footer__programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.profi-footer__programs-grid > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.profi-footer__legal-box {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: .8125rem;
  line-height: 1.55;
  color: rgba(255,255,255,.7);
}
.profi-footer__legal-box p { margin: 0 0 6px; }
.profi-footer__legal-box p:last-child { margin: 0; }
.profi-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0 22px;
}
.profi-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.profi-footer__copy {
  margin: 0;
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
}
.profi-footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0,153,204,.18);
  border: 1px solid rgba(0,153,204,.35);
  color: #7DD3F0;
  font-size: .75rem;
  font-weight: 700;
}
.profi-footer__badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
}

@media (max-width: 1100px) {
  .profi-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .profi-footer__grid { grid-template-columns: 1fr; }
  .profi-footer__programs-grid { grid-template-columns: 1fr; }
}

/* FAB */
.profi-fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  z-index: 280;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 0;
  background: var(--blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-blue);
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.profi-fab:hover { background: var(--blue-hover); transform: translateY(-2px); }
.profi-fab--top { bottom: calc(20px + 60px + env(safe-area-inset-bottom)); }
.profi-fab--chat { bottom: max(20px, env(safe-area-inset-bottom)); }
.profi-fab__badge {
  position: absolute;
  top: -2px; right: -2px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #EF4444;
  color: #fff;
  font-size: .6875rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.profi-a11y-fab { display: none !important; }

html.profi-a11y-mode .profi-navbar { background: #111; }
html.profi-a11y-mode .profi-navbar__link { text-decoration: underline; text-underline-offset: 3px; }
html.profi-a11y-mode .profi-block-title { letter-spacing: 0; }

.profi-main-page--auth-home .profi-topbar,
.profi-main-page--auth-home .profi-navbar { display: none; }

/* ============================================================
   БРЕНДОВЫЙ СИНИЙ — принудительно #0099CC (фон активных пунктов меню)
   ============================================================ */
:root {
  --blue: #0099CC !important;
  --blue-hover: #0086B3 !important;
  --blue-light: rgba(0,153,204,.12) !important;
  --blue-glow: rgba(0,153,204,.35) !important;
  --sh-blue: 0 8px 24px rgba(0,153,204,.28) !important;
}

body.profi-main-page .profi-btn-primary,
body.profi-main-page .profi-btn-primary--block,
body.profi-main-page .profi-course-card .profi-btn-primary,
body.profi-main-page .profi-consult__form .profi-btn-primary,
body.profi-main-page .profi-fab,
body.profi-main-page .profi-navbar__link.is-active,
body.profi-main-page .profi-navbar__link.is-active:hover,
body.profi-main-page .profi-auth-form .profi-auth-btn,
body.profi-main-page .profi-pager a.active,
body.profi-main-page .profi-pager a:hover {
  background: #0099CC !important;
  border-color: #0099CC !important;
  color: #fff !important;
}

body.profi-main-page .profi-btn-primary:hover,
body.profi-main-page .profi-fab:hover,
body.profi-main-page .profi-auth-form .profi-auth-btn:hover {
  background: #0086B3 !important;
  border-color: #0086B3 !important;
}

body.profi-main-page .profi-btn-outline,
body.profi-main-page .profi-btn-outline--wide,
body.profi-main-page .profi-learn__more .profi-btn-outline {
  color: #0099CC !important;
  border-color: #0099CC !important;
  background: #fff !important;
}

body.profi-main-page .profi-btn-outline:hover,
body.profi-main-page .profi-learn__more .profi-btn-outline:hover {
  background: rgba(0,153,204,.1) !important;
  color: #0099CC !important;
}

body.profi-main-page .profi-head-phone__num,
body.profi-main-page .profi-btn-login:hover,
body.profi-main-page .profi-check a,
body.profi-main-page .profi-course-card__title a:hover,
body.profi-main-page .profi-footer__phone:hover,
body.profi-main-page .profi-mobile-nav a:hover {
  color: #0099CC !important;
}

body.profi-main-page .profi-navbar__link:hover {
  background: rgba(0,153,204,.45) !important;
  color: #fff !important;
}

body.profi-main-page .profi-hero__dot.is-active {
  background: #0099CC !important;
  border-color: #0099CC !important;
}

body.profi-main-page .profi-hero--cinema {
  border: 0 !important;
}
body.profi-main-page .profi-hero--cinema .profi-hero__arrow {
  color: #fff !important;
  background: rgba(18,20,31,.45) !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  box-shadow: none !important;
}
body.profi-main-page .profi-hero--cinema .profi-hero__arrow:hover {
  background: rgba(0,153,204,.85) !important;
  border-color: transparent !important;
  color: #fff !important;
}
body.profi-main-page .profi-hero--cinema .profi-hero__arrow::after {
  display: none !important;
  content: none !important;
  border: 0 !important;
}
body.profi-main-page .profi-hero--cinema .profi-hero__thumb.is-active {
  border-color: #0099CC !important;
}

body.profi-main-page .profi-footer__badge {
  background: rgba(0,153,204,.18) !important;
  border-color: rgba(0,153,204,.35) !important;
  color: #7DD3F0 !important;
}
body.profi-main-page .profi-footer__badge::before,
body.profi-main-page .profi-footer__social:hover {
  background: #0099CC !important;
}

/* ============================================================
   О НАС — лендинг + хаотичная галерея
   ============================================================ */
.profi-about {
  overflow: clip;
}

.profi-about-kicker {
  margin: 0 0 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
}

.profi-about-heading {
  margin: 0 0 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.2;
  color: var(--text);
}
.profi-about-heading.profi-about-heading--on-dark,
.profi-consult .profi-about-heading--on-dark {
  color: #fff !important;
  margin-bottom: 14px;
}
.profi-about-kicker.profi-about-kicker--on-dark,
.profi-consult .profi-about-kicker--on-dark {
  color: #7DD3F0 !important;
}

/* Hero */
.profi-about-hero {
  position: relative;
  padding: 72px 0 88px;
  color: #fff;
  isolation: isolate;
  text-align: left;
}
.profi-about-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(0,153,204,.45) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(0,153,204,.22) 0%, transparent 50%),
    linear-gradient(145deg, #1B1E30 0%, #22253A 48%, #163A4F 100%);
}
.profi-about-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -12deg,
      transparent 0 18px,
      rgba(255,255,255,.015) 18px 19px
    );
  pointer-events: none;
}
.profi-about-hero__inner {
  max-width: 820px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.profi-about-hero__brand {
  margin: 0 0 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 8px 40px rgba(0,153,204,.35);
  animation: profiAboutFadeUp .7s var(--spring) both;
  text-align: left;
  width: 100%;
}
.profi-about-hero__title {
  margin: 0 0 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.35;
  color: rgba(255,255,255,.92);
  animation: profiAboutFadeUp .7s var(--spring) .08s both;
  text-align: left;
  width: 100%;
}
.profi-about-hero__lead {
  margin: 0 0 28px;
  max-width: 540px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255,255,255,.72);
  animation: profiAboutFadeUp .7s var(--spring) .14s both;
  text-align: left;
}
.profi-about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  align-self: flex-start;
  animation: profiAboutFadeUp .7s var(--spring) .2s both;
}
.profi-about-hero .profi-btn-outline {
  border-color: rgba(255,255,255,.45) !important;
  color: #fff !important;
  background: transparent !important;
}
.profi-about-hero .profi-btn-outline:hover {
  background: rgba(255,255,255,.1) !important;
  border-color: #fff !important;
  color: #fff !important;
}

/* Stats */
.profi-about-stats {
  margin-top: -28px;
  position: relative;
  z-index: 2;
  padding-bottom: 8px;
}
.profi-about-stats__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
}
.profi-about-stats__list li {
  padding: 28px 22px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.profi-about-stats__num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--blue);
  line-height: 1;
}
.profi-about-stats__label {
  font-size: .875rem;
  color: var(--text-3);
  line-height: 1.4;
}

/* Intro */
.profi-about-intro {
  padding: 72px 0 24px;
}
.profi-about-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, .7fr);
  gap: 40px;
  align-items: start;
}
.profi-about-intro__copy p {
  margin: 0 0 16px;
  color: var(--text-2);
  font-size: 1.02rem;
}
.profi-about-license {
  position: sticky;
  top: 120px;
  padding: 28px 26px;
  border-radius: var(--r-lg);
  background:
    linear-gradient(160deg, rgba(0,153,204,.12) 0%, transparent 55%),
    var(--white);
  border: 1px solid rgba(0,153,204,.22);
  box-shadow: var(--sh);
}
.profi-about-license__mark {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff !important;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.profi-about-license strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--text);
  line-height: 1;
}
.profi-about-license__date {
  display: block;
  margin: 6px 0 14px;
  color: var(--text-3);
  font-size: .95rem;
}
.profi-about-license p {
  margin: 0 0 18px;
  font-size: .92rem;
  color: var(--text-2);
  line-height: 1.5;
}
.profi-about-license__link {
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.profi-about-license__link:hover { color: var(--blue-hover); }

/* Directions */
.profi-about-dirs {
  padding: 48px 0 24px;
}
.profi-about-dirs__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.profi-about-dirs__list li {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-2);
  box-shadow: var(--sh);
  transition: transform .25s var(--spring), border-color .2s, color .2s;
}
.profi-about-dirs__list li:hover {
  transform: translateY(-2px) rotate(-1deg);
  border-color: rgba(0,153,204,.4);
  color: var(--blue);
}
.profi-about-dirs__more {
  background: var(--blue-light) !important;
  border-color: transparent !important;
  color: var(--blue) !important;
}

/* Work */
.profi-about-work {
  padding: 56px 0 40px;
}
.profi-about-work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 8px 0 28px;
}
.profi-about-work__item {
  padding: 8px 0 8px 20px;
  border-left: 3px solid var(--blue);
}
.profi-about-work__n {
  display: block;
  margin-bottom: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--blue);
}
.profi-about-work__item h3 {
  margin: 0 0 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
}
.profi-about-work__item p {
  margin: 0;
  color: var(--text-3);
  font-size: .95rem;
  line-height: 1.6;
}
.profi-about-work__note {
  margin: 0;
  max-width: 820px;
  color: var(--text-2);
  font-size: 1.02rem;
}

/* Chaos gallery */
.profi-about-gallery {
  padding: 56px 0 72px;
}
.profi-about-gallery__lead {
  margin: -8px 0 36px;
  color: var(--text-3);
  font-size: 1.05rem;
}
.profi-chaos {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 14px;
  padding: 12px 4px 28px;
}
.profi-chaos__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #dce0ea;
  box-shadow: var(--sh);
  transform: rotate(var(--r, 0deg)) translateZ(0);
  transition:
    transform .45s var(--spring),
    box-shadow .35s var(--ease),
    opacity .5s var(--ease);
  opacity: 0;
  animation: profiChaosIn .7s var(--spring) var(--d, 0s) both;
}
.profi-chaos__item.is-in {
  opacity: 1;
}
.profi-chaos__item--wide {
  grid-column: span 5;
  grid-row: span 2;
  min-height: 200px;
  aspect-ratio: 16 / 10;
}
.profi-chaos__item--tall {
  grid-column: span 3;
  grid-row: span 3;
  min-height: 260px;
  aspect-ratio: 3 / 4;
}
.profi-chaos__item--sq {
  grid-column: span 4;
  grid-row: span 2;
  min-height: 180px;
  aspect-ratio: 1 / 1;
}
.profi-chaos__item:nth-child(7n + 1) { margin-top: 18px; }
.profi-chaos__item:nth-child(5n + 3) { margin-top: -8px; }
.profi-chaos__item:nth-child(11n) { margin-left: 8px; }
.profi-chaos__item:nth-child(3n) { z-index: 1; }
.profi-chaos__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform .6s var(--spring);
}
.profi-chaos__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(27,30,48,.28) 100%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.profi-chaos__item:hover {
  z-index: 5;
  transform: rotate(0deg) scale(1.04) translateY(-4px);
  box-shadow: var(--sh-lg);
}
.profi-chaos__item:hover img {
  transform: scale(1.06);
}
.profi-chaos__item:hover::after { opacity: 1; }

/* CTA */
.profi-about-cta {
  padding: 0 0 80px;
}
.profi-about-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px 40px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse 60% 120% at 100% 50%, rgba(0,153,204,.35) 0%, transparent 55%),
    linear-gradient(120deg, #22253A 0%, #1B1E30 100%);
  color: #fff;
  box-shadow: var(--sh-lg);
}
.profi-about-cta__inner h2 {
  margin: 0 0 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
}
.profi-about-cta__inner p {
  margin: 0;
  color: rgba(255,255,255,.7);
  max-width: 480px;
}
.profi-about-cta .profi-btn-primary {
  flex-shrink: 0;
  white-space: nowrap;
}

@keyframes profiAboutFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes profiChaosIn {
  from {
    opacity: 0;
    transform: rotate(calc(var(--r, 0deg) + 4deg)) translateY(28px) scale(.94);
  }
  to {
    opacity: 1;
    transform: rotate(var(--r, 0deg)) translateY(0) scale(1);
  }
}

@media (max-width: 1024px) {
  .profi-about-stats__list { grid-template-columns: repeat(2, 1fr); }
  .profi-about-intro__grid { grid-template-columns: 1fr; gap: 28px; }
  .profi-about-license { position: static; }
  .profi-about-work__grid { grid-template-columns: 1fr; gap: 20px; }
  .profi-chaos__item--wide { grid-column: span 6; }
  .profi-chaos__item--tall { grid-column: span 4; grid-row: span 2; }
  .profi-chaos__item--sq { grid-column: span 6; }
}
@media (max-width: 700px) {
  .profi-about-hero { padding: 48px 0 64px; }
  .profi-about-stats { margin-top: -20px; }
  .profi-about-stats__list { grid-template-columns: 1fr 1fr; }
  .profi-about-stats__list li { padding: 20px 16px; }
  .profi-about-stats__num { font-size: 1.55rem; }
  .profi-about-intro,
  .profi-about-dirs,
  .profi-about-work,
  .profi-about-gallery { padding-left: 0; padding-right: 0; }
  .profi-chaos {
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }
  .profi-chaos__item--wide,
  .profi-chaos__item--sq { grid-column: span 3; grid-row: span 2; }
  .profi-chaos__item--tall { grid-column: span 3; grid-row: span 2; }
  .profi-chaos__item:nth-child(7n + 1),
  .profi-chaos__item:nth-child(5n + 3),
  .profi-chaos__item:nth-child(11n) {
    margin: 0;
  }
  .profi-about-cta__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 22px;
  }
  .profi-about-cta .profi-btn-primary { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .profi-about-hero__brand,
  .profi-about-hero__title,
  .profi-about-hero__lead,
  .profi-about-hero__actions,
  .profi-chaos__item {
    animation: none !important;
    opacity: 1 !important;
  }
}

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