/* =======================================
   Общие стили страницы
   ======================================= */
   
body {
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  font-family: 'Open Sans', sans-serif;
}
.header {
  width: 100%;
  background-color: #0c73fe; 
  display: flex;
  justify-content: flex-start;
  position: relative;
  align-items: center;
  min-height:100vh;
  min-height:100dvh;
  width:100%;
  background:url("/images/bg.svg") center/cover no-repeat;
}

@media (max-width: 768px) {
  .header {
    min-height: 100vh !important;
    height: auto !important;
    background: #0c73fe !important;
    background-image: none !important;
  }

  .hero-actions {
    position: sticky;
    top: 0;
    background: #0c73fe;
    z-index: 10;
    padding: 0;
  }
}


.logo {
  position: absolute;
  top: 10px;
  left: 30px;
  width: 350px;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.footer{
  position: relative;
  background-color: #2b2b2b;
  font-size: small;
  min-height: 220px;
  overflow: hidden;
  padding: 10px 10px;
  color: #fff;
  text-align: center;
}

.footer-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.footer-bg svg{
  width: 100%;
  height: 100%;
  display: block;
}

.footer-content{
  position: relative;
  z-index: 2;
  margin-top: 140px;
}


.footer p {
  margin: 1px 0 8px;
}

.footer a {
  color: #f5f5f5;
  text-decoration: none;
}

/* inline list в подвале */
.inline-list {
  margin: 8px 0;
}

.inline-list .item {
  display: inline;
  margin-right: 8px;
}

.inline-list .item + .item::before {
  content: " ";
}

.visibleText {
  display: inline;
}

.hidden-text {
  display: none;
}

.toggle {
  cursor: pointer;
  color: #f5f5f5;
  text-decoration: none;
  user-select: none;
}

.toggle:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,123,255,0.15);
}

#mfo-grid-srochno {
  max-width: 1200px;
  padding: 0px 20px;
}

/* =======================================
   Виджет МФО (карточки)
   ======================================= */
.mfo-grid-widget {
  max-width: 1200px;
  margin: 10px auto;
  padding: 10px 20px;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
}

.mfo-grid-widget h2 {
  color: #222;
  margin-bottom: 10px;
  font-weight: 700;
}

.mfo-desc {
  color: #555;
  margin-bottom: 30px;
  font-size: 16px;
}

.mfo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.mfo-card {
  display: flex;
  flex-direction: column; /* вертикальное расположение */
  justify-content: flex-start; /* сверху вниз */
  align-items: center; /* центрируем все по горизонтали */
  text-align: center; /* подписи тоже по центру */
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-height: 170px;
}

.mfo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.mfo-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,120,255,0.05), rgba(0,120,255,0.1));
  transition: width 0.4s ease;
  z-index: 0;
}

.mfo-card:hover::after {
  width: 100%;
}

.mfo-logo {
  display: block;
  margin: 0 auto 12px auto; /* верхний и нижний отступ, центр по горизонтали */
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 20px;
  padding: 5px;
  transition: transform 0.3s;
}

.mfo-card:hover .mfo-logo {
  transform: scale(1.05);
}

.mfo-card h3 {
  margin: 8px 0;
  color: #111;
  font-size: 18px;
  font-weight: 600;
  z-index: 2;
  position: relative;
}

.mfo-card p {
  color: #555;
  font-size: 14px;
  margin-bottom: 10px;
  z-index: 2;
  position: relative;
}

.mfo-btn {
  display: inline-block;
  background: linear-gradient(135deg, #0078ff, #7bdcb5);
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.25s ease;
  z-index: 2;
  position: relative;
  box-shadow: 0 3px 10px rgba(0, 120, 255, 0.25);
  cursor: pointer;
}

.mfo-btn:hover {
  background: linear-gradient(135deg, #0060d9, #0048a8);
  box-shadow: 0 6px 16px rgba(0, 90, 220, 0.35);
  transform: translateY(-2px);
}

/* адаптивность карточек 
@media (max-width: 700px) {
  .mfo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .mfo-grid {
    grid-template-columns: 1fr;
  }
  .mfo-logo {
    width: 42px;
    height: 42px;
  }
} */

@media (max-width: 768px) {
  .mfo-logo {
    width: 70px;
    height: 70px;
  }
}
.status-row {
  width: 100%;
  box-sizing: border-box;
  padding: 6px 16px;
  display: block;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #222;
  margin: 8px 0;
}

.status-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  text-align: center;
  padding: 6px 0;
}

.counter-block {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -180px; /* сдвигаем вверх */
}

#click-counter {
  font-weight: 600;
  font-size: 18px;
  color: #fffffff8;
  display: inline-block;
  line-height: 1;
}

/* arrival-block */
.arrival-block {
  position: absolute;
  left: 75%;
  top: 58%;
  transform: translate(60%, -360%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Обёртка текста внутри arrival-block */
.arrival-wrapper {
  pointer-events: auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

/* Основной текст "Деньги у вас уже в" */
.arrival-text {
  color: #ffffff;
  font-size: 22px;
  white-space: nowrap;
  font-weight: 700;
}

/* Время прибытия */
.arrival-time {
  font-family: inherit;
  display: inline-block;
  min-width: 68px;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  color: #c62828;
  background: #fff;
  border: 2px solid #c62828;
  border-radius: 8px;
  padding: 6px 10px;
  box-shadow: 0 6px 18px rgba(198,40,40,0.08);
}

/* Текст "через 15 минут" */
.arrival-subtext {
  font-size: 13px;
  color: #4b4efccc;
  white-space: nowrap;
}

/* Адаптив для планшета/мобилки */
@media (max-width: 900px) {
  .status-inner {
    text-align: center;
    padding: 8px 8px;
  }
  .arrival-block {
    position: static;
    transform: none;
    margin-left: 8px;
    display: inline-block;
    vertical-align: middle;
    top: auto;
    left: auto;
  }
  .arrival-wrapper {
    flex-direction: row;
    gap: 8px;
    align-items: center;
    justify-content: center;
  }
  .arrival-time {
    font-size: 18px;
    padding: 5px 8px;
    min-width: 60px;
  }
  .arrival-subtext {
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .arrival-wrapper {
    flex-direction: column;
    gap: 2px;
  }
  .arrival-subtext {
    font-size: 11px;
  }
}


.filter-panel label {
  color: #0b0b0b;
  font-weight: 600;
  font-size: 14px;
}

.range-input {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  flex-direction: row; /* по умолчанию слева направо */
}

/* Ползунок слева */
.range-input input[type="range"] {
  order: 0; /* слева */
}

/* Поле ввода числа справа */
.range-input input[type="text"] {
  order: 1; /* справа */
}

/* ===== СЕРЫЙ ПОЛЕ + РУЧНОЙ ВВОД ===== */
.range-input input[type="text"] {
  width: 180px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #e6e7eb;
  background-color: #f3f4f6; /* серый фон */
  color: #0b0b0b;
  font-weight: 700;
  text-align: center;
  font-size: 16px;
  transition: box-shadow 0.2s ease, transform 0.12s ease;
  -moz-appearance: textfield; /* убираем стрелки в Firefox */
}

.range-input input[type="text"]::-webkit-outer-spin-button,
.range-input input[type="text"]::-webkit-inner-spin-button {
  -webkit-appearance: none; /* убираем стрелки в Chrome/Safari */
  margin: 0;
}

.range-input input[type="text"]:focus {
  outline: none;
  box-shadow: 0 6px 18px rgba(12,115,254,0.15);
}

/* Ползунок горизонтальный */
.range-input input[type="range"] {
  -webkit-appearance: none;
  width: 60%;
  height: 6px;
  background: #e9eefc;
  border-radius: 6px;
  cursor: pointer;
}

/* Ползунок */
.range-input input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0c73fe;
  box-shadow: 0 4px 12px rgba(12,115,254,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease; /* плавное изменение */
}

.range-input input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.3);
  box-shadow: 0 12px 28px rgba(12,115,254,0.35);
}

/* Firefox */
.range-input input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0c73fe;
  box-shadow: 0 4px 12px rgba(12,115,254,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.range-input input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.3);
  box-shadow: 0 12px 28px rgba(12,115,254,0.35);
}

/* Tooltip */
.range-input {
  position: relative;
}

.range-input::after {
  content: "Укажите нужную сумму";
  position: absolute;
  top: 50%;
  left: 82%;
  transform: translate(-50%, -50%);
  background-color: #666;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.range-input.show-tooltip::after {
  opacity: 1;
}
@media (max-width: 768px) {
  .range-input::after {
    left: 50%;
    top: 70%;
    font-size: 10px;
  }
}

/* подписи под ползунком */
.range-labels {
  position: relative;
  width: 60%;
  margin: 6px auto 0;
  height: 18px;
}
.range-labels span {
  font-size: 11px;
  color: #8b8f95;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
}
.range-labels span::before {
  content: '';
  display: block;
  width: 1px;
  height: 6px;
  background: #cfcfd3;
  margin: 0 auto 2px;
}

/* ===== SVG чекбоксы ===== */
.checkboxes {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.svg-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 14px;
  margin: 4px;
}

.svg-checkbox input {
  display: none;
}

.svg-checkbox svg {
  display: block;
  flex-shrink: 0;
}

.svg-checkbox .check {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  transition: stroke-dashoffset 0.3s cubic-bezier(.2,.9,.3,1);
}

.svg-checkbox input:checked + svg .check {
  stroke-dashoffset: 0;
}

.svg-checkbox input:checked + svg .box {
  fill: #0c73fe;
  stroke: #0c73fe;
  transition: fill 0.25s ease, stroke 0.25s ease;
}

.svg-checkbox:hover svg .box {
  stroke: #0c73fe;
}

.svg-checkbox span {
  color: #333;
}

/* ===== Кнопки ===== */
.filter-buttons {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.filter-buttons button {
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
  font-size: 14px;
}

/* Текст рядом с фильтрами — стиль и читаемость */
.filter-buttons + p {
  font-family: 'Open Sans', sans-serif;
  color: #222;
  font-weight: 700;
  font-size: 16px;
  margin: 0px 0 8px;
  text-align: center;
}

#applyFilters {
  background: linear-gradient(180deg,#0c73fe,#0663d6);
  color: #fff;
  box-shadow: 0 8px 20px rgba(12,115,254,0.14);
}
#applyFilters:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(12,115,254,0.18);
}

#resetFilters {
  background: #fbfbfd;
  border: 1px solid #e6e7eb;
  color: #222;
}
#resetFilters:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16,24,40,0.04);
}

/* focus accessibility для кнопок и ползунка */
.filter-buttons button:focus,
.range-input input[type="text"]:focus,
.range-input input[type="range"]:focus {
  outline: none;
  box-shadow: 0 6px 18px rgba(12,115,254,0.12);
}

/* мобильная адаптация */
@media (max-width: 640px) {
  .range-input input[type="range"] { width: 55%; }
  .range-labels { width: 75%; }
  .range-input { gap: 8px; }
  .filter-panel { padding: 14px; height: auto; }
}
/* =======================================
   Секция Отзывов (Reviews) - ФИНАЛЬНЫЙ РАБОЧИЙ КОД V8
   (Max-Width 1700px, КНОПКИ ВЫНЕСЕНЫ ЧЕРЕЗ ОТРИЦАТЕЛЬНЫЙ ОТСТУП)
   ======================================= */
.reviews-section {
  width: 100%;
  max-width: 1700px; /* Общая максимальная ширина */
  margin: 30px auto -100px; 
  padding: 0; 
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
  position: static; /* Убираем relative с внешнего блока */
}

.reviews-section h2 {
  text-align: center;
  font-size: 28px;
  color: #333;
  margin-bottom: 25px;
}

/* --- Контейнер для 4 карточек --- 
   ЭТОТ БЛОК ТЕПЕРЬ ОСНОВА ДЛЯ ПОЗИЦИОНИРОВАНИЯ СТРЕЛОК */
.reviews-wrapper {
  /* !!! КЛЮЧЕВОЕ ИСПРАВЛЕНИЕ 1: БАЗА ДЛЯ СТРЕЛОК !!! */
  position: relative; 
  
  /* Точная ширина 1159px для 4 карточек */
  width: 1159px; 
  margin: 0 auto; /* Центрируем */
  padding: 0; 
  
  /* !!! КЛЮЧЕВОЕ ИСПРАВЛЕНИЕ 2: Разрешаем отображение элементов ВНЕ границ !!! */
  overflow: visible; 
  box-sizing: border-box;
}

.reviews-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 25px; /* Отступ между карточками */
  padding: 20px 0; 
  
  /* Скрываем стандартную полосу прокрутки */
  scrollbar-width: none; 
  -ms-overflow-style: none;
}

.reviews-container::-webkit-scrollbar { 
  display: none;
}

.review-card {
  min-width: 271px; 
  width: 271px;
  
  /* Дизайн */
  background-color: #ffffff;
  border: 1px solid #2b2b2b; 
  border-radius: 12px;
  padding: 20px;
  font-weight: 700;
  font-size: 16px;       /* как trust-item */
  line-height: 1.25;     /* как trust-item */
  color: #111;  
  box-sizing: border-box;
  
  /* Анимация и Тени */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); 
  
  flex-shrink: 0; 
  height: 150px; 
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  transform: translateY(-5px); 
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* ИМЯ + ЗВЕЗДЫ на одной строке */
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.review-name {
  font-weight: bold;
  font-size: 18px;
  color: #0c73fe; 
}

.review-stars {
  white-space: nowrap;
}

.star {
  font-size: 20px;
  margin-right: 2px;
}

.star.filled {
  color: #FFD700; 
}

.star.empty {
  color: #ccc; 
}

.review-text {
  font-size: 15px;
  line-height: 1.4;
}

/* Стили для стрелок */
.review-arrow {
  /* Позиционируем относительно .reviews-wrapper (1159px) */
  position: absolute; 
  top: 75%;
  transform: translateY(-75%);
  z-index: 20; 
  
  /* Дизайн */
  background-color: #0c73fe; 
  border: 2px solid #0c73fe;
  color: #ffffff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(12, 115, 254, 0.3);
  transition: all 0.3s ease;
  animation: pulse 2s infinite; 
}

.review-arrow:hover {
  background-color: #fff;
  color: #0c73fe;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(12, 115, 254, 0.4);
  animation-play-state: paused; 
}
.review-arrow.left {
  left: -80px; /* Выносим на 80px влево от края 1159px блока */
  right: auto;
}

.review-arrow.right {
  right: -80px; /* Выносим на 80px вправо от края 1159px блока */
  left: auto;
}

/* Анимация пульсации */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(12, 115, 254, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(12, 115, 254, 0); }
  100% { box-shadow: 0 0 0 0 rgba(12, 115, 254, 0); }
}

/* Адаптивность для узких экранов */
@media (max-width: 1240px) {
  /* При сужении экрана */
  .reviews-wrapper {
    width: 100%;
    /* Добавляем внутренний padding, чтобы кнопки могли встать в него */
    padding: 0px 50px; 
    overflow: hidden; /* Скрываем вынесенные элементы, возвращаем overflow */
  }
  
  /* Теперь позиционируем ВНУТРИ краев 100% ширины */
  .review-arrow.left {
      left: 10px; 
      right: auto;
  }
  .review-arrow.right {
      right: 10px; 
      left: auto;
  }
}

/* Скрываем кнопки на совсем маленьких экранах */
@media (max-width: 500px) {
  .reviews-wrapper {
    padding: 0; 
  }
  .review-arrow {
    display: none;
  }
}
/* --- НОВЫЙ БЛОК: СТИЛИ КНОПКИ "НАВЕРХ" --- */

.scroll-to-top-btn {
  /* Фиксированное позиционирование, чтобы кнопка оставалась на месте */
  position: fixed;
  bottom: 30px; 
  right: 30px; 
  z-index: 1000; 
  
  /* Изначально скрыта, пока пользователь не прокрутит страницу */
  display: none; 
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  
  /* Дизайн - как у стрелок в отзывах */
  background-color: #0c73fe; 
  border: 2px solid #0c73fe;
  color: #ffffff;
  border-radius: 50%;
  width: 44px; 
  height: 44px;
  font-size: 22px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  
  /* Применяем ту же анимацию, что и к стрелкам отзывов */
  box-shadow: 0 4px 12px rgba(12, 115, 254, 0.3);
  animation: pulse 2s infinite; 
}

/* Класс для отображения кнопки */
.scroll-to-top-btn.show {
    display: flex; /* Показываем ее */
    opacity: 1;
}

.scroll-to-top-btn:hover {
  background-color: #fff;
  color: #0c73fe;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(12, 115, 254, 0.4);
  animation-play-state: paused; 
}

/* Анимация пульсации (используется для обеих кнопок) */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(12, 115, 254, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(12, 115, 254, 0); }
  100% { box-shadow: 0 0 0 0 rgba(12, 115, 254, 0); }
}

/* --- Адаптивность для узких экранов --- */
@media (max-width: 1240px) {
  .reviews-wrapper {
    width: 100%;
    padding: 10px 50px; 
    overflow: hidden; 
  }
  
  /* Теперь позиционируем ВНУТРИ краев 100% ширины */
  .review-arrow.left {
      left: 10px; 
      right: auto;
  }
  .review-arrow.right {
      right: 10px; 
      left: auto;
  }
}

@media (max-width: 500px) {
  .reviews-wrapper {
    padding: 0; 
  }
  .review-arrow {
    display: none;
  }
}
/* ------------------------------------------------------------------ */
/* --- Стили для Exit-Intent Modal --- */
/* ------------------------------------------------------------------ */

#exitIntentModal {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Темный фон */
    display: none; /* Скрыто по умолчанию */
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Очень высокий Z-индекс, чтобы быть поверх всего */
    opacity: 0; 
    transition: opacity 0.3s ease-in-out;
}

/* Класс, который JS добавляет для отображения модального окна */
#exitIntentModal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    text-align: center;
    position: relative;
    /* Анимация входа */
    animation: bounceIn 0.4s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}
.modal-close:hover {
    color: #333;
}

.modal-icon {
    font-size: 3rem;
    color: #f59e0b; /* Оранжевый цвет */
    margin-bottom: 15px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.modal-text {
    color: #666;
    margin-bottom: 20px;
}

/* Стилизация кнопки-ссылки (Call To Action) */
.modal-btn-link {
    background-color: #f59e0b; 
    color: white;
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s;
}
.modal-btn-link:hover {
    background-color: #d97706;
}

.modal-small-text {
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 10px;
}

/* Ключевые кадры для анимации входа */
@keyframes bounceIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
/* В style.css */
.hidden-by-filter, .reviews-container.hidden-by-filter {
    display: none !important;
}
/* =======================================
   Стили для новой кнопки и модального окна
   ======================================= */

/* 1. Новая серая кнопка "Информация" */
.info-btn {
  display: inline-block;
  background: #e0e0e0; /* Серый фон */
  color: #333;         /* Темный текст */
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;     /* Размер шрифта как у кнопки МФО */
  font-family: 'Open Sans', sans-serif;
  border: none;
  cursor: pointer;
  margin-top: 10px;    /* Отступ от верхней кнопки */
  width: auto;         /* Ширина по содержимому (или поставь 100% если нужно шире) */
  min-width: 180px;    /* Минимальная ширина, чтобы кнопки были похожи */
  transition: all 0.25s ease;
  z-index: 2;
  position: relative;
}

.info-btn:hover {
  background: #cccccc; /* Чуть темнее при наведении */
  transform: translateY(-2px);
}

/* Чтобы кнопки были одинаковой ширины, добавим стиль и для старой кнопки */
/* (Опционально, если хочешь идеального совпадения) */
.mfo-btn {
  min-width: 160px; 
  text-align: center; 
  box-sizing: border-box;
}


/* 2. Стили Модального окна (Overlay) */
.modal-overlay {
  display: none; /* Скрыто по умолчанию */
  position: fixed;
  z-index: 10000; /* Поверх всего сайта */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6); /* Затемнение */
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none; /* Чтобы клики проходили сквозь скрытое окно */
}

/* Класс для показа окна */
.modal-overlay.show {
  opacity: 1;
  pointer-events: auto; /* Включаем клики */
}

/* 3. Белое окно с контентом */
.modal-content-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px; /* Небольшой размер */
  position: relative;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content-card {
  transform: scale(1); /* Эффект увеличения при появлении */
}

/* Крестик закрытия */
.close-info-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  line-height: 1;
}

.close-info-modal:hover {
  color: #333;
}
/* =======================================
   БАННЕР COOKIES
   ======================================= */
.cookie-banner {
  position: fixed;
  bottom: -250px; /* Спрятан под экраном */
  left: 0;
  width: 100%;
  background-color: #2b2b2b; /* Темный фон как у футера */
  color: #fff;
  padding: 15px 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  z-index: 99999; /* Поверх всего */
  transition: bottom 0.5s ease-in-out;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-banner.show {
  bottom: 0; /* Выезжает наверх */
}

.cookie-text {
  font-size: 14px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Кнопки куки */
.cookie-btn-accept, 
.cookie-btn-reject, 
.cookie-btn-read {
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  font-size: 13px;
  cursor: pointer;
  font-weight: 600;
  transition: opacity 0.2s;
}

.cookie-btn-accept {
  background-color: #0c73fe; /* Синяя (основная) */
  color: white;
}

.cookie-btn-reject {
  background-color: #555; /* Темная */
  color: white;
}

.cookie-btn-read {
  background-color: transparent;
  color: #ccc;
  text-decoration: underline;
  padding: 8px 5px; /* Меньше отступов */
}

.cookie-btn-accept:hover,
.cookie-btn-reject:hover {
  opacity: 0.8;
}

.cookie-btn-read:hover {
  color: #fff;
}

/* Адаптив для мобильных */
@media (max-width: 400px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

:root {
    --bg-color: #ffffff; 
    --text-color: #2b2b2b;  
    --white-color: #fff;
    --border-color-default: rgba(0, 0, 0, 0.25);
}

/* =======================================
   НОВОЕ: Стили для предупреждения о VPN
   ======================================= */
.vpn-warning-bar {
    position: sticky; /* Приклеиваем к верху */
    top: 0;
    width: 100%;
    background-color: #ffcc00; /* Желтый фон для предупреждения */
    color: #333;
    text-align: center;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 600;
    z-index: 1000; /* Поверх всего */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.vpn-warning-bar.hidden {
    display: none; /* Скрываем, пока JS не покажет */
}

.vpn-close-btn {
    background: none;
    border: none;
    color: #333;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    margin-left: 20px;
    line-height: 1;
    padding: 0 5px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.vpn-close-btn:hover {
    opacity: 1;
}
/* Класс для принудительного скрытия элементов, используемый в filters.js */
.hidden {
    display: none !important;
}
/* Класс для статического выделения карточек красной рамкой */
.mfo-card.highlighted-card {
    /* Тонкая красная рамка */
    border: 2px solid #ff4444; 
    /* Небольшая тень, чтобы выделить карточку еще сильнее */
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3); 
    
    /* Важно! Корректировка внутреннего отступа (padding), чтобы рамка не сдвинула контент */
    /* Если оригинальный padding у .mfo-card был 20px, то 20px - 2px (толщина рамки) = 18px */
    padding: 18px; 
}


html, body {
    overflow-x: hidden; /* Запрещаем появление горизонтальной прокрутки */
    width: 100%;
}
@media (max-width: 900px) {
  .header {
    min-height: 100vh !important;
    height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    padding-top: 5px;
    padding-bottom: 0;
    position: relative;
  }

  .logo {
    position: static !important;
    display: block;
    margin: 0 auto;
   
    width: 300px;
    max-width: 80%;
  }
}
/* 4. Адаптация Блока "Деньги у вас через..." (Arrival Block) */
@media (max-width: 900px) {
    .arrival-block {
        /* Сбрасываем жесткое позиционирование left: 80% */
        position: relative; 
        left: auto;
        top: auto;
        transform: none; /* Убираем сдвиг */
        
        margin: 10px auto; /* Центрируем с отступами */
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .arrival-wrapper {
        /* Убеждаемся, что текст внутри выровнен по центру */
        align-items: center;
    }
}

/* 5. Дополнительная страховка для карточек МФО */
@media (max-width: 480px) {
    .mfo-grid-widget {
        padding: 50px 0px; /* Уменьшаем отступы контейнера */
    }
    
    .mfo-card {
        padding: 10px; /* Чуть компактнее карточки */
    }
    
    .mfo-btn {
        
        box-sizing: border-box;
    }
}

/* 6. Адаптация модального окна (на всякий случай) */
@media (max-width: 600px) {
    .modal-content-card {
        width: 95%; /* Почти во всю ширину экрана */
        padding: 20px 15px;
    }
}

/* 7. Фикс для блока отзывов (чтобы точно не вылезал) */
@media (max-width: 1200px) {
    .reviews-section {
        margin-top: 10px; /* Убираем отрицательный margin (-160px), если он мешает */
    }
    .reviews-wrapper {
        width: 100% !important; /* Принудительно на всю ширину */
        padding: 0 45px;
    }
}

.mobile-bottom-title {
  display: block;
  margin: 24px auto 0;
  padding: 16px 22px;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;

  font-size: 22px;
  line-height: 1.45;
  font-weight: 800;
  text-align: center;

  color: #0b0b0b;
  background: #ffffff;

  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Чуть компактнее на мобилках */
@media (max-width: 900px) {
  .mobile-bottom-title {
    font-size: 18px;
    padding: 14px 18px;
    margin-top: 12px;
  }
}
 .header {
  flex-direction: column;
}
/* Фикс текста "Деньги на карте в" на маленьких экранах */
@media (max-width: 480px) {

  .arrival-block {
    max-width: 190px;          /* прижимаем по ширине, но без жести */
  }

  .arrival-wrapper {
    display: flex;
    flex-direction: column;    /* текст и время друг под другом */
    align-items: center;
    text-align: center;
  }

  .arrival-text {
    font-size: 20px;
    white-space: normal;       /* ВАЖНО: разрешаем перенос на 2 строки */
  }

  .arrival-time {
    margin-top: 4px;
  }

  .arrival-subtext {
    font-size: 10px;
  }
}
/* =========================================
   Мягкое появление блока (анимация)
   ========================================= */

@keyframes fade-up-soft {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   Анимация таймера — лёгкий "пульс"
   ========================================= */

.arrival-time {
  position: relative;
  font-weight: 700;
  animation: time-pulse 2.1s ease-in-out infinite;
}

@keyframes time-pulse {
  0% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(56, 189, 248, 0);
  }
  40% {
    transform: scale(1.06);
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.65);
  }
  100% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(56, 189, 248, 0);
  }
}

/* =========================================
   Карточки отзывов — "дорогий" hover
   ========================================= */

.review-card {
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.25);
}

/* Плавное появление блока отзывов */
.reviews-section {
  animation: fade-up-soft 0.5s ease-out;
}

.mfo-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;

  /* мягкий базовый объём */
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #ffffff;

  /* плавные эффекты */
  transition:
    transform 0.22s ease-out,
    box-shadow 0.22s ease-out,
    border-color 0.22s ease-out,
    background 0.22s ease-out,
    filter 0.22s ease-out;

  /* лёгкое появление при загрузке */
  animation: fade-up-soft 0.4s ease-out;
}

/* hover по карточке */
.mfo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
  border-color: rgba(37, 99, 235, 0.55);
}

/* выделенная карточка чуть ярче */
.mfo-card.highlighted-card {
  border-color: rgba(37, 99, 235, 0.7);
  background: linear-gradient(135deg, #ffffff 0%, #eef2ff 100%);
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.32);
}

/* при наведении на выделенную — ещё чуть подъём */
.mfo-card.highlighted-card:hover {
  transform: translateY(-6px);
}

/* логотип внутри карточки чуть мягче наводится */
.mfo-card .mfo-logo {
  transition: transform 0.22s ease-out, filter 0.22s ease-out;
}

.mfo-card:hover .mfo-logo {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.18));
}
/* ============================
   Кнопка "Получить деньги"
   ============================ */

.mfo-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;

  /* плавные эффекты */
  transition:
    transform 0.16s ease-out,
    box-shadow 0.16s ease-out,
    background 0.16s ease-out,
    filter 0.16s ease-out;
}

/* лёгкое свечение при наведении */
.mfo-card:hover .mfo-btn {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(59, 130, 246, 0.55);
}

/* эффект "нажатия" */
.mfo-btn:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 6px 16px rgba(30, 64, 175, 0.55);
}

/* лёгкий "блик" по кнопке */
.mfo-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.4),
    transparent 40%,
    transparent 60%,
    rgba(255, 255, 255, 0.4)
  );
  opacity: 0;
  transform: translateX(-40%);
  transition: opacity 0.25s ease-out, transform 0.45s ease-out;
}

.mfo-card:hover .mfo-btn::before {
  opacity: 1;
  transform: translateX(10%);
}
@keyframes fade-up-soft {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ============================
   Кнопка "Информация" — аккуратный premium-стиль
   ============================ */

.info-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 8px;
  padding: 10px 22px;

  font-size: 14px;
  font-weight: 600;

  color: #1f2937;
  background: transparent;

  border-radius: 999px;
  border: 1px solid rgba(31, 41, 55, 0.25);

  cursor: pointer;

  transition:
    transform 0.16s ease-out,
    box-shadow 0.16s ease-out,
    background 0.16s ease-out,
    border-color 0.16s ease-out,
    color 0.16s ease-out;
}

/* Наведение */
.mfo-card:hover .info-btn,
.info-btn:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.55);
  color: #1d4ed8;

  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
  transform: translateY(-1px);
}

/* Нажатие */
.info-btn:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* Иконка (если добавишь позже через :before или <i>) */
.info-btn i {
  margin-right: 6px;
  font-size: 14px;
}


.filter-panel{
  position: relative;
  height: auto;
  max-width: 980px;

  background: #fff;
  border-radius: 18px;
  padding: 24px 26px;
  margin-top: 0;

  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);

  font-family: "Open Sans", sans-serif;
  text-align: center;
   transition:
    transform 0.22s ease-out,
    box-shadow 0.22s ease-out,
    border-color 0.22s ease-out,
    background 0.22s ease-out,
    filter 0.22s ease-out;
}


.review-card {
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    border-color 0.18s ease-out;
}

/* если вдруг анимации нет — дублируем */
@keyframes fade-up-soft {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Стиль для ползунка на мобильных устройствах */
@media (max-width: 768px) {
  .range-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  #amountValue {
    margin-top: 10px;
    font-size: 18px;
    text-align: center;
    width: auto;  /* Убираем ограничение ширины */
  }

  #amountRange {
    width: 80%; /* Делаем ползунок длиннее */
  }
}


@media (max-width: 768px) {
.reviews-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 45px; /* Отступ между карточками */
  padding: 30px 0; 
  
  /* Скрываем стандартную полосу прокрутки */
  scrollbar-width: none; 
  -ms-overflow-style: none;
}
}
.mfo-grid-widget h2 {
  color: #222;
  margin-bottom: 10px;
  font-weight: 700;
  margin-top: 60px; /* Добавляем отступ сверху — толкает текст вниз */
}
/* FIX: кнопка "Получить деньги" не обрезается */
.mfo-card {
  overflow: visible;
}

.mfo-btn {
  margin-top: auto;
}
/* FIX: псевдоэлемент не перекрывает кнопку */
.mfo-card {
  position: relative;
}

.mfo-card::after {
  z-index: 0;
}

.mfo-card > * {
  position: relative;
  z-index: 2;
}
.offer-action {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #0078ff, #7bdcb5);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}
.filter-buttons button {
  border-radius: 999px;
  margin-bottom: 20px;
  padding: 12px 26px;
  font-weight: 700;
  transition:
    transform 0.16s ease-out,
    box-shadow 0.16s ease-out,
    background 0.16s ease-out;
}

#applyFilters {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  box-shadow: 0 10px 26px rgba(59, 130, 246, 0.55);
}

#applyFilters:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(59, 130, 246, 0.65);
}

#resetFilters {
  border-radius: 999px;
}
.filter-panel {
  padding: 24px 26px;
}

/* ===== ЕДИНЫЙ СТИЛЬ КНОПОК (1 в 1) ===== */

.offer-action,
.info-btn,
.filter-buttons button,
#applyFilters,
#resetFilters {
  font-family: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.2px;

  text-transform: none;
  appearance: none;
  -webkit-appearance: none;
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: none;
  z-index: 9999;
}

.modal:target {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #fff;
  width: 90%;
  overflow-y: auto;
  padding: 24px;
  border-radius: 12px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  text-decoration: none;
  color: #000;
}
.mfo-banner {
  grid-column: 1 / -1;
  margin: 24px 0;
  display: flex;
  justify-content: center;
}

.mfo-banner img {
  max-width: 728px;
  width: 100%;
  height: auto;
  display: block;
}
.seo-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

/* Блок действий в герое: гибкая раскладка и отступы между кнопками */
.hero-actions {
  display: flex;
  gap: 16px; /* расстояние между кнопками */
  flex-wrap: wrap; /* чтобы при узком экране кнопки переносились */
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}

.hero-btn {
 font-family: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
  text-decoration: none;
  font-weight: 700 !important;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.2px;

  text-transform: none;
  appearance: none;
  -webkit-appearance: none;

  border-radius: 999px;
  background: #fbfbfd;
  border: 1px solid #e6e7eb;
  color: #222;

  padding: 12px 28px;
  cursor: pointer;
  box-sizing: border-box;

  transition: transform .12s ease, box-shadow .12s ease;
}

.hero-btn:hover {
 transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16,24,40,0.04);
}

.hero-btn:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.55);
}

/* При очень узких экранах увеличим вертикальный отступ между кнопками */
@media (max-width: 420px) {
  .hero-actions {
    gap: 20px;
  }
} 

.texth2 {
  /* ШРИФТ */
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;              /* размер шрифта на десктопе */
  font-weight: 500;             /* жирность */
  font-style: normal;

  /* ТЕКСТ */
  color: #ff0000;               /* тёмно-синий, хорошо читается */
  text-align: center;           /* выравнивание по центру */
  text-transform: none;         /* без принудительного UPPERCASE */

  /* МЕЖСТРОЧНОЕ РАССТОЯНИЕ */
  line-height: 1.25;            /* плотный, но читаемый */

  /* МЕЖБУКВЕННОЕ РАССТОЯНИЕ */
  letter-spacing: -0.015em;     /* лёгкая компактность */

  /* ОТСТУПЫ */
  margin-top: -30px;
  margin-bottom: 0px;          /* расстояние до следующего блока */
  padding-left: 0;
  padding-right: 0;

  /* ПОВЕДЕНИЕ */
  max-width: 49%;              /* не вылезает за контейнер */
  word-wrap: break-word;        /* перенос длинных слов */
} 

h2 {
  font-family: 'Open Sans', sans-serif;
  font-size: 34px;
  color: #ffffff;

  font-weight: 700;
  line-height: 1.3;
}
@media (max-width: 1024px) {
  h2 {
    font-size: 30px;
    margin: 10px;
    left: 10px;
    margin-top: 10px;
  }
}

.text3 { 
  font-family: "Open Sans", sans-serif !important;
  font-weight: 700;
  margin-top: -10px;
    font-size: clamp(14px, 3.6vw, 16px);     
  line-height: 1.25;    
  color: #111;  
}

.he-btn {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  justify-content: center;

  padding: 12px 28px;
  border-radius: 999px; 

  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  color: #fff;

  background: linear-gradient(135deg, #dc2626, #f87171);
  box-shadow: 0 10px 26px rgba(59, 130, 246, 0.55);

  transition:
    transform 0.16s ease-out,
    box-shadow 0.16s ease-out,
    background 0.16s ease-out;
}

.he-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(59, 130, 246, 0.65);
}

.he-btn:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.55);
}

.h1s {
  font-family: 'Open Sans', sans-serif;
  font-size: 32px;
  text-align: center;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.3;
  
}
#showOffersBtn{
  all: unset;
}

#showOffersBtn{
  font-family: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.2px;

  text-transform: none;
  appearance: none;
  -webkit-appearance: none;

  border-radius: 999px;
  background: #fbfbfd;
  border: 1px solid #e6e7eb;
  color: #222;

  padding: 12px 26px;
  cursor: pointer;
  box-sizing: border-box;

  transition: transform .12s ease, box-shadow .12s ease;
}

#showOffersBtn:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16,24,40,0.04);
}
.hero-bottom-btn{
  position: absolute;
  left: 50%;
  bottom: 150px;          /* расстояние от низа */
  transform: translateX(-50%);
  z-index: 99999;        /* чтобы не перекрывалось */
  width: 100%;
  display: flex;
  justify-content: center;
}
/* Плавное появление кнопки "Смотреть варианты" */
#showOffersBtn {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .25s ease, transform .25s ease;
}

#showOffersBtn.is-hidden {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}
/* Кнопка только для ПК (планшеты+мобилки скрыты) */
@media (max-width: 1024px) {
  #showOffersBtn {
    display: none !important;
  }
}
.trust-box{
  position: absolute;
  left: 50px;
  top: 100px;

  width: 290px;
  min-height: 345px;

  background: #ffffff;
  border-radius: 18px;
  padding: 23px 18px;

  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.08);

  display: flex;
  flex-direction: column;
}

.trust-title{
  font-weight: 900;
  font-size: 26px;
  text-align: center;
  color: #111;

  margin: 0px 0 20px; /* отступ сверху и снизу */
}

.trust-items{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 0;
  gap: 10px;
}

.trust-track{
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.trust-item{
  display: flex;
  align-items: center;
  gap: 10px;

  font-family: "Open Sans", sans-serif !important;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  color: #111;
}

.trust-icon{
  width: 30px;
  height: 30px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(12,115,254,0.10);
  border: 1px solid rgba(12,115,254,0.20);
  flex-shrink: 0;
}

@media (max-width: 1024px){
  .trust-box{
    position: static;
    width: auto;
    min-height: auto;
    max-width: 65%;
    margin: 5px auto 0;
    padding: 4px 14px;
    border-radius: 16px;
  }
.trust-track{
  flex-direction: row;  /* важно! */
  gap: 0;
}

  .trust-title{
   display: none;
  }

  .trust-items{
    overflow: hidden;
    width: 100%;
  }

  .trust-track{
    display: flex;
    transition: transform 0.45s ease;
    will-change: transform;
  }

  .trust-item{
    flex: 0 0 100%;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    gap: 10px;
  }

  .trust-icon{
    width: 26px;
    height: 26px;
  }
}

@keyframes trustFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.review-stars{
  display: inline-flex;
  gap: 2px;
  font-size: 16px;
}

.review-stars .bi-star-fill{
  color: #FFD700;
}

.review-stars .bi-star{
  color: #ccc;
}
.review-form{
  max-width: 1160px;
  margin: 20px auto;
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid #e6e7eb;
  box-shadow: 0 10px 24px rgba(15,23,42,0.06);
  font-family: "Open Sans", sans-serif;
}

.review-form-title{
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 12px;
  color: #111;
  text-align: center;
}

.review-form input,
.review-form select,
.review-form textarea{
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e6e7eb;
  margin-bottom: 10px;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
}

.review-form textarea{
  min-height: 110px;
  resize: vertical;
}

.review-form button{
  width: 100%;
  border-radius: 999px;
  padding: 12px 16px;
  border: 1px solid #e6e7eb;
  background: #0c73fe;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.review-form button:disabled{
  opacity: 0.6;
  cursor: not-allowed;
}

.review-form-status{
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
  color: #111;
}

/* ==========================
   FAQ
========================== */
.faq-section{
  width: 100%;
  padding: 60px 0px;
}

.faq-wrap{
  max-width: 1200px;
  margin: 0 auto;
}

.faq-title{
  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 28px;
  font-weight: 900;
  color: #111;
  margin: 0 0 18px;
}

.faq-title i{
  font-size: 26px;
  color: #0c73fe;
}

.faq-accordion{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item{
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.faq-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.faq-question{
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  padding: 18px 18px;
  text-align: left;
}

.faq-left{
  display: flex;
  align-items: left;
  gap: 12px;
}

.faq-icon{
  width: 34px;
  height: 34px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(12,115,254,0.10);
  border: 1px solid rgba(12,115,254,0.25);
  flex-shrink: 0;
}

.faq-icon i{
  font-size: 16px;
  color: #0c73fe;
}

.faq-text{
  font-size: 16px;
  font-weight: 600;
  margin: 10px;
  color: #111;
}

.faq-toggle{
  font-size: 18px;
  color: #111;
  transition: transform .2s ease, color .2s ease;
}

/* ответ — плавное открытие */
.faq-answer{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 18px;
}
.faq-answer ul{
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.faq-answer li{
  list-style: none;
}
.faq-answer-inner{
  padding: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: #222;
}

.faq-answer-inner ul{
  margin: 0;
  padding-left: 18px;
}

.faq-answer-inner li{
  margin: 6px 0;
}

/* активная карточка */
.faq-item.active .faq-toggle{
  transform: rotate(45deg);
  color: #0c73fe;
}

@media (max-width: 768px){
  .faq-title{
    font-size: 22px;
  }

  .faq-question{
    padding: 16px 14px;
  }

  .faq-answer{
    padding: 0 14px;
  }
}

@media (max-width: 768px) {
  .hero-actions {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    width: 100% !important;
    max-width: 100vw !important;

    -webkit-overflow-scrolling: touch !important;
  }

  .hero-actions .hero-btn {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }

  .logo {
    transform: none !important;
  }
}
/* ===== Рекомендация в карточке МФО (как обычный текст p) ===== */
.mfo-rec {
  font-size: 14px;
  color: #555;
  font-weight: 600;
}

.mfo-rec::before {
  content: "Рекомендация: ";
  color: #555;
  font-weight: 600;
}

/* Высокая */
.mfo-card[data-mfo-rec="1"] .mfo-rec::after {
  content: "высокая";
  color: #16a34a;
  font-weight: 900;
}

/* Средняя */
.mfo-card[data-mfo-rec="2"] .mfo-rec::after {
  content: "средняя";
  color: #f59e0b;
  font-weight: 700;
}

/* Обычная */
.mfo-card[data-mfo-rec="3"] .mfo-rec::after {
  content: "обычная";
  color: #64748b;
  font-weight: 700;
}

@media (max-width: 420px) {

  /* ВСЕГДА 2 карточки в ряд */
  .mfo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  /* карточки компактнее */
  .mfo-card {
    padding: 10px !important;
  }

  /* лого маленькое */
  .mfo-logo {
    width: 46px !important;
    height: 46px !important;
  }

  /* заголовок меньше + перенос */
  .mfo-card h3 {
    font-size: 14px !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    margin: 0 0 6px 0 !important;
  }

  /* текст меньше */
  .mfo-card p {
    font-size: 12px !important;
    margin: 0 !important;
  }

  /* кнопки компактнее */
  .offer-action,
  .info-btn {
    padding: 9px 10px !important;
    font-size: 13px !important;
  }
   .mfo-card .offer-action {
    border-radius: 999px !important;      /* как у info-btn */
    padding: 10px 14px !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1 !important;
  }

  /* На всякий — одинаковая ширина */
  .mfo-card .offer-action,
  .mfo-card .info-btn {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}
@media (max-width: 768px) {

  /* Убираем синий hover на мобилке */
  .mfo-card:hover {
    transform: none !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
    border-color: rgba(148, 163, 184, 0.35) !important;
  }

  /* Убираем синюю "заливку" через псевдоэлемент */
  .mfo-card::after {
    display: none !important;
  }

  /* Лого тоже не должно прыгать */
  .mfo-card:hover .mfo-logo {
    transform: none !important;
    filter: none !important;
  }
}
@media (max-width: 420px) {

  /* Убираем синий hover на мобилке */
  .mfo-card:hover {
    transform: none !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
    border-color: rgba(148, 163, 184, 0.35) !important;
  }

  /* Убираем синюю "заливку" через псевдоэлемент */
  .mfo-card::after {
    display: none !important;
  }

  /* Лого тоже не должно прыгать */
  .mfo-card:hover .mfo-logo {
    transform: none !important;
    filter: none !important;
  }
}
.show-all-wrap{
  display:flex;
  justify-content:center;
  margin: 20px 0 10px;
}

.show-all-btn{
  all: unset;
  cursor: pointer;

  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 15px;

  padding: 12px 22px;
  border-radius: 999px;

  background: #ffffff;
  border: 1px solid #e6e7eb;
  color: #111;

  box-shadow: 0 10px 24px rgba(15,23,42,0.06);
}
@media (max-width: 500px) {
  .mfo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.textq {
  max-width: 1200px;        /* ограничение ширины текста и блока */
  margin: 0 auto;           /* центрируем (по 600px слева/справа если экран широкий) */

  background: #fff;         /* белый фон */
  border-radius: 18px;      /* радиус */
  
  padding: 24px 28px;       /* внутренние отступы (чтобы текст не прилипал) */
  box-sizing: border-box;

  height: auto;             /* высота подстраивается под текст */
}
.textq h3{
  text-align: center;   /* заголовок по центру */
  margin: 0 0 14px;     /* отступ снизу */
}

.textq p{
  text-align: left;     /* текст обычный слева */
  margin: 0;            /* чтобы не было лишних отступов */
  word-wrap: break-word;
  overflow-wrap: break-word; /* чтобы не вылезал за белый фон */
}
.pay-icon {
  width: 72px;
  height: 44px;
  border: 1px solid #000;
  border-radius: 4px; /* можно убрать если нужны прямые углы */
  padding: 3px;
  object-fit: contain;
  background: #fff;
}
.pay-scroll{
  display: inline-block;
}

.pay-scroll:active{
  transform: scale(0.98);
}
.tips-cards{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}

.tip-card{
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #000;
  border-radius: 16px;
  background: #fff;
  align-items: flex-start;
}

.tip-icon{
  width: 44px;
  height: 44px;
  border: 1px solid #000;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  font-size: 20px;
}

.tip-text strong{
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.tip-text span{
  display: block;
  font-size: 13.5px;
  line-height: 1.35;
  opacity: 0.9;
}

/* планшет */
@media (min-width: 768px){
  .tips-cards{
    grid-template-columns: 1fr 1fr;
  }
}

/* десктоп */
@media (min-width: 1100px){
  .tips-cards{
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.table-wrap{
  width: 100%;
  overflow-x: auto;
}

.mfo-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
  background: #fff;
  border: 1px solid #000;
  border-radius: 16px;
  overflow: hidden;
}

.mfo-table th,
.mfo-table td{
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  font-size: 14px;
  text-align: left;
  vertical-align: middle;
}

.mfo-table thead th{
  font-weight: 700;
  border-bottom: 1px solid #000;
  white-space: nowrap;
}

.mfo-table tbody tr:hover{
  background: rgba(0,0,0,0.03);
}

/* бейдж 0% */
.badge-zero{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #000;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

/* кнопка оформить */
.btn-apply{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid #ffffff;
  background: linear-gradient(135deg, #0078ff, #7bdcb5);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, opacity 160ms ease;
}

.btn-apply:hover{
  opacity: 0.92;
  transform: translateY(-1px);
}

.table-note{
  margin-top: 10px;
  font-size: 13px;
  opacity: 0.85;
}

@media (max-width: 768px){

  /* убираем горизонтальный скролл */
  .table-wrap{
    overflow: visible !important;
  }

  /* таблицу делаем "контейнером карточек" */
  .mfo-table{
    width: 100% !important;
    min-width: 100% !important; /* 🔥 ВАЖНО */
    border: none !important;
    background: transparent !important;
    border-collapse: separate !important;
  }

  .mfo-table thead{
    display: none !important;
  }

  .mfo-table,
  .mfo-table tbody{
    display: block !important;
    width: 100% !important;
  }

  .mfo-table tr{
    display: block !important;
    width: 100% !important;
    border: 1px solid #000 !important;
    border-radius: 16px !important;
    padding: 12px 14px !important;
    margin-bottom: 12px !important;
    background: #fff !important;
    box-sizing: border-box !important;
  }

  /* каждая ячейка = "подпись слева / значение справа" */
  .mfo-table td{
    display: grid !important;

    /* 🔥 адаптивнее чем 110px */
    grid-template-columns: minmax(88px, 105px) 1fr !important;

    gap: 10px !important;
    align-items: start !important;

    border: none !important;
    padding: 7px 0 !important;
    font-size: 14px !important;
    text-align: left !important;

    box-sizing: border-box !important;
  }

  /* подпись слева */
  .mfo-table td::before{
    content: attr(data-label) !important;
    font-weight: 700 !important;
    opacity: 0.7 !important;
    white-space: nowrap !important;
  }

  /* 🔥 главное: значения справа должны переноситься */
  .mfo-table td{
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  /* МФО делаем заголовком карточки */
  .mfo-table td[data-label="МФО"]{
    grid-template-columns: 1fr !important;
    padding-bottom: 10px !important;
    margin-bottom: 6px !important;
    border-bottom: 1px solid rgba(0,0,0,0.12) !important;
  }

  .mfo-table td[data-label="МФО"]::before{
    display: none !important;
  }

  .mfo-table td[data-label="МФО"] strong{
    font-size: 16px !important;
    display: block !important;
  }

  /* бейдж 0% — чтобы не сжимался */
  .badge-zero{
    justify-self: start !important;
    white-space: nowrap !important;
  }

  /* кнопка оформить отдельной строкой */
  .mfo-table td[data-label="Оформить"]{
    grid-template-columns: 1fr !important;
    padding-top: 12px !important;
  }

  .mfo-table td[data-label="Оформить"]::before{
    display: none !important;
  }

  .btn-apply{
    width: 90% !important;
    display: flex !important;
    justify-content: center !important;
  }
}
.faq-badge-fire{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;

  width: 26px;
  height: 18px;

  border-radius: 999px;
  background: rgba(255, 0, 0, 0.08);
}

.faq-badge-fire i{
  font-size: 13px;
  line-height: 1;
  color: #ff0000; /* 🔥 красный огонь */
}
