* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: #f9f9f9;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: #1a2c3e;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
}
/* Хлебные крошки */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 14px;
  padding: 24px 0 16px 15px;
  color: #5a6e7c;
}
.breadcrumb a {
  color: #2c6e9e;
  text-decoration: none;
  font-weight: 500;
}
.breadcrumb a:hover {
  color: #0f4c6f;
  text-decoration: underline;
}
.breadcrumb span:last-child {
  color: #1f3b4c;
  font-weight: 500;
}

/* Секция headprod */
.headprod {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  background: #ffffff;
  border-radius: 24px;
  font-family: "Inter", sans-serif;
  line-height: 1.45;
  padding: 36px 40px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.02),
    0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef2f8;
}
.headprod h1,
h2,
h3,
h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
}
.headprod-content {
  flex: 2;
  min-width: 260px;
}
.headprod-content h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #0c2e42;
}
.headprod-sub {
  font-size: 1.2rem;
  color: #2c3e50;
  margin-bottom: 24px;
  font-weight: 500;
  border-left: 4px solid #1e6f9f;
  padding-left: 20px;
}
.desc-text {
  color: #2c3e50;
  margin-bottom: 28px;
  font-size: 1rem;
  line-height: 1.5;
}
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 32px;
  border-top: 1px solid #e2e9f2;
  padding-top: 28px;
}
.stat-item {
  flex: 1;
}
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #1e6f9f;
  line-height: 1.2;
}
.stat-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: #5b6e8c;
}
.headprod-aside {
  flex: 1.2;
  background: #f8fafd;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid #e7edf5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
}
.support-title {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #0c2e42;
}
.support-24 {
  background: #eef3fc;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  color: #1e6f9f;
  margin-bottom: 20px;
}
.contact-methods {
  margin: 20px 0;
}
.contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-weight: 500;
}
.contact-line i {
  width: 24px;
  color: #1e6f9f;
  font-size: 1.3rem;
}
.contact-line a {
  text-decoration: none;
  color: #1a2634;
  font-weight: 500;
  transition: color 0.2s;
}
.contact-line a:hover {
  color: #1e6f9f;
}
.btn-primary {
  display: inline-block;
  background-color: #1e6f9f;
  color: white;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.2s;
  border: none;
  cursor: pointer;
  text-align: center;
  width: 100%;
  margin-top: 10px;
}
.btn-primary:hover {
  background-color: #0f5a85;
  transform: translateY(-1px);
}
.form-caption {
  font-size: 12px;
  color: #6a7f9f;
  margin-top: 16px;
  text-align: center;
}
.form-group {
  margin-bottom: 12px;
}
.form-group input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #cfdfed;
  background: white;
  font-family: inherit;
  font-size: 14px;
  transition: 0.2s;
}
.form-group input:focus {
  outline: none;
  border-color: #1e6f5c;
  box-shadow: 0 0 0 2px rgba(30, 111, 92, 0.2);
}
.form-caption {
  font-size: 12px;
  color: #6a7f9f;
  margin-top: 16px;
  text-align: center;
}
.error-msg {
  color: #d9534f;
  font-size: 12px;
  margin-top: 6px;
  display: none;
}
.success-msg {
  color: #1e6f5c;
  font-size: 12px;
  margin-top: 8px;
  text-align: center;
  display: none;
}
.recaptcha-note {
  font-size: 11px;
  text-align: center;
  margin-top: 12px;
  color: #8a99ae;
}
input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #cfdfed;
  background: white;
  font-family: inherit;
  margin: 8px 0;
  font-size: 14px;
}

/* Блок перехода на сервисные страницы */
.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background: #f9f9f9;
  padding: 18px 28px;

  justify-content: space-around;
}
.service-card {
  background: white;
  border-radius: 60px;
  padding: 10px 28px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.2s;
  text-decoration: none;
  color: #005f7a;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #cde3ef;
}
.service-card i {
  font-size: 1.2rem;
  color: #0087b3;
}
.service-card:hover {
  background: #e6f4fc;
  transform: translateY(-2px);
  border-color: #5fa3c2;
}

/* Основной контент — информационная статья */
.tech-content {
  padding: 32px 36px;
  background: #ffffff;
  border-bottom: 1px solid #e9f0f6;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.02),
    0 1px 2px rgba(0, 0, 0, 0.05);
  border-radius: 24px 24px 0 0;
  border: 1px solid #eef2f8;
  border-bottom: none;
}
.tech-content h2 {
  font-size: 1.8rem;
  color: #174f6b;
  margin: 1.2em 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.tech-content h2:first-of-type {
  margin-top: 0;
}
.tech-content h3 {
  font-size: 1.3rem;
  color: #2a6a8a;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.tech-content p {
  line-height: 1.65;
  margin-bottom: 1rem;
  color: #2c3e4e;
  text-align: justify;
}
.tech-content .note {
  background: #f0f7fb;
  padding: 14px 24px;
  border-left: 5px solid #0087b3;
  border-radius: 18px;
  margin: 20px 0;
}
.tech-img {
  display: flex;
  justify-content: center;
  margin: 28px 0;
  background: #ffffff;
  border-radius: 32px;
  font-style: italic;
  color: #5f7e97;
  border: 1px dashed #bbd4e8;
  overflow: hidden;
  object-fit: cover;
}
/* Таблица + поиск */
.toolbar {
  padding: 20px 28px;
  background: #ffffff;
  border-bottom: 1px solid #e2eef5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.02),
    0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef2f8;
  border-top: none;
  border-bottom: none;
}
.search-box {
  flex: 2;
  min-width: 240px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  font-size: 1rem;
  border: 1px solid #cbdde9;
  border-radius: 60px;
  background: white;
  transition: 0.2s;
  outline: none;
}
.search-box input:focus {
  border-color: #1c6e8f;
  box-shadow: 0 0 0 3px rgba(28, 110, 143, 0.2);
}
.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b8ea8;
}
.stats-badge {
  background: #eaf2f9;
  padding: 8px 24px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.85rem;
}
.clear-btn {
  background: white;
  border: 1px solid #cbdce9;
  padding: 10px 28px;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s;
}
.clear-btn:hover {
  background: #ecf5fa;
  border-color: #8fadb9;
}
.table-wrapper {
  overflow-x: auto;
  max-height: 62vh;
  overflow-y: auto;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.02),
    0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef2f8;
  border-top: none;
  border-bottom: none;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 780px;
}
th {
  background: #f1f8fe;
  color: #1e5270;
  font-weight: 700;
  padding: 16px 14px;
  border-bottom: 2px solid #d6e3ed;
  position: sticky;
  top: 0;
  z-index: 10;
}
td {
  padding: 12px 14px;
  border-bottom: 1px solid #e9f0f5;
  vertical-align: top;
}
tr:hover td {
  background-color: #fef7e0;
}
.brand-group td {
  background-color: #f7efe3;
  font-weight: 700;
  color: #aa540e;
  font-size: 0.9rem;
  border-top: 1px solid #e0cdb5;
}
.ref-cell {
  font-family: monospace;
  background: #fafefe;
  font-size: 0.8rem;
}
.empty-ref {
  color: #9aaebf;
  font-style: italic;
}
.info {
  padding: 16px 28px;
  font-size: 0.7rem;
  color: #6082a0;
  background: #fbfeff;
  border-top: 1px solid #e9f0f5;
  text-align: center;
  border-radius: 0 0 24px 24px;
  margin-bottom: 25px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.02),
    0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef2f8;
  border-top: none;
}
.grecaptcha-badge {
    visibility: hidden;
}
@media (max-width: 768px) {
  .headprod {
    flex-direction: column;
    padding: 24px;
  }
  .tech-content {
    padding: 20px;
  }
  .tech-img img {
    width: 100%;
    height: auto;
  }
  .service-links {
    flex-direction: column;
    align-items: stretch;
  }
  .service-card {
    justify-content: center;
  }
}

/* Блочная «таблица» — полностью адаптивна */
        .comparison {
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
            background: white;
            border-radius: 20px;
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
            border: 1px solid #eef2f8;
            overflow: hidden;
        }

        /* Заголовок (шапка) */
        .comparison-header {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            background: #e7f0f7;
            color: #17516b;
            font-weight: 700;
            text-align: center;
            padding: 16px 12px;
            border-bottom: 1px solid #17516b;
        }

        /* Каждая строка сравнения */
        .comparison-row {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            border-bottom: 1px solid #e2e8f0;
            transition: background 0.2s;
        }

        .comparison-row:last-child {
            border-bottom: none;
        }

        /* Ячейки */
        .cell {
            padding: 18px 12px;
            line-height: 1.45;
            font-size: 15px;
            color: #1f2937;
            background: white;
        }

        .cell:first-child {
            font-weight: 500;
            background-color: #f8fafc;
            border-right: 1px solid #e2e8f0;
        }

        .cell:not(:first-child) {
            background-color: white;
        }

        .cell:not(:first-child):not(:last-child) {
            border-right: 1px solid #f1f5f9;
        }

        /* Адаптив для телефонов */
        @media (max-width: 768px) {
           

            /* На мобильных превращаем в карточки */
            .comparison-header {
                display: none; /* скрываем стандартную шапку */
            }

            .comparison-row {
                display: block;
                border: 1px solid #e2e8f0;
                border-radius: 20px;
                margin-bottom: 20px;
                background: white;
                box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
            }

            .cell {
                display: flex;
                justify-content: space-between;
                align-items: flex-start;
                gap: 12px;
                padding: 14px 16px;
                border: none;
                background: white !important;
                border-bottom: 1px solid #edf2f7;
            }

            .cell:last-child {
                border-bottom: none;
            }

            /* Левая часть (название параметра) */
            .cell:first-child {
                font-weight: 700;
                background: white !important;
                width: 38%;
                flex-shrink: 0;
                border-right: none;
            }

            /* Правая часть — само значение параметра для Термопечати и Термотрансфера */
            .cell:nth-child(2)::before {
                content: "🔥 Термопечать: ";
                font-weight: 600;
                color: #c2410c;
                display: inline;
            }

            .cell:nth-child(3)::before {
                content: "🎗️ Термотрансфер: ";
                font-weight: 600;
                color: #0f3b5c;
                display: inline;
            }

            /* Чтобы текст не слипался */
            .cell:nth-child(2),
            .cell:nth-child(3) {
                flex: 1;
                text-align: left;
                justify-content: flex-start;
                flex-wrap: wrap;
            }
        }

        /* А если экран совсем узкий — чуть уменьшаем шрифт */
        @media (max-width: 480px) {
            .cell {
                font-size: 14px;
                padding: 12px 12px;
                flex-wrap: wrap;
            }
            .cell:first-child {
                width: 100%;
                margin-bottom: 6px;
                background: #f1f5f9 !important;
                border-radius: 12px;
            }
            .cell:nth-child(2)::before,
            .cell:nth-child(3)::before {
                display: block;
                font-weight: 700;
                margin-bottom: 6px;
            }
        }
