/* ============================================================
   ОБЩИЙ СТИЛЬ: базовые стили, контейнер, шапка, футер
   Подключается на главной (index.php) и детальной (job.php)
   ============================================================ */

/* === MANROPE FONT (единый шрифт проекта) === */
/* Manrope подключается через Google Fonts на всех страницах:
   https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800;900&display=swap */

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

:root {
  /* Палитра проекта (обязательная) */
  --navy: #23364D;            /* основной тёмный */
  --navy-2: #1a293f;          /* тёмный насыщенный */
  --navy-soft: #2d4664;       /* приглушённый сине-серый */
  --orange: #f18817;          /* акцент */
  --orange-hover: #d97706;    /* затемнение акцента */
  --orange-light: #fff3e6;    /* фон подсветки */
  --orange-soft: #fde7c8;     /* мягкий акцент для таймлайнов */
  --bg: #F7F8FA;              /* ультра-светлый серый */
  --bg-2: #EEF0F4;            /* второй серый фон */
  --white: #FFFFFF;
  --text: #1F2937;
  --muted: #6B7280;
  --muted-2: #9CA3AF;
  --border: #E5E7EB;
  --border-soft: #F0F2F5;
  --shadow: 0 2px 8px rgba(35, 54, 77, 0.06);
  --shadow-md: 0 4px 16px rgba(35, 54, 77, 0.08);
  --shadow-lg: 0 12px 32px rgba(35, 54, 77, 0.12);
  --shadow-xl: 0 24px 56px rgba(35, 54, 77, 0.16);
  --shadow-orange: 0 12px 28px rgba(241, 136, 23, 0.28);
  /* Радиусы */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 24px;
  /* Плавные переходы */
  --t-fast: 0.18s ease;
  --t-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --t-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.005em;
  /* Фон плавно «проявляется» при загрузке */
  animation: pageFade var(--t-slow) both;
}
@keyframes pageFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

img { display: block; max-width: 100%; transition: transform var(--t-slow), opacity var(--t-slow); }
button, input, textarea, select { font-family: inherit; }
button { cursor: pointer; border: none; }
a { text-decoration: none; color: inherit; transition: color var(--t-fast); }

/* === LAYOUT (единая ширина для обеих страниц) === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.orange { color: var(--orange); }

/* === HEADER === */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--navy);
  /* Плавное усиление тени при скролле (через JS добавим класс .scrolled) */
  transition: box-shadow var(--t-base), background var(--t-base);
}
.header.scrolled {
  box-shadow: 0 6px 24px rgba(35, 54, 77, 0.1);
  color: var(--navy);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 24px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; transition: opacity var(--t-fast); }
.logo:hover { opacity: 0.85; }
.logo-img {
  height: 46px; width: auto; display: block;
  transition: transform var(--t-base);
}
.logo:hover .logo-img { transform: scale(1.04); }

.nav {
  display: flex;
  gap: 30px;
  flex: 1;
  justify-content: center;
}
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  padding: 8px 2px;
  transition: color var(--t-fast);
  position: relative;
  letter-spacing: 0.01em;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%; bottom: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transition: left var(--t-base), right var(--t-base);
}
.nav a:hover { color: var(--orange); }
.nav a:hover::after { left: 0; right: 0; }
.nav a.active { color: var(--orange); font-weight: 600; }
.nav a.active::after { left: 0; right: 0; }

.btn-cta {
  background: var(--orange);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-base);
  white-space: nowrap;
  /*box-shadow: 0 4px 14px rgba(241, 136, 23, 0.3);*/
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 14px;
  border: 1px solid transparent;
}
.btn-cta:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(241, 136, 23, 0.4);
}
.btn-cta:active { transform: translateY(0) scale(0.97); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* ===== Кнопка «Поделиться» в шапке (только на детальной вакансии) ===== */
.share-wrap { position: relative; }
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(35, 54, 77, 0.25);
  cursor: pointer;
  list-style: none;
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.share-btn::-webkit-details-marker { display: none; }
.share-btn:hover {
  color: var(--orange);
  border-color: rgba(241, 136, 23, 0.45);
  background: var(--orange-light);
}
.share-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 50;
  min-width: 200px;
  background: var(--white);
  border: 1px solid rgba(35, 54, 77, 0.12);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(35, 54, 77, 0.18);
  padding: 6px;
}
.share-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}
.share-menu a:hover { background: var(--orange-light); color: var(--orange); }

.share-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
  padding: 10px 12px;
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 0 0 8px 8px;
  background: transparent;
  cursor: pointer;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  text-align: left;
  transition: background var(--t-fast), color var(--t-fast);
}
.share-copy:hover { background: var(--orange-light); color: var(--orange); }
.share-copy.done { color: var(--orange); }

/* Якорные переходы: чтобы форма не пряталась под липкой шапкой */
#apply-form, #cta { scroll-margin-top: 90px; }

/* ===== Burger ===== */
.burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 8px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}
.header.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.open .burger span:nth-child(2) { opacity: 0; }
.header.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === FOOTER CTA === */
.cta-footer {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.cta-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  /*background: linear-gradient(90deg, var(--orange) 0%, #ffb454 100%);*/
}
/* === FOOTER SITE (используется на главной и на вакансиях) === */
.footer {
  background: var(--navy);
  color: #cfd6e2;
  padding: 60px 0 30px;
  position: relative;
}
.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);
}
@media (max-width: 1024px) {
  .footer { padding: 44px 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; text-align: center; }
  .footer-brand p { margin: 14px auto 0; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; margin-bottom: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}
.cta-grid { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 32px; align-items: start; }
.cta-left h3 { font-size: 22px; font-weight: 700; line-height: 1.2; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.02em; }
.cta-btn {
  background: var(--orange); color: #fff;
  padding: 16px 28px;
  border-radius: var(--r-sm);
  font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-base);
  box-shadow: var(--shadow-orange);
}
.cta-btn:hover { background: var(--orange-hover); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(241, 136, 23, 0.45); }
.cta-mid { color: #fff; }
.cta-mid h4 { font-size: 14px; font-weight: 600; margin-bottom: 8px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.5px; }
.cta-mid-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; margin-bottom: 18px;
  color: #fff;
}
.cta-mid-row svg { width: 20px; height: 20px; color: var(--orange); }
.cta-mid-row a { color: #fff; transition: color var(--t-fast); }
.cta-mid-row a:hover { color: var(--orange); }
.cta-about h4 {
  font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em;
  margin-bottom: 10px; color: var(--white);
}
.cta-about p { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.85); }

/* Футер-CTA — компактнее на мобильном */
@media (max-width: 640px) {
  .cta-footer { padding: 32px 0; }
  .cta-grid { gap: 20px; }
  .cta-left h3 { font-size: 15px; margin-bottom: 10px; }
  .cta-btn { padding: 10px 16px; font-size: 12px; }
  .cta-mid h4 { font-size: 12px; margin-bottom: 5px; }
  .cta-mid-row { margin-bottom: 8px; font-size: 14px; }
  .cta-mid-row svg { width: 16px; height: 16px; }
  .cta-about h4 { font-size: 12px; margin-bottom: 5px; }
  .cta-about p { font-size: 12px; }
}

/* === RESPONSIVE (общее) === */
@media (max-width: 880px) {
  .burger { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    padding: 6px 16px 16px;
    box-shadow: 0 18px 30px rgba(10, 25, 47, 0.16);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--t-base), opacity var(--t-base), visibility var(--t-base);
    border-top: 1px solid var(--border);
  }
  .header.open .nav {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav a {
    color: var(--navy);
    font-size: 16px;
    font-weight: 600;
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
  }
  .nav a:last-child { border-bottom: none; }
  .nav a::after { display: none; }
  /* about.php: прозрачный header, но выпадающее меню — на светлом фоне */
  .header.open .nav a { color: var(--navy); }
  .header.open .nav a:hover,
  .header.open .nav a.active { color: var(--orange); }
}

@media (max-width: 768px) {
  .header-inner { padding: 12px 16px; }
  .cta-grid { grid-template-columns: 1fr; }
  .btn-cta span { display: none; }
  .btn-cta { padding: 12px;font-size: 12px; }
}

/* === REVEAL-АНИМАЦИЯ (подключается через ui.js) === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
/* Для блоков без overflow, чтобы фон проявлялся мягко */
.section.reveal, .process-dark.reveal, .stats-bar.reveal, .why-section.reveal,
.three-cols.reveal, .filters-wrap.reveal, .jobs-grid.reveal, .benefits.reveal,
.footer-cta.reveal, .cta-footer.reveal {
  /* ничего дополнительного, transition на opacity и transform достаточно */
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  body { animation: none; }
  .nav a::after, .btn-cta, .logo-img { transition: none; }
}

/* ============================================================
   УНИВЕРСАЛЬНЫЙ PAGE-HERO (для about/values/team/stories/contacts)
   ============================================================ */
.page-hero {
  position: relative;
  background:
    linear-gradient(122deg, rgba(35, 54, 77, 0.85) 0%, rgba(16, 27, 47, 0.78) 100%),
    url(../img/DSC07738.jpg) center / cover;
  color: var(--white);
  padding: 110px 0 76px;
  overflow: hidden;
  transition: padding var(--t-base);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(241, 136, 23, 0.2), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(35, 54, 77, 0.35), transparent 50%),
    linear-gradient(122deg, rgba(35, 54, 77, 0.62) 0%, rgba(16, 27, 47, 0.55) 100%);
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 20px;
  max-width: 800px;
}
.page-hero h1 span { color: var(--orange); }
.page-hero p {
  font-size: 17px;
  line-height: 1.55;
  max-width: 640px;
  opacity: 0.92;
}
.breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}
.breadcrumb a { color: rgba(255,255,255,0.75); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--orange); }

/* === УНИВЕРСАЛЬНЫЙ SECTION === */
.section { background: var(--white); padding: 72px 0; }
.section.alt { background: var(--bg); }
.section-title {
  text-align: center;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.section-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  max-width: 640px;
  margin: 0 auto 44px;
  line-height: 1.55;
}




/* === NUMBER STATS — крупные оранжевые числа (ТЗ) === */
.num {
  position: relative;
  padding: 36px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  text-align: center;
  transition: transform var(--t-spring), box-shadow var(--t-base), border-color var(--t-base);
  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: 36px;
  margin-bottom: 8px;
  line-height: 1;
}
.num-value {
  /* Очень крупные оранжевые числа (по ТЗ) */
  font-size: clamp(32px, 5vw, 45px);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum" 1;
}
.num-label {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.35;
  font-weight: 500;
}

.info-block .label a { color: var(--navy); font-weight: 600; word-break: break-word; }
.social-num {
  position: relative;
  height: 120px;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
  background-size: cover;
  background-position: center;
}
/* === INFO-BLOCKS GRID (О компании) — стильные карточки на Grid === */
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.info-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--t-spring), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  overflow: hidden;
}
.info-block::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);
}
.info-block:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.info-block:hover::before { transform: scaleX(1); }
.info-block .num {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.info-block .label {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.45;
}

/* === TEXT-BLOCK (О компании) === */
.text-block {
  max-width: 820px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}
.text-block h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 28px 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.text-block p { margin-bottom: 16px; }
.text-block ul {
  margin: 16px 0;
  padding-left: 24px;
}
.text-block ul li {
  margin-bottom: 8px;
  position: relative;
}
.text-block ul li::marker { color: var(--orange); font-weight: 800; }

/* === VALUE CARDS (Наши ценности) — стильные карточки === */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  display: flex; gap: 22px;
  transition: transform var(--t-spring), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  overflow: hidden;
}
.value-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);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.value-card:hover::before { transform: scaleY(1); }
.value-icon {
  width: 56px; height: 56px;
  flex-shrink: 0;
  background: var(--orange-light);
  color: var(--orange);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--t-spring);
}
.value-card:hover .value-icon { transform: scale(1.1) rotate(-6deg); background: var(--orange); color: var(--white); }
.value-icon svg { width: 28px; height: 28px; transition: color var(--t-fast); }
.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.value-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}

/* === TEAM GRID (Команда) === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform var(--t-spring), box-shadow var(--t-base);
  box-shadow: var(--shadow);
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.team-photo {
  width: 100%; height: 240px;
  object-fit: cover;
  background: var(--bg);
  transition: transform 0.5s ease;
}
.team-card:hover .team-photo { transform: scale(1.06); }
.team-info { padding: 22px; }
.team-info h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.team-info .role {
  font-size: 14px;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.team-info p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* === DEPARTMENTS (Команда) === */
.departments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.dept {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px 20px;
  display: flex; align-items: center; gap: 16px;
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
  box-shadow: var(--shadow);
}
.dept:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}
.dept-icon {
  width: 48px; height: 48px;
  background: var(--orange-light);
  color: var(--orange);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-fast), color var(--t-fast);
}
.dept:hover .dept-icon { background: var(--orange); color: var(--white); }
.dept-icon svg { width: 24px; height: 24px; }
.dept h4 { font-size: 15px; font-weight: 700; color: var(--navy); }
.dept p { font-size: 14px; color: var(--muted); margin-top: 2px; }

/* === STORIES GRID (Истории успеха) === */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.story-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t-spring), box-shadow var(--t-base);
  box-shadow: var(--shadow);
}
.story-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.story-photo {
  width: 100%; height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.story-card:hover .story-photo { transform: scale(1.05); }
.story-body { padding: 28px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.story-quote-mark {
  font-size: 48px;
  line-height: 0.8;
  color: var(--orange);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  margin-bottom: 4px;
}
.story-quote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 20px;
  flex: 1;
}
.story-author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}
.story-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, #ffb454 100%);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}
.story-meta strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.story-meta span {
  font-size: 12px;
  color: var(--muted);
}
.story-path {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* === STORY-TIMELINE (карьерный рост) === */
.story-timeline {
  display: flex; justify-content: space-between;
  margin: 48px 0 8px;
  position: relative;
  gap: 12px;
}
.story-timeline::before {
  content: "";
  position: absolute;
  top: 7px; left: 0; right: 0;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
}
.tl-step {
  position: relative; z-index: 2;
  text-align: center;
  flex: 1;
}
.tl-dot {
  width: 16px; height: 16px;
  background: var(--white);
  border: 4px solid var(--orange);
  border-radius: 50%;
  margin: 0 auto 14px;
  box-shadow: 0 0 0 6px var(--orange-soft);
}
.tl-year {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.tl-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.35;
  max-width: 160px;
  margin: 0 auto;
}

/* === CONTACTS PAGE === */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  margin-top: 32px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  transition: transform var(--t-base), box-shadow var(--t-base);
  box-shadow: var(--shadow);
}
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.contact-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.contact-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}
.contact-row:last-child { border-bottom: none; }
.contact-row .ci {
  width: 42px; height: 42px;
  background: var(--orange-light);
  color: var(--orange);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-fast), color var(--t-fast);
}
.contact-row:hover .ci { background: var(--orange); color: var(--white); }
.contact-row .ci svg { width: 20px; height: 20px; }
.contact-row .ci img { width: 20px; height: 20px; object-fit: contain; }
.contact-row .ct strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.contact-row .ct span,
.contact-row .ct a {
  display: block;
  font-size: 15px;
  color: var(--text);
  line-height: 1.4;
  transition: color var(--t-fast);
  font-weight: 500;
}
.contact-row .ct a:hover { color: var(--orange); }

/* === FORM CARD (Контакты) === */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.form-card .form-sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 22px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-field input,
.form-field textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 14px;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-light);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted-2); }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-submit {
  background: var(--orange);
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 14px;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
  margin-top: 8px;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-base);
  box-shadow: 0 8px 22px rgba(241, 136, 23, 0.32);
}
.form-submit:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(241, 136, 23, 0.42);
}
.form-submit:active { transform: translateY(0) scale(0.99); }

/* === MAP PLACEHOLDER === */
.map-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 24px;
  position: relative;
  height: 460px;
}
.map-card iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  background: var(--white);
  color: var(--navy);
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 28px rgba(10, 25, 47, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 32px);
}
.map-label svg { color: var(--orange); flex-shrink: 0; }
.landmark-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.landmark { margin: 0; }
.landmark img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(10, 25, 47, 0.12);
}
.landmark figcaption {
  margin-top: 10px;
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
}
@media (max-width: 768px) {
  .map-card { height: 340px; }
  .landmark-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .landmark img { height: 180px; }
}
@media (max-width: 480px) {
  .landmark-grid { grid-template-columns: 1fr; }
}

/* === MODAL (общий — подключается на всех страницах) === */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(35, 54, 77, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
  /*animation: modalFadeIn 0.2s ease;*/
}
.modal-backdrop.open { display: flex; }
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 36px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-xl);
  /*animation: modalSlide 0.3s var(--t-spring);*/
  border: 1px solid var(--border-soft);
}
@keyframes modalSlide {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.modal-close:hover { background: var(--orange-light); color: var(--orange); transform: rotate(90deg); }
.modal h2 { font-size: 24px; color: var(--navy); margin-bottom: 8px; font-weight: 700; }
.modal-desc { color: var(--muted); font-size: 14px; margin-bottom: 20px; line-height: 1.5; }
.modal input, .modal textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 14px;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.modal input:focus, .modal textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-light);
}
.modal input::placeholder, .modal textarea::placeholder { color: var(--muted-2); }
.modal textarea { resize: vertical; min-height: 90px; }
.modal-file {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 12px;
  cursor: pointer;
}
.modal-file input[type="file"] { display: none; }
.modal-file-btn {
  padding: 10px 14px;
  border: 1.5px dashed var(--border);
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  white-space: normal;
  word-break: break-word;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.modal-file-btn:hover { border-color: var(--orange); color: var(--orange); }
.modal-file-name {
  font-size: 13px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.modal-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}
.modal-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 1px 0 0;
  padding: 0;
  cursor: pointer;
  accent-color: var(--orange);
}
.modal-consent a {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-color: rgba(241, 136, 23, 0.4);
  text-underline-offset: 3px;
}
.modal-submit {
  background: var(--orange);
  color: var(--white);
  padding: 14px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 14px;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
  margin-top: 8px;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-base);
  box-shadow: 0 6px 18px rgba(241, 136, 23, 0.3);
}
.modal-submit:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(241, 136, 23, 0.42);
}
.modal-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* === Тост-уведомления (правый нижний угол) === */
#toastBox {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(360px, calc(100vw - 32px));
}
.toast-pop {
  background: var(--navy);
  color: var(--white);
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 10px 30px rgba(10, 25, 47, 0.28);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--t-base), transform var(--t-base);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.toast-pop.show { opacity: 1; transform: translateY(0); }
.toast-pop.ok { background: #2e9e5b; }
.toast-pop.err { background: #d64545; }
.toast-pop ::selection { background: rgba(255,255,255,0.25); }
@media (max-width: 768px) {
  #toastBox { right: 16px; bottom: 16px; left: 16px; max-width: none; }
}

/* === RESPONSIVE ДЛЯ КОНТЕНТНЫХ СТРАНИЦ === */
@media (max-width: 1024px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stories-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .departments { grid-template-columns: repeat(2, 1fr); }
  /* Компактнее: меньше вертикальных отступов секций, hero и карточек */
  .section { padding: 52px 0; }
  .page-hero { padding: 92px 0 60px; }
  .value-card { padding: 24px 20px; gap: 18px; }
  .num { padding: 26px 18px; }
  .team-info { padding: 16px; }
  .story-body { padding: 20px; }
  .contact-card { padding: 24px 20px; }
  .form-card { padding: 28px 24px; }
}
@media (max-width: 640px) {
  .page-hero { padding: 72px 0 44px; }
  .page-hero h1 { font-size: 26px; margin-bottom: 14px; }
  .page-hero p { font-size: 15px; }
  .breadcrumb { font-size: 10px; gap: 5px; margin-bottom: 12px; }
  .section-title { font-size: 24px; margin-bottom: 10px; }
  .section-subtitle { margin-bottom: 28px; }
  .info-grid { grid-template-columns: 1fr; }
  /* «Ценности в цифрах» — вертикальный список на мобильном */
  .info-grid--list { display: flex; flex-direction: column; gap: 10px; }
  .info-grid--list .info-block {
    display: flex; align-items: center; gap: 14px;
    text-align: left; padding: 14px 16px; border-radius: var(--r-md);
  }
  .info-grid--list .info-block .num {
    margin: 0; font-size: 22px; min-width: 72px; flex-shrink: 0;
    color: var(--orange); font-weight: 800; letter-spacing: -0.02em;
  }
  .info-grid--list .info-block .label { font-size: 14px; line-height: 1.4; }
  .values-grid { grid-template-columns: 1fr; }
  .value-card { flex-direction: row; padding: 15px 16px; gap: 14px; }
  .value-icon { width: 48px; height: 48px; }
  .value-card h3 { font-size: 16px; }
  .value-card p { font-size: 14px; }
  .team-grid { grid-template-columns: 1fr; }
  /*.team-photo { height: 200px; }*/
  .team-info h4 { font-size: 16px; }
  .departments { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .story-timeline { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 8px; }
  .story-timeline::before { display: none; }
  /* Мобильная версия: каждый шаг — карточка с номером слева */
  .tl-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
    flex: 0 0 auto;
    padding: 16px 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    position: relative;
    transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
    box-shadow: var(--shadow);
  }
  .tl-step::before {
    content: "";
    position: absolute;
    left: 0; top: 14px; bottom: 14px;
    width: 4px;
    background: var(--orange);
    border-radius: 0 4px 4px 0;
  }
  .tl-step:hover {
    border-color: rgba(241, 136, 23, 0.3);
    transform: translateX(2px);
    box-shadow: var(--shadow-md);
  }
  .tl-num {
    width: 44px; height: 44px;
    flex-shrink: 0;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(241, 136, 23, 0.25);
    font-feature-settings: "tnum" 1;
  }
  .tl-content {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column;
    gap: 4px;
  }
  .tl-year {
    font-size: 13px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0;
    font-weight: 700;
  }
  .tl-text {
    font-size: 15px;
    color: var(--navy);
    line-height: 1.45;
    margin: 0;
    max-width: 100%;
    font-weight: 500;
  }
  .tl-dot { display: none; }
  .section { padding: 36px 0; }
  /* Второстепенное на малых экранах */
  .story-quote { font-size: 14px; margin-bottom: 14px; }
  .story-quote-mark { font-size: 34px; }
  .story-body { padding: 16px; }
  .contact-card h3 { font-size: 16px; margin-bottom: 12px; }
  .form-card h3 { font-size: 18px; }
  .map-card { height: 280px; }
}
@media (max-width: 480px) {
  .page-hero h1 { font-size: 23px; }
  .page-hero p { font-size: 14px; }
}

/* === STORY-TIMELINE: десктоп остаётся горизонтальным как был === */
@media (min-width: 641px) {
  .story-timeline { align-items: flex-start; }
  .tl-num { display: none; }
  .tl-dot { display: block; }
  .tl-content { display: contents; }
}

/* === ROUTE LIST (Контакты — «Как добраться») ===
   Мобильный список с иконкой слева. На ПК вместо него показывается
   info-grid.routes-desktop (карточки как были). */
.route-list { display: none; }
.route-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
  position: relative;
  overflow: hidden;
}
.route-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform var(--t-base);
}
.route-item:hover {
  border-color: rgba(241, 136, 23, 0.3);
  transform: translateX(2px);
  box-shadow: var(--shadow-md);
}
.route-item:hover::before { transform: scaleY(1); }
.route-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  background: var(--orange-light);
  color: var(--orange);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  font-weight: 800;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.route-icon svg { width: 24px; height: 24px; }
.route-item:hover .route-icon {
  background: var(--orange);
  color: var(--white);
  transform: scale(1.05);
}
.route-content { flex: 1; min-width: 0; }
.route-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.route-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.route-text strong { color: var(--navy); font-weight: 700; }

/* ПК: карточки маршрутов как были; мобильная: список с иконками */
@media (max-width: 640px) {
  .routes-desktop { display: none; }
  .route-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0 0;
    max-width: 100%;
  }
}

/* Иконки маршрутов по видам транспорта */
.route-icon--car    { background: #e6f3ff; color: #1976d2; }
.route-icon--bus    { background: #fff3e0; color: #f57c00; }
.route-icon--metro  { background: #f3e5f5; color: #7b1fa2; }
.route-icon--tram   { background: #e8f5e9; color: #388e3c; }
.route-item:hover .route-icon--car,
.route-item:hover .route-icon--bus,
.route-item:hover .route-icon--metro,
.route-item:hover .route-icon--tram {
  background: var(--orange);
  color: var(--white);
}

/* Компактнее на совсем узких экранах */
@media (max-width: 480px) {
  .route-item { padding: 14px; gap: 12px; }
  .route-icon { width: 42px; height: 42px; font-size: 20px; }
  .route-icon svg { width: 22px; height: 22px; }
  .route-title { font-size: 14px; }
  .route-text { font-size: 13px; }
  .tl-step { padding: 14px; gap: 12px; }
  .tl-num { width: 40px; height: 40px; font-size: 13px; }
  .tl-text { font-size: 14px; }
}

/* Отключаем hover-эффекты на touch-устройствах */
@media (hover: none) {
  .tl-step:hover,
  .route-item:hover {
    transform: none;
  }
}

/* (Контакты) «Мы в соцсетях» — карточка целиком кликабельная ссылка */
.landmark-grid.socials a.info-block { text-decoration: none; color: inherit; }
.social-handle { color: var(--navy); font-weight: 600; word-break: break-word; }

/* === (Контакты) «Мы в соцсетях» на мобильном: 3 в ряд, иконки 40×40, текст по наведению === */
@media (max-width: 640px) {
  .socials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
  }
  .socials .info-block {
    padding: 14px 8px;
    border-radius: var(--r-md);
  }
  /* Фирменный цвет рамки каждого приложения */
  .socials .info-block { border: 2px solid var(--border); }
  .socials .info-block.social-tg    { border-color: #229ED9; }
  .socials .info-block.social-wa    { border-color: #25D366; }
  .socials .info-block.social-vk    { border-color: #0077FF; }
  .socials .info-block.social-habr  { border-color: #FF4B00; }
  .socials .info-block.social-yt    { border-color: #FF0000; }
  .socials .info-block.social-rt    { border-color: #F9122A; }
  .socials .info-block.social-dr    { border-color: var(--orange); }
  .socials .info-block.social-other { border-color: var(--border); }
  .socials .info-block::before { display: none; }
  .socials .num.social-num {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
    line-height: 0;
  }
  .socials .label {
    display: none;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.35;
    word-break: break-word;
  }
  .socials .info-block:hover .label,
  .socials .info-block:focus-within .label,
  .socials .info-block:active .label {
    display: block;
  }
}
