/* ============================================================
   СТИЛИ ДЕТАЛЬНОЙ СТРАНИЦЫ ВАКАНСИИ (job.php)
   Шрифт Manrope и переменные из style.css
   ============================================================ */

/* === BACK LINK === */
.back {
  position: absolute; top: 22px; left: 24px; z-index: 5;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); color: #fff;
  padding: 9px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.18);
  transition: background var(--t-fast), transform var(--t-fast);
}
.back:hover { background: rgba(255,255,255,0.22); transform: translateX(-2px); }

/* === HERO === */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding: 110px 0 80px;
  transition: padding var(--t-base);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(10, 20, 35, 0.96) 0%, rgba(35, 54, 77, 0.82) 40%, rgba(35, 54, 77, 0.45) 70%, rgba(35, 54, 77, 0.15) 100%),
    url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1800&q=80') center/cover;
  z-index: 1;
}
.hero::after {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(241, 136, 23, 0.22), transparent 60%);
  z-index: 1;
  pointer-events: none;
  filter: blur(20px);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 30px;
  align-items: start;
}

.hero h1 {
  font-size: clamp(42px, 5.8vw, 68px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.hero h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  max-width: 600px;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.55;
  color: #d8dee8;
  max-width: 580px;
  margin-bottom: 36px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.hero-pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 720px; }
.hp {
  width: 220px;
  min-height: 72px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  padding: 10px 14px;
  box-sizing: border-box;
  transition: background var(--t-base), border-color var(--t-base), transform var(--t-base);
  backdrop-filter: blur(6px);
}
.hp:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(241, 136, 23, 0.4);
  transform: translateY(-2px);
}
.hp-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  color: var(--orange);
  background: rgba(241, 136, 23, 0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  padding: 6px;
}
.hp-icon svg { width: 100%; height: 100%; }
.hp-text { font-size: 14px; line-height: 1.3; color: var(--white); }
.hp-text strong { display: block; color: var(--white); font-weight: 700; }

.hero-badge {
  /*background: var(--orange);*/
  color: var(--white);
  border-radius: var(--r-xl);
  padding: 20px 22px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 16px 40px rgb(0 0 0 / 35%);
  max-width: 320px;
  margin-left: auto;
  border: 1px solid rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.hero-price {
  display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 10px;
  background: linear-gradient(90deg, rgba(241, 136, 23, 0.22), rgba(241, 136, 23, 0.06));
  border: 1px solid rgba(241, 136, 23, 0.45);
  border-radius: 16px;
  padding: 14px 22px;
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
}
.hero-price-num {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.02em;
  line-height: 1;
  font-feature-settings: "tnum" 1;
}
.hero-badge::before {
  content: "";
  position: absolute;
  top: -50%; right: -30%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 65%);
}
.hero-badge--nomobile { display: flex; }
@media (max-width: 768px) {
  .hero-badge--nomobile { display: none; }
}
.hero-badge-icon { width: 44px; height: 44px; flex-shrink: 0; color: var(--white); position: relative; }
.hero-badge-icon svg { width: 100%; height: 100%; }
.hero-badge-text { font-size: 14px; line-height: 1.4; position: relative; }
.hero-badge-text strong { display: block; font-weight: 800; font-size: 14px; text-transform: uppercase; margin-bottom: 4px; letter-spacing: 0.3px; }
.hero-badge-text em { display: block; font-weight: 800; font-style: normal; font-size: 14px; text-transform: uppercase; margin: 2px 0; letter-spacing: 0.3px; }

/* === STATS BAR (крупные оранжевые числа по ТЗ) === */
.stats-bar { background: var(--white); padding: 32px 0; border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto; gap: 28px; align-items: center; }
.stats-grid .stat { display: flex; align-items: center; gap: 16px; }
.stat-icon { width: 50px; height: 50px; flex-shrink: 0; color: var(--orange); }
.stat-icon svg { width: 100%; height: 100%; }
.stat-text { font-size: 14px; line-height: 1.3; }
.stat-text strong { display: block; color: var(--orange); font-size: 24px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; font-feature-settings: "tnum" 1; }
.channels-stack { display: flex; flex-direction: column; gap: 8px; min-width: 200px; }
.ch-badge { padding: 6px 12px; border-radius: 8px; font-weight: 800; font-size: 14px; color: var(--white); text-align: center; }
.ch-wb { background: linear-gradient(135deg, #cb11ab, #f03077); }
.ch-ozon { background: linear-gradient(135deg, #005bff, #00a3ff); }
.ch-ym { background: linear-gradient(135deg, #ffcc00, #ffaa00); color: #1a1a1a; }

/* === SECTION TITLE === */
.section { background: var(--white); padding: 56px 0 60px; }
.section-title {
  text-align: center;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 36px;
  color: var(--navy);
}

/* === DUTIES CARDS (стильные карточки на Grid) === */
.duties-grid { display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); gap: 14px; align-items: stretch; justify-content: center; }
.duty-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-spring), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
}
.duty-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}
.duty-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.duty-card:hover::before { transform: scaleX(1); }
.duty-head { padding: 20px 18px 14px; display: flex; align-items: center; gap: 10px; }
.duty-icon {
  width: 36px; height: 36px; flex-shrink: 0; color: var(--orange);
  background: var(--orange-light); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-base);
}
.duty-icon svg { width: 25px; height: 25px; }
.duty-card:hover .duty-icon { background: var(--orange); color: #fff; transform: scale(1.05); }
.duty-title { font-size: 14px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.25; color: var(--navy); }
.duty-list { list-style: none; padding: 0 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.duty-list li { font-size: 14px; line-height: 1.45; padding-left: 14px; position: relative; color: var(--text); }
.duty-list li::before { content: "•"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }
.duty-photo { width: 100%; /*height: 110px; */object-fit: cover; margin-top: auto; transition: transform 0.4s ease; }
.duty-card:hover .duty-photo { transform: scale(1.05); }

/* === PROCESS DARK (со стрелками как на макете) === */
.process-dark { background: var(--navy); color: var(--white); padding: 50px 0 56px; position: relative; overflow: hidden; }
.process-dark::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--orange) 0%, #ffb454 100%);
}
.process-title {
  text-align: center;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 36px;
  color: #fff;
}
.process-steps { display: flex; align-items: flex-start; gap: 16px; max-width: 1120px; margin: 0 auto; }
.proc-step { text-align: center; padding: 6px 10px 0; flex: 1; min-width: 0; position: relative; }

.proc-step:last-child::after { display: none; }
.proc-num {
  width: 36px; height: 36px;
  background: var(--orange); color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  margin: 0 auto 14px;
  /*box-shadow: 0 6px 16px rgba(241, 136, 23, 0.4);*/
}
.proc-step p { font-size: 14px; line-height: 1.45; color: #d8dee8; }
.proc-arrow {
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3); font-size: 18px;
  margin-top: 15px; flex-shrink: 0;
}
.proc-arrow svg { width: 24px; height: 18px; }

/* === THREE COLS === */
.three-cols { background: var(--white); padding: 56px 0; }
.three-cols-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.col-card {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.col-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}
.col-card h3 {
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.02em; text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--navy);
  position: relative;
  padding-bottom: 12px;
}
.col-card h3::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 36px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.col-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.col-list.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.col-list li { font-size: 14px; line-height: 1.4; color: var(--text); display: flex; align-items: flex-start; gap: 8px; }
.col-list li::before { content: ""; width: 16px; height: 16px; flex-shrink: 0; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23f18817" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/contain no-repeat; margin-top: 2px; }
.col-list.with-icons li { padding-left: 0; }
.col-list.with-icons li::before { display: none; }
.col-list.with-icons li .ico { width: 20px; height: 20px; flex-shrink: 0; color: var(--orange); }
.col-list.with-icons li .ico svg { width: 100%; height: 100%; }
.col-list.with-icons li > div { display: flex; align-items: flex-start; gap: 10px; }

/* === WHY INTERESTING === */
.why-section { background: var(--white); padding: 56px 0; }
.why-section .section-title { text-align: left; }
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.why-item {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.why-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; min-height: 60px; }
.why-item-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  color: var(--orange);
  background: var(--orange-light);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
}
.why-item-icon svg { width: 24px; height: 24px; }
.why-item h4 { font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--navy); }
.why-photo { width: 100%; /*height: 120px;*/ object-fit: cover; border-radius: var(--r-sm); margin-top: auto; transition: transform 0.4s ease; }
.why-item:hover .why-photo { transform: scale(1.04); }

/* === RESPONSIVE (детальная) === */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-badge { max-width: 400px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .duties-grid { grid-template-columns: repeat(2, 1fr); }
  .three-cols-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .back { position: static; margin-bottom: 20px; }
  .hero { padding: 24px 0 40px; }
  .hero h1 { font-size: 30px; margin-bottom: 12px; }
  .hero h2 { display: none; }
  .hero-sub { font-size: 15px; margin-bottom: 24px; }
  .hero-price { display: none; }
  .hero-pills { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hp { height: 56px; padding: 8px 10px; gap: 8px; width: 100%; }
  .hp-icon { width: 30px; height: 30px; padding: 5px; border-radius: 8px; }
  .hp-text { font-size: 12px; line-height: 1.25; }
  .trust-section { display: none; }
  .stats-bar { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .duties-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .col-list.two-col { grid-template-columns: 1fr; }
  /* Процесс работы (B2B) на мобильном — вертикальный список как «Что происходит после отклика» */
  .process-steps { flex-direction: column; gap: 10px; }
  .proc-arrow { display: none; }
  .proc-step {
    display: flex; align-items: center; gap: 12px;
    width: 100%;
    text-align: left;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 12px;
    padding: 4px 10px;
  }
  .proc-step::after { display: none; }
  .proc-num { margin: 0; flex-shrink: 0; width: 40px; height: 40px; font-size: 14px; }
  .proc-step p { margin: 0; font-size: 14px; line-height: 1.35; color: #e6ecf3; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .hero-sub { font-size: 14px; }
  .hero-badge { padding: 16px 14px; }
}
/* ============================================================
   DAY SCHEDULE — «Как проходит ваш день» (красивый таймлайн)
   ============================================================ */
.jd-section { padding: 56px 0; background: linear-gradient(180deg, #f7f8fa 0%, #f0f2f5 100%); position: relative; overflow: hidden; }
.jd-section::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(241, 136, 23, 0.08), transparent 65%);
  pointer-events: none;
}
.jd-section .container { position: relative; z-index: 2; }
.jd-grid {
  display: grid;
  grid-template-columns: 2fr 0.7fr;
  gap: 24px;
  align-items: stretch;
}
.jd-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 8px 28px rgba(35, 54, 77, 0.06);
  border: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}
.jd-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--orange) 0%, #ffb454 100%);
}
.jd-card-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 32px;
}
.jd-card-icon {
  width: 44px; height: 44px;
  background: var(--orange-light);
  color: var(--orange);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.jd-card-icon svg { width: 22px; height: 22px; }
.jd-card h3 {
  font-size: 18px; font-weight: 800;
  letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--navy);
  line-height: 1.2;
}

/* === Горизонтальный таймлайн === */
.jd-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
  padding: 32px 0 8px;
}
.jd-timeline::before {
  content: "";
  position: absolute;
  top: 60px; left: 24px; right: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-soft) 100%);
  border-radius: 2px;
  z-index: 1;
}
.jd-step {
  text-align: center;
  position: relative;
  padding: 0 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.jd-step-icon {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  background: #fff;
  color: var(--orange);
  border: 3px solid var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 2;
  transition: transform var(--t-spring), background var(--t-base), color var(--t-base), box-shadow var(--t-base);
  box-shadow: 0 4px 12px rgba(241, 136, 23, 0.15);
}
.jd-step-icon svg { width: 24px; height: 24px; }
.jd-step:hover .jd-step-icon {
  background: var(--orange);
  color: #fff;
  transform: scale(1.1) rotate(-6deg);
  box-shadow: 0 12px 24px rgba(241, 136, 23, 0.35);
}
.jd-time {
  font-size: 17px; font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
  font-feature-settings: "tnum" 1;
}
.jd-step p {
  font-size: 13px; line-height: 1.45;
  color: var(--muted);
  max-width: 130px;
  margin: 0 auto;
}

/* === Карточка «почему остаются» === */
.jd-stay {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(35, 54, 77, 0.2);
}
.jd-stay::before {
  content: "";
  position: absolute;
  top: -50%; right: -30%;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(241, 136, 23, 0.25), transparent 65%);
  pointer-events: none;
}
.jd-stay-head {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 22px;
  position: relative;
}
.jd-stay-head-icon {
  width: 44px; height: 44px;
  background: rgba(241, 136, 23, 0.15);
  color: var(--orange);
  border: 1px solid rgba(241, 136, 23, 0.3);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.jd-stay-head-icon svg { width: 22px; height: 22px; }
.jd-stay-head h3 {
  font-size: 16px; font-weight: 800;
  letter-spacing: 0.02em; text-transform: uppercase;
  line-height: 1.25;
  color: #fff;
}
.jd-check {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
.jd-check li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color var(--t-fast);
}
.jd-check li:last-child { border-bottom: none; }
.jd-check li:hover { color: #fff; }
.jd-check li::before {
  content: "";
  width: 22px; height: 22px; flex-shrink: 0;
  background: var(--orange);
  border-radius: 6px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>');
  background-position: center;
  background-size: 14px 14px;
  background-repeat: no-repeat;
  margin-top: 2px;
  box-shadow: 0 4px 10px rgba(241, 136, 23, 0.4);
}

/* ============================================================
   AFTER APPLY — «Что происходит после отклика» (степпер)
   ============================================================ */
.ja-section {
  position: relative;
  padding: 72px 0 80px;
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 12%, rgba(241, 136, 23, 0.16), transparent 42%),
    radial-gradient(circle at 10% 90%, rgba(45, 70, 100, 0.55), transparent 55%),
    linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%);
}
.ja-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange) 0%, #ffb454 100%);
}
.ja-section .container { position: relative; z-index: 2; }

.ja-head { text-align: center; margin-bottom: 48px; }
.ja-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.ja-eyebrow::before,
.ja-eyebrow::after {
  content: "";
  width: 28px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange));
  opacity: 0.75;
}
.ja-eyebrow::after { transform: scaleX(-1); }
.ja-head h3 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ja-steps {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}
.ja-step {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 6px 10px 0;
}
.ja-step::after {
  content: "";
  position: absolute;
  top: 44px;
  left: calc(50% + 40px);
  width: calc(100% + 16px - 80px);
  height: 2px;
  border-top: 2px dashed rgba(255, 255, 255, 0.28);
}
.ja-step:last-child::after { display: none; }
.ja-node {
  position: relative;
  width: 76px; height: 76px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  box-shadow: inset 0 0 24px rgba(241, 136, 23, 0.08);
  transition: transform var(--t-spring), border-color var(--t-base), box-shadow var(--t-base);
}
.ja-node-icon { display: flex; }
.ja-node-icon svg { width: 30px; height: 30px; }
.ja-num {
  position: absolute;
  top: -8px; right: -8px;
  min-width: 26px; height: 26px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--navy);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}
.ja-step:hover .ja-node {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: 0 18px 34px rgba(241, 136, 23, 0.28);
}
.ja-step:hover .ja-num { background: var(--orange-hover); }
.ja-step p {
  font-size: 15px;
  line-height: 1.5;
  color: #d8dee8;
  font-weight: 500;
  max-width: 210px;
  margin: 0 auto;
}

/* ============================================================
   CTA FORM — «Хочу работать в Мегадрель!» (двухшаговая анкета)
   ============================================================ */
.jf-section {
  background: var(--bg);
  color: var(--navy);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.jf-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--orange) 50%, transparent);
  opacity: 0.3;
}
.jf-section .container { position: relative; z-index: 2; }
.jf-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  /*gap: 48px;*/
  align-items: center;
}
.jf-left h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  color: var(--navy);
}
.jf-left h2 br + span,
.jf-left h2 span { color: var(--orange); }
.jf-left p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 320px;
}
.jf-arrow {
  color: var(--orange);
  font-size: 56px;
  line-height: 1;
  display: inline-block;
  animation: jfArrow 2.4s ease-in-out infinite;
}
@keyframes jfArrow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(8px, -4px) rotate(4deg); }
}

/* === Карточка с формой === */
.jf-card {
  background: #fff;
  color: var(--navy);
  border-radius: 24px;
  padding: 36px;
  position: relative;
  box-shadow: 0 24px 56px rgba(35, 54, 77, 0.12);
  border: 1px solid var(--border);
  overflow: hidden;
}
.jf-card h3 {
  font-size: 20px; font-weight: 800;
  letter-spacing: 0.02em; text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--navy);
}
.jf-card .jf-sub {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
}

/* === Прогресс-бар === */
.jf-progress-wrap {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
}
.jf-progress-bar {
  flex: 1;
  height: 6px;
  background: var(--border-soft);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.jf-progress-bar::after {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 50%;
  background: linear-gradient(90deg, var(--orange) 0%, #ffb454 100%);
  border-radius: 999px;
  transition: width var(--t-slow);
}
.jf-step[data-step="2"].on ~ * .jf-progress-bar::after,
.jf-card .jf-step.on[data-step="2"] + .jf-progress-bar::after { width: 100%; }
.jf-progress {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* === Шаги формы === */
.jf-step { display: none; }
.jf-step.on {
  display: block;
  animation: jfStepIn var(--t-slow) ease;
}
@keyframes jfStepIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.jf-row {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.jf-row.two { grid-template-columns: 1fr 1fr; }
.jf-field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.jf-field label {
  font-size: 12px; font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex; align-items: center; gap: 8px;
}
.jf-field > label:not(.jf-file) > span {
  display: inline-flex;
  width: 22px; height: 22px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.jf-field input {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.jf-field input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-light);
}
.jf-field input::placeholder { color: var(--muted-2); }
.jf-field input:hover:not(:focus) { border-color: var(--orange-soft); }

.jf-phone { display: flex; align-items: center; gap: 0; width: 100%; }

.jf-phone input {
  flex: 1;
  min-width: 0;

}
.jf-phone:focus-within > span { border-color: var(--orange); }
.jf-phone:focus-within input {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-light);
}

.jf-field .jf-file {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  cursor: pointer;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.4;
}
.jf-field .jf-file input[type="file"] { display: none; }
.jf-field .jf-file-btn {
  padding: 10px 14px;
  border: 1.5px dashed var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: normal;
  word-break: break-word;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.jf-field .jf-file-btn:hover { border-color: var(--orange); color: var(--orange); }
.jf-field .jf-file-name {
  font-size: 13px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

/* === Кнопки формы === */
.jf-submit, .jf-back {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(241, 136, 23, 0.32);
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-base);
  font-family: inherit;
}
.jf-submit:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(241, 136, 23, 0.45);
}
.jf-submit:active { transform: translateY(0) scale(0.98); }
.jf-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.jf-actions {
  display: flex; gap: 10px; align-items: center;
}
.jf-back {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--border);
  box-shadow: none;
  padding: 13px 20px;
}
.jf-back:hover {
  background: var(--bg);
  color: var(--navy);
  border-color: var(--border);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.jf-submit.full { width: 100%; }

/* === Сообщения === */
.jf-msg {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 10px;
}
.jf-msg::before {
  content: "";
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background-position: center;
  background-size: 14px 14px;
  background-repeat: no-repeat;
}
.jf-msg.ok {
  display: flex;
  color: #0a6b30;
  background: #e6f7eb;
  border: 1px solid #b6e6c4;
}
.jf-msg.ok::before {
  background-color: #00aa55;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>');
}
.jf-msg.err {
  display: flex;
  color: #a01820;
  background: #fde6e8;
  border: 1px solid #f5b9bf;
}
.jf-msg.err::before {
  background-color: #d33;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg>');
}

@media (max-width: 1024px) {
  .jd-grid { grid-template-columns: 1fr; }
  .jd-timeline { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .jd-timeline::before { display: none; }
  .jd-step::after { display: none; }
  .ja-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .ja-step::after { display: none; }
  .ja-step p { max-width: 260px; }
  .jf-grid { grid-template-columns: 1fr; gap: 32px; }
  .jf-left { text-align: center; }
  .jf-left p { margin: 0 auto 20px; }
  .jf-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  
  .jd-card h3 { margin: 0 0 24px; }
  .jd-timeline {
    display: flex; flex-direction: column; gap: 10px;
    padding: 0; max-width: 460px; margin: 0 auto;
  }
  .jd-timeline::before { display: none; }
  .jd-step {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 14px;
  }
  .jd-step-icon { margin: 0; flex-shrink: 0; width: 40px; height: 40px; border-width: 2px; box-shadow: none; }
  .jd-step-icon svg { width: 20px; height: 20px; }
  .jd-time { margin: 0; font-size: 15px; }
  .jd-step p { margin: 0; max-width: none; flex: 1; }
  .ja-steps {
    display: flex; flex-direction: column; gap: 10px;
    max-width: 460px; margin: 0 auto;
    counter-reset: ja-step;
  }
  .ja-step {
    display: flex; align-items: center; gap: 12px;
    text-align: left;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 12px;
    padding: 10px 14px;
  }
  .ja-step::after { display: none; }
  .ja-step::before {
    counter-increment: ja-step;
    content: counter(ja-step);
    flex-shrink: 0;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--orange); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 13px;
  }
  .ja-node { display: none; }
  .ja-step p { max-width: none; margin: 0; font-size: 14px; line-height: 1.35; }
  .jf-row { grid-template-columns: 1fr; }
  .jf-row.two { grid-template-columns: 1fr; }
  .jf-card { padding: 24px; }
  .jf-section { padding: 56px 0; }
  .jf-clip { display: none; }
  .ja-head { margin-bottom: 36px; }
}

/* ============================================================
   РАЗДЕЛИТЕЛЬ НАД БЛОКОМ — настраивается в админке
   (включить блок и настроить высоту/прозрачность)
   ============================================================ */
.sep { position: relative; }
.sep::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--sep-height, 4px);
  background: linear-gradient(90deg, transparent, var(--orange) 50%, transparent);
  opacity: var(--sep-opacity, 0.3);
  pointer-events: none;
  z-index: 1;
}

/* ============================================================
   SALARY SECTION — 5 идей для красивого отображения зарплаты
   Данные приходят из detail.salary в job.php (см. блок salary-section)
   Вариант выбирается автоматически или через detail.salary.variant
   ============================================================ */
.salary-section {
  padding: 32px 0 40px;
  background: linear-gradient(180deg, var(--bg) 0%, #fff 100%);
}
.salary-section .container { position: relative; z-index: 2; }

.salary-card {
  display: grid;
  border-radius: var(--r-2xl);
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 40px rgba(35, 54, 77, 0.08);
  border: 1px solid var(--border-soft);
}
.salary-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--orange) 0%, #ffb454 100%);
  z-index: 2;
}

/* === Базовые текстовые стили === */
.salary-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 6px;
}
.salary-amount {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px;
  margin-bottom: 12px;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.salary-num {
  font-size: clamp(24px, 3.6vw, 40px);
  font-feature-settings: "tnum" 1;
  text-shadow: 0 2px 8px rgba(241, 136, 23, 0.12);
}
.salary-period {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--muted);
  font-weight: 600;
}
.salary-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 6px;
}
.salary-note::before {
  content: "i";
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px;
  background: var(--orange-light);
  color: var(--orange);
  border-radius: 50%;
  font-size: 11px; font-weight: 800; font-style: italic;
}
.salary-sub {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.salary-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 20px;
  box-shadow: 0 8px 22px rgba(241, 136, 23, 0.3);
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-base);
  position: relative; overflow: hidden;
}
.salary-cta::before {
  content: "";
  position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transition: left 0.6s ease;
  pointer-events: none;
}
.salary-cta:hover { background: var(--orange-hover); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(241, 136, 23, 0.45); }
.salary-cta:hover::before { left: 120%; }
.salary-cta--big { padding: 16px 32px; font-size: 15px; width: 100%; justify-content: center; }

.salary-side--lead {
  background: linear-gradient(135deg, #fff 0%, #fffaf3 100%);
  padding: 36px 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.salary-side--hint {
  background: #fafbfc;
  padding: 32px 36px;
  border-left: 1px dashed var(--border);
}
.salary-side--breakdown {
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
  padding: 32px 36px;
  border-left: 1px dashed var(--border);
}
.salary-side--dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 40px 44px;
  position: relative;
  overflow: hidden;
}
.salary-side--dark::before {
  content: "";
  position: absolute; top: -50%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(241, 136, 23, 0.2), transparent 60%);
  pointer-events: none;
}
.salary-side--dark .salary-eyebrow { color: rgba(255,255,255,0.7); }
.salary-side--dark .salary-amount { color: #fff; }
.salary-side--dark .salary-num { color: var(--orange); text-shadow: 0 2px 16px rgba(241,136,23,0.3); }
.salary-side--dark .salary-period { color: rgba(255,255,255,0.6); }
.salary-side--dark .salary-note { color: rgba(255,255,255,0.6); }
.salary-side--dark .salary-note::before { background: rgba(241,136,23,0.25); color: var(--orange); }

.salary-side--action {
  padding: 36px 32px;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  text-align: center;
}
.salary-action-note { font-size: 13px; color: var(--muted); }

.salary-hint-title, .salary-bd-title {
  font-size: 14px; font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin-bottom: 16px;
}
.salary-hint-list, .salary-bd-grid {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.salary-hint-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px; line-height: 1.5;
  color: var(--text);
}
.salary-hint-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 18px; height: 18px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}
.salary-stack { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.salary-stack-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px;
  color: rgba(255,255,255,0.95);
  font-weight: 600;
  background: rgba(255,255,255,0.08);
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  width: fit-content;
}
.salary-stack-item::before {
  content: "+";
  color: var(--orange);
  font-weight: 800; font-size: 18px;
}
.salary-bd-item { display: flex; align-items: flex-start; gap: 10px; }
.salary-bd-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0; margin-top: 7px;
}
.salary-bd-text { font-size: 14px; line-height: 1.5; color: var(--text); }

/* === Вариант 1 — Большая оранжевая плашка === */
.salary--v1 {
  grid-template-columns: 1.3fr 1fr;
  background: linear-gradient(135deg, #fff 0%, var(--orange-light) 100%);
}
.salary--v1 .salary-side--lead { background: transparent; }
.salary--v1 .salary-side--hint { background: rgba(255,255,255,0.6); backdrop-filter: blur(10px); }

/* === Вариант 2 — Диапазон с бегунком === */
.salary--v2 {
  grid-template-columns: 1.4fr 1fr;
  background: #fff;
}
.salary-range { display: flex; flex-direction: column; gap: 14px; }
.salary-range-bar {
  position: relative;
  height: 18px;
  background: var(--bg);
  border-radius: 999px;
  border: 1px solid var(--border);
}
.salary-range-fill {
  position: absolute; top: 4px; bottom: 4px;
  left: calc((var(--min) / var(--max)) * 100% + 4px);
  right: 4px;
  background: linear-gradient(90deg, var(--orange) 0%, #ffb454 100%);
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(241, 136, 23, 0.3);
}
.salary-range-tick {
  position: absolute; top: 100%; transform: translateX(-50%);
  margin-top: 6px;
  font-size: 12px; font-weight: 700; color: var(--muted);
  font-feature-settings: "tnum" 1;
}
.salary-range-tick:last-child { transform: translateX(-50%); }
.salary-range-label {
  display: flex; align-items: baseline; gap: 12px;
  margin-top: 24px;
}
.salary-range-label strong {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
  font-feature-settings: "tnum" 1;
}
.salary-range-label span { font-size: 14px; color: var(--muted); }

/* === Вариант 3 — Оклад + breakdown === */
.salary--v3 {
  grid-template-columns: 1fr 1.2fr;
  background: #fff;
}
.salary-amount--big .salary-num { font-size: clamp(44px, 5.4vw, 64px); }
.salary--v3 .salary-bd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }

/* === Вариант 4 — Тёмная карточка «пачки» === */
.salary--v4 { grid-template-columns: 1.3fr 1fr; background: transparent; padding: 0; border: none; box-shadow: none; }
.salary--v4::before { display: none; }
.salary--v4 .salary-side--dark { border-radius: var(--r-2xl) 0 0 var(--r-2xl); }
.salary--v4 .salary-side--action {
  background: #fff;
  border-radius: 0 var(--r-2xl) var(--r-2xl) 0;
  border: 1px solid var(--border-soft);
  border-left: none;
  box-shadow: 0 12px 40px rgba(35, 54, 77, 0.08);
}

/* === Вариант 5 — График роста === */
.salary--v5 {
  grid-template-columns: 1.1fr 1.4fr;
  background: #fff;
}
.salary-side--graph { padding: 32px 36px; background: linear-gradient(180deg, #fafbfc 0%, #fff 100%); }
.salary-graph {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 8px;
  height: 200px;
  padding: 20px 0;
  position: relative;
}
.salary-graph-col {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  height: 100%;
  position: relative;
}
.salary-graph-val {
  font-size: 12px; font-weight: 800;
  color: var(--orange);
  margin-bottom: 6px;
  font-feature-settings: "tnum" 1;
}
.salary-graph-bar {
  width: 100%;
  max-width: 36px;
  height: 100%;
  background: var(--orange-light);
  border-radius: 6px 6px 0 0;
  position: relative;
  overflow: hidden;
}
.salary-graph-fill {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: var(--h, 0%);
  background: linear-gradient(180deg, #ffb454 0%, var(--orange) 100%);
  border-radius: 6px 6px 0 0;
  box-shadow: 0 4px 12px rgba(241, 136, 23, 0.35);
  animation: salaryGrow 1s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes salaryGrow {
  from { height: 0; }
}
.salary-graph-lbl {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
  text-align: center;
  font-weight: 500;
}

/* === Адаптив === */
@media (max-width: 900px) {
  .salary--v1, .salary--v2, .salary--v3, .salary--v4, .salary--v5 {
    grid-template-columns: 1fr;
  }
  .salary--v4 .salary-side--dark,
  .salary--v4 .salary-side--action { border-radius: 0; }
  .salary--v4 .salary-side--action { border-left: 1px solid var(--border-soft); border-top: none; }
  .salary-side--hint, .salary-side--breakdown, .salary-side--graph {
    border-left: none;
    border-top: 1px dashed var(--border);
  }
  .salary-side--lead, .salary-side--hint, .salary-side--breakdown,
  .salary-side--dark, .salary-side--action, .salary-side--graph {
    padding: 28px 24px;
  }
  .salary--v3 .salary-bd-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .salary-graph-fill { animation: none; }
}

/* ============================================================
   НОВЫЕ БЛОКИ — социальное доказательство, FAQ, честные минусы
   ============================================================ */

/* === TRUST BAR (социальное доказательство) === */
.trust-section {
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
  padding: 60px 0;
}
.trust-head {
  text-align: center;
  margin-bottom: 36px;
}
.trust-eyebrow {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.trust-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  letter-spacing: -0.01em;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
}
.trust-card {
  text-align: center;
  padding: 28px 20px;
  background: #fff;
  border-radius: var(--r-lg, 16px);
  border: 1px solid var(--border-soft, #eef0f4);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  overflow: hidden;
}
.trust-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0;
  transition: opacity var(--t-base);
}
.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(35, 54, 77, 0.08);
  border-color: rgba(241, 136, 23, 0.25);
}
.trust-card:hover::before { opacity: 1; }
.trust-num {
  display: block;
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
  font-feature-settings: "tnum" 1;
}
.trust-label {
  display: block;
  font-size: 14px;
  color: var(--text, #23364d);
  font-weight: 700;
  margin-bottom: 4px;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
}
.trust-note {
  display: block;
  font-size: 12px;
  color: var(--muted, #6a6a6a);
  line-height: 1.4;
}
.trust-quote {
  margin-top: 36px;
  padding: 32px 40px;
  background: linear-gradient(135deg, #23364D 0%, #1a2840 100%);
  color: #fff;
  border-radius: var(--r-lg, 16px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  box-shadow: 0 20px 50px rgba(35, 54, 77, 0.18);
  position: relative;
  overflow: hidden;
}
.trust-quote::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(241, 136, 23, 0.18), transparent 60%);
  pointer-events: none;
}
.trust-photo {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #ffb454);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(241, 136, 23, 0.4);
}
.trust-quote-text {
  font-size: 18px;
  line-height: 1.55;
  font-style: italic;
  color: #fff;
  position: relative; z-index: 1;
}
.trust-quote-text::before {
  content: "\201C";
  font-size: 60px;
  font-style: normal;
  color: var(--orange);
  position: absolute;
  top: -25px; left: -10px;
  line-height: 1;
  z-index: -1;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
}
.trust-quote-author {
  margin-top: 12px;
  font-size: 13px;
  font-style: normal;
  color: rgba(255,255,255,0.7);
}
.trust-quote-author strong {
  display: block;
  color: var(--orange);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

/* === HONEST MINUSES (честные минусы работы) === */
.minus-section {
  background: #fff;
  padding: 70px 0;
  border-top: 1px solid var(--border-soft, #eef0f4);
}
.minus-head {
  text-align: center;
  margin-bottom: 40px;
}
.minus-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff5ed;
  color: #c2410c;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  border: 1px solid rgba(194, 65, 12, 0.15);
}
.minus-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 12px;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  letter-spacing: -0.01em;
}
.minus-sub {
  font-size: 16px;
  color: var(--muted, #6a6a6a);
  margin: 0 auto;
  max-width: 580px;
  line-height: 1.55;
}
.minus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.minus-card {
  padding: 24px;
  background: #fffbf5;
  border: 1px dashed rgba(241, 136, 23, 0.3);
  border-radius: var(--r-lg, 16px);
  transition: all var(--t-base);
  position: relative;
}
.minus-card:hover {
  background: #fff;
  border-style: solid;
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(241, 136, 23, 0.1);
}
.minus-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--orange);
  color: #fff;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 800;
}
.minus-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
}
.minus-card-text {
  font-size: 14px;
  color: var(--text, #23364d);
  line-height: 1.5;
  margin: 0;
}
.minus-foot {
  margin-top: 24px;
  text-align: center;
  font-size: 15px;
  color: var(--navy);
  font-weight: 600;
}
.minus-foot strong {
  color: var(--orange);
  font-weight: 800;
}

/* === FAQ === */
.faq-section {
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
  padding: 70px 0;
}
.faq-head {
  text-align: center;
  margin-bottom: 36px;
}
.faq-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 12px;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  letter-spacing: -0.01em;
}
.faq-sub {
  font-size: 16px;
  color: var(--muted, #6a6a6a);
  margin: 0 auto;
  max-width: 540px;
  line-height: 1.55;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border-radius: var(--r-md, 12px);
  border: 1px solid var(--border-soft, #eef0f4);
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.faq-item[open] {
  border-color: rgba(241, 136, 23, 0.3);
  box-shadow: 0 8px 24px rgba(35, 54, 77, 0.06);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  background: var(--orange-light);
  color: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  transition: transform var(--t-base), background var(--t-base), color var(--t-base);
}
.faq-item[open] summary::after {
  content: "\2212";
  transform: translateY(-50%) rotate(180deg);
  background: var(--orange);
  color: #fff;
}
.faq-item summary:hover { color: var(--orange); }
.faq-item summary:hover::after { background: var(--orange); color: #fff; }
.faq-body {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text, #23364d);
  border-top: 1px dashed var(--border-soft, #eef0f4);
  padding-top: 18px;
  margin-top: -2px;
}

/* === FORM improvements === */
.jf-field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border, #d8dee8);
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: #fff url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23f18817' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  color: var(--text, #23364d);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.jf-static {
  border: 1.5px solid var(--border, #d8dee8);
  border-radius: 10px;
  padding: 12px 14px;
  background: #f5f7fa;
  color: var(--text, #23364d);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.jf-field select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(241, 136, 23, 0.15);
}
.jf-consent {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 6px;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted, #6a6a6a);
  cursor: pointer;
  user-select: none;
}
.jf-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 1px;
  cursor: pointer;
  accent-color: var(--orange);
}
.jf-consent a {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-color: rgba(241, 136, 23, 0.4);
  text-underline-offset: 3px;
}
.jf-submit--strong {
  background: var(--orange);
  font-size: 16px !important;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 28px rgba(241, 136, 23, 0.35);
  position: relative;
  overflow: hidden;
}
.jf-submit--strong::before {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transition: left 0.6s ease;
  pointer-events: none;
}
.jf-submit--strong:hover::before { left: 120%; }

/* === Why block: hover-эффект с раскрытием === */
.why-item {
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.why-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(35, 54, 77, 0.12);
  border-color: rgba(241, 136, 23, 0.35);
}
.why-item:hover .why-photo {
  transform: scale(1.06);
}
.why-item .why-photo {
  transition: transform 0.5s ease;
}
.why-item-detail {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255,255,255,0.2);
}

/* === Адаптив для новых блоков === */
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
  .trust-quote {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 24px;
  }
  .trust-photo { margin: 0 auto; }
  .trust-quote-text { font-size: 16px; }
  .minus-grid { grid-template-columns: 1fr; }
  .faq-item summary { padding: 18px 52px 18px 20px; font-size: 15px; }
  .faq-item summary::after { right: 16px; }
  .faq-body { padding: 20px; }
}
@media (max-width: 540px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-quote-text { font-size: 15px; }
  .trust-quote-text::before { font-size: 40px; top: -15px; }
  .minus-card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .trust-card:hover,
  .minus-card:hover,
  .why-item:hover { transform: none; }
}

/* ============================================================
   БЛОК «НАСТАВНИКИ» (3 шаблона: карточки / карусель / tabs)
   ============================================================ */
.mentors-section { background: var(--white); padding: 56px 0 60px; }
.mentors-section.alt { background: var(--bg); }
.mentors-head { text-align: center; margin-bottom: 48px; }
.mentors-eyebrow {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.mentors-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.mentors-head h2 span { color: var(--orange); }
.mentors-head p {
  font-size: 17px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.55;
}

/* --- Вариант 1 — большие карточки --- */
.m1-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.m1-card {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-soft);
  transition: transform var(--t-base), box-shadow var(--t-base);
  display: flex; flex-direction: column;
}
.m1-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.m1-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--orange-light) 0%, var(--orange-soft) 100%);
}
.m1-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.m1-card:hover .m1-photo img { transform: scale(1.05); }
.m1-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--white);
  color: var(--orange);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow);
}
.m1-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.m1-name { font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 4px; letter-spacing: -0.01em; }
.m1-role {
  font-size: 13px;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.m1-quote {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 16px;
  flex: 1;
}
.m1-quote::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 3px;
  background: var(--orange);
  border-radius: 2px;
}
.m1-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 12px;
  color: var(--muted);
}
.m1-meta-item { display: flex; align-items: center; gap: 6px; }
.m1-meta-item svg { width: 14px; height: 14px; color: var(--orange); flex-shrink: 0; }
.m1-meta-item strong { color: var(--navy); font-weight: 800; }

/* --- Вариант 2 — карусель --- */
.m2-stage { position: relative; max-width: 1000px; margin: 0 auto; }
.m2-viewport { overflow: hidden; border-radius: var(--r-xl); padding: 8px; }
.m2-track { display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); gap: 16px; }
.m2-slide {
  flex: 0 0 100%;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 420px;
  border: 1px solid var(--border-soft);
}
.m2-photo { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--orange-light), var(--orange-soft)); }
.m2-photo img { width: 100%; height: 100%; object-fit: cover; }
.m2-photo-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(180deg, transparent, rgba(35, 54, 77, 0.85));
  color: var(--white);
}
.m2-photo-overlay .role {
  font-size: 12px;
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.m2-photo-overlay .name { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.m2-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.m2-quote-mark {
  font-size: 60px;
  line-height: 1;
  color: var(--orange);
  font-family: Georgia, serif;
  margin-bottom: 12px;
  opacity: 0.4;
}
.m2-text { font-size: 17px; line-height: 1.6; color: var(--text); margin-bottom: 24px; flex: 1; }
.m2-stats {
  display: flex;
  gap: 24px;
  padding: 20px;
  background: var(--orange-light);
  border-radius: var(--r-md);
  border: 1px dashed rgba(241, 136, 23, 0.3);
}
.m2-stat strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.02em;
}
.m2-stat span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.m2-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; gap: 16px; }
.m2-dots { display: flex; gap: 8px; }
.m2-dot {
  width: 10px; height: 10px;
  background: var(--border);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: all var(--t-base);
}
.m2-dot.active { width: 28px; border-radius: 5px; background: var(--orange); }
.m2-arrows { display: flex; gap: 10px; }
.m2-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--navy);
  transition: all var(--t-fast);
  display: flex; align-items: center; justify-content: center;
}
.m2-arrow:hover { background: var(--orange); border-color: var(--orange); color: var(--white); transform: scale(1.05); }
.m2-arrow svg { width: 18px; height: 18px; }
.m2-counter { font-size: 13px; color: var(--muted); font-weight: 600; }
.m2-counter strong { color: var(--orange); font-weight: 800; }

/* --- Вариант 3 — tabs --- */
.m3-grid { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: stretch; }
.m3-tabs { display: flex; flex-direction: column; gap: 12px; }
.m3-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--t-fast);
  text-align: left;
  font-family: inherit;
  width: 100%;
}
.m3-tab:hover { border-color: rgba(241, 136, 23, 0.3); background: var(--orange-light); }
.m3-tab.active {
  border-color: var(--orange);
  background: linear-gradient(135deg, var(--orange-light) 0%, #fff 100%);
  box-shadow: 0 8px 20px rgba(241, 136, 23, 0.15);
}
.m3-tab-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--white);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--orange-light), var(--orange-soft));
}
.m3-tab-avatar img { width: 100%; height: 100%; object-fit: cover; }
.m3-tab-info { flex: 1; min-width: 0; }
.m3-tab-info strong { display: block; font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 2px; }
.m3-tab-info span { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.m3-tab-arrow { color: var(--orange); opacity: 0; transform: translateX(-4px); transition: all var(--t-fast); }
.m3-tab.active .m3-tab-arrow { opacity: 1; transform: translateX(0); }
.m3-panel {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}
.m3-panel::before {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(241, 136, 23, 0.08), transparent 60%);
  pointer-events: none;
}
.m3-content { display: none; animation: m3Fade 0.4s ease; position: relative; }
.m3-content.active { display: block; }
@keyframes m3Fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.m3-content-head { display: flex; gap: 24px; margin-bottom: 28px; align-items: center; }
.m3-content-photo {
  width: 120px; height: 120px;
  border-radius: var(--r-lg);
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--orange-light), var(--orange-soft));
}
.m3-content-photo img { width: 100%; height: 100%; object-fit: cover; }
.m3-content-meta { flex: 1; }
.m3-content-name { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 4px; letter-spacing: -0.02em; }
.m3-content-role {
  font-size: 14px;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.m3-content-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.m3-content-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; }
.m3-quote {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--orange);
}
.m3-quote-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 8px;
}
.m3-facts { display: flex; flex-direction: column; gap: 10px; }
.m3-fact {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: var(--r-md);
  font-size: 14px;
}
.m3-fact-icon {
  width: 36px; height: 36px;
  background: var(--orange);
  color: var(--white);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.m3-fact-icon svg { width: 18px; height: 18px; }
.m3-fact-text strong { display: block; color: var(--navy); font-weight: 800; font-size: 13px; }
.m3-fact-text span { display: block; color: var(--muted); font-size: 12px; }

@media (max-width: 960px) {
  .m1-grid { grid-template-columns: repeat(2, 1fr); }
  .m3-grid { grid-template-columns: 1fr; gap: 20px; }
  .m3-panel { padding: 28px 24px; }
  .m3-content-body { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 768px) {
  .m2-slide { grid-template-columns: 1fr; min-height: 0; }
  .m2-photo { aspect-ratio: 4/3; }
  .m2-photo-overlay { padding: 16px; }
  .m2-photo-overlay .name { font-size: 18px; }
  .m2-body { padding: 24px; }
  .m2-text { font-size: 15px; }
  .m2-stats { padding: 16px; gap: 16px; }
  .m2-stat strong { font-size: 18px; }
}
@media (max-width: 640px) {
  .mentors-section { padding: 44px 0 48px; }
  .mentors-head { margin-bottom: 32px; }
  .m1-grid { grid-template-columns: 1fr; gap: 16px; }
  .m1-body { padding: 20px; }
  .m3-content-head { flex-direction: column; text-align: center; gap: 16px; }
  .m3-content-photo { width: 100px; height: 100px; }
  .m3-content-name { font-size: 22px; }
}
@media (max-width: 480px) {
  .m2-stats { flex-wrap: wrap; gap: 12px; }
  .m2-stat { flex: 1 0 calc(50% - 12px); }
  .m3-tab { padding: 12px 14px; }
  .m3-tab-avatar { width: 44px; height: 44px; }
  .m3-tab-info strong { font-size: 14px; }
  .m3-tab-info span { font-size: 11px; }
}
