/* ============================================================
   СТИЛИ СТРАНИЦЫ «О КОМПАНИИ» (about.php)
   Подключается ДОПОЛНИТЕЛЬНО к style.css
   Шрифт Manrope применяется ко всему.
   ============================================================ */

/* Уточняем body — Manrope уже в style.css, но фиксируем */
body { font-family: 'Manrope', system-ui, -apple-system, sans-serif; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Header override (на тёмном hero) — прозрачный, но при скролле белый ===== */
.header {
  background: transparent;
  box-shadow: none;
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 20px 0;
  z-index: 10;
  color: #fff;
}
.header.scrolled {
  background: var(--white);
  box-shadow: 0 6px 24px rgba(35, 54, 77, 0.1);
  position: fixed;
  padding: 0 0;
  animation: headerIn var(--t-base) both;
}
@keyframes headerIn {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}
.header .nav a { color: #fff; }
.header .nav a:hover, .header .nav a.active { color: var(--orange); }
.header.scrolled .nav a { color: var(--navy); }
.header.scrolled .nav a:hover, .header.scrolled .nav a.active { color: var(--orange); }
.header .nav a.active::after { background: var(--orange); }
.header .burger { color: #fff; }
.header.scrolled .burger { color: var(--navy); }
.header .logo img {
  height: 46px; width: auto; display: block;
  filter: brightness(0) invert(1);
  transition: filter var(--t-base);
}
.header.scrolled .logo img { filter: none; }
.header .btn-cta { background: var(--orange); }
.header.scrolled .btn-cta { background: var(--orange); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 840px;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding: 180px 0 96px; /* увеличенный отступ сверху, т.к. header absolute */
}
/* Градиент и фото перенесены на каждый слайд (.hero-slide),
   а не на весь баннер — у каждого слайда своя картинка. */
.hero::after {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(241, 136, 23, 0.18), transparent 65%);
  z-index: 1;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero > .container { position: static; }
.hero h1 {
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  max-width: 760px;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: #d8dee8;
  max-width: 540px;
  margin-bottom: 40px;
}
.hero .btn { font-size: 16px; padding: 18px 32px; }
.hero-dots {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; gap: 8px;
}
.hero-dots span {
  width: 24px; height: 3px; background: rgba(255,255,255,0.3); border-radius: 2px;
  transition: background var(--t-base), width var(--t-base);
  cursor: pointer;
}
.hero-dots span:hover { background: rgba(255,255,255,0.5); }
.hero-dots span.active { background: var(--orange); width: 32px; }

/* ===== Hero slider ===== */
/* Фон баннера занимает весь hero; контент каждого слайда внутри .container */
.hero-slider {
  position: absolute; inset: 0;
  z-index: 1;
}
.hero-slide {
  position: absolute; inset: 0;
  padding: 180px 0 96px; /* совпадает с отступами .hero */
  background-color: var(--navy);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
}
.hero-slide::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(35, 54, 77, 0.98) 0%, rgba(35, 54, 77, 0.85) 35%, rgba(35, 54, 77, 0.4) 70%, rgba(35, 54, 77, 0.1) 100%);
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
}
.hero-slide .container { position: relative; z-index: 2; }
.hero-slide h1,
.hero-slide p { position: relative; z-index: 2; }
.hero > .container {
  z-index: 2;
  pointer-events: none;
}
.hero > .container .btn {
  position: absolute;
  left: 50%; bottom: 96px;
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: auto;
}
@media (max-width: 768px) {
  .hero { min-height: 520px; padding: 150px 0 70px; }
  .hero h1 { font-size: 34px; margin-bottom: 18px; }
  .hero p { font-size: 16px; margin-bottom: 32px; }
  .hero-slide { padding: 150px 0 70px; }
  .hero > .container .btn { bottom: 36px; }
}
@media (max-width: 640px) {
  .hero { min-height: 460px; padding: 120px 0 62px; }
  .hero h1 { font-size: 29px; }
  .hero p { font-size: 15px; }
  .hero-slide { padding: 120px 0 62px; }
  .hero > .container .btn { bottom: 24px; }
}

/* ===== Кнопка (8px border-radius по ТЗ) ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--orange); color: #fff;
  padding: 16px 28px; border-radius: 8px;
  font-weight: 700; 
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform var(--t-fast), box-shadow var(--t-base), background var(--t-fast);
  /*box-shadow: 0 8px 24px rgba(241, 136, 23, 0.32);*/
}
.btn:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(241, 136, 23, 0.42);
}
.btn:active { transform: translateY(0) scale(0.98); }
.btn-ghost {
  background: transparent; color: var(--orange);
  border: 1.5px solid var(--orange); box-shadow: none;
}
.btn-ghost:hover { background: var(--orange); color: #fff; box-shadow: 0 8px 24px rgba(241, 136, 23, 0.3); }

/* ===== Section: Why (шаблон why-megadrel: шапка + 6 карточек + тёмная полоса) ===== */
.section-title {
  text-align: center;
  font-size: clamp(30px, 3.6vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-transform: uppercase;
}

.wm {
  position: relative;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  
}
.wm-header { position: relative; padding: 56px 0 40px; }

/* --- 6 карточек --- */
.wm-cards-section { padding: 0 0 60px; }
.wm-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.wm-card {
  position: relative;
  border-radius: 16px;
  padding: 15px 26px 15px 26px;
  overflow: hidden;
  background-color: #ECEFF3;
  background-size: cover;
  background-position: center;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s;
}
/* белый градиент слева: под текстом (до ~70%) белая, правее фото открывается */
.wm-card::before
{   content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(255 255 255) 0%, rgba(255, 255, 255, 1) 65% 55%, rgb(255 255 255 / 0%) 80%);
}
.wm-card > * { position: relative; z-index: 1; }
.wm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}
.wm-card-content { display: flex; flex-direction: column; width: 70%; }
.wm-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.wm-card-icon {
  width: 48px; height: 48px;
  background: #ff6b1a;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(255, 107, 26, 0.3);
}
.wm-card-icon svg { width: 24px; height: 24px; }
.wm-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #1F2937;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.wm-card-list { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.wm-card-list li {
  font-size: 14px;
  line-height: 1.45;
  
  padding-left: 14px;
  position: relative;
}
.wm-card-list li::before {
  content: "•";
  position: absolute; left: 0;
  color: #ff6b1a;
  font-weight: 900;
  font-size: 16px;
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .wm-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .wm-cards-grid { grid-template-columns: 1fr; }
}

/* ===== Section: Values (карточки + фото-сетка) ===== */
.values { padding: 28px 0 32px; background: var(--bg); }
.values-wrap {
  display: flex;
  gap: 24px;
  align-items: stretch;
}
.values-head {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  border-radius: var(--r-2xl);
  padding: 48px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(35, 54, 77, 0.18);
  position: relative;
  overflow: hidden;
}
.values-head::before {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(241, 136, 23, 0.18), transparent 60%);
}
.values-head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  position: relative;
}
.values-list { list-style: none; display: flex; flex-direction: column; gap: 12px; position: relative; }
.values-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 22px; font-weight: 500;
}
.check {
  width: 22px; height: 22px; flex-shrink: 0;
  background: var(--orange); color: #fff;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
  /*box-shadow: 0 4px 10px rgba(241, 136, 23, 0.35);*/
}
.photo-grid {
  flex: 1.4;
  background: var(--border-soft);
  border-radius: var(--r-2xl);
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
  box-shadow: var(--shadow-md);
}
.photo-grid img {
  width: 100%; height: 100%; min-height: 120px; object-fit: cover;
  border-radius: 10px;
  transition: transform 0.4s ease, box-shadow var(--t-base);
  cursor: pointer;
}
.photo-grid img:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  z-index: 2;
}

/* ===== Section: Welcome — превращаем в таймлайн (ТЗ) ===== */
.welcome { background: var(--bg); padding: 30px 0 40px; }
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: center;
}
.welcome-text h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-transform: uppercase;
}
.welcome-text h2::after {
  content: "";
  display: block;
  width: 56px; height: 3px;
  background: var(--orange);
  margin-top: 14px;
  border-radius: 2px;
}
.welcome-text p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
  max-width: 420px;
}
.video-card {
  position: relative;
  background: linear-gradient(135deg, #d3dde7 0%, #aebbc9 100%);
  border-radius: var(--r-xl);
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.3);
}
.video-card::before {
  content: "";
  position: absolute; inset: 0;
  background: url('https://kam.megadrel.ru/upload/iblock/21e/3ak0gav7gjv68dy20phbancpv5u8rc5o.jpg') center/cover;
  opacity: 0.7;
  transition: transform 0.6s ease, opacity var(--t-base);
}
.video-card:hover::before { transform: scale(1.05); opacity: 0.85; }
.video-card > img.video-card-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.6s ease;
}
.video-card:hover > img.video-card-bg { transform: scale(1.05); }
.video-embed video.video-autoplay {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.video-embed { cursor: pointer; }
.video-embed .video-text { z-index: 3; }
.video-embed .vsub { margin-bottom: 0; }

.video-text {
  position: relative; z-index: 3;
  text-align: center; color: #fff;
}
.video-text .vtitle { font-size: 28px; font-weight: 700; margin-bottom: 6px; letter-spacing: 0.01em; }
.video-text .vsub { font-size: 14px; opacity: 0.85; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.play-btn {
  width: 76px; height: 76px;
  background: var(--orange); color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 32px rgba(241, 136, 23, 0.5);
  transition: transform var(--t-spring), box-shadow var(--t-base);
  cursor: pointer;
  position: relative;
}
.play-btn::before {
  content: "";
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  opacity: 0.5;
  animation: playPulse 2.4s ease-out infinite;
}
@keyframes playPulse {
  0%   { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.3); opacity: 0; }
}
.play-btn:hover { transform: scale(1.08); }
.play-btn svg { width: 28px; height: 28px; margin-left: 4px; }

/* ===== Видео-модалка («Ваш путь») ===== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal.open { display: flex; }
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 36, 0.82);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.video-modal-box {
  position: relative;
  width: 100%;
  max-width: 860px;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.video-modal-box video {
  display: block;
  width: 100%;
  max-height: 78vh;
  background: #000;
}
.video-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
}
.video-modal-close:hover { background: rgba(241, 136, 23, 0.9); transform: rotate(90deg); }

/* ===== Section: Timeline ===== */
.timeline { background: #fff; padding: 50px 0 60px; }
.timeline-track {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 20px;
  padding: 0;
  gap: 12px;
}
.timeline-track::before {
  content: "";
  position: absolute; top: 50px; left: 0; right: 0;
  height: 2px; background: var(--border);
  border-radius: 2px;
}
.tnode {
  position: relative;
  flex: 0 1 auto; padding: 0 8px;
  min-width: 0;
  text-align: center;
}
.tnode::after {
  content: "";
  position: absolute; top: 42px; left: 0;
  width: 18px; height: 18px;
  background: var(--white);
  border: 4px solid var(--orange);
  border-radius: 50%;
  z-index: 2;
  box-sizing: border-box;
  transition: transform var(--t-base), background var(--t-base);
}
.tnode:hover::after { transform: scale(1.2); background: var(--orange); }
.tnode.current::after {
  background: var(--orange);
  box-shadow: 0 0 0 6px var(--orange-soft);
}
.tyear {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  padding-top: 80px;
  line-height: 1.1;
}
.tnode p {
  font-size: 14px;
  /*color: var(--muted);*/
  line-height: 1.5;
  max-width: 240px;
  margin: 0 auto;
}

/* ===== Section: Jobs (плитки одинаковой высоты по ТЗ) ===== */
.jobs { background: #fff; padding: 30px 0 80px; }
.jobs .section-title { margin-bottom: 36px; }
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch; /* растягиваем плитки на одинаковую высоту */
}
.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  display: flex; flex-direction: column;
  transition: transform var(--t-spring), box-shadow var(--t-base), border-color var(--t-base);
  min-height: 220px;
  position: relative;
  overflow: hidden;
}
.job-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t-slow);
}
.job-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.job-card:hover::before { transform: scaleY(1); }
.job-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 15px;
  gap: 12px;
}
.job-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  flex: 1;
  color: var(--navy);
  letter-spacing: -0.005em;
}
.job-arrow {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--orange-light); color: var(--orange);
  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);
}
.job-card:hover .job-arrow { background: var(--orange); color: #fff; transform:  translateX(2px); }
.job-arrow svg { width: 16px; height: 16px; }
.job-meta { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.job-meta .row { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); }
.job-meta .row svg { width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; }
.job-price {
  font-size: 17px; font-weight: 800; color: var(--orange);
  margin-top: auto;
  font-feature-settings: "tnum" 1;
}
.job-link {
  margin-top: 16px;
   font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--t-fast), color var(--t-fast);
}
.job-link::after {
  content: "→"; transition: transform var(--t-fast);
}
.job-card:hover .job-link { gap: 10px; }
.job-card:hover .job-link::after { transform: translateX(4px); }

/* ===== Section: Earn ===== */
.earn { background: var(--navy); color: #fff; padding: 96px 0; position: relative; overflow: hidden; }
.earn::before {
  content: "";
  position: absolute;
  top: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(241, 136, 23, 0.18), transparent 65%);
}
.earn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.earn h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.earn p { color: #cfd6e2; font-size: 16px; line-height: 1.6; margin-bottom: 28px; max-width: 480px; }
.earn-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.earn-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 22px; font-weight: 500;
}
.earn-list .check { background: var(--orange); }
.earn-photo {
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-xl);
  border: 4px solid rgba(255,255,255,0.08);
}
.earn-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.earn-photo:hover img { transform: scale(1.05); }

/* ===== Section: Process ===== */
.process { background: #fff; padding: 96px 0; }
.process .section-title { margin-bottom: 12px; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
  margin-top: 48px;
  position: relative;
}
.step {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  position: relative;
  transition: background var(--t-fast), transform var(--t-base), box-shadow var(--t-base);
  border: 1px solid transparent;
}
.step:hover {
  background: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}
.step-num {
  display: inline-flex;
  width: 36px; height: 36px;
  background: var(--orange); color: #fff;
  border-radius: 50%;
  align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(241, 136, 23, 0.35);
}
.step h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.step p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.step-arrow {
  position: absolute; top: 50%; right: -24px;
  color: var(--border); font-size: 20px;
  transform: translateY(-50%);
  z-index: 1;
  width: 20px; height: 20px;
}
.step:last-child .step-arrow { display: none; }

/* ===== Section: Stories ===== */
.stories { background: var(--bg); padding: 96px 0; }
.stories .section-title { margin-bottom: 48px; }
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.story {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 36px 30px;
  position: relative;
  transition: transform var(--t-spring), box-shadow var(--t-base);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.story:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.story::before {
  content: "\201C";
  position: absolute; top: 8px; right: 22px;
  font-size: 90px; color: var(--orange-light);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif; line-height: 1;
  font-weight: 700;
  pointer-events: none;
}
.story-quote { font-size: 18px; line-height: 1.6; margin-bottom: 26px; color: var(--text); position: relative; }
.story-author { display: flex; align-items: center; gap: 14px; position: relative; }
.story-avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, #ffb454 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 17px;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 16px rgba(241, 136, 23, 0.35);
  flex-shrink: 0;
}
.story-name { font-weight: 700; font-size: 20px; color: var(--navy); }
.story-role { font-size: 14px; color: var(--muted); margin-top: 2px; }

/* ===== Section: Numbers — очень крупные оранжевые (по ТЗ) ===== */
.numbers { background: #fff; padding: 96px 0; position: relative; overflow: hidden; }
.numbers::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--orange) 50%, transparent);
  opacity: 0.3;
}
.numbers .section-title { margin-bottom: 48px; }
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.num {
  padding: 40px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: transform var(--t-spring), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  overflow: hidden;
}
.num::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange) 0%, #ffb454 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}
.num:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.num:hover::before { transform: scaleX(1); }
.num-icon { font-size: 38px; margin-bottom: 10px; line-height: 1; }

.num-label {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.4;
  font-weight: 500;
}

/* ===== Final CTA ===== */
.final {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 110px 0;
  overflow: hidden;
}
.final::before {
  content: "";
  position: absolute; inset: 0;
  background: url('https://kam.megadrel.ru/upload/iblock/21e/3ak0gav7gjv68dy20phbancpv5u8rc5o.jpg') center/cover;
  opacity: 0.3;
}
.final::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(35, 54, 77, 0.65), rgba(16, 27, 47, 0.92));
}
.final .final-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.final .container { position: relative; z-index: 2; text-align: center; }
.final h2 {
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  max-width: 820px;
  margin: 0 auto 32px;
  letter-spacing: -0.01em;
}

/* ===== Footer (тёмный) ===== */
.footer {
  background: var(--navy);
  color: #cfd6e2;
  padding: 60px 0 30px;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  /*background: linear-gradient(90deg, var(--orange) 0%, #ffb454 100%);*/
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h5 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; color: rgba(255,255,255,0.7); transition: color var(--t-fast); }
.footer ul a:hover { color: var(--orange); }
.footer-brand .logo { display: inline-block; }
.footer-brand .logo img {
  height: 48px; width: auto; display: block;
  filter: brightness(0) invert(1);
}
.footer-brand p { font-size: 14px; line-height: 1.55; max-width: 320px; margin-top: 14px; color: rgba(255,255,255,0.7); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: rgba(255,255,255,0.55);
}

/* ===== Animations ===== */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .jobs-grid, .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .values-wrap { flex-direction: column; }
  .values-head { padding: 36px; }
  .welcome-grid, .earn-grid { grid-template-columns: 1fr; gap: 36px; }
  .process-steps { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .stories-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* Бренд на планшете/мобильном — по центру на всю ширину,
     меню («Команда», «Связь») — две колонки ниже */
  .footer-brand { grid-column: 1 / -1; text-align: center; }
  .footer-brand p { margin: 14px auto 0; }
  /* Компактнее: отступы заголовков, карточек и крупных секций */
  .wm-header { padding: 44px 0 28px; }
  .wm-cards-grid { gap: 16px; }
  .wm-card { padding: 20px; }
  .num { padding: 30px 18px; }
  .num-icon { font-size: 30px; }
  .earn, .process, .stories, .numbers { padding: 72px 0; }
  .final { padding: 84px 0; }
  .footer { padding: 44px 0 24px; }
  .stories .section-title, .numbers .section-title { margin-bottom: 30px; }
}
@media (max-width: 640px) {
  .hero { min-height: 480px; padding: 110px 0 50px; }
  .hero .btn { font-size: 13px; padding: 11px 18px; }
  .btn-vacancies-all { font-size: 13px; padding: 11px 18px; }
  .wm-header { padding: 24px 0 14px; }
  .section-title { font-size: 24px; margin-bottom: 10px; }
  .wm-cards-section { padding-bottom: 20px; }
  .wm-card {
    /* На малых экранах карточки одноколоночные и компактные:
       фото-подложка не нужна, показываем только иконку и заголовок */
    padding: 12px;
    border-radius: 12px;
    background-color: #ECEFF3 !important;
    background-image: none !important;
  }
  .wm-card::before { display: none; }
  .wm-card-content { width: 100%; }
  .wm-card-head { gap: 10px; margin-bottom: 0; }
  .wm-card-icon { width: 40px; height: 40px; }
  .wm-card-icon svg { width: 20px; height: 20px; }
  .wm-card-title { font-size: 14px; }
  .wm-card-list { display: none; }
  .values, .process, .stories, .numbers { padding: 48px 0; }
  .jobs-grid, .numbers-grid { grid-template-columns: 1fr; }
  .values-wrap { gap: 16px; }
  .values-head { padding: 24px; }
  .values-head h2 { font-size: 22px; margin-bottom: 16px; }
  .values-list li { font-size: 15px; gap: 10px; }
  .check { width: 18px; height: 18px; font-size: 12px; }
  .photo-grid img { min-height: 90px; }
  .num-value { font-size: 28px; }
  .num-icon { font-size: 26px; margin-bottom: 8px; }
  .num-label { font-size: 14px; }
  .welcome-text h2 { font-size: 24px; }
  .welcome-text p { font-size: 16px; }
  .video-text .vtitle { font-size: 22px; }
  .earn-list li { font-size: 15px; gap: 10px; }
  .earn-photo { border-radius: var(--r-lg); border-width: 2px; }
  .story { padding: 22px 18px; }
  .story-quote { font-size: 15px; margin-bottom: 18px; }
  .story-name { font-size: 16px; }
  .story::before { font-size: 60px; top: 4px; right: 14px; }
  /* Timeline — компактнее */
  .timeline { padding: 32px 0; }
  .timeline-track { flex-direction: column; gap: 12px; margin-top: 10px; padding: 0; }
  .timeline-track::before { display: none; }
  .tnode { display: flex; align-items: center; gap: 10px; padding: 0; text-align: left; justify-content: space-evenly; }
  .tnode::after { position: static; flex-shrink: 0; margin-bottom: 0; }
  .tnode p { margin: 0; font-size: 13px; flex: 1; }
  .tyear { padding-top: 0; font-size: 18px; margin-bottom: 0; min-width: 52px; }
  /* Как проходит отбор — вертикальный список */
  .process-steps { flex-direction: column; gap: 10px; margin-top: 24px; }
  .step {
    display: flex; align-items: center; gap: 12px;
    text-align: left;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 14px;
  }
  .step-num { margin: 0; flex-shrink: 0; }
  .step-body { display: flex; flex-direction: column; gap: 2px; }
  .step-body h4 { margin: 0; font-size: 15px; }
  .step-body p { margin: 0; font-size: 14px; }
  .step-arrow { display: none; }
  /* Final CTA — компактнее */
  .final { padding: 40px 0; }
  .final h2 { font-size: 24px; margin-bottom: 20px; }
  .final .btn { font-size: 14px; padding: 12px 24px; }
  /* Плитки чисел и футер компактнее на мобильном */
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .num { padding: 18px 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; margin-bottom: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .photo-grid img, .step, .num, .story { transition: none; }
}
