@charset "UTF-8";

/* ================= ШРИФТЫ ================= */
@font-face {
  font-family: 'Open Sans';
  src: url('/assets/fonts/OpenSans/OpenSans-Regular.eot');
  src: local('Open Sans Regular'), local('OpenSans-Regular'),
    url('/assets/fonts/OpenSans/OpenSans-Regular.eot?#iefix') format('embedded-opentype'),
    url('/assets/fonts/OpenSans/OpenSans-Regular.woff') format('woff'),
    url('/assets/fonts/OpenSans/OpenSans-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Ubuntu';
  src: url('/assets/fonts/Ubuntu/Ubuntu-Bold.eot');
  src: local('Ubuntu Bold'), local('Ubuntu-Bold'),
    url('/assets/fonts/Ubuntu/Ubuntu-Bold.eot?#iefix') format('embedded-opentype'),
    url('/assets/fonts/Ubuntu/Ubuntu-Bold.woff') format('woff'),
    url('/assets/fonts/Ubuntu/Ubuntu-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

/* ================= БАЗОВЫЕ СТИЛИ ================= */
* {
  margin: 0;
  padding: 0;
  outline: 0;
}

html {
  box-sizing: border-box;
  -ms-overflow-style: scrollbar;
  height: 100%;
}

*, *::before, *::after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333e50;
  background-color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

p { padding: 10px 0; }
a { color: #516a94; }

h1 {
  font-family: 'Ubuntu', sans-serif;
  font-size: 55px;
  color: white;
  line-height: 1.3;
}

/* ================= ОБЩИЕ ЗАГОЛОВКИ ================= */
.section-title, .services__title, .works__title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 10px;
  padding: 0;
  line-height: 1.2;
}

.section-subtitle, .services__subtitle, .works__subtitle {
  font-size: 16px;
  margin: 0;
  padding: 0;
  color: #516a94;
}

.section-title-white, .works__title { color: #fff; }
.section-subtitle-white, .works__subtitle { color: #c5ccd6; }

@media (max-width: 991.98px) {
  .section-title, .services__title, .works__title { font-size: 28px; }
  .section-subtitle, .services__subtitle, .works__subtitle { font-size: 15px; }
}

/* ================= ШАПКА ================= */
.header {
  background-color: #202b3d;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-logo img { display: block; max-width: 100%; height: auto; }
.header-row { display: flex; align-items: center; flex-wrap: wrap; }
.main-menu { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.main-menu > li { position: relative; }
.main-menu a { display: flex; align-items: center; gap: 5px; text-decoration: none; color: #fff; font-size: 15px; font-weight: 500; white-space: nowrap; transition: color 0.2s ease; }
.main-menu a:hover, .main-menu li.active > a { color: #3b82f6; }
.main-menu .fa-chevron-down { font-size: 10px; transition: transform 0.25s ease; }
.has-submenu:hover .fa-chevron-down { transform: rotate(180deg); }
.submenu { position: absolute; top: 100%; left: 0; z-index: 100; min-width: 220px; padding: 10px 0; margin: 0; list-style: none; background: #1a2332; border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s; }
.has-submenu:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 8px 20px; font-size: 14px; color: #a0aec0; white-space: normal; }
.submenu a:hover { color: #fff; background: rgba(59, 130, 246, 0.1); }
.btn-ocenka { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 18px; border-radius: 30px; background: #3b82f6; color: #fff; font-size: 15px; font-family: 'Ubuntu', sans-serif; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background 0.2s ease; }
.btn-ocenka:hover { background: #2563eb; color: #fff; }
.btn-ocenka i { font-size: 14px; }
.header-phone-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.header-phone-icon { color: #fff; font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.header-phone-text { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.header-phone-number {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
    margin-bottom: 4px;
    font-family: 'Ubuntu', sans-serif;
    text-decoration: none; /* убираем подчеркивание у ссылки */
    display: inline-block; /* чтобы отступы и hover работали корректно */
    transition: color 0.2s ease;
}

.header-phone-number:hover {
    color: #3b82f6; /* подсветка синим при наведении */
}
.header-phone-sub { color: #c5ccd6; font-size: 13px; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.header-phone-sub i { font-size: 12px; color: #3b82f6; }
.burger-menu { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; }
.burger-menu:hover { color: #3b82f6; }

@media (min-width: 1200px) {
  .header-nav { display: block !important; position: static; }
  .header-nav .close-menu { display: none !important; }
  .header-burger-wrap { display: none; }
  .header-btn-wrap, .header-phone-wrap { text-align: right; }
  .btn-ocenka { width: auto; }
}

@media (max-width: 1199px) {
  .header-nav { display: none; position: fixed; inset: 0; z-index: 9999; flex-direction: column; justify-content: center; align-items: center; background: #0d1420; padding: 60px 20px 20px; overflow-y: auto; }
  .header-nav.active { display: flex; }
  .header-nav .close-menu { display: block; position: absolute; top: 20px; right: 20px; padding: 4px; background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; line-height: 1; z-index: 10000; }
  .header-nav .close-menu:hover { color: #3b82f6; }
  .header-nav .main-menu { flex-direction: column; gap: 14px; width: 100%; max-width: 400px; }
  .header-nav .main-menu > li { width: 100%; text-align: center; }
  .header-nav .main-menu > li > a { justify-content: center; font-size: 17px; }
  .header-nav .submenu { position: static; display: none; margin-top: 8px; padding: 0; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .header-nav .has-submenu.active .submenu { display: block; }
  .header-nav .has-submenu.active > a .fa-chevron-down { transform: rotate(180deg); }
  .header-nav .submenu a { padding: 6px 0; font-size: 16px; color: #8b9bb4; }
  .header-nav .submenu a:hover { color: #fff; background: transparent; }
}

.header-burger-wrap, .header-btn-wrap, .header-phone-wrap { text-align: right; }

@media (min-width: 992px) and (max-width: 1199px) {
  .header-burger-wrap { display: flex; justify-content: flex-end; align-items: center; }
  .header-btn-wrap, .header-phone-wrap { text-align: right; }
  .header-btn-wrap { margin-top: 0; }
  .btn-ocenka { display: inline-flex; width: auto; }
  .header-phone-number { font-size: 18px; }
  .header-phone-icon { font-size: 20px; }
  .header-phone-sub { font-size: 10px; }
}

@media (max-width: 991px) {
  .header-logo { text-align: left; }
  .header-phone-wrap { display: flex; justify-content: flex-end; align-items: flex-start; }
  .header-burger-wrap { display: flex; justify-content: flex-end; align-items: center; padding-top: 5px; }
  .header-phone-number { font-size: 17px; }
  .header-phone-icon { font-size: 16px; margin-top: 1px; }
  .header-phone-sub { font-size: 10px; white-space: normal; line-height: 1.1; }
  .header-btn-wrap { text-align: center; margin-top: 15px; }
  .header-btn-wrap .btn-ocenka { display: flex; width: 100%; justify-content: center; }
}

/* ================= ПЕРВЫЙ ЭКРАН ================= */
.first-screen { width: 100%; background-image: url('/assets/img/first-screen-pc.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; }
@media (max-width: 991.98px) { .first-screen { background-image: url('/assets/img/first-screen-pc-tablet.jpg'); background-position: center bottom; } }
.bg { background-color: rgba(13, 20, 32, 0.2); padding: 150px 0 250px 0; }
@media (max-width: 991.98px) { .bg { padding: 150px 0 600px 0; } }
.first-screen__title { font-family: 'Ubuntu', sans-serif; font-size: 70px; font-weight: 700; line-height: 1.15; color: #fff; margin: 0 0 24px; }
.first-screen__title span { color: #3b82f6; }
.first-screen__subtitle { font-size: 18px; line-height: 1.55; color: #e5e9f0; margin: 0 0 50px; padding: 0; max-width: 535px; }
.first-screen__features { row-gap: 22px; }
.first-screen__features .feature { display: flex; flex-direction: column; align-items: center; text-align: center; }
.first-screen__features .feature i { font-size: 35px; color: #3b82f6; line-height: 1; margin-bottom: 8px; }
.first-screen__features .feature span { font-size: 14px; line-height: 1.25; color: #fff; }
@media (max-width: 991px) {
  .bg { padding: 100px 0px 600px 0; }
  .first-screen__title { font-size: 40px; }
  .first-screen__subtitle { font-size: 16px; margin-bottom: 30px; }
  .first-screen__features .feature i { font-size: 24px; }
}
@media (max-width: 767.98px) {
  .first-screen { background-image: url('/assets/img/first-screen-sm.jpg'); background-position: center; background-repeat: no-repeat; }
  .bg { padding: 100px 0px 600px 0; }
}
@media (max-width: 575px) {
  .first-screen__title { font-size: 30px; margin-bottom: 16px; }
  .first-screen__subtitle { font-size: 15px; margin-bottom: 24px; }
  .first-screen__features { row-gap: 18px; }
  .first-screen__features .feature i { font-size: 22px; margin-bottom: 6px; }
  .first-screen__features .feature span { font-size: 13px; }
  .first-screen { background-image: url('/assets/img/first-screen-x-sm.jpg'); background-position: center; background-repeat: no-repeat; }
  .bg { padding: 70px 0px 300px 0; }
}

/* ================= БЛОК ПРЕИМУЩЕСТВ ================= */
.advantages { padding: 45px 0; background-color: #f8fafc; }
.advantage-item { display: flex; align-items: center; justify-content: center; gap: 15px; position: relative; }
.advantage-item::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 40px; background-color: #e2e8f0; }
.advantage-item:first-child::before { display: none; }
.advantage-icon i { font-size: 35px; color: #4f5e75; line-height: 1; }
.advantage-text { font-weight: bold; line-height: 1.3; }
@media (max-width: 991.98px) {
  .advantages { padding: 30px 0; }
  .advantage-item { flex-direction: column; text-align: center; gap: 10px; padding: 15px 5px; }
  .advantage-item::before { display: none; }
  .advantage-item:nth-child(1), .advantage-item:nth-child(2) { border-bottom: 1px solid #e2e8f0; }
  .advantage-item:nth-child(3)::before { display: block; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 40px; background-color: #e2e8f0; }
  .advantage-text { font-size: 13px; }
}

/* ================= БЛОК УСЛУГ ================= */
.services { padding: 60px 0 80px; }
.services__header { margin-bottom: 35px; }
.service-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px; border-radius: 12px; overflow: hidden; background-size: cover; background-position: center; background-repeat: no-repeat; text-decoration: none; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); }
.service-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 20, 32, 0.9) 0%, rgba(13, 20, 32, 0.4) 50%, rgba(13, 20, 32, 0.1) 100%); transition: background 0.3s ease; z-index: 1; }
.service-card:hover .service-card__overlay { background: linear-gradient(to top, rgba(13, 20, 32, 0.95) 0%, rgba(13, 20, 32, 0.5) 50%, rgba(13, 20, 32, 0.2) 100%); }
.service-card__content { position: relative; z-index: 2; padding: 20px; color: #fff; }
.service-card__title { font-family: 'Ubuntu', sans-serif; font-size: 20px; font-weight: 700; margin: 0 0 5px; color: #fff; line-height: 1.2; }
.service-card__desc { font-size: 14px; color: #c5ccd6; margin: 0; padding: 0; }
.service-card__arrow { position: absolute; bottom: 20px; right: 20px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; color: #fff; font-size: 14px; transition: background 0.3s ease, border-color 0.3s ease; }
.service-card:hover .service-card__arrow { background: #3b82f6; border-color: #3b82f6; }
@media (max-width: 1199.98px) { .service-card { min-height: 280px; } }
@media (max-width: 767.98px) {
  .service-card { min-height: 250px; }
  .service-card__title { font-size: 18px; }
}

/* ================= БЛОК НАШИ РАБОТЫ ================= */
.works {
  padding: 80px 0;
  background-image: url('/assets/img/bg-works.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.works::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 20, 32, 0.85);
  z-index: 1;
}

.works .container {
  position: relative;
  z-index: 2;
}

.works__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.works__controls { display: flex; gap: 15px; }

.works__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.works__btn:hover { background: #3b82f6; border-color: #3b82f6; }

.works__slider-wrapper {
  overflow: hidden;
  width: 100%;
  margin: 0 -10px;
}

.works__slider {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.4s ease;
  width: 100%;
}

.works__slide {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  min-width: 0;
  padding: 0 10px;
  box-sizing: border-box;
}

.work-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #fff;
  user-select: none;
}

.work-card__images {
  position: relative;
  width: 100%;
  height: 260px; 
  background: #000;
  overflow: hidden;
  cursor: col-resize;
}

.work-card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.work-card__img--after {
  z-index: 2;
  clip-path: inset(0 0 0 50%);
  will-change: clip-path;
}

.work-card__badge {
  position: absolute;
  bottom: 15px;
  padding: 6px 16px;
  background: #fff;
  color: #333e50;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 14px;
  border-radius: 20px;
  z-index: 3;
  pointer-events: none;
}

.work-card__badge--before { left: 15px; }
.work-card__badge--after { right: 15px; }

.work-card__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  z-index: 4;
  transform: translateX(-50%);
}

.work-card__handle::after {
  content: '\f337';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #fff;
  color: #333e50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Кнопка "Смотреть все работы" */
.works__all-wrap {
  display: flex;
  justify-content: center;
  margin-top: 45px;
}

.btn-works-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 30px;
  background: #3b82f6;
  color: #fff;
  font-family: 'Ubuntu', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid #3b82f6;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn-works-all:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  transform: translateY(-2px);
}

.btn-works-all i {
  font-size: 15px;
}

@media (max-width: 767.98px) {
  .works__all-wrap { margin-top: 30px; }
  .btn-works-all { width: 100%; padding: 12px 20px; font-size: 15px; }
}

@media (max-width: 1199.98px) {
  .works__slide { flex: 0 0 50%; max-width: 50%; }
}

@media (max-width: 767.98px) {
  .works { padding: 60px 0; }
  .works__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .works__controls { align-self: flex-end; }
  .works__slide { flex: 0 0 100%; max-width: 100%; }
  .work-card__images { height: 250px; }
}

/* ================= БЛОК ОТЗЫВОВ ================= */
.reviews { padding: 0 0 60px 0; }

.reviews__rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 35px;
}

.reviews__stars {
  display: inline-flex;
  gap: 4px;
}

.reviews__stars i {
  font-size: 26px;
  color: #fbbf24;
  line-height: 1;
}

.reviews__rating-text {
  font-family: 'Ubuntu', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #202b3d;
}

/* ================= БЛОК ОТЗЫВОВ: КАРТОЧКИ ================= */
.reviews__card {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(13, 20, 32, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  padding: 15px;
}

.reviews__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(13, 20, 32, 0.14);
}

@media (max-width: 767.98px) {
  .reviews__card { border-radius: 10px; }
  .reviews__stars i { font-size: 22px; }
  .reviews__rating-text { font-size: 15px; }
}

/* ================= БЛОК СРАВНЕНИЯ (COMPARISON) ================= */
.comparison {
  padding: 60px 0 80px;
}

.comparison .section-title {
  margin-bottom: 35px;
}

.comparison__scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #3b82f6 #e2e8f0;
}

.comparison__scroll::-webkit-scrollbar {
  height: 6px;
}
.comparison__scroll::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 3px;
}
.comparison__scroll::-webkit-scrollbar-thumb {
  background-color: #3b82f6;
  border-radius: 3px;
}

.comparison__table {
  min-width: 900px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(13, 20, 32, 0.05);
  overflow: hidden;
}

.comparison__row {
  display: grid;
  grid-template-columns: 36% 24% 20% 20%;
  align-items: stretch;
  border-bottom: 1px solid #e2e8f0;
}

.comparison__row:last-child {
  border-bottom: none;
}

.comparison__row:nth-child(even) {
  background-color: #f1f5f9;
}

.comparison__row--header {
  background-color: #fff !important;
  border-bottom: none;
}

/* --- КОЛОНКИ (ОБЩИЕ) --- */
.comparison__col {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  font-size: 15px;
  color: #333e50;
  line-height: 1.4;
}

/* 1-я колонка (Названия) */
.comparison__col--name {
  gap: 15px;
  font-weight: 500;
}

/* 2, 3, 4 колонки (Наша, Дилеры, Другие) */
.comparison__col--our,
.comparison__col--other {
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: 8px;
}

/* Наша центральная колонка (дизайн) */
.comparison__col--our {
  position: relative;
  z-index: 2;
  background-color: #0d1420;
  color: #fff;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4), inset 0 0 15px rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  margin: -6px 10px;
  padding-top: 22px;
  padding-bottom: 22px;
}

/* Линия между 3 и 4 колонкой */
.comparison__col--other:nth-child(3) {
  border-right: 1px solid #cbd5e1;
}
.comparison__row--header .comparison__col--other:nth-child(3) {
  border-right: 1px solid #cbd5e1;
}

/* Иконки слева в 1 колонке */
.comparison__icon {
  font-size: 24px;
  color: #3b82f6;
  width: 30px;
  text-align: center;
  flex-shrink: 0;
}

/* Выравнивание крайних ячеек центральной колонки */
.comparison__row:first-child .comparison__col--our {
  margin-top: 0;
  padding-top: 16px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.comparison__row:last-child .comparison__col--our {
  margin-bottom: 0;
  padding-bottom: 16px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* Заголовок центральной колонки */
.comparison__row--header .comparison__col--our {
  background: linear-gradient(180deg, #0d1420 0%, #1a2b4c 100%);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.5);
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Логотип внутри таблицы */
.comparison__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.comparison__logo-img {
  max-width: 140px;
  height: auto;
  filter: brightness(0) invert(1);
}

/* Заголовки других колонок */
.comparison__row--header .comparison__col--other {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  color: #516a94;
  background-color: #e2e8f0;
  justify-content: center;
  padding: 16px 10px;
  margin: 0;
}

/* Скругления для левого и правого края шапки */
.comparison__row--header .comparison__col--other:nth-child(3) {
  border-radius: 12px 0 0 12px;
}
.comparison__row--header .comparison__col--other:nth-child(4) {
  border-radius: 0 12px 12px 0;
}
.comparison__row--header .comparison__col--other:last-child {
  margin-right: 0;
  border-top-right-radius: 0;
}

/* Маркеры */
.comparison__mark {
  font-size: 22px;
  flex-shrink: 0;
}
.comparison__mark--check {
  color: #22c55e;
}
.comparison__mark--cross {
  color: #ef4444;
}
.comparison__col--our .comparison__mark--check {
  color: #60a5fa;
}

/* ================= АДАПТИВНОСТЬ БЛОКА СРАВНЕНИЯ ================= */
@media (max-width: 991.98px) {
  .comparison__table { min-width: 950px; }
  .comparison__row { grid-template-columns: 35% 30% 17.5% 17.5%; }
  .comparison__col { padding: 14px 15px; font-size: 14px; }
  .comparison__scroll { background: none; padding-right: 0; }
}

@media (max-width: 575.98px) {
  .comparison { padding: 40px 0 60px; }
  .comparison__table { min-width: 850px; }
  .comparison__row { grid-template-columns: 35% 30% 17.5% 17.5%; }
  .comparison__col { padding: 12px 12px; font-size: 13px; }
  .comparison__icon { font-size: 18px; width: 24px; }
  .comparison__mark { font-size: 18px; }
  .comparison__logo-img { max-width: 120px; }
}

/* ================= ПОДСКАЗКА ДЛЯ МОБИЛЬНЫХ ================= */
.comparison__hint {
  padding: 0;
  margin-bottom: 25px;
  text-align: left; 
  font-size: 14px;
  color: #516a94; 
}

/* ================= ТЕНЬ СПРАВА НА МОБИЛКАХ ================= */
@media (max-width: 991.98px) {
  .comparison__table { min-width: 800px; }
  .comparison__col { padding: 12px 15px; font-size: 14px; }
  .comparison__scroll {
    background: linear-gradient(to right, transparent 95%, rgba(0,0,0,0.1) 100%);
    background-attachment: local;
    padding-right: 10px;
  }
}

/* ================= БЛОК О НАС В ЦИФРАХ ================= */
.about-numbers {
  padding: 80px 0;
  background-image: url('/assets/img/bg-o-nas.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #fff;
}

.about-numbers::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 20, 32, 0.5); 
  z-index: 1;
}

.about-numbers .container {
  position: relative;
  z-index: 2;
}

.about-numbers__title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #fff;
}

.about-numbers__title span {
  color: #3b82f6;
}

.about-numbers__row {
  display: flex;
  flex-wrap: wrap;
}

.about-numbers__item {
  position: relative;
  padding: 10px 20px;
  text-align: left;
  border-right: 1px solid rgba(59, 130, 246, 0.3); 
}

@media (min-width: 992px) {
  .about-numbers__row > div:last-child {
    border-right: none;
  }
}

.about-numbers__icon {
  font-size: 36px;
  color: #3b82f6;
  margin-bottom: 15px;
}

.about-numbers__value {
  font-family: 'Ubuntu', sans-serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 10px;
  color: #fff;
}

.about-numbers__item:first-child .about-numbers__value {
  font-size: 75px;
  line-height: 1;
}

.about-numbers__unit {
  font-size: 24px;
  font-weight: 400;
}

.about-numbers__text {
  font-size: 15px;
  line-height: 1.4;
  color: #c5ccd6;
}

.about-numbers__badge {
  display: inline-block;
  background-color: #3b82f6;
  color: #fff;
  padding: 8px 25px;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-top: 15px;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%);
}

@media (max-width: 991.98px) {
  .about-numbers {
    padding: 50px 0;
  }
  .about-numbers__title {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
  }
  .about-numbers__item {
    border-right: none;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3); 
    padding: 25px 0;
    text-align: center;
  }
  .about-numbers__item:last-child {
    border-bottom: none;
  }
  .about-numbers__value,
  .about-numbers__item:first-child .about-numbers__value {
    font-size: 48px;
  }
  .about-numbers__icon {
    font-size: 32px;
  }
}

/* ================= БЛОК ПРЕИМУЩЕСТВ (КАРТОЧКИ) ================= */
.benefits {
	margin-top:60px;
    padding: 40px 0 80px;
    background-color: #f8fafc;
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #ffffff;
    border-radius: 12px;
    padding: 25px 30px;
    height: 100%;
    position: relative;
    box-shadow: 0 4px 20px rgba(13, 20, 32, 0.05);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Синяя полоса слева */
.benefit-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background-color: #3b82f6;
    border-radius: 12px 0 0 12px;
}

/* Эффект при наведении */
.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(13, 20, 32, 0.1);
}

/* Иконка */
.benefit-card__icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #eff6ff; /* Светло-синий фон */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #3b82f6; /* Синий цвет иконки */
}

/* Контейнер для текста */
.benefit-card__content {
    display: flex;
    flex-direction: column;
}

/* Заголовок (теперь это p) */
.benefit-card__title {
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #202b3d;
    margin: 0 0 8px;
    padding: 0; /* Убираем глобальный padding для p */
    line-height: 1.3;
}

/* Описание */
.benefit-card__text {
    font-size: 14px;
    color: #516a94;
    margin: 0;
    padding: 0; /* Убираем глобальный padding для p */
    line-height: 1.5;
}

/* Адаптив для мобилок */
@media (max-width: 575.98px) {
    .benefit-card {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .benefit-card__icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .benefit-card__title {
        font-size: 16px;
    }
}

/* ================= БЛОК ЦЕН ================= */
.prices {
    padding: 60px 0 80px;
    background-color: #ffffff;
}

.prices .section-title { margin-bottom: 10px; }
.prices .section-subtitle { margin-bottom: 35px; }

.prices__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(13, 20, 32, 0.05);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

/* Заголовок */
.prices__table thead th {
    background-color: #333e50;
    color: #fff;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 20px;
    text-align: left;
}

.prices__table thead th:last-child {
    text-align: center;
}
/* Разделитель между заголовками колонок */
.prices__table thead th:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

/* Ячейки */
.prices__table tbody td {
    padding: 16px 20px;
    font-size: 15px;
    color: #333e50;
    line-height: 1.4;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
}

.prices__table tbody td:last-child {
    border-right: none;
}

.prices__table tbody tr:last-child td {
    border-bottom: none;
}

/* Чередование */
.prices__table tbody tr:nth-child(even) td {
    background-color: #f8fafc;
}

/* Ховер */
.prices__table tbody tr:hover td {
    background-color: #eff6ff;
}

/* Цена */
.prices__table tbody td:last-child {
    font-family: 'Ubuntu', sans-serif;
    white-space: nowrap;
}

/* Адаптив — таблица сжимается, текст переносится */
@media (max-width: 767.98px) {
    .prices__table thead th,
    .prices__table tbody td {
        padding: 12px 15px;
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .prices__table thead th,
    .prices__table tbody td {
        padding: 10px 12px;
        font-size: 13px;
    }
    .prices__table tbody td:last-child {
        font-size: 13px;
        white-space: normal; /* На узких экранах разрешаем перенос цены */
    }
}


/* ================= БЛОК ДЕТАЛЕЙ ================= */
.details {
    padding: 60px 0 0 0px;
    background-color: #ffffff;
}

.details__header {
    margin-bottom: 40px;
}

.details__title {
    font-family: 'Ubuntu', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #202b3d;
    margin: 0 0 15px;
    padding: 0;
}

.details__title span {
    color: #3b82f6; /* Твой синий акцент */
}

.details__subtitle {
    font-size: 18px;
    line-height: 1.5;
    color: #516a94;
    margin: 0;
    padding: 0;
}

/* Карточка */
.detail-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(13, 20, 32, 0.06);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(13, 20, 32, 0.1);
}

/* Шапка карточки (иконка + заголовок) */
.detail-card__header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 25px 20px;
}

.detail-card__icon {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #3b82f6;
}

.detail-card__title {
    font-family: 'Ubuntu', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #202b3d;
    margin: 0;
    padding: 0;
    line-height: 1.25;
}

/* Обертка для картинки */
.detail-card__image-wrap {
    width: 100%;
    height: 200px;
    padding: 0 25px;
}

.detail-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* Текст */
.detail-card__body {
    padding: 20px 25px 25px;
    flex-grow: 1;
}

.detail-card__text {
    font-size: 15px;
    line-height: 1.6;
    color: #516a94;
    margin: 0;
    padding: 0;
}

.detail-card__text strong {
    color: #202b3d;
}

/* Адаптив */
@media (max-width: 991.98px) {
    .details__title {
        font-size: 32px;
    }
    .details__subtitle {
        font-size: 16px;
    }
    .detail-card__image-wrap {
        height: 180px;
    }
}

@media (max-width: 767.98px) {
    .details {
        padding: 40px 0 60px;
    }
    .details__title {
        font-size: 28px;
    }
    .detail-card__header {
        padding: 20px 20px 15px;
    }
    .detail-card__image-wrap {
        padding: 0 20px;
        height: 160px;
    }
    .detail-card__body {
        padding: 15px 20px 20px;
    }
    .detail-card__title {
        font-size: 18px;
    }
}

/* ================= БЛОК СТАТЕЙ (POSTS) ================= */
.posts {
    padding: 60px 0 0 0;
    background-color: #ffffff;
}

.post-row {
    margin-bottom: 0;
}

.post-text {
    padding: 10px 0;
}

.post-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px;
    padding: 0;
}

.post-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #516a94; /* Цвет текста как в других абзацах сайта */
    margin-bottom: 15px;
    padding: 0;
}

.post-text p:last-child {
    margin-bottom: 0;
}

/* Изображения */
.post-image {
    width: 100%;
    height: 100%;
    min-height: 350px;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: 0 10px 30px rgba(13, 20, 32, 0.1);
}

/* Разделитель */
.post-divider {
    height: 1px;
    background-color: #e2e8f0;
    margin: 50px 0;
}

/* Адаптив */
@media (max-width: 991.98px) {
    .post-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .post-image {
        min-height: 250px;
        margin-top: 25px;
        margin-bottom: 25px;
    }
    .post-divider {
        margin: 30px 0;
    }
}

@media (max-width: 575.98px) {
    .posts {
        padding: 40px 0;
    }
    .post-title {
        font-size: 24px;
    }
    .post-text p {
        font-size: 15px;
    }
    .post-image {
        min-height: 200px;
    }
}

/* ================= H1 НА ВНУТРЕННИХ СТРАНИЦАХ ================= */
.inside-page{
	padding:25px 0;
}
.inside-page h1 {
  font-family: 'Ubuntu', sans-serif;
  font-size: 38px;          /* как h2 (36px) + 2px */
  font-weight: 700;
  color: #333e50;           /* как основной текст/заголовки секций */
  line-height: 1.2;
  margin: 0 0 10px;
  padding: 0;
}

@media (max-width: 991.98px) {
  .inside-page h1 { font-size: 30px; } /* 28px (h2 на мобиле) + 2px */
}

/* ================= ПОЛИТИКА КОНФИДЕНЦИАЛЬНОСТИ ================= */
.privacy-policy p { margin: 0 0 10px; }
.privacy-policy ul { margin: 0 0 15px 20px; padding: 0; }
.privacy-policy li { margin-bottom: 6px; }
.privacy-policy h2 {
  font-family: 'Ubuntu', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #333e50;
  line-height: 1.3;
  margin: 28px 0 12px;
}
.privacy-policy a { color: #3b82f6; text-decoration: underline; }
.privacy-policy a:hover { color: #2563eb; }

/* ================= СПИСКИ НА ВНУТРЕННИХ СТРАНИЦАХ ================= */
.inside-page ul,
.inside-page ol {
  margin: 0 0 15px 0;
  padding-left: 22px;   /* маркеры внутри границы контента */
}

.inside-page li {
  margin-bottom: 6px;
  padding-left: 4px;    /* небольшой зазор между маркером и текстом */
}

/* Если нужно, чтобы и вложенные списки не вылезали */
.inside-page ul ul,
.inside-page ol ol,
.inside-page ul ol,
.inside-page ol ul {
  margin: 6px 0 6px 0;
  padding-left: 20px;
}

/* ================= ФУТЕР ================= */
.footer {
    background-color: #202b3d;
    color: #c5ccd6;
    padding: 60px 0 0;
    flex-shrink: 0;
    margin-top: auto;
}

.footer__row {
    row-gap: 40px;
    padding-bottom: 40px;
}

.footer__logo {
    margin-bottom: 20px;
}
.footer__logo img {
    display: block;
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1); /* Логотип белым */
}

.footer__text {
    font-size: 14px;
    line-height: 1.6;
    color: #a0aec0;
    margin: 0 0 20px;
    padding: 0;
    max-width: 300px;
}

/* Соцсети */
.footer__socials {
    display: flex;
    gap: 12px;
}
.footer__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.footer__socials a:hover {
    background: #3b82f6;
    color: #fff;
}

/* Заголовки колонок */
.footer__title {
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
    padding: 0;
}

/* Меню услуг */
.footer__menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer__menu li {
    margin-bottom: 10px;
}
.footer__menu a {
    color: #a0aec0;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}
.footer__menu a:hover {
    color: #3b82f6;
}

/* Контакты */
.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.4;
}
.footer__contact-item i {
    color: #3b82f6;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}
.footer__contact-item a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}
.footer__contact-item a:hover {
    color: #3b82f6;
}

/* Кнопки */
.footer__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}
.btn-footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 30px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-footer--primary {
    background: #3b82f6;
    color: #fff;
}
.btn-footer--primary:hover {
    background: #2563eb;
    color: #fff;
}
.btn-footer--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}
.btn-footer--outline:hover {
    background: #fff;
    color: #202b3d;
    border-color: #fff;
}

/* Нижняя полоса */
.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    background: #1a2332;
}
.footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.footer__copyright {
    font-size: 13px;
    color: #8b9bb4;
    margin: 0;
    padding: 0;
}
.footer__policy {
    font-size: 13px;
    color: #8b9bb4;
    text-decoration: underline;
    text-decoration-color: rgba(139, 155, 180, 0.4);
    transition: color 0.2s;
}
.footer__policy:hover {
    color: #3b82f6;
}

/* Адаптив */
@media (max-width: 991.98px) {
    .footer {
        padding-top: 40px;
    }
    .footer__row {
        row-gap: 30px;
        padding-bottom: 30px;
    }
    .footer__text {
        max-width: 100%;
    }
    .footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .footer__actions {
        flex-direction: column;
    }
    .btn-footer {
        width: 100%;
    }
}

/* ================= ПОПАП ================= */
.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.photo-modal.is-open { display: flex; }

.photo-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
}

.photo-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: #202b3d;
  border-radius: 14px;
  padding: 28px 24px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: photoModalIn 0.25s ease;
}

@keyframes photoModalIn {
  from { opacity: 0; transform: translateY(15px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.photo-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.photo-modal__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #3b82f6;
}

.photo-modal__title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  padding-right: 40px;
}

.photo-modal__text {
  color: #a0aec0;
  font-size: 14px;
  margin: 0 0 18px;
  padding: 0;
}

.photo-modal__list { display: flex; flex-direction: column; gap: 10px; }

.photo-modal__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  background: #2b3a52;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.photo-modal__item:hover {
  background: #354766;
  border-color: #3b82f6;
  color: #fff;
  transform: translateY(-1px);
}

.photo-modal__item > i { font-size: 22px; width: 28px; text-align: center; flex-shrink: 0; }
.photo-modal__item--email > i { color: #f59e0b; }
.photo-modal__item--max > i   { color: #a78bfa; }
.photo-modal__item--tg > i    { color: #38bdf8; }
.photo-modal__item--wa > i    { color: #22c55e; }

.photo-modal__item-text { display: flex; flex-direction: column; line-height: 1.25; }
.photo-modal__item-text strong { font-size: 15px; font-weight: 600; }
.photo-modal__item-text small { font-size: 12px; color: #a0aec0; }

body.modal-open { overflow: hidden; }