/* =========================
   БАЗА
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #ffffff;
  color: #111827;
}

/* Контейнер */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Ссылки и типографика */

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
}

p {
  margin: 0;
}

/* Кнопки */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 9999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background-color: #f97316;
  color: #ffffff;
  border-color: #f97316;
}

.btn-primary:hover {
  background-color: #ea580c;
  border-color: #ea580c;
}

.btn-outline {
  background-color: transparent;
  color: #f97316;
  border-color: #f97316;
}

.btn-outline:hover {
  background-color: #fff7ed;
}

.btn-light {
  background-color: #ffffff;
  color: #f97316;
  border-color: #ffffff;
}

.btn-light:hover {
  background-color: #f3f4f6;
}

/* =========================
   HEADER
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.site-header-inner {
  display: flex;
  flex-direction: column;
}

/* Мобильная строка */

.header-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.header-mobile-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo img {
  max-width: 170px;
  height: auto;
}

/* Бургер */

.burger-btn {
  border: none;
  background: transparent;
  padding: 8px;
  border-radius: 6px;
  color: #4b5563;
  cursor: pointer;
}

.burger-btn:hover {
  background-color: #f3f4f6;
  color: #111827;
}

/* Телефон */

.header-phone {
  white-space: nowrap;
  color: #f97316;
  font-weight: 500;
  font-size: 14px;
}

.header-phone:hover {
  color: #ea580c;
}

/* Десктопная строка */

.header-desktop {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  flex: 1;
}

.header-nav a {
  font-size: 17px;
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
}

.header-nav a:hover {
  color: #f97316;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-right-phone {
  font-weight: 500;
  color: #111827;
  white-space: nowrap;
  font-size: 17px;
}

.header-messengers {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-messenger-circle {
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-messenger-circle span {
  font-size: 16px;
}

/* Цветовые метки для «иконок» */

.header-messenger-viber {
  color: #8b5cf6;
}

.header-messenger-telegram {
  color: #3b82f6;
}

.header-messenger-whatsapp {
  color: #22c55e;
}

/* =========================
   МОБИЛЬНОЕ МЕНЮ
   ========================= */

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 40;
  display: none;
}

.mobile-menu-backdrop.open {
  display: block;
}

.mobile-menu-panel {
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  width: 280px;
  max-width: 80%;
  background-color: #ffffff;
  box-shadow: -2px 0 10px rgba(15, 23, 42, 0.2);
  display: flex;
  flex-direction: column;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.mobile-menu-content {
  padding: 16px;
  overflow-y: auto;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu-nav a {
  font-size: 18px;
  color: #374151;
}

.mobile-menu-nav a:hover {
  color: #f97316;
}

.mobile-menu-subtitle {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 8px;
}

.mobile-menu-contacts {
  border-top: 1px solid #e5e7eb;
  margin-top: 16px;
  padding-top: 16px;
  text-align: center;
}

.mobile-menu-phone {
  font-size: 18px;
  color: #f97316;
  font-weight: 600;
}

/* Стили для контейнера иконок мессенджеров в мобильном меню */
.mobile-menu-messengers {
    display: flex !important;
    /* flex-direction: column !important; */ /* Убираем вертикальное направление */
    justify-content: center !important; /* Центрируем иконки по горизонтали */
    align-items: center !important;     /* Выравниваем иконки по центру по вертикали (если строки несколько) */
    gap: 80px !important;               /* Отступ между иконками */
    margin: 16px 0 !important;          /* Отступ сверху и снизу блока */
}

/* Убедимся, что изображения в мобильном меню имеют нужный размер */
.mobile-menu-messengers img {
    width: 32px !important;
    height: 32px !important;
    object-fit: contain !important;
}


/* =========================
   FOOTER
   ========================= */

.site-footer {
  background-color: #1f2937;
  color: #f9fafb;
  padding: 48px 0;
  margin-top: 48px;
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.footer-col-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li {
  margin-bottom: 8px;
  font-size: 14px;
  color: #d1d5db;
}

.footer-list a {
  color: #d1d5db;
}

.footer-list a:hover {
  color: #fb923c;
}

.footer-messengers {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-messengers span {
  font-size: 12px;
}

.footer-bottom {
  border-top: 1px solid #374151;
  margin-top: 32px;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #9ca3af;
}

.footer-logo img {
  height: 64px;
  width: auto;
}

/* =========================
   ОБЩИЕ СЕКЦИИ
   ========================= */

.section {
  padding: 64px 0;
}

.section-light {
  background-color: #ffffff;
}

.section-gray {
  background-color: #f9fafb;
}

.section-dark {
  background-color: #111827;
  color: #ffffff;
}

.section-title {
  font-size: 28px;
  margin-bottom: 24px;
  color: #111827;
}

.section-title-center {
  text-align: center;
}

.section-text {
  font-size: 16px;
  color: #4b5563;
  margin-bottom: 16px;
}

/* Две колонки */

.two-columns {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .two-columns {
    grid-template-columns: 1.4fr 1fr;
  }
}

/* =========================
   HERO
   ========================= */

.hero {
  background: linear-gradient(to right, #f97316, #f97316);
  color: #ffffff;
  padding: 64px 0;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

/* =========================
   БЛОК "О КОМПАНИИ"
   ========================= */

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.benefit-item-title {
  font-weight: 600;
  margin-bottom: 4px;
}

/* =========================
   НАШИ УСЛУГИ (карточки)
   ========================= */

.cards-grid {
  display: grid;
  gap: 24px; /* расстояние между карточками */
}

/* Для экранов от 768px и выше (например, планшеты и десктопы) */
@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr); /* три карточки в ряду */
  }
}

/* Для экранов до 768px (мобильные устройства) */
@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr; /* Одна карточка в ряду на мобильных устройствах */
  }
}

/* Стили для карточек */
.service-card {
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center; /* Центрируем содержимое карточки */
}

.service-icon-img {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  width: 100%; /* Растягиваем контейнер на всю ширину карточки */
  max-width: 800px; /* Ограничиваем максимальный размер для ПК */
  max-height: 800px; /* Ограничиваем максимальную высоту изображения */
}

.service-icon-img img {
  width: 100%;
  height: auto;
  object-fit: contain; /* Сохраняем пропорции изображения */
  max-width: 800px; /* Ограничиваем изображение для ПК */
  max-height: 800px; /* Ограничиваем изображение для ПК */
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .service-icon-img img {
    max-width: 100% !important; /* Убираем ограничение 800px */
    width: 100%;
  }
}

/* Адаптивность для устройств с очень маленьким экраном (ширина до 480px) */
@media (max-width: 480px) {
  .service-icon-img img {
    max-width: 100% !important; /* Убираем ограничение 800px */
    width: 100%;
  }
}

.service-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.service-text {
  font-size: 14px;
  color: #4b5563;
  text-align: center;
}


/* =========================
   ПОЧЕМУ ВЫБИРАЮТ НАС
   ========================= */

.advantages-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .advantages-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.adv-card {
  text-align: center;
}

.adv-icon {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  background-color: #ffedd5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 26px;
  color: #f97316;
}

.adv-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #111827;
}

.adv-text {
  font-size: 14px;
  color: #4b5563;
}

/* =========================
   FAQ
   ========================= */

.faq-grid {
  display: grid;
  gap: 16px;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  padding: 16px 20px;
}

.faq-question {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111827;
}

.faq-answer {
  font-size: 14px;
  color: #4b5563;
}

/* =========================
   ЛИЦЕНЗИИ
   ========================= */

.licenses-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .licenses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .licenses-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.license-card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.license-image-wrap {
  background-color: #f3f4f6;
  padding: 12px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.license-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.license-body {
  padding: 12px 14px 16px;
}

.license-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #111827;
}

.license-text {
  font-size: 13px;
  color: #4b5563;
}

/* Модальное окно лицензии */

.license-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  display: none;
  z-index: 60;
  padding: 16px;
}

.license-modal-backdrop.open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.license-modal {
  background-color: #ffffff;
  border-radius: 16px;
  max-width: 900px;
  width:40%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.license-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.license-modal-title {
  font-size: 18px;
  font-weight: 350;
}

.license-modal-body {
  padding: 16px;
  overflow-y: auto;
}

.license-modal-imgwrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.license-modal-imgwrap img {
  max-width: 40%;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 8px;
}

.license-modal-desc {
  font-size: 14px;
  color: #4b5563;
  text-align: center;
}

/* =========================
   ФОРМА ЗАЯВКИ
   ========================= */

.form-card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  padding: 24px;
  max-width: 480px;
  margin: 0 auto;
}

.form-field {
  width: 100%;
  margin-bottom: 12px;
}

.form-field input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 14px;
}

.form-field input:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 1px #fed7aa;
}

/* =========================
   БЛОК "НЕ НАШЛИ УСЛУГУ?"
   ========================= */

.contact-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background-color: #f97316;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}

.contact-text-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-text {
  font-size: 14px;
  color: #e5e7eb;
}

.contact-map-placeholder {
  background-color: #f3f4f6;
  border-radius: 16px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  text-align: center;
  padding: 16px;
}

/* =========================
   АДАПТИВ
   ========================= */

@media (min-width: 768px) {
  .header-mobile {
    display: none;
  }

  .header-desktop {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-bottom {
    flex-direction: row;
  }
  }
  /* =========================
   КАК ЗАКАЗАТЬ (ШАГИ)
   ========================= */

.step-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.step-card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  padding: 20px 16px 22px;
  text-align: center;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  background-color: #f97316;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  margin: 0 auto 12px;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #111827;
}

.step-text {
  font-size: 14px;
  color: #4b5563;
}
/* Базовые секции */
.section {
  padding: 60px 0;
}

.section--gray {
  background-color: #f5f5f7;
}

.section--dark {
  background-color: #111827;
  color: #ffffff;
}

/* Центрирование заголовков */
.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #111827;
}

.section--dark .section-title {
  color: #ffffff;
}

.section-title--center {
  text-align: center;
}

/* Герой-блок на тёмном фоне */
/* Вместо .hero делаем отдельные классы для страницы услуг */

.services-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.services-hero-title {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 16px;
}

.services-hero-subtitle {
  font-size: 18px;
  margin-bottom: 24px;
  color: #ffeede;
}

.services-hero-btn {
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 999px;
}



/* Кнопки (если ещё нет) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background-color: #f97316;
  color: #ffffff;
  border-color: #f97316;
}

.btn-primary:hover {
  background-color: #ea580c;
  border-color: #ea580c;
}

.btn-outline {
  background-color: transparent;
  color: #f97316;
  border-color: #f97316;
}

.btn-outline:hover {
  background-color: rgba(249, 115, 22, 0.06);
}

/* Призыв к действию внизу */
.cta-box {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 24px;
  border-radius: 16px;
  background-color: #fef3c7;
  border: 1px solid #fbbf24;
  align-items: center;
  justify-content: space-between;
}

.cta-box__text {
  max-width: 520px;
}

.cta-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

.section-note {
  margin-top: 24px;
  font-size: 14px;
  color: #6b7280;
}

.section-note--center {
  text-align: center;
}
/* ======== ГЕРОЙ-БЛОК С УСЛУГАМИ (оранжевый фон) ======== */

.services-hero {
  background-color: #f97316; /* ярко-оранжевый */
  padding: 80px 0;
  color: #ffffff;
  text-align: center;
}

.services-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.services-hero-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.services-hero-subtitle {
  font-size: 18px;
  margin-bottom: 32px;
  color: #ffeede; /* мягкий белый оттенок для читаемости */
}

.services-hero-btn {
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 999px;
}

/* Белая кнопка на оранжевом фоне */
.btn-white {
  background-color: #ffffff;
  color: #f97316;
  border: 2px solid #ffffff;
}

.btn-white:hover {
  background-color: #f3f4f6;
  color: #ea580c;
  border-color: #f3f4f6;
}

/* Адаптив */
@media (max-width: 640px) {
  .services-hero-title {
    font-size: 30px;
  }
  .services-hero-subtitle {
    font-size: 16px;
  }
}

/* Контейнер для горизонтального скролла */
.price-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Таблица */
.price-table {
  width: 100%;
  min-width: 600px;             /* из-за этого и появится скролл */
  border-collapse: collapse;
  table-layout: fixed;
}

/* Ячейки */
.price-table th,
.price-table td {
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  vertical-align: top;
  text-align: left;
  box-sizing: border-box;
}

/* Шапка */
.price-table thead th {
  background-color: #f5f5f8;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 2;
}

/* Цена */
.price-highlight {
  font-weight: 600;
  white-space: nowrap;
}

/* Чуть компактнее на очень узких экранах */
@media (max-width: 480px) {
  .price-table {
    min-width: 500px;
    font-size: 13px;
  }

  .price-table th,
  .price-table td {
    padding: 10px 12px;
  }
}


/* ===== СТАТЬИ ===== */

.article-list {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .article-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.article-card {
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 18px 18px 20px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.article-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111827;
}

.article-card-meta {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 8px;
}

.article-card-text {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 12px;
}

/* Статья */

.article-body {
  max-width: 800px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
}

.article-body h1 {
  font-size: 32px;
  margin-bottom: 16px;
}

.article-body h2 {
  font-size: 22px;
  margin: 24px 0 12px;
}

.article-body p {
  margin-bottom: 12px;
}

.article-body ul {
  margin: 0 0 12px 20px;
  padding: 0;
}

.article-body li {
  margin-bottom: 4px;
}

/* ===== КОНТАКТЫ ===== */

.contacts-wrap {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .contacts-wrap {
    grid-template-columns: 1.1fr 1fr;
  }
}

.contacts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contacts-list li {
  margin-bottom: 12px;
  font-size: 15px;
  color: #374151;
}

.contacts-label {
  font-weight: 600;
}

.contacts-map {
  background-color: #f3f4f6;
  border-radius: 16px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #6b7280;
  padding: 16px;
}
/* Кнопка "Показать ещё" на странице статей */
.article-list-more {
  text-align: center;
  margin-top: 24px;
}

/* Скрытые карточки */
.hidden {
  display: none;
}

/* ===== ИКОНКИ МЕССЕНДЖЕРОВ В ХЕДЕРЕ ===== */

.header-messenger-circle img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* Планшет (до 1024px) */
@media (max-width: 1024px) {
  .header-messenger-circle img {
    width: 18px;
    height: 18px;
  }
}

/* Телефоны (до 768px) */
@media (max-width: 768px) {
  .header-messenger-circle img {
    width: 16px;
    height: 16px;
  }
}

/* Маленькие телефоны (до 480px) */
@media (max-width: 480px) {
  .header-messenger-circle img {
    width: 14px;
    height: 14px;
  }
}

/* ===== ИКОНКИ МЕССЕНДЖЕРОВ В ФУТЕРЕ ===== */

.footer-messengers {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-messenger-circle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-messenger-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Планшет (до 1024px) */
@media (max-width: 1024px) {
  .footer-messenger-circle {
    width: 20px;
    height: 20px;
  }
}

/* Телефоны (до 768px) */
@media (max-width: 768px) {
  .footer-messenger-circle {
    width: 18px;
    height: 18px;
  }
}

/* Маленькие телефоны (до 480px) */
@media (max-width: 480px) {
  .footer-messenger-circle {
    width: 16px;
    height: 16px;
  }
}
/* ===== ЛИЦЕНЗИИ И СЕРТИФИКАТЫ ===== */

.licenses-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 1024px) {
  .licenses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .licenses-grid {
    grid-template-columns: 1fr;
  }
}

.license-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.license-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.license-image-wrap {
  position: relative;
  padding-top: 130%; /* вертикальный формат документа */
  overflow: hidden;
  background: #f5f5f5;
}

.license-image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.license-body {
  padding: 12px 14px 14px;
}

.license-title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.license-text {
  font-size: 13px;
  color: #555;
}

/* Убираем маргин у футера, между последним блоком и футером была полоса */
.site-footer {
    margin-top: 0 !important;
}

/* Основные стили для модального окна главной страницы лицензии=========== */
.license-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7); /* затемняем фон */
  z-index: 10000; /* чтобы окно было поверх всего */
  display: none; /* скрыто по умолчанию */
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.license-modal {
  position: relative;
  background: white;
  padding: 20px;
  max-width: 90%;
  max-height: 80%;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  border-radius: 8px;
  /* Понижаем ширину модального окна */
  width: 85%; /* Уменьшаем ширину окна, чтобы оно не было слишком широким */
}

.license-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #333;
}

.license-modal-image-wrap {
  margin-bottom: 20px;
}

.license-modal-imgwrap img {
  width: 100%;
  height: auto;
  object-fit: contain; /* Сохраняем пропорции изображения */
  max-width: 350px; /* Ограничение для ПК */
  max-height: 350px; /* Ограничение для ПК */
}

.license-modal-desc {
  font-size: 16px;
  color: #333;
  margin-top: 10px;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
  .license-modal {
    max-width: 95%; /* Увеличиваем ширину окна модалки */
    max-height: 75%;
  }
  
  .license-modal-imgwrap img {
    max-width: 90vw; /* Увеличиваем максимальную ширину изображения для мобильных */
    max-height: 80vh; /* Увеличиваем максимальную высоту изображения для мобильных */
  }

  .license-modal-close svg {
    width: 25px;
    height: 25px;
  }
}

/* Хлебные крошки */
.breadcrumbs {
  margin: 1px 0;
  font-size: 14px;
  color: #999;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumbs li:not(:last-child)::after {
  content: " › ";
  margin: 0 8px;
  color: #999;
}
.breadcrumbs a {
  color: #999;
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.breadcrumbs li[aria-current="page"] {
  color: #999;
  font-weight: 500;
}
/* Стиль для изображений внутри статей */
.article-img {
  display: block;
  width: 550px;
  height: 500px;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto 24px; /* центрируем + отступ снизу */
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .article-img img {
    max-width: 500px; /* Ограничиваем изображение для мобильных */
    max-height: 500px; /* Ограничиваем высоту для мобильных устройств */
  }
}

/* Адаптивность для устройств с очень маленьким экраном (ширина до 480px) */
@media (max-width: 480px) {
  .article-img img {
    max-width: 400px; /* Уменьшаем изображение для очень маленьких экранов */
    max-height: 400px; /* Ограничиваем высоту */
  }
}
/* Адаптивная сетка для блока "Почему выбирают нас" */
.advantages-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}

/* На планшетах и десктопах — 2 или 3 колонки */
@media (min-width: 768px) {
  .advantages-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .advantages-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Стили карточек (если их ещё нет) */
.adv-card-3 {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: border-color 0.2s ease;
}
.adv-card-3:hover {
  border-color: #cbd5e1;
}

.adv-icon-3 {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.adv-title-3 {
  font-size: 1.125rem; /* 18px */
  font-weight: 700;
  margin: 0 0 12px;
  color: #1e293b;
}

.adv-text-3 {
  font-size: 0.9375rem; /* 15px */
  line-height: 1.5;
  margin: 0;
  color: #475569;
}
}

/* ТАБЛИЦА СТАТЬИ Основной контейнер */
.table-stati-container {
  width: 100%;
}

/* Верхний скроллбар — НАД таблицей */
.table-stati-top-scroll {
  height: 17px;
  overflow-x: auto;
  overflow-y: hidden;
  margin-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}

/* Элемент, задающий ширину верхнему скроллу */
.table-stati-sizer {
  height: 1px;
  min-width: 1200px;
}

/* Основной контейнер с таблицей */
.table-stati-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Стили самой таблицы */
.table-stati {
  width: 100%;
  min-width: 1200px;
  border-collapse: collapse;
  table-layout: fixed;
}

/* Ячейки */
.table-stati th,
.table-stati td {
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  vertical-align: top;
  text-align: left;
  box-sizing: border-box;
}

/* Шапка */
.table-stati thead th {
  background-color: #f5f5f8;
  font-weight: bold; /* font-weight: 1200 нестандартен — лучше bold или 700 */
  position: sticky;
  top: 0;
  z-index: 2;
}

/* Акцент (например, цена) */
.table-stati-highlight {
  font-weight: bold;
  white-space: nowrap;
}

/* Адаптация на малых экранах */
@media (max-width: 480px) {
  .table-stati {
    min-width: 1000px;
    font-size: 13px;
  }

  .table-stati th,
  .table-stati td {
    padding: 10px 12px;
  }
}
/* =========================
ОТЗЫВЫ
========================= */
.reviews-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffedd5;
  color: #f97316;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
}

.review-author {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.review-rating {
  font-size: 14px;
  color: #f97316;
}

.review-text {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 640px) {
  .reviews-actions .btn {
    display: block;
    margin: 8px auto !important;
    width: 100%;
    max-width: 300px;
  }
}
.about-company {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.about-company__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-company__content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #333;
}

.about-company__content p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 15px;
}

.about-company__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto 0;
  border-radius: 8px;
}

/* Адаптивная сетка */
@media (min-width: 768px) {
  .about-company__container {
    display: flex;
    align-items: center;
    gap: 40px;
  }
  
  .about-company__content {
    flex: 1;
  }
  
  .about-company__image {
    width: 650px;
    max-width: 100%;
    margin: 0;
  }
}
/* =========================
   MAIN BANNER
   ========================= */

.main-banner {
  position: relative;
  color: #ffffff;
  padding: 40px 0;
  overflow: hidden;
  border-radius: 12px;
}

.main-banner__bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1150px;
  height: 100%;
  max-width: 100%;
  background: url('/back.jpg') center/cover no-repeat;
  z-index: 0;
  border-radius: 12px;
}

.main-banner__content {
  position: relative;
  max-width: 1150px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 12px;
}

.main-banner__inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.main-banner__title {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 12px;
  font-weight: 700;
  margin-top: 0;
}

.main-banner__text {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.6;
  margin-top: 0;
}

.main-banner__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

/* Адаптивность */

@media (min-width: 640px) {
  .main-banner {
    padding: 50px 0;
  }
  
  .main-banner__title {
    font-size: 32px;
    margin-bottom: 16px;
  }
  
  .main-banner__text {
    font-size: 18px;
    margin-bottom: 24px;
  }
  
  .main-banner__buttons {
    flex-direction: row;
    gap: 16px;
  }
}

@media (min-width: 768px) {
  .main-banner {
    padding: 60px 0;
  }
  
  .main-banner__title {
    font-size: 36px;
  }
}

@media (min-width: 1024px) {
  .main-banner {
    padding: 70px 0;
  }
  
  .main-banner__title {
    font-size: 40px;
  }
}

@media (max-width: 480px) {
  .main-banner {
    padding: 30px 0;
    border-radius: 12px;
  }
  
  .main-banner__bg {
    width: 100%;
    left: 0;
    transform: none;
    border-radius: 12px;
  }
  
  .main-banner__title {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .main-banner__text {
    font-size: 14px;
    margin-bottom: 18px;
  }
}

/* =========================
   BUTTONS
   ========================= */

.btn {
  display: inline-block;
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  min-width: 180px;
}

.btn--primary {
  background-color: #f97316;
  color: #ffffff;
  
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn--primary:hover {
  background-color: #ffffff;
  color: #f97316;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn--secondary:active {
  transform: translateY(0);
}
 /* Сброс и базовые стили */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
      line-height: 1.5;
      color: #333;
      background-color: #ffffff;
    }

    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* Секция услуг - БЕЛЫЙ ФОН */
    .section-services {
      background: white;
      padding: 60px 0;
      position: relative;
      overflow: hidden;
    }

    /* ЗАТЕМНЕНИЕ ЗА КАРТОЧКАМИ - ШИРЕ */
  

    .section-services .container {
      position: relative;
      z-index: 1;
    }

    /* Заголовок секции */
    .services-header {
      text-align: center;
      margin-bottom: 40px;
      position: relative;
    }

    .section-titlee {
      font-size: 36px;
      font-weight: 800;
      color: #1f2937;
      margin-bottom: 10px;
    }

    .services-header::after {
      content: '';
      display: block;
      width: 80px;
      height: 4px;
      background: linear-gradient(90deg, #f97316 0%, #f59e0b 100%);
      margin: 20px auto;
      border-radius: 2px;
    }

    /* Введение */
    .services-intro {
      max-width: 800px;
      margin: 0 auto 50px;
      text-align: center;
    }

    .section-textt {
      color: #4b5563;
      font-size: 18px;
      line-height: 1.8;
      margin-bottom: 20px;
    }

    /* Сетка услуг - ВЕРТИКАЛЬНЫЕ КАРТОЧКИ */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-bottom: 60px;
      position: relative;
      z-index: 2;
    }

    /* Карточка услуги - СУЖЕНАЯ ВЕРСИЯ */
    .service-card-modern {
      background: white;
      border-radius: 16px;
      overflow: hidden;
      position: relative;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      height: auto;
      display: flex;
      flex-direction: column;
    }

    .service-card-modern:hover {
      transform: translateY(-8px);
      box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    }

    .service-card-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, rgba(249, 115, 22, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
      opacity: 0;
      transition: opacity 0.4s ease;
      pointer-events: none;
    }

    .service-card-modern:hover .service-card-overlay {
      opacity: 1;
    }

    .service-card-content {
      padding: 25px;
      position: relative;
      z-index: 1;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }

    /* Иконка услуги */
    .service-icon-wrapper {
      position: relative;
      width: 100%;
      height: 180px;
      margin-bottom: 20px;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }

    .service-icon {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }

    .service-card-modern:hover .service-icon {
      transform: scale(1.08);
    }

    .service-badge {
      position: absolute;
      top: 12px;
      right: 12px;
      background: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
      color: white;
      padding: 6px 16px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      box-shadow: 0 3px 12px rgba(249, 115, 22, 0.4);
    }

    .service-card-special .service-badge {
      background: linear-gradient(135deg, #10b981 0%, #059669 100%);
      box-shadow: 0 3px 12px rgba(16, 185, 129, 0.4);
    }

    /* Заголовок и текст */
    .service-title-modern {
      font-size: 16px;
      font-weight: 700;
      color: #1f2937;
      margin-bottom: 12px;
      line-height: 1.3;
    }

    .service-text-modern {
      color: #4b5563;
      line-height: 1.7;
      margin-bottom: 14px;
      flex-grow: 1;
      font-size: 15px;
    }

    /* Цена и кнопка */
    .service-cta-modern {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 15px;
      padding-top: 15px;
      border-top: 2px solid #f3f4f6;
    }


    /* Последняя карточка - кнопка по центру без цены */
    .service-card-special .service-cta-modern {
      justify-content: center;
      border-top: none;
      padding-top: 0;
    }

    .service-card-special .service-price-modern {
      display: none;
    }

    /* Кнопки в оранжевом стиле */
    .btn-service {
      display: flex;
      align-items: center;
      gap: 8px;
      background: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
      color: white;
      padding: 12px 24px;
      border-radius: 10px;
      font-weight: 600;
      font-size: 15px;
      text-decoration: none;
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
      box-shadow: 0 4px 15px rgba(249, 115, 22, 0.35);
      white-space: nowrap;
    }

    .btn-service:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
      color: white;
    }

    .btn-service .arrow-icon {
      width: 18px;
      height: 18px;
      transition: transform 0.3s ease;
    }

    .btn-service:hover .arrow-icon {
      transform: translateX(4px);
    }

    .btn-special {
      background: linear-gradient(135deg, #10b981 0%, #059669 100%);
      box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
    }

    .btn-special:hover {
      box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    }

    /* Призыв к действию */
    .services-cta-section {
      background: white;
      border-radius: 20px;
      padding: 45px;
      text-align: center;
      box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
      margin-top: 30px;
    }

    .cta-title {
      font-size: 28px;
      font-weight: 700;
      color: #1f2937;
      margin-bottom: 12px;
      line-height: 1.2;
    }

    .cta-text {
      font-size: 17px;
      color: #4b5563;
      margin-bottom: 25px;
      line-height: 1.6;
    }

    .cta-buttons {
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
      color: white;
      border: none;
      padding: 14px 35px;
      border-radius: 10px;
      font-weight: 700;
      font-size: 16px;
      cursor: pointer;
      transition: all 0.3s ease;
      text-decoration: none;
      display: inline-block;
      box-shadow: 0 5px 20px rgba(249, 115, 22, 0.35);
    }

    .btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 7px 25px rgba(249, 115, 22, 0.5);
    }

    .btn-outline {
      background: transparent;
      color: #f97316;
      border: 2px solid #f97316;
      padding: 14px 35px;
      border-radius: 10px;
      font-weight: 700;
      font-size: 16px;
      cursor: pointer;
      transition: all 0.3s ease;
      text-decoration: none;
      display: inline-block;
    }

    .btn-outline:hover {
      background: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
      color: white;
      transform: translateY(-3px);
    }

    /* Адаптивность */
    @media (max-width: 768px) {
      .section-services {
        padding: 40px 0;
      }

      .section-titlee {
        font-size: 28px;
      }

      .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
      }

      .service-card-content {
        padding: 20px;
      }

      .service-icon-wrapper {
        height: 160px;
      }

      .service-title-modern {
        font-size: 18px;
      }

      .service-text-modern {
        font-size: 14px;
      }

      .service-price-modern {
        font-size: 15px;
        padding: 8px 14px;
        min-width: 110px;
      }

      .btn-service {
        padding: 10px 20px;
        font-size: 14px;
      }

      .services-cta-section {
        padding: 30px 20px;
      }

      .cta-title {
        font-size: 24px;
      }

      .cta-text {
        font-size: 15px;
      }

      .cta-buttons {
        flex-direction: column;
        align-items: center;
      }

      .btn-primary,
      .btn-outline {
        width: 100%;
        max-width: 280px;
        padding: 12px 28px;
      }
    }

    @media (max-width: 480px) {
      .section-services {
        padding: 30px 0;
      }

      .section-titlee {
        font-size: 24px;
      }

      .service-icon-wrapper {
        height: 140px;
      }

      .service-title-modern {
        font-size: 17px;
      }

      .service-text-modern {
        font-size: 14px;
      }

      .service-cta-modern {
        flex-direction: column;
        gap: 10px;
      }

      .service-price-modern {
        width: 100%;
        font-size: 16px;
        padding: 10px 15px;
      }

      .service-card-special .service-cta-modern {
        flex-direction: column;
      }

      .btn-service {
        width: 100%;
        justify-content: center;
      }

      .services-cta-section {
        padding: 25px 15px;
      }

      .cta-title {
        font-size: 22px;
      }

      .cta-text {
        font-size: 14px;
      }
    }
    /* =========================
ЧТО ВХОДИТ В УСЛУГУ (2/3/4 колонки)
========================= */
.advantages-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .advantages-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .advantages-grid-2 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.adv-card-2 {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.2s ease;
}

.adv-card-2:hover {
  border-color: #f97316;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.1);
}

.adv-icon-2 {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #f97316;
}

.adv-icon-2 svg {
  width: 32px;
  height: 32px;
  stroke-width: 2;
}

.adv-title-2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #1e293b;
  line-height: 1.3;
}

.adv-text-2 {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  color: #4b5563;
}

/* Адаптив для мобильных */
@media (max-width: 640px) {
  .adv-card-2 {
    padding: 24px 16px;
  }
  
  .adv-icon-2 {
    width: 56px;
    height: 56px;
  }
  
  .adv-icon-2 svg {
    width: 28px;
    height: 28px;
  }
  
  .adv-title-2 {
    font-size: 17px;
  }
  
  .adv-text-2 {
    font-size: 14px;
  }
}
/* Защита от горизонтального скролла в двухколоночных секциях */
@media (max-width: 768px) {
  .two-columns .service-icon-img,
  .two-columns .service-icon-img img {
    max-width: 100% !important;
    width: 100%;
  }
  
  /* Дополнительная защита */
  .two-columns > div:last-child {
    overflow: hidden;
  }
}