#notfound {
  position: relative;
  height: 100%;
}

.notfound {
  text-align: center;
  line-height: 1.4;
}

.notfound .notfound-404 h1 {
  font-family: 'Josefin Sans', sans-serif;
  color: #222;
  font-size: 220px;
  letter-spacing: 10px;
  margin: 0px;
  font-weight: 700;
  text-shadow: 2px 2px 0px #c9c9c9, -2px -2px 0px #c9c9c9;
  line-height: normal;
}
.notfound .notfound-404 h1 span{
    display: contents;
    color: #999;
    font-size: 220px;
}

.notfound .notfound-404 h1>span {
  text-shadow: 2px 2px 0px #ffab00, -2px -2px 0px #ffab00, 0px 0px 8px #ff8700;
}

.notfound p {
  font-family: 'Josefin Sans', sans-serif;
  color: #c9c9c9;
  font-size: 16px;
  font-weight: 400;
  margin-top: 0px;
  margin-bottom: 15px;
}

.notfound a {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  background: transparent;
  color: #c9c9c9;
  border: 2px solid #c9c9c9;
  display: inline-block;
  padding: 10px 25px;
  font-weight: 700;
  -webkit-transition: 0.2s all;
  transition: 0.2s all;
}

.notfound a:hover {
  color: #ffab00;
  border-color: #ffab00;
}

@media only screen and (max-width: 480px) {
  .notfound .notfound-404 {
    height: 122px;
    line-height: 122px;
  }

  .notfound .notfound-404 h1 {
      font-size: 122px;
  }
}

.footer__container-copyrights,
.footer__copyrights {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}
.footer__container-copyrights {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-item-align: center;
  align-self: center;
}
@media (max-width: 599px) {
  .footer__container-copyrights {
    margin: 0 15px;
  }
  .logo__yandex_header {
    display: none;
  }
}
@media (min-width: 600px) and (max-width: 1079px) {
  .footer__container-copyrights {
    width: 500px;
    margin: 0 auto;
  }
  .logo__yandex_header {
    display: none;
  }
}
.footer__content-copyrights {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
}
.developer {
    pointer-events: auto
}

.developer__link {
    color: white;
    font-size: 15px;
    margin-bottom: 3px
}

.developer__link a {
    color: #B48848;
    border-bottom: solid 1px #B48848;
    opacity: 0.8;
    -webkit-transition: opacity 0.2s;
    transition: opacity 0.2s
}

.developer__link a:hover {
    opacity: 1
}

.developer__logo {
    background: url("/assets/images/Atwinta.svg") no-repeat center;
    background-size: contain;
    width: 103.2px;
    height: 22.4px
}

.wrap:has(> .partners) {
    padding: 0;
}

.partners {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px;
    min-height: 168px;
    box-sizing: border-box;
    border: 1px solid #E8E8E8;
}

@media screen and (max-width: 1023px) {
    .partners {
        gap: 20px;
    }
    .partner-item {
        min-height: 130px;
        padding: 24px;
    }
}

@media screen and (max-width: 767px) {
    .partners {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .partner-item {
        min-height: 100px;
        padding: 10px;
    }
}

.faq-table {
  margin: 20px 0px 20px 0px;
  width: 100%;
  border-collapse: collapse;
}

.faq-table th, .faq-table td {
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
}

.faq-table td strong { font-weight: 600; }

.faq-table-empty {background: #ffffff !important;}

.faq-table-theme {
    width: 185px;
}

.faq-table-num {
     text-align: center;
}

/* пагинация */
.blog-pagination .pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  margin: 0;
  list-style: none;
}

.blog-pagination .page-item {
  margin: 0;
}

.blog-pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.blog-pagination .page-link:hover {
  background: rgba(0,0,0,.04);
}

.blog-pagination .page-item.active .page-link {
  background: #f4a529;
  border-color: #f4a529;
  color: #fff;
  cursor: default;
}

.blog-pagination .page-item.disabled .page-link {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}


/*home-new =lending=


/* lending

/* --- ОБЩИЕ ПЕРЕМЕННЫЕ --- */
:root {
    --header-yellow: #F5A623;
    --header-black: #0E0E0E;
    --header-gray-bg: #F2F2F2;
    --header-text: #333;
}

/* --- СБРОС ДЛЯ ШАПКИ --- */
.header {
    background: #fff;
    width: 100%;
    font-family: Arial, sans-serif; /* Или ваш основной шрифт */
}

.header .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

.header .flex { display: flex;     justify-content: space-between;}
.header .align-center { align-items: center; }
.header .justify-between { justify-content: space-between; }

/* --- ВЕРХНЯЯ ПАНЕЛЬ --- */

/* Логотип и слоган */
.logo-block {
    gap: 15px;
}
.logo-block .logo img {
    display: block;
}
.slogan {
    font-size: 11px;
    line-height: 1.3;
    color: #999;
    text-transform: uppercase;
    font-weight: 500;
}

/* Поиск (переопределяем стили SimpleSearch) */
.header-search {
    flex: 0 1 300px;
    margin: 0 20px;
}
.header-search form {
    position: relative;
    display: flex;
    background: var(--header-gray-bg);
    border-radius: 4px;
    overflow: hidden;
    margin: 0;
    height: 44px;
    border: none;
}
.header-search input[type="text"] {
    border: none;
    background: transparent;
    padding: 12px 15px;
    width: 100%;
    font-size: 14px;
    outline: none;
    color: var(--header-text);
}
.header-search input[type="submit"],
.header-search button {
    background: transparent;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 0; /* Скрываем текст кнопки, если есть */
}
/* Иконка лупы для SimpleSearch (можно добавить в tpl.search) */
.header-search .search-icon svg {
    stroke: #999;
}

/* Контакты */
.header-contacts {
    gap: 20px;
}
.phone-block {
    display: flex;
    align-items: center;
    gap: 10px;
}
.phone-icon {
    width: 36px;
    height: 36px;
    background: #FF7A00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.phone-text {
    display: flex;
    flex-direction: column;
}
.phone-link {
    font-weight: bold;
    font-size: 18px;
    color: var(--header-text);
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
}
.phone-sub {
    font-size: 11px;
    color: #999;
    white-space: nowrap;
}

/* Соцсети */
.socials {
    gap: 10px;
}
.soc-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    flex-shrink: 0;
}
.soc-link:hover { opacity: 0.8; }
.soc-link.tg { background: #29A9EB; }
.soc-link.wa { background: #7B519E; } /* Цвет для MAX/WA */

/* --- НИЖНЯЯ ПАНЕЛЬ (МЕНЮ) --- */
.main-nav-wrap {
    position: relative; /* Для выпадающего меню */
}
.main-nav-fix-panel {
    background-color: var(--header-black);
    position: relative;
}
.header-nav-inner {
    height: 60px;
}

/* Кнопка Услуги */
.btn-services {
    background-color: var(--header-yellow);
    color: var(--header-black);
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 25px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    gap: 10px;
    transition: background 0.3s;
    white-space: nowrap;
    margin-left: -15px; /* Компенсация padding wrap */
}
.btn-services:hover {
    background-color: #e0961d;
}
.burger-icon {
    width: 18px;
    height: 12px;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    position: relative;
    display: inline-block;
}
.burger-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
    transform: translateY(-50%);
}

/* Главное меню */
.main-menu {
    margin-left: 30px;
    flex-grow: 1;
}
.main-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 25px;
    display: flex;
}
.main-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s;
    white-space: nowrap;
}
.main-menu a:hover {
    color: var(--header-yellow);
}

/* Кнопка Заявки */
.btn-request {
    background-color: var(--header-yellow);
    color: var(--header-black);
    padding: 0 25px;
    height: 40px;
    line-height: 40px;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.3s;
    white-space: nowrap;
    margin-left: 20px;
}
.btn-request:hover {
    background-color: #e0961d;
}

/* --- ВЫПАДАЮЩЕЕ МЕНЮ УСЛУГИ --- */
/* Ваши текущие стили для .services-nav, немного подправим отображение */
.services-nav {
    display: none; /* Скрыто по умолчанию */
    background: #1a1a1a;
    color: #fff;
    padding: 20px 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.services-nav.active {
    display: block;
}
/* .services-nav .title, .services-nav .title2 {
    color: var(--header-yellow);
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
} */
.services-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.services-nav li {
    margin-bottom: 8px;
}
.services-nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}
.services-nav a:hover {
    color: #fff;
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 992px) {
    .header-search { flex: 1 1 100%; margin: 15px 0; order: 3; }
    .header-contacts { display: none; } /* Скрываем контакты на планшетах, оставляем в мобильном меню */
    .logo-block { width: 100%; justify-content: space-between; }
    .logo-block .slogan { display: none; }
    
    .main-menu ul { gap: 15px; }
    .main-menu a { font-size: 12px; }
    .btn-request { padding: 0 15px; font-size: 12px; }
}






/* Основные переменные (если у вас их нет, раскомментируйте) */
:root {
  --orange: #f07f22;
  --orange-hover: #d86b17;
  --yellow: #f7b723;
  --blue-dark: #0c2a4d;
  --blue-card: #122f52;
  --text-gray: rgba(255, 255, 255, 0.65);
}

.hero-section-v2 {
  background: var(--blue-dark);
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hero-wrap-v2 {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

/* Левая колонка */
.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-title .text-orange {
  color: var(--orange);
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 40px;
}

/* Шаги */
.hero-steps {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.step-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

.step-text strong {
  display: block;
  font-size: 15px;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.3;
}

.step-text span {
  display: block;
  font-size: 12px;
  color: var(--text-gray);
  line-height: 1.4;
}

/* Правая колонка: ВИДЕО */
.hero-video-wrap {
  flex: 1;
  max-width: 600px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  aspect-ratio: 16 / 9; /* Важно для сохранения пропорций видео */
  background: #000;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Видео заполняет весь блок без искажений */
  display: block;
}

.hero-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(12, 42, 77, 0.9);
  backdrop-filter: blur(4px);
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  z-index: 2;
}

.hero-image-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  display: inline-block;
}

/* Нижняя сетка с кнопками */
.hero-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-card {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
  gap: 16px;
}

.hero-card:hover {
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card-text {
  flex: 1;
}

.card-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.2;
}

.card-desc {
  font-size: 13px;
  opacity: 0.9;
}

.card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.2);
  transition: background 0.2s;
}

.hero-card:hover .card-arrow {
  background: rgba(255,255,255,0.4);
}

/* Стили для разных типов карточек */
.card-orange {
  background: var(--orange);
  color: #fff;
}
.card-orange .card-icon { background: rgba(255,255,255,0.2); }
.card-orange .card-desc { color: rgba(255,255,255,0.85); }

.card-yellow {
  background: var(--yellow);
  color: var(--blue-dark);
}
.card-yellow .card-icon { background: rgba(255,255,255,0.3); color: var(--blue-dark); }
.card-yellow .card-desc { color: rgba(12, 42, 77, 0.8); }
.card-yellow .card-arrow { background: rgba(12, 42, 77, 0.1); color: var(--blue-dark); }
.card-yellow:hover .card-arrow { background: rgba(12, 42, 77, 0.2); }

.card-dark {
  background: var(--blue-card);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
}
.card-dark .card-icon { background: rgba(255,255,255,0.08); }
.card-dark .card-icon-orange { background: var(--orange); color: #fff; }
.card-dark .card-desc { color: var(--text-gray); }

/* Адаптивность */
@media (max-width: 1024px) {
  .hero-wrap-v2 {
    flex-direction: column;
  }
  .hero-content, .hero-video-wrap {
    max-width: 100%;
  }
  .hero-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .hero-steps {
    flex-direction: column;
    gap: 20px;
  }
  .hero-bottom-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 28px;
  }
}

/* --- Секция "Ещё 4 скидки" --- */
.section-sales-v2 {
  background: var(--bg-page, #0B0B0C); /* Чёрный фон из Figma */
  padding: 60px 0;
  color: #fff;
}

.sales-header {
  margin-bottom: 36px;
}

.sales-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange, #F07F22);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.sales-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.sales-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Сетка карточек */
.sales-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.sales-card-v2 {
  background: #141416; /* Тёмный фон карточки */
  border: 1px solid rgba(255, 255, 255, 0.06); /* Тонкая обводка */
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: background 0.2s;
}

.sales-card-v2:hover {
  background: #1a1a1c;
}

.card-icon-v2 {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(240, 127, 34, 0.1); /* Полупрозрачный оранжевый фон для иконки */
  border: 1px solid rgba(240, 127, 34, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-content {
  flex: 1;
}

.card-title-v2 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.card-desc-v2 {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

/* Нижний блок (телефон + кнопка) */
.sales-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Блок с телефоном */
.sales-phone-card {
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s;
}

.sales-phone-card:hover {
  background: #1a1a1c;
}

.phone-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-text {
  display: flex;
  flex-direction: column;
}

.phone-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.phone-number {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 2px;
}

.phone-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* Оранжевая кнопка */
.sales-cta-btn {
  background: var(--orange, #F07F22);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}

.sales-cta-btn:hover {
  background: var(--orange-hover, #D86B17);
  transform: translateY(-2px);
}

.cta-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-text {
  flex: 1;
}

.cta-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 2px;
}

.cta-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Иконка стрелки в кнопке должна быть оранжевой */
.cta-arrow svg path {
  stroke: var(--orange, #F07F22);
}

/* Адаптивность */
@media (max-width: 1024px) {
  .sales-grid {
    grid-template-columns: 1fr; /* Карточки в одну колонку */
  }
  .sales-bottom {
    grid-template-columns: 1fr; /* Телефон и кнопка друг под другом */
  }
}

@media (max-width: 768px) {
  .sales-title {
    font-size: 26px;
  }
  .sales-card-v2 {
    flex-direction: column;
    align-items: flex-start;
  }
  .phone-number {
    font-size: 20px;
  }
}

/* =========================================
   БЛОК ОТЗЫВОВ V2 (ИСПРАВЛЕННЫЙ)
   ========================================= */

.reviews-v2 {
    background-color: #0B0B0C;
    padding: 80px 0;
    font-family: 'Arial', sans-serif;
    color: #fff;
}

.reviews-v2 .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Заголовок --- */
.reviews-header {
    margin-bottom: 40px;
}

.reviews-label {
    font-size: 12px;
    font-weight: bold;
    color: #F5A623;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.reviews-header-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.reviews-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
}

/* --- Обертка слайдера и навигация --- */
.review-carousel-wrapper {
    position: relative;
    padding-top: 20px; 
}

/* Кнопки навигации (позиционируем абсолютно над слайдером) */
.review-custom-nav {
    position: absolute;
    top: -60px; /* Поднимаем на уровень заголовка */
    right: 0;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.review-custom-nav button {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.review-custom-nav .owl-prev {
    background-color: #1C1C1E;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
}

.review-custom-nav .owl-prev:hover {
    background-color: #F5A623;
    color: #000;
}

.review-custom-nav .owl-next {
    background-color: #1C1C1E;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.review-custom-nav .owl-next:hover {
    background-color: #e0961d;
    background-color: #F5A623;
    color: #000;
}

/* Убираем стандартные элементы Owl Carousel */
.review-carousel .owl-nav,
.review-carousel .owl-dots {
    display: none !important;
}

/* --- Настройка самого слайдера --- */
.review-carousel {
    margin: 0 -10px; 
}

.review-carousel .owl-stage-outer {
    padding: 10px 0; /* Чтобы тени карточек не обрезались */
}

.review-carousel .item {
    padding: 0 10px; /* Отступ между карточками */
    box-sizing: border-box;
    height: auto;
}

/* --- Карточка отзыва --- */
.review-card {
    background-color: #141415;
    border: 1px solid #222224;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* Верхняя часть карточки */
.review-card-top {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
}

.review-image {
    flex-shrink: 0;
    width: 80px;
    height: 110px;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.review-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding-top: 5px;
    padding-right: 50px; /* Отступ справа, чтобы текст не наезжал на кавычки */
}

.review-name {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.review-position {
    font-size: 14px;
    color: #888;
    margin: 0 0 10px 0;
}

.review-link {
    font-size: 14px;
    color: #F5A623;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.review-link:hover {
    color: #ffbe5c;
}

.review-link .arrow {
    transition: transform 0.3s;
}

.review-link:hover .arrow {
    transform: translateX(3px);
}

/* --- Иконка кавычек (ИСПРАВЛЕНО) --- */
.review-quote-icon {
    position: absolute;
    top: 50%; /* Центрируем по вертикали */
    right: 0;
    transform: translateY(-50%); /* Точное центрирование */
    color: #333333; /* Темно-серый цвет как на макете */
    line-height: 0;
    display: flex;
    align-items: center;
    opacity: 1; 
}

.review-quote-icon svg {
    width: 40px;  
    height: 30px; 
    display: block;
}

/* --- Нижняя часть --- */
.review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #B0B0B0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    margin-top: 0; 
}

.review-text p {
    margin: 0 0 10px 0;
}

.review-text p:last-child {
    margin-bottom: 0;
}

/* --- Адаптивность --- */
@media (max-width: 768px) {
    .reviews-title {
        font-size: 26px;
    }
    
    .review-custom-nav {
        position: static; 
        margin-top: 15px;
        justify-content: flex-start;
    }

    .review-card {
        padding: 20px;
    }
    
    .review-card-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .review-info {
        align-items: center;
        padding-right: 0; /* Убираем отступ на мобильных */
    }
    
    .review-quote-icon {
        display: none; /* Скрываем кавычки на мобильных */
    }
}

/* =========================================
   БЛОК КАТАЛОГА (ПО МАКЕТУ FIGMA)
   ========================================= */

.catalog-v2 {
    padding: 60px 0;
    background-color: #F4F5F7; /* Светло-серый фон страницы */
    font-family: 'Arial', sans-serif;
}

.catalog-v2 .wrap {
    max-width: 1200px; /* Ширина из макета */
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Главный контейнер (из Figma) --- */
.catalog-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 24px; /* Отступ между карточками и меню из Figma */
    
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    /* height: 1146px; убрано, так как высота должна зависеть от контента */
}

/* --- Левая часть: Сетка карточек --- */
.catalog-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 колонки */
    gap: 20px; /* Отступ между карточками */
    flex: 1; /* Занимает всё оставшееся место */
}

/* --- Карточка товара --- */
.product-card {
    background: #fff;
    padding: 25px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin: 0 0 15px 0;
    line-height: 1.3;
    min-height: 52px; /* Для выравнивания заголовков в 1 и 2 строки */
}

.product-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Картинка не плющится */
}

.product-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 20px 0;
    flex-grow: 1; /* Прижимает цены к низу карточки */
}

/* Блок с ценами и точечной линией */
.product-prices {
    margin-bottom: 25px;
    border-top: 1px solid #EAEAEA;
    padding-top: 15px;
}

.price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
    color: #333;
    padding: 0;
}
.price-row:last-child {
    margin-bottom: 0;
}

.price-label {
    text-transform: uppercase;
    color: #666;
    white-space: nowrap;
}

/* Точечная линия, которая растягивается */
.price-dots {
    flex-grow: 1;
    border-bottom: 1px dotted #999;
    margin: 0 10px;
    position: relative;
    top: -4px;
}

.price-value {
    font-weight: bold;
    white-space: nowrap;
}

.price-value sup {
    font-size: 10px;
}

/* Кнопки */
.product-actions {
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    box-sizing: border-box;
    flex: 1; /* Кнопки одинаковой ширины */
}

.btn-yellow {
    background-color: #F5A623;
    color: #000;
    border: 1px solid #F5A623;
}
.btn-yellow:hover {
    background-color: #e0961d;
    border-color: #e0961d;
}

.btn-outline {
    background-color: transparent;
    color: #000;
    border: 1px solid #000;
}
.btn-outline:hover {
    background-color: #f0f0f0;
}

/* --- Правая часть: Желтое меню --- */
.catalog-sidebar {
    width: 360px; 
    flex-shrink: 0;
    background-color: #F5A623;
    padding: 30px 30px 111px 30px;
    box-sizing: border-box;
}

.sidebar-block {
    margin-bottom: 30px;
}
.sidebar-block:last-child {
    margin-bottom: 0;
}

.sidebar-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    margin-bottom: 10px;
    line-height: 1.3;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    margin-bottom: 6px;
}

.sidebar-list a {
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.4;
}
.sidebar-list a:hover {
    color: #fff; /* Подсветка при наведении */
}

/* Нижние ссылки в меню */
.sidebar-links {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-links a {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    text-decoration: underline;
}
.sidebar-links a:hover {
    text-decoration: none;
}

/* --- Адаптивность --- */
@media (max-width: 1024px) {
    .catalog-layout {
        flex-direction: column; /* Меню падает вниз под карточки */
        gap: 20px;
    }
    .catalog-sidebar {
        width: 100%; /* Меню на всю ширину */
    }
}

@media (max-width: 768px) {
    .catalog-cards {
        grid-template-columns: 1fr; /* Карточки в 1 колонку на мобильных */
    }
    .product-title {
        min-height: auto; /* Убираем фиксированную высоту */
    }
}

/* =========================================
   ФУТЕР V2 (По макету)
   ========================================= */

.footer-v2 {
    background-color: #0B0B0C; /* Темный фон */
    color: #ffffff;
    padding: 60px 0 30px;
    font-family: 'Arial', sans-serif;
}

.footer-v2 .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Верхняя часть: сетка из 4 колонок */
.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr 1fr; /* Пропорции колонок */
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Тонкая линия-разделитель */
}

/* Заголовки колонок */
.footer-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #E0E0E0;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

/* Списки ссылок */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: color 0.3s;
}

.footer-list a:hover {
    color: #fff;
}

/* Колонка 1: Бренд */
.footer-logo img {
    margin-bottom: 20px;
    display: block;
}

.footer-desc {
    color: #999;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    max-width: 250px;
}

/* Колонка 4: Контакты */
.footer-contact-block {
    margin-bottom: 25px;
}

.footer-contact-block:last-child {
    margin-bottom: 0;
}

.footer-contact-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s;
    display: inline-block;
}

.footer-contact-link.email {
    font-size: 18px;
}

.footer-contact-link:hover {
    color: #F5A623;
}

/* Соцсети (круглые иконки) */
.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.soc-circle {
    width: 36px;
    height: 36px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000; /* Цвет самой иконки (SVG) */
    transition: background-color 0.3s, color 0.3s;
}

.soc-circle:hover {
    background-color: #F5A623;
    color: #000;
}

.soc-circle svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Нижняя часть (Копирайт) */
.footer-bottom-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copy {
    font-size: 13px;
    color: #666;
}

.footer-docs {
    display: flex;
    gap: 30px;
}

.footer-docs a {
    font-size: 13px;
    color: #666;
    text-decoration: underline;
    transition: color 0.3s;
}

.footer-docs a:hover {
    color: #fff;
}

/* --- Адаптивность --- */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr; /* 1 колонка на телефонах */
    }
    .footer-bottom-v2 {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-docs {
        flex-direction: column;
        gap: 10px;
    }
}








/* =========================================
   МОБИЛЬНАЯ ВЕРСИЯ (ФИНАЛЬНАЯ)
   ========================================= */

/* --- Скрытие / Показ блоков --- */
.hero-desktop-only { display: block; }
.hero-mobile-only { display: none; }

html.m .hero-desktop-only { display: none !important; }
html.m .hero-mobile-only { 
    display: block !important; 
    padding-top: 20px;
}

/* --- 1. Мобильная шапка --- */
html.m .header-top { padding: 8px 0; border-bottom: none; }
html.m .logo-block .slogan,
html.m .header-search,
html.m .header-contacts .phone-block,
html.m .header-contacts .socials,
html.m .btn-services,
html.m .main-menu { display: none !important; }
html.m .logo-block { width: 100%; justify-content: flex-start; }
html.m .logo-block .logo img { max-height: 30px; }
html.m .header-nav-inner { height: auto; padding: 10px 0; justify-content: flex-end; }
html.m .btn-request { height: 32px; line-height: 32px; padding: 0 12px; font-size: 11px; margin: 0; }

/* Логотип в мобильной шапке */
html.m .logo-mobile img {
    max-height: 30px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* --- 2. Карточка с ценой --- */
html.m .mobile-price-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
html.m .mpc-title { font-size: 17px; font-weight: 700; color: rgba(11, 35, 69, 1); line-height: 1.3; margin-bottom: 10px; }
html.m .mpc-price { font-size: 42px; font-weight: 700; color: rgba(240, 100, 7, 1); line-height: 1; margin-bottom: 10px; }
html.m .mpc-price span { font-size: 18px; font-weight: 700; color: rgba(11, 35, 69, 1); }
html.m .mpc-note { font-size: 12px; color: #555; margin-bottom: 20px; background: #f2f2f2; padding: 6px 12px; border-radius: 6px; display: inline-flex; align-items: center; }
html.m .mpc-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
html.m .mpc-feature { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: #333; font-weight: 500; line-height: 1.4; }
html.m .mpc-icon { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: -2px; }
html.m .mpc-icon-orange { background: #F07F22; color: #fff; }
html.m .mpc-icon-light { background: #FFF3E0; color: #F07F22; }
html.m .mpc-link { display: block; text-align: center; font-size: 13px; color: #333; text-decoration: underline; font-weight: 500; }

/* --- 3. Заголовок --- */
html.m .mobile-hero-text .hero-title {
    font-size: 29px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.8px !important;
    text-align: left;
}
html.m .mobile-hero-text .hero-title span {
    font-size: 29px !important;
    letter-spacing: -0.8px !important;
    display: inline;
}

/* --- 4. Шаги на мобильных --- */
html.m .hero-steps-mobile {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 25px;
    margin-bottom: 25px;
}
html.m .hero-steps-mobile .step-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    padding-bottom: 30px;
    flex-direction: row;
}
html.m .hero-steps-mobile .step-item:last-child {
    padding-bottom: 0;
}
html.m .hero-steps-mobile .step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 15px;
    top: 32px;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
}
html.m .hero-steps-mobile .step-num {
    width: 32px;
    height: 32px;
    font-size: 16px;
    flex-shrink: 0;
    background: rgba(242, 107, 29, 1);
    color: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    position: relative;
    z-index: 2;
    box-shadow: 0px 4px 12px rgba(242, 107, 29, 0.4);
}
html.m .hero-steps-mobile .step-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 4px;
}
html.m .hero-steps-mobile .step-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}
html.m .hero-steps-mobile .step-desc {
    font-size: 14px;
    color: #b0b8c1;
    line-height: 1.45;
}

/* --- 5. Видео --- */
html.m .hero-video-wrap-mobile {
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
    position: relative;
}
html.m .hero-video-wrap-mobile .hero-video {
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block;
    width: 100%;
    height: auto;
}
html.m .hero-video-wrap-mobile .hero-image-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(12, 42, 77, 0.9);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- 6. Кнопки и статистика --- */
html.m .hero-bottom-actions { display: flex; flex-direction: column; gap: 12px; padding-bottom: 20px; }
html.m .action-btn { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; border-radius: 12px; text-decoration: none; box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
html.m .action-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-right: 15px; }
html.m .action-text { flex-grow: 1; text-align: left; }
html.m .action-title { font-size: 18px; font-weight: 700; line-height: 1.2; }
html.m .action-desc { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.8; margin-bottom: 2px; }
html.m .action-arrow { display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-left: 10px; }
html.m .action-btn-orange { background: linear-gradient(90deg, #F07F22 0%, #F5A623 100%); color: #fff; }
html.m .action-btn-blue { background: linear-gradient(90deg, #1E4D92 0%, #2563EB 100%); color: #fff; }
html.m .hero-stats { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 15px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; }
html.m .stat-item { padding: 0 10px; position: relative; }
html.m .stat-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 10%; height: 80%; width: 1px; background: rgba(255,255,255,0.1); }
html.m .stat-value { font-size: 24px; font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 5px; }
html.m .stat-label { font-size: 11px; color: #a0a0a0; line-height: 1.3; }

/* --- 7. Скрытие лишних блоков --- */
html.m .section-sales-v2,
html.m .catalog-v2,
html.m .reviews-v2,
html.m .footer-v2, 
html.d .hero-video-wrap-mobile { display: none !important; }

/* --- 8. Липкая панель --- */
html.m .mobile-sticky-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(12, 49, 91, 0.9255);
    padding: 12px 15px;
    box-sizing: border-box;
    gap: 10px;
    z-index: 9999;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.3);
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
}
html.m .sticky-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none; }
html.m .sticky-btn-call { background: transparent; color: #fff; border: 1.5px solid #4A7CDF; }
html.m .sticky-btn-calc { background: #F5A623; color: #000; border: 1.5px solid #F5A623; }

/* --- Скрытие старой мобильной шапки --- */
html.m .mobile-menu-wrap { display: none !important; }

@media (max-width: 991px) {
    html.m body {
        padding-bottom: 72px !important;
    }
}

@media (max-width: 960px) {
    html.m .hero-video {
        margin-top: 0px !important;
    }
}

html.m .hero-section-v2 {
  padding: 0px 0 0px;
}

/* Сетка для нижних карточек на десктопе */
.hero-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
    width: 100%;
}

/* Общие стили для карточек */
.hero-card {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
    gap: 16px;
}

.hero-card:hover {
    transform: translateY(-2px);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.card-text {
    flex: 1;
}

.card-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}

.card-desc {
    font-size: 13px;
    opacity: 0.9;
}

.card-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

/* Оранжевая карточка */
.card-orange {
    background: #F07F22;
    color: #fff;
}
.card-orange .card-icon { background: rgba(255,255,255,0.2); }
.card-orange .card-desc { color: rgba(255,255,255,0.85); }
.card-orange .card-arrow { background: rgba(255,255,255,0.2); }
.card-orange:hover .card-arrow { background: rgba(255,255,255,0.4); }

/* Желтая карточка */
.card-yellow {
    background: #F5A623;
    color: #0B0B0C;
}
.card-yellow .card-icon { background: rgba(255,255,255,0.3); color: #0B0B0C; }
.card-yellow .card-desc { color: rgba(12, 42, 77, 0.8); }
.card-yellow .card-arrow { background: rgba(12, 42, 77, 0.1); color: #0B0B0C; }
.card-yellow:hover .card-arrow { background: rgba(12, 42, 77, 0.2); }

/* Темная карточка (синяя) */
.card-dark {
    background: #122F52;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.08);
}
.card-dark .card-icon { background: rgba(255,255,255,0.08); }
.card-dark .card-icon-orange { background: #F07F22; color: #fff; }
.card-dark .card-desc { color: rgba(255,255,255,0.65); }
.card-dark .card-arrow { background: rgba(255,255,255,0.1); }
.card-dark:hover .card-arrow { background: rgba(255,255,255,0.2); }

/* Плашка на видео */
.hero-image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(12, 42, 77, 0.9);
    backdrop-filter: blur(4px);
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    z-index: 2;
}

.hero-image-badge .dot {
    width: 8px;
    height: 8px;
    background: #F5A623;
    border-radius: 50%;
    display: inline-block;
}

/* Адаптивность для сетки (чтобы на планшетах она не ломалась) */
@media (max-width: 992px) {
    .hero-bottom-grid {
        grid-template-columns: 1fr;
    }
}

/* Базовые стили для бургера (на случай, если они потерялись) */
.burger-icon {
    width: 18px;
    height: 12px;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease-in-out;
}

/* Средняя полоска */
.burger-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;
}

/* --- СОСТОЯНИЕ "АКТИВНО" (КРЕСТИК) --- */

/* Убираем верхнюю и нижнюю рамки (они превратятся в диагонали) */
.toggle-services.is-active .burger-icon {
    border-color: transparent; 
}

/* Превращаем среднюю полоску в одну из диагоналей крестика */
.toggle-services.is-active .burger-icon::after {
    transform: translateY(-50%) rotate(45deg);
    background: #000;
}

/* Создаем вторую диагональ крестика через псевдоэлемент before */
.toggle-services.is-active .burger-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
    transform: translateY(-50%) rotate(-45deg);
}

/* --- СТИЛИ ДЛЯ НОВОГО МОБИЛЬНОГО МЕНЮ --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    left: -100%; /* Скрыто слева */
    width: 85%;
    max-width: 350px;
    height: 100%;
    background: rgba(8, 44, 83, 1); /* Цвет как у шапки */
    z-index: 9999;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 15px rgba(0,0,0,0.3);
}

.mobile-menu-drawer.active {
    left: 0; /* Выезжает */
}

.mobile-menu-inner {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Ссылки меню */
.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    margin-bottom: auto; /* Прижимает телефон к низу */
}

.mobile-menu-nav a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.2s;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a:active {
    color: #F5A623;
}

/* Блок с телефоном */
.mobile-menu-phone {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    text-decoration: none;
    gap: 15px;
    margin-bottom: 20px;
}

.mmp-icon {
    width: 44px;
    height: 44px;
    background: #0B2A4D; /* Темно-синий круг */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.mmp-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mmp-text span {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.mmp-text strong {
    font-size: 18px;
    color: #fff;
    font-weight: 700;
}

.mmp-arrow {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

/* --- АНИМАЦИЯ КНОПКИ-БУРГЕРА (БЕЛЫЙ КРЕСТИК) --- */
/* Переопределяем цвет для мобильной шапки */
.mobile-menu-btn .burger-icon span {
    background: #fff;
}

.mobile-menu-btn.is-active .burger-icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.is-active .burger-icon span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.is-active .burger-icon span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* === ЖЕСТКИЕ СТИЛИ ДЛЯ КАЛЬКУЛЯТОРА === */

/* ТАБЫ */
.oc-tab.on {
    background-color: #f4ad3a !important;
    color: #050505 !important;
    box-shadow: inset 0 -2px 0 #c78317 !important;
    font-weight: 700 !important;
}

/* КНОПКИ СРОКА (1 месяц и т.д.) */
.oc-sgb.on {
    background-color: #f4ad3a !important;
    color: #050505 !important;
    box-shadow: inset 0 -2px 0 #c78317 !important;
    font-weight: 700 !important;
}

/* ЧЕКБОКСЫ (квадратики) */
.oc-ck input[type="checkbox"]:checked + .oc-ckb,
.oc-ck input[type="checkbox"]:checked ~ .oc-ckb {
    background-color: #f4ad3a !important;
    border-color: #f4ad3a !important;
    color: #fff !important;
}

/* Галочка внутри (если она через псевдоэлемент) */
.oc-ck input[type="checkbox"]:checked + .oc-ckb::after,
.oc-ck input[type="checkbox"]:checked ~ .oc-ckb::after {
    content: '✔' !important;
    color: #fff !important;
    display: block !important;
    font-size: 14px !important;
    line-height: 1 !important;
}

/* Жесткий селектор для чекбоксов */
.oc-ck input[type="checkbox"]:checked + .oc-ckb,
.oc-ck input[type="checkbox"]:checked ~ .oc-ckb {
    background-color: #f4ad3a !important;
    border-color: #f4ad3a !important;
    color: #fff !important;
}