<?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetTitle("tatarenko-a-n");
?>


/* Обёртка блока мощностей */
.tatar-power-box {
  padding: 15px;
  margin: 20px 0;
  background-color: #ffffff;
}

/* Сетка кнопок мощностей */
.tatar-power-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Кнопка-ссылка мощности */
.tatar-power-btn {
  flex: 0 1 calc(11.11% - 8px);
  min-width: 80px;
  text-align: center;
  padding: 8px 5px;
  border: 1px solid #3598db;
  background-color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: "Tahoma", Arial, sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #2b2b2b;
  display: block;
  box-sizing: border-box;
}

.tatar-power-btn:hover {
  background-color: #3598db;
  color: #ffffff;
}


/* ==========================================================================
   2. БЛОК ПРОИЗВОДИТЕЛЕЙ / БРЕНДОВ ВНУТРИ СТАТЕЙ (кнопки в 4 колонки)
   ========================================================================== */

/* Обёртка блока брендов */
.tatar-brands-box {
  padding: 15px;
  margin: 20px 0;
  background-color: #ffffff;
  font-family: "Tahoma", Arial, sans-serif;
}

/* Сетка кнопок брендов */
.tatar-brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Кнопка-ссылка бренда */
.tatar-brands-btn {
  flex: 0 1 calc(25% - 8px);
  min-width: 120px;
  text-align: center;
  padding: 10px 5px;
  border: 1px solid #3598db;
  background-color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #2b2b2b;
  display: block;
  box-sizing: border-box;
}

.tatar-brands-btn:hover {
  background-color: #3598db;
  color: #ffffff;
}


/* ==========================================================================
   3. СЕТКА ССЫЛОК ПО СФЕРАМ ПРИМЕНЕНИЯ
   ========================================================================== */

/* 4-колоночная сетка ссылок */
.tatar-spheres-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px 20px;
}

.tatar-spheres-grid a {
  display: block;
  color: #2b2b2b;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.tatar-spheres-grid a:hover {
  color: #3598db;
}

@media (max-width: 1000px) {
  .tatar-spheres-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (max-width: 550px) {
  .tatar-spheres-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}


/* ==========================================================================
   4. БЛОК ПРЕИМУЩЕСТВ И МАРКИРОВАННЫЙ СПИСОК
   ========================================================================== */

/* Выделенный блок с синей полосой слева */
.tatar-features-box {
  background: #fafafa;
  border-left: 5px solid #3598db;
  border-top: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  padding: 25px;
  margin: 20px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Список преимуществ без стандартных точек */
.tatar-features-list {
  margin: 0;
  padding-left: 10px;
  list-style-type: none;
}

.tatar-features-list li {
  color: #2b2b2b;
  line-height: 1.6;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

/* Синий треугольный маркер списка */
.tatar-features-list li::before {
  content: "▶";
  color: #3598db;
  font-weight: bold;
  font-size: 9px;
  line-height: 1;
  position: absolute;
  left: 0;
  top: 8px;
}


/* ==========================================================================
   5. МИНИ-БЛОК КОНТАКТОВ В СТАТЬЕ
   ========================================================================== */

/* Общий контейнер блока контактов */
.tatar-contacts-box {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  padding: 25px;
  max-width: 600px;
}

/* Заголовок блока контактов */
.tatar-contacts-title {
  font-size: 14px;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Подзаголовок / описание в блоке контактов */
.tatar-contacts-desc {
  font-size: 14px;
  color: #2b2b2b;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Сетка карточек контактов */
.tatar-contacts-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Отдельная кликабельная карточка контакта (телефон, почта) */
.tatar-contacts-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border: 1px solid #3598db;
  background: #ffffff;
  text-decoration: none;
  color: #2b2b2b;
  font-size: 14px;
  transition: all 0.3s ease;
}

.tatar-contacts-card:hover {
  border-color: #2980b9;
  background: #3598db;
  color: #ffffff;
}

/* Квадратная иконка внутри карточки контакта */
.tatar-contacts-icon {
  width: 34px;
  height: 34px;
  background: #3598db;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.tatar-contacts-card:hover .tatar-contacts-icon {
  background: #2b2b2b;
}

/* Текст значения (номер телефона или email) */
.tatar-contacts-value {
  font-weight: 600;
  color: #2b2b2b;
  transition: color 0.3s ease;
}

.tatar-contacts-card:hover .tatar-contacts-value {
  color: #ffffff;
}

@media (min-width: 769px) {
  .tatar-contacts-grid {
    flex-direction: row;
  }

  .tatar-contacts-card {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .tatar-contacts-box {
    padding: 20px;
  }

  .tatar-contacts-card {
    padding: 10px 12px;
  }
}


/* ==========================================================================
   6. ОФОРМЛЕНИЕ ИЗОБРАЖЕНИЙ, ТЕКСТОВЫХ ССЫЛОК И ТАБЛИЦ
   ========================================================================== */

/* Рамка для изображений с декоративными синими уголками */
.tatar-img-frame {
  display: inline-block;
  position: relative;
  line-height: 0;
  padding: 10px;
  margin: 6px;
  background: #ffffff;
  border: 2px solid #e0e0e0;
  box-sizing: border-box;
}

.tatar-img-frame img {
  display: block;
  border: none;
  padding: 0;
  margin: 0;
  max-width: 100%;
  height: auto;
}

.tatar-img-frame::before,
.tatar-img-frame::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  z-index: 2;
  pointer-events: none;
}

/* Правый верхний уголок фото */
.tatar-img-frame::before {
  top: -2px;
  right: -2px;
  border-width: 0 16px 16px 0;
  border-color: transparent #3598db transparent transparent;
}

/* Левый нижний уголок фото */
.tatar-img-frame::after {
  bottom: -2px;
  left: -2px;
  border-width: 16px 0 0 16px;
  border-color: transparent transparent transparent #3598db;
}

/* Внутритекстовая ссылка с пунктирным подчеркиванием */
.tatar-text-link {
  color: #2b2b2b;
  text-decoration: none;
  border-bottom: 1px dashed;
  transition: all 0.3s ease;
}

.tatar-text-link:hover,
.tatar-text-link:focus {
  border-bottom: 1px solid;
  color: #3598db;
  border-bottom-color: #3598db;
}

.tatar-text-link:visited {
  color: #2b2b2b;
}

/* Утилита запрета переноса строки (например, для "100 кВт" или номеров) */
.tatar-text-nowrap {
  white-space: nowrap;
}

/* Обёртка таблицы с горизонтальной прокруткой на мобильных */
.tatar-table-wrap {
  margin: 20px 0;
  overflow-x: auto;
  background: #ffffff;
}

/* Таблица технических характеристик */
.tatar-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  color: #2b2b2b;
  line-height: 1.5;
}

.tatar-table th {
  padding: 10px 15px;
  text-align: left;
  font-weight: 600;
  color: #2b2b2b;
  border-bottom: 2px solid #3598db;
  background: transparent;
}

.tatar-table td {
  padding: 10px 15px;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: top;
}

.tatar-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 768px) {
  .tatar-table th,
  .tatar-table td {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
}


/* ==========================================================================
   6. ОФОРМЛЕНИЕ ИЗОБРАЖЕНИЙ, ТЕКСТОВЫХ ССЫЛОК И ТАБЛИЦ
   ========================================================================== */

/* Рамка для изображений с декоративными синими уголками */
.tatar-img-frame {
  display: inline-block;
  position: relative;
  line-height: 0;
  padding: 10px;
  margin: 6px;
  background: #ffffff;
  border: 2px solid #e0e0e0;
  box-sizing: border-box;
}

.tatar-img-frame img {
  display: block;
  border: none;
  padding: 0;
  margin: 0;
  max-width: 100%;
  height: auto;
}

.tatar-img-frame::before,
.tatar-img-frame::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  z-index: 2;
  pointer-events: none;
}

/* Правый верхний уголок фото */
.tatar-img-frame::before {
  top: -2px;
  right: -2px;
  border-width: 0 16px 16px 0;
  border-color: transparent #3598db transparent transparent;
}

/* Левый нижний уголок фото */
.tatar-img-frame::after {
  bottom: -2px;
  left: -2px;
  border-width: 16px 0 0 16px;
  border-color: transparent transparent transparent #3598db;
}

/* Внутритекстовая ссылка с пунктирным подчеркиванием */
.tatar-text-link,
.tatar-text-link:visited {
  color: #2b2b2b;
  text-decoration: none;
  border-bottom: 1px dashed #2b2b2b;
  transition: all 0.3s ease;
}

.tatar-text-link:hover,
.tatar-text-link:focus {
  border-bottom: 1px solid #3598db;
  color: #3598db;
}

/* Утилита запрета переноса строки (например, для "100 кВт" или номеров) */
.tatar-text-nowrap {
  white-space: nowrap;
}

/* Обёртка таблицы с горизонтальной прокруткой на мобильных */
.tatar-table-wrap {
  margin: 20px 0;
  overflow-x: auto;
  background: #ffffff;
}

/* Таблица технических характеристик */
.tatar-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  color: #2b2b2b;
  line-height: 1.5;
}

.tatar-table th {
  padding: 10px 15px;
  text-align: left;
  font-weight: 600;
  color: #2b2b2b;
  border-bottom: 2px solid #3598db;
  background: transparent;
}

.tatar-table td {
  padding: 10px 15px;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: top;
}

.tatar-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 768px) {
  .tatar-table th,
  .tatar-table td {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
}


/* ==========================================================================
   7. ЗАГОЛОВКИ ВНУТРИ СТАТЕЙ И БЛОКОВ (H1 - H4)
   ========================================================================== */

/* Базовый сброс для всех заголовков статьи и блоков (перебивает тонкий шрифт шаблона) */
.tatar-article h1,
.tatar-article h2,
.tatar-article h3,
.tatar-article h4,
.tatar-h1,
.tatar-h2,
.tatar-h2-box,
.tatar-h3,
.tatar-h4 {
  font-family: "robotobold", "Tahoma", Arial, sans-serif;
  font-weight: 700;
  color: #2b2b2b;
  text-align: left;
  box-sizing: border-box;
  display: block;
}

/* H1 — Главный заголовок статьи с синим подчеркиванием */
.tatar-article h1,
.tatar-h1 {
  font-size: 26px;
  line-height: 1.3;
  margin: 0 0 24px 0;
  padding-bottom: 14px;
  border-bottom: 1px solid #3598db;
  position: relative;
}

/* H2 — Обычный заголовок раздела в тексте (с вертикальной синей полосой слева) */
.tatar-article h2,
.tatar-h2 {
  font-size: 21px;
  line-height: 1.35;
  margin: 32px 0 16px 0;
  padding: 2px 0 2px 14px;
  border-left: 4px solid #3598db;
}

/* H2-BOX — Заголовок внутри блока .tatar-features-box (без левой полосы и верхнего отступа) */
.tatar-h2-box,
.tatar-features-box .tatar-h2,
.tatar-features-box h2,
.tatar-features-box h3,
.tatar-article .tatar-features-box h2,
.tatar-article .tatar-features-box h3 {
  font-size: 19px;
  line-height: 1.35;
  margin: 0 0 14px 0;
  padding: 0 0 10px 0;
  border-left: none;
  border-bottom: 1px solid #e0e0e0;
}

/* Скрываем квадратный маркер от обычного h3, если он стоит внутри .tatar-features-box */
.tatar-h2-box::before,
.tatar-features-box h3::before,
.tatar-article .tatar-features-box h3::before {
  display: none;
}

/* H3 — Подзаголовок в тексте статьи с синим квадратным маркером */
.tatar-article h3,
.tatar-h3 {
  font-size: 17px;
  line-height: 1.4;
  margin: 24px 0 12px 0;
  padding-left: 16px;
  position: relative;
}

.tatar-article h3::before,
.tatar-h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background-color: #3598db;
}

/* H4 — Малый технический подзаголовок (в стиле заголовка блока контактов) */
.tatar-article h4,
.tatar-h4 {
  font-size: 14px;
  line-height: 1.4;
  margin: 20px 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #2b2b2b;
}

/* Модификатор: заголовок-плашка как «Каталог компрессоров» в меню сайта */
.tatar-heading-banner {
  background-color: #3598db;
  color: #ffffff !important;
  padding: 12px 18px;
  margin: 28px 0 16px 0;
  font-size: 18px;
  line-height: 1.3;
  border: none;
}

.tatar-heading-banner::before,
.tatar-heading-banner::after {
  display: none;
}

/* Адаптация заголовков для мобильных устройств */
@media (max-width: 768px) {
  .tatar-article h1,
  .tatar-h1 {
    font-size: 22px;
    padding-bottom: 12px;
    margin-bottom: 18px;
  }

  .tatar-article h2,
  .tatar-h2 {
    font-size: 18px;
    margin: 24px 0 12px 0;
    padding-left: 12px;
  }

  .tatar-h2-box,
  .tatar-features-box .tatar-h2,
  .tatar-features-box h2,
  .tatar-features-box h3,
  .tatar-article .tatar-features-box h2,
  .tatar-article .tatar-features-box h3 {
    font-size: 17px;
    margin: 0 0 12px 0;
    padding: 0 0 8px 0;
  }

  .tatar-article h3,
  .tatar-h3 {
    font-size: 16px;
    margin: 20px 0 10px 0;
  }

  .tatar-article h3::before,
  .tatar-h3::before {
    top: 8px;
  }

  .tatar-heading-banner {
    font-size: 16px;
    padding: 10px 14px;
  }
}<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>