/* ==========================================================================
   СменаGo / JobForge — дизайн-система на CSS-токенах
   Мобильная сетка от 360px, bottom-sheet квиз, карточки офферов.
   ========================================================================== */

:root {
  --font-main: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sub: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Токены цвета */
  --bg-page: #F8FAFC;
  --surface: #FFFFFF;
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --primary-light: #EFF6FF;
  --accent-green: #047857;
  --accent-green-bg: #ECFDF5;
  --accent-orange: #C2410C;
  --accent-orange-bg: #FFF7ED;
  --danger: #DC2626;

  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-sub: #94A3B8;
  --border: #E2E8F0;
  --border-focus: #3B82F6;

  /* Сетка и отступы */
  --container-pad: 16px;

  /* Тени и скругления */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 16px 32px -4px rgba(15, 23, 42, 0.10), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --focus-ring: 0 0 0 3px rgba(37, 99, 235, 0.28);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

a {
  color: var(--primary);
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.5);
  outline-offset: 2px;
}

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

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* Шапка сайта */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  min-width: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-sign {
  display: block;
  width: 100%;
  height: 100%;
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.45);
}

.brand-title {
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.brand:hover .brand-title {
  color: var(--primary);
  text-shadow: 0 0 14px rgba(37, 99, 235, 0.22);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
  display: block;
  line-height: 1.1;
}

.brand-title strong {
  color: var(--primary);
}

.brand-tagline {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.city-picker {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
}

.city-picker-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 8px 11px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.city-picker-btn:hover {
  background: #FCFDFF;
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07);
}

.city-picker-btn[aria-expanded="true"] {
  border-color: var(--primary);
  box-shadow: var(--focus-ring);
}

.city-picker-pin {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.city-picker-label {
  max-width: 128px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.city-picker-chevron {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.city-picker.open .city-picker-chevron {
  transform: rotate(180deg);
}

.city-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: 360px;
  max-width: calc(100vw - 32px);
  max-height: min(560px, calc(100vh - 92px));
  padding: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(15, 23, 42, 0.38);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.city-picker.open .city-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.city-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-bottom: 10px;
  padding: 0 10px;
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.city-search-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.city-search-icon {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: var(--text-muted);
}

.city-search-wrap input {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-main);
  font-size: 12px;
  color: var(--text-main);
}

.city-search-wrap input::placeholder {
  color: var(--text-muted);
}

.city-search-clear {
  flex: 0 0 auto;
  padding: 2px 4px;
  border: none;
  background: none;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
}

.city-search-clear:hover {
  color: var(--text-main);
}

.city-dropdown-section {
  flex: 0 0 auto;
  margin-bottom: 10px;
}

.city-dropdown-section[hidden],
.city-empty[hidden] {
  display: none !important;
}

.city-section-title {
  display: block;
  padding: 0 4px;
  margin-bottom: 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.city-popular {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.city-chip {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #F8FAFC;
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.city-chip:hover {
  border-color: rgba(37, 99, 235, 0.4);
  background: var(--primary-light);
  color: var(--primary);
}

.city-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.city-all-section {
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin-bottom: 0;
}

.city-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 240px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}

.city-list::-webkit-scrollbar {
  width: 6px;
}

.city-list::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 999px;
}

.city-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 10px;
  border: none;
  border-radius: 9px;
  background: transparent;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.city-option:hover,
.city-option:focus-visible {
  background: var(--primary-light);
  color: var(--primary);
}

.city-option.active {
  background: var(--primary-light);
  color: var(--primary);
}

.city-option-icon {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: var(--text-sub);
}

.city-option.active .city-option-icon {
  color: var(--primary);
}

.city-option-name {
  flex: 1;
  min-width: 0;
}

.city-option-check {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: var(--primary);
  opacity: 0;
}

.city-option.active .city-option-check {
  opacity: 1;
}

.city-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 10px 14px;
  font-family: var(--font-sub);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.city-empty-icon {
  display: block;
  width: 22px;
  height: 22px;
  color: var(--text-sub);
}

.header-quiz-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 9px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.header-quiz-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Hero-секция */
.hero-section {
  position: relative;
  padding: 40px 0 28px;
  text-align: left;
  overflow: visible;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.99fr) minmax(380px, 1.01fr);
  gap: 24px;
  align-items: stretch;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  margin-bottom: 14px;
  background: var(--accent-orange-bg);
  color: var(--accent-orange);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.1px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  font-size: 11px;
  font-weight: 700;
  color: #334155;
}

.trust-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-green-bg);
  color: var(--accent-green);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.hero-content .income-calc {
  max-width: none;
  margin: 0;
}

.hero-mobile-stats {
  display: none;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}

.hero-mobile-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  font-size: 10px;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
}

.hero-mobile-stat strong {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-main);
}

.hero-mobile-stat .status-pulse {
  width: 8px;
  height: 8px;
}

.hero-mobile-stat svg {
  width: 14px;
  height: 14px;
  color: var(--accent-orange);
}

.hero-visual {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: linear-gradient(160deg, #EFF6FF 0%, #ECFDF5 100%);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 28px;
  box-shadow: 0 24px 60px -30px rgba(15, 23, 42, 0.35);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.hero-3d-image {
  position: absolute;
  top: -12px;
  left: -12px;
  display: block;
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  object-fit: cover;
  object-position: center 42%;
  animation: float 5.5s ease-in-out infinite;
  will-change: transform;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1.01); }
  50% { transform: translateY(-10px) scale(1.02); }
}

.hero-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 280px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: 0 18px 40px -18px rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(12px);
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-float--status {
  top: 22px;
  left: 20px;
}

.hero-float--pay {
  right: 20px;
  bottom: 22px;
  animation-delay: -2.5s;
  animation-duration: 7s;
}

.hero-float-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.hero-float-icon--status {
  background: var(--accent-green-bg);
}

.hero-float-icon--pay {
  background: var(--accent-orange-bg);
  color: var(--accent-orange);
}

.hero-float-icon--pay svg {
  width: 17px;
  height: 17px;
}

.hero-float-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.hero-float-copy strong {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
}

.hero-float-copy span {
  font-family: var(--font-sub);
  font-size: 10px;
  line-height: 1.3;
  color: var(--text-muted);
}

.status-pulse {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
}

.status-pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(16, 185, 129, 0.3);
  border-radius: 50%;
  animation: statusPulse 2.4s ease-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes statusPulse {
  0% { transform: scale(0.8); opacity: 0.8; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}

.hero-search {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.hero-search .search-box {
  max-width: none;
  margin: 0 0 12px;
}

.hero-search .quick-tags {
  justify-content: center;
}

.hero-search .category-tabs {
  justify-content: center;
  margin: 12px 0 0;
  padding-bottom: 0;
}

/* Калькулятор дохода в Hero */
.income-calc {
  position: relative;
  max-width: 980px;
  margin: 0 auto 20px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  text-align: left;
  overflow: hidden;
}

.income-calc::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #2563EB 0%, #059669 100%);
}

.calc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.calc-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 2px;
}

.calc-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.25;
  color: var(--text-main);
}

.calc-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 5px 10px;
  border-radius: 20px;
  background: var(--accent-green-bg);
  color: var(--accent-green);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.calc-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.calc-control {
  min-width: 0;
}

.calc-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 2px;
}

.calc-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.calc-value {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.calc-range {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 30px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}

.calc-range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    var(--primary) var(--progress, 50%),
    #E2E8F0 var(--progress, 50%),
    #E2E8F0 100%
  );
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
  transition: transform 0.15s ease;
}

.calc-range:active::-webkit-slider-thumb {
  transform: scale(1.08);
}

.calc-range:focus-visible {
  outline: none;
}

.calc-range:focus-visible::-webkit-slider-thumb {
  box-shadow: var(--focus-ring);
}

.calc-range::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: #E2E8F0;
}

.calc-range::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
}

.calc-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
}

.calc-range:focus-visible::-moz-range-thumb {
  box-shadow: var(--focus-ring);
}

.calc-scale {
  display: flex;
  justify-content: space-between;
  padding: 0 8px;
  margin-top: -2px;
}

.calc-scale span {
  min-width: 14px;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.calc-scale span.active {
  color: var(--primary);
  font-weight: 800;
}

.calc-scale-hours span {
  min-width: 26px;
}

.calc-formats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 6px;
}

.format-chip {
  min-height: 40px;
  padding: 8px 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #F8FAFC;
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.format-chip:hover {
  border-color: rgba(37, 99, 235, 0.4);
  color: var(--primary);
}

.format-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.22);
}

.calc-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #0F172A 0%, #1E293B 100%);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(15, 23, 42, 0.5);
}

.calc-result-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94A3B8;
  margin-bottom: 4px;
}

.calc-shift {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.calc-shift-value {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.calc-shift-label {
  font-size: 12px;
  color: #CBD5E1;
}

.calc-month {
  font-size: 12px;
  color: #CBD5E1;
  margin: 3px 0 14px;
}

.calc-month strong {
  font-size: 14px;
  font-weight: 800;
  color: #6EE7B7;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.calc-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  min-height: 54px;
  padding: 10px 14px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.calc-cta:hover {
  background: var(--primary-hover);
}

.calc-cta:active {
  transform: scale(0.99);
}

.calc-count {
  font-size: 11px;
  font-weight: 600;
  color: #DBEAFE;
}

.calc-count strong {
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.calc-note {
  min-height: 28px;
  margin-top: 8px;
  font-size: 10px;
  line-height: 1.4;
  color: #94A3B8;
}

.hero-title {
  max-width: 640px;
  margin-bottom: 12px;
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -1.3px;
  line-height: 1.08;
  text-wrap: balance;
}

.text-gradient {
  background: linear-gradient(135deg, #2563EB 0%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  max-width: 560px;
  margin: 0 0 16px;
  font-family: var(--font-sub);
  font-size: 14px;
  color: var(--text-muted);
  text-wrap: pretty;
}

/* Поисковая панель */
.search-box {
  max-width: 760px;
  margin: 0 auto 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 6px;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box:focus-within {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-card), var(--focus-ring);
}

.search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  min-width: 0;
}

.search-icon {
  font-size: 16px;
  opacity: 0.6;
  flex: 0 0 auto;
}

.search-input-wrap input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 15px;
  font-family: var(--font-main);
  outline: none;
  color: var(--text-main);
  padding: 10px 0;
  min-width: 0;
}

.search-input-wrap input::placeholder {
  color: var(--text-muted);
}

.search-input-wrap input::-webkit-search-cancel-button {
  display: none;
}

.clear-btn {
  background: none;
  border: none;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  line-height: 1;
}

.clear-btn:hover {
  color: var(--text-main);
  background: #F1F5F9;
}

.search-action-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.1s ease;
}

.search-action-btn:hover {
  background: var(--primary-hover);
}

.search-action-btn:active {
  transform: scale(0.98);
}

/* Чипсы-теги */
.quick-tags-wrap {
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.quick-tags-wrap::-webkit-scrollbar {
  display: none;
}

.quick-tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  min-width: max-content;
  padding: 0 4px;
}

.q-tag {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.q-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.q-tag.active {
  background: var(--text-main);
  border-color: var(--text-main);
  color: #fff;
}

/* Вкладки категорий */
.catalog-section {
  padding: 16px 0 60px;
  scroll-margin-top: 80px;
}

.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  background: var(--primary-light);
  border-color: rgba(37, 99, 235, 0.3);
  color: var(--primary);
}

.tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* Активный фильтр калькулятора */
.calc-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding: 8px 12px;
  background: var(--primary-light);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-md);
}

.calc-filter-bar[hidden] {
  display: none;
}

.calc-filter-chip {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
}

.calc-filter-reset {
  flex: 0 0 auto;
  padding: 5px 10px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 8px;
  background: #fff;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.calc-filter-reset:hover {
  background: var(--primary);
  color: #fff;
}

/* Строка счетчика */
.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.counter-badge {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-md);
}

.sorting-note {
  font-size: 13px;
  color: var(--accent-green);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Сетка карточек */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.jobs-grid--leaving .job-card,
.jobs-grid--leaving .empty-state {
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.14s ease, transform 0.14s ease;
}

.jobs-grid--animate > * {
  animation: jobsFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes jobsFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Карточка вакансии */
.job-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(37, 99, 235, 0.3);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.company-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
}

.company-avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.company-avatar svg {
  display: block;
  width: 30px;
  height: 30px;
}

.company-info {
  min-width: 0;
}

.company-info .company-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-info span {
  font-size: 12px;
  color: var(--text-muted);
}

.card-badge {
  flex: 0 0 auto;
  max-width: 48%;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: -0.2px;
  text-align: center;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.badge-fire {
  background: var(--accent-orange-bg);
  color: var(--accent-orange);
}

.badge-best {
  background: var(--primary-light);
  color: var(--primary);
}

.badge-green {
  background: var(--accent-green-bg);
  color: var(--accent-green);
}

.badge-neutral {
  background: #F1F5F9;
  color: #475569;
}

.job-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 12px;
  min-height: 44px;
}

/* Блок зарплаты */
.salary-block {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 14px;
}

.salary-main {
  font-size: clamp(18px, 1.6vw, 20px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  overflow-wrap: break-word;
}

.salary-sub {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* Теги преимуществ */
.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.tag-chip {
  background: #F1F5F9;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
}

.tag-chip-employment {
  background: var(--primary-light);
  color: var(--primary);
}

/* Контентная часть карточки растягивается, прижимая кнопки к низу */
.card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

/* Пункты условий */
.features-list {
  list-style: none;
  margin-bottom: 12px;
  flex-grow: 1;
}

.features-list li {
  font-size: 13px;
  color: #334155;
  margin-bottom: 6px;
  position: relative;
  padding-left: 18px;
  line-height: 1.35;
}

.features-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--primary);
  font-weight: bold;
}

/* Плашка с метриками */
.card-metrics {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  margin-bottom: 14px;
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.metric-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-muted);
}

.metric-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--primary);
}

.metric-icon svg {
  display: block;
  width: 16px;
  height: 16px;
}

.metric-text {
  min-width: 0;
}

.metric-text strong {
  font-weight: 700;
  color: var(--text-main);
}

.metric-text em {
  font-style: normal;
  color: var(--text-muted);
}

/* Кнопка CTA */
.apply-btn {
  width: 100%;
  min-height: 48px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.apply-btn:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  color: #fff;
}

.apply-btn:active {
  transform: scale(0.98);
}

.apply-btn.applied {
  background: var(--accent-green-bg);
  color: var(--accent-green);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.apply-btn.applied:hover {
  background: #D1FAE5;
  color: var(--accent-green);
  box-shadow: none;
}

/* Пара кнопок внизу карточки */
.card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 8px;
  margin-top: auto;
}

.details-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--text-main);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.details-btn svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.details-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.details-btn:hover svg {
  color: var(--primary);
}

/* Маркировка erid */
.erid-legal {
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
  overflow-wrap: anywhere;
  margin-bottom: 10px;
}

/* Пустое состояние */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 20px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px dashed #CBD5E1;
}

.empty-state-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.empty-state h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.empty-state p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.empty-reset-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.empty-reset-btn:hover {
  background: var(--primary-hover);
}

/* Модальное окно квиза */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--surface);
  width: 100%;
  max-width: 500px;
  max-height: 92vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  transform: scale(0.95) translateY(8px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: #F1F5F9;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  background: #E2E8F0;
  color: var(--text-main);
}

/* Прогресс квиза */
.quiz-progress {
  height: 4px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
  margin: 4px 44px 18px 0;
}

.quiz-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent-green));
  border-radius: 999px;
  transition: width 0.3s ease;
}

.quiz-step-indicator {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quiz-heading {
  font-size: 20px;
  font-weight: 800;
  margin: 6px 0 4px;
  color: var(--text-main);
  line-height: 1.25;
  padding-right: 24px;
}

.quiz-subtext {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.quiz-opt-btn {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: all 0.15s ease;
}

.quiz-opt-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateX(4px);
}

.quiz-opt-btn span:last-child {
  flex: 0 0 auto;
  opacity: 0.6;
}

/* Форма телефона на 3 шаге */
.quiz-lead-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.quiz-lead-form input[type="text"],
.quiz-lead-form input[type="tel"] {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: var(--font-main);
  outline: none;
  background: #fff;
  width: 100%;
}

.quiz-lead-form input[type="text"]:focus,
.quiz-lead-form input[type="tel"]:focus {
  border-color: var(--primary);
  box-shadow: var(--focus-ring);
}

.quiz-lead-form input.invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.quiz-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.45;
  cursor: pointer;
}

.quiz-consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--primary);
  flex: 0 0 auto;
  cursor: pointer;
}

.form-error {
  font-size: 12px;
  font-weight: 600;
  color: var(--danger);
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

.submit-lead-btn {
  background: var(--accent-green);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.submit-lead-btn:hover {
  background: #065F46;
}

.submit-lead-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.safe-note {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

.quiz-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.quiz-footer .safe-note {
  flex: 1 1 220px;
  text-align: left;
}

.quiz-back-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.quiz-back-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Результат квиза */
.quiz-result {
  text-align: center;
  padding: 8px 0 4px;
}

.quiz-result-icon {
  font-size: 52px;
  line-height: 1;
  margin-bottom: 14px;
}

.quiz-result p {
  font-size: 14px;
  color: #334155;
  margin-bottom: 16px;
}

.quiz-result-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}

.quiz-result-summary span {
  background: #F1F5F9;
  color: var(--text-muted);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
}

.quiz-result .search-action-btn {
  width: 100%;
  margin-bottom: 12px;
}

.link-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px;
}

.link-btn:hover {
  color: var(--primary);
}

/* Модальное окно документов */
.info-backdrop {
  z-index: 130;
}

.info-modal-content {
  max-width: 640px;
}

.info-body {
  font-family: var(--font-sub);
  font-size: 13px;
  color: #334155;
  line-height: 1.65;
}

.info-body p {
  margin-bottom: 12px;
}

.info-body h3 {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  margin: 18px 0 6px;
}

.info-body ul {
  margin: 0 0 12px 18px;
}

.info-body li {
  margin-bottom: 4px;
}

.info-body .info-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.info-lead {
  font-size: 14px;
  color: var(--text-main);
}

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 4px;
}

.condition-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.condition-item span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.condition-item strong {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
}

/* Cookie consent */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  z-index: 90;
  width: calc(100% - 32px);
  max-width: 680px;
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(120px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  backdrop-filter: blur(10px);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}

.cookie-text {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.cookie-icon {
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1.3;
}

.cookie-text p {
  font-family: var(--font-sub);
  font-size: 12px;
  line-height: 1.5;
  color: #E2E8F0;
}

.cookie-link {
  padding: 0;
  border: none;
  background: none;
  color: #93C5FD;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.cookie-link:hover {
  color: #BFDBFE;
}

.cookie-actions {
  flex: 0 0 auto;
}

.cookie-accept-btn {
  padding: 9px 18px;
  border: none;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.cookie-accept-btn:hover {
  background: var(--primary-hover);
}

.cookie-accept-btn:active {
  transform: scale(0.98);
}

/* Тост */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 380px;
  background: #0F172A;
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 140;
  transform: translateY(120px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  background: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 13px;
}

.toast-text {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  min-width: 0;
}

.toast-text span {
  font-size: 11px;
  color: #94A3B8;
}

/* Футер */
.site-footer {
  background: #0F172A;
  color: #F8FAFC;
  padding: 48px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 28px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  max-width: 440px;
}

.footer-brand .brand-title {
  color: #fff;
  margin-bottom: 8px;
}

.footer-brand .brand-title strong {
  color: #60A5FA;
}

.footer-brand p {
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.5;
}

.footer-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.f-stat-item {
  display: flex;
  flex-direction: column;
}

.f-stat-item strong {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.f-stat-item span {
  font-size: 11px;
  color: #94A3B8;
}

.disclaimer-text {
  font-size: 11px;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  color: #94A3B8;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-main);
}

.footer-link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #94A3B8;
}

.footer-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-admin-link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.noscript-note {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: #FEF3C7;
  color: #92400E;
  border-top: 1px solid #FCD34D;
  padding: 10px 16px;
  font-size: 13px;
  text-align: center;
}

/* ==========================================================================
   Модальное окно деталей вакансии
   ========================================================================== */

.details-backdrop {
  z-index: 120;
}

.details-modal {
  display: flex;
  flex-direction: column;
  max-width: 680px;
  max-height: 92vh;
  padding: 0;
  overflow: hidden;
}

.details-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  padding: 20px 60px 14px 24px;
  border-bottom: 1px solid var(--border);
}

.details-brand {
  gap: 12px;
}

.details-brand .company-name {
  font-size: 16px;
  white-space: normal;
}

.details-brand .details-category {
  display: inline-flex;
  margin-top: 5px;
  padding: 3px 9px;
  border-radius: 20px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.details-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 18px 24px 20px;
}

.details-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 12px;
}

.details-income {
  padding: 16px 18px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(145deg, #0F172A 0%, #1E293B 100%);
  color: #fff;
}

.details-income-main {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.details-income-sub {
  margin-top: 2px;
  font-size: 12px;
  color: #CBD5E1;
}

.details-rate {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 600;
  color: #6EE7B7;
}

.details-section {
  margin-bottom: 20px;
}

.details-section-title {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
}

.details-text {
  font-family: var(--font-sub);
  font-size: 13px;
  line-height: 1.6;
  color: #334155;
}

.details-location {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 12px;
  background: var(--primary-light);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 10px;
}

.details-location-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--primary);
}

.details-location-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.details-location p {
  font-family: var(--font-sub);
  font-size: 12px;
  line-height: 1.45;
  color: #334155;
}

.details-docs {
  display: grid;
  gap: 8px;
  list-style: none;
}

.details-docs li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  line-height: 1.4;
  color: #334155;
}

.doc-check {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--accent-green);
}

.doc-check svg {
  display: block;
  width: 18px;
  height: 18px;
}

.details-payout-box {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.details-payout-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.details-payout-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent-green-bg);
  color: var(--accent-green);
}

.details-payout-icon--bonus {
  background: var(--accent-orange-bg);
  color: var(--accent-orange);
}

.details-payout-icon svg {
  width: 17px;
  height: 17px;
}

.details-payout-row > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.details-payout-row span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.details-payout-row strong {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-main);
}

.details-legal {
  padding: 12px 6px 2px;
  border-top: 1px solid var(--border);
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.details-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-shrink: 0;
  padding: 14px 24px calc(14px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 20px -16px rgba(15, 23, 42, 0.25);
}

.details-footer-note {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.details-footer-note strong {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-main);
}

.details-footer-note span {
  font-size: 10px;
  color: var(--text-muted);
}

.details-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.1s ease;
}

.details-apply-btn:hover {
  background: var(--primary-hover);
  color: #fff;
}

.details-apply-btn:active {
  transform: scale(0.99);
}

/* ==========================================================================
   Шаги и FAQ
   ========================================================================== */

.steps-section {
  padding: 52px 0 12px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.045) 0%, rgba(248, 250, 252, 0) 70%);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-head-copy {
  max-width: 560px;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.section-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.2;
  color: var(--text-main);
}

.section-subtitle {
  max-width: 430px;
  font-family: var(--font-sub);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

.step-card {
  position: relative;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.step-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-green));
}

.step-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  color: #E2E8F0;
  user-select: none;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
}

.step-icon svg {
  width: 22px;
  height: 22px;
}

.step-card h3 {
  padding-right: 40px;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-main);
}

.step-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.faq-section {
  padding: 40px 0 64px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 88px;
}

.faq-intro .section-subtitle {
  max-width: 340px;
  margin-top: 8px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.open {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-card);
}

.faq-question-heading {
  margin: 0;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 17px 18px;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  color: var(--text-main);
  cursor: pointer;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #F1F5F9;
  transition: background 0.2s ease;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-muted);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, background 0.2s ease;
}

.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.open .faq-toggle {
  background: var(--primary);
}

.faq-item.open .faq-toggle::before,
.faq-item.open .faq-toggle::after {
  background: #fff;
}

.faq-item.open .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: max-height 0.32s ease, opacity 0.22s ease, visibility 0.32s;
}

.faq-item.open .faq-answer {
  max-height: 420px;
  opacity: 1;
  visibility: visible;
}

.faq-answer-inner {
  padding: 0 18px 18px;
}

.faq-answer-inner p {
  font-family: var(--font-sub);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ==========================================================================
   Адаптивность
   ========================================================================== */

@media (min-width: 901px) {
  .hero-search .category-tabs {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

@media (max-width: 1023px) {
  .hero-section {
    padding: 28px 0 20px;
    overflow: hidden;
  }

  .hero-layout {
    display: block;
  }

  .hero-content {
    position: relative;
    z-index: 2;
  }

  .hero-visual {
    position: absolute;
    top: -12px;
    right: -80px;
    z-index: 0;
    width: 460px;
    height: 330px;
    min-height: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 0.16;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.7) 58%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.7) 58%, transparent 100%);
  }

  .hero-float {
    display: none;
  }

  .hero-mobile-stats {
    display: flex;
  }

  .hero-title {
    max-width: 100%;
  }

  .hero-search {
    margin-top: 20px;
  }
}

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

  .salary-main {
    font-size: 19px;
  }
}

@media (max-width: 900px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }

  .calc-result {
    padding: 18px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-intro {
    position: static;
  }

  .faq-intro .section-subtitle {
    max-width: 520px;
  }

  .hero-search .quick-tags,
  .hero-search .category-tabs {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .brand-tagline {
    display: none;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-title {
    font-size: 18px;
  }

  .city-picker-btn {
    gap: 6px;
    padding: 7px 9px;
    font-size: 12px;
    border-radius: 11px;
  }

  .city-picker-pin {
    width: 14px;
    height: 14px;
  }

  .city-picker-chevron {
    width: 12px;
    height: 12px;
  }

  .city-picker-label {
    max-width: 96px;
  }

  .city-dropdown-menu {
    width: min(340px, calc(100vw - 32px));
    max-height: min(520px, calc(100vh - 84px));
  }

  .hero-section {
    padding: 20px 0 18px;
  }

  .hero-visual {
    top: -24px;
    right: -100px;
    width: 380px;
    height: 270px;
    opacity: 0.16;
  }

  .hero-badge {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .hero-title {
    margin-bottom: 10px;
    font-size: clamp(24px, 6.6vw, 30px);
    letter-spacing: -1px;
  }

  .hero-subtitle {
    margin-bottom: 14px;
    font-size: 13px;
  }

  .hero-trust {
    gap: 6px;
    margin-bottom: 14px;
  }

  .trust-chip {
    padding: 4px 8px;
    font-size: 10px;
  }

  .trust-check {
    width: 15px;
    height: 15px;
    font-size: 9px;
  }

  .hero-search {
    margin-top: 18px;
    padding-top: 16px;
  }

  .hero-search .search-box {
    margin-bottom: 10px;
  }

  .income-calc {
    padding: 16px;
    border-radius: 20px;
    margin-bottom: 16px;
  }

  .calc-head {
    margin-bottom: 14px;
  }

  .calc-title {
    font-size: 16px;
  }

  .calc-live {
    display: none;
  }

  .calc-formats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .format-chip:last-child {
    grid-column: 1 / -1;
  }

  .calc-shift-value {
    font-size: 28px;
  }

  .calc-result {
    padding: 16px;
  }

  .calc-filter-bar {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .card-actions {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

  .apply-btn {
    font-size: 13px;
    padding: 10px 12px;
  }

  .details-btn {
    font-size: 11.5px;
    padding: 8px;
  }

  .card-metrics {
    font-size: 11.5px;
  }

  .search-box {
    flex-direction: column;
    gap: 6px;
  }

  .search-input-wrap {
    padding: 0 8px;
  }

  .search-action-btn {
    width: 100%;
  }

  .quick-tags-wrap,
  .category-tabs,
  .hero-search .category-tabs {
    margin-left: calc(-1 * var(--container-pad));
    margin-right: calc(-1 * var(--container-pad));
    padding: 8px var(--container-pad) 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-padding-inline: var(--container-pad);
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, #000 0%, #000 92%, transparent 100%);
  }

  .quick-tags-wrap::-webkit-scrollbar,
  .category-tabs::-webkit-scrollbar {
    display: none;
  }

  .quick-tags {
    justify-content: flex-start;
  }

  .quick-tags::after,
  .category-tabs::after {
    content: "";
    flex: 0 0 16px;
  }

  .results-header {
    margin-bottom: 16px;
  }

  .sorting-note {
    font-size: 12px;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .job-card {
    padding: 18px;
  }

  .header-quiz-btn {
    display: none;
  }

  .job-title {
    min-height: 0;
    font-size: 16px;
  }

  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .modal-content {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    max-height: 92dvh;
    padding: 24px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    transform: translateY(24px);
  }

  .modal-backdrop.open .modal-content {
    transform: translateY(0);
  }

  .details-modal {
    max-height: 92dvh;
    padding: 0;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }

  .details-modal::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    z-index: 3;
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: #CBD5E1;
    transform: translateX(-50%);
    pointer-events: none;
  }

  .details-head {
    padding: 22px 58px 12px 18px;
  }

  .details-scroll {
    padding: 14px 18px 18px;
  }

  .details-title {
    font-size: 19px;
  }

  .details-income {
    padding: 14px 16px;
  }

  .details-income-main {
    font-size: 23px;
  }

  .details-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .details-footer-note {
    display: none;
  }

  .details-apply-btn {
    width: 100%;
    white-space: normal;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 18px;
  }

  .section-title {
    font-size: 21px;
  }

  .steps-section {
    padding: 36px 0 8px;
  }

  .step-card {
    padding: 18px;
  }

  .faq-section {
    padding: 28px 0 48px;
  }

  .faq-question {
    padding: 15px 16px;
    font-size: 13px;
  }

  .faq-answer-inner {
    padding: 0 16px 16px;
  }

  .quiz-progress {
    margin-right: 44px;
  }

  .quiz-heading {
    font-size: 18px;
  }

  .quiz-footer {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 10px;
  }

  .quiz-footer .safe-note {
    text-align: center;
  }

  .cookie-banner {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 32px);
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 16px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-accept-btn {
    width: 100%;
  }

  .toast-notification {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }

  .site-footer {
    padding: 36px 0 28px;
  }

  .footer-stats {
    gap: 20px;
    justify-content: space-between;
    width: 100%;
  }

  .f-stat-item strong {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .conditions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .container {
    --container-pad: 12px;
    padding: 0 var(--container-pad);
  }

  .city-picker-label {
    max-width: 90px;
  }

  .card-badge {
    max-width: 42%;
    font-size: 10px;
    padding: 3px 8px;
  }

  .company-info .company-name {
    font-size: 14px;
  }

  .calc-shift-value {
    font-size: 26px;
  }

  .calc-scale span {
    font-size: 9px;
  }

  .footer-links {
    gap: 12px;
  }
}

/* Уважение к настройкам пользователя */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
