/* ==========================================================================
   0. ШРИФТЫ
   ========================================================================== */

/* inter-300 - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/inter-v20-cyrillic_latin-300.woff2') format('woff2');
}
/* inter-regular - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v20-cyrillic_latin-regular.woff2') format('woff2');
}
/* inter-500 - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/inter-v20-cyrillic_latin-500.woff2') format('woff2');
}
/* inter-600 - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/inter-v20-cyrillic_latin-600.woff2') format('woff2');
}
/* inter-700 - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/inter-v20-cyrillic_latin-700.woff2') format('woff2');
}

/* ==========================================================================
   1. ОБЩИЕ БАЗОВЫЕ СТИЛИ И КНОПКИ
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #e1e1e1;
    color: #333;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.actions-wrapper {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3.5rem;
    width: 17.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.25rem;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    white-space: nowrap;
    background-color: transparent;
    color: #a31d24;
    border: 2px solid #a31d24;
}

.btn:hover {
    background-color: #a31d24;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.75rem rgba(163, 29, 36, 0.15);
}

/* ==========================================================================
   2. СТИЛИ ДЛЯ ГЛАВНОЙ СТРАНИЦЫ (index.html)
   ========================================================================== */
.intro-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 1.25rem;
    text-align: center;
}

.intro-screen .container {
    max-width: 53.125rem;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
}

/* Контейнер для центрирования нового крупного логотипа */
.main-logo-container {
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Наш прокачанный красный b2b логотип для главной */
.text-logo-main {
    font-family: 'Inter', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #a31d24;
    text-decoration: none;
    letter-spacing: -0.05em;
    line-height: 1;
    display: inline-block;
}

.text-logo-main sup {
    font-size: 1.3rem;
    font-weight: 700;
    top: -0.8rem;
    letter-spacing: -0.02em;
}

/* Краткий, плотный заголовок H1 */
.main-seo-title {
    font-size: 1.5rem;          /* Сделали его крупнее и заметнее сабтайтла */
    font-weight: 600;           /* Добавили полужирный вес для авторитетности */
    color: #333333;             /* Чуть темнее, ближе к графиту */
    margin-bottom: 0.75rem;     /* Небольшой отступ до поясняющего текста */
    letter-spacing: -0.01em;
    line-height: 1.3;
}

/* Пару строк расширяющего b2b-текста под ним */
.main-description {
    font-size: 1.05rem;
    color: #494c52;             /* Спокойный цвет для второстепенного текста */
    font-weight: 400;
    max-width: 42rem;           /* Ограничили ширину, чтобы текст красиво ложился в две строки */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;      /* Стандартный отступ до кнопок */
    line-height: 1.5;
}

/* Явно возвращаем ссылкам в контактах их родной цвет */
.intro-contacts a {
    color: #a31d24 !important;
    text-decoration: none;
    font-weight: 600;
}

.intro-contacts a:hover {
    color: #333333 !important;
}

/* ==========================================================================
   3. СТИЛИ ВНУТРЕННИХ СТРАНИЦ — ШАПКА И ИНТРО
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    z-index: 99999 !important;
    height: 4.5rem;
    display: flex;
    align-items: center;
}

.header-container {
    max-width: 75rem;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-zone {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 2.5rem;
    display: block;
    width: auto;
}

.header-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: #494c52;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
    letter-spacing: 0.02em;
}

.nav-menu a:hover {
    color: #a31d24;
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 15px; /* Отступ между телефоном и бутербродом */
}

.header-phone {
    color: #333333;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.2s ease;
}

.header-phone:hover {
    color: #a31d24;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger-menu span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #333;
    transition: 0.2s;
}

.page-intro {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    padding-top: 4.5rem;
    color: #ffffff;
}

.intro-content-wrapper {
    max-width: 55rem;
    padding: 0 1rem;
}

.intro-title {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 1.25rem;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.intro-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: #f5f5f5;
    margin-bottom: 2.5rem;
    line-height: 1.5;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.btn-intro {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-intro:hover {
    background-color: #ffffff;
    color: #333333;
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
}

/* Фирменный b2b-логотип с верхним индексом */
.text-logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.85rem;         /* Увеличили общую базу (было 1.55rem) */
    font-weight: 800;           /* Мощный Extra Bold */
    color: #a31d24;             /* Фирменный красный */
    text-decoration: none;
    letter-spacing: -0.05em;    /* Плотное b2b-сжатие букв */
    line-height: 1;
    display: inline-block;
    transition: opacity 0.2s ease-in-out;
}

/* Настройки для крупного и читаемого верхнего индекса */
.text-logo sup {
    font-size: 0.85rem;         /* Подняли размер (было 0.65rem), теперь буквы четко видно */
    font-weight: 700;           /* Сделали чуть жирнее (Bold) */
    top: -0.5rem;               /* Отрегулировали высоту, чтобы индекс сидел гармонично */
    letter-spacing: -0.02em;    /* Минимальное сжатие, чтобы ".ру" держалось монолитно */
}

/* Мягкий ховер */
.text-logo:hover {
    opacity: 0.85;
}


/* ==========================================================================
   4. СЕКЦИЯ: ЗАДАЧИ ОБОГРЕВА (ОПТИМИЗИРОВАНА ДЛЯ FULLSCREEN И АДАПТИВА)
   ========================================================================== */
.section-tasks {
    background-color: #494c52; 
    min-height: 100vh; /* Изменено: теперь блок тянется */
    padding: 6rem 1.5rem 4rem 1.5rem; /* Слегка увеличили отступы для красоты */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.section-container {
    max-width: 75rem; 
    width: 100%;
    margin: 0 auto;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.section-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    color: #e1e1e1;
    text-align: center;
    max-width: 50rem;
    margin: 0 auto 3.5rem auto;
    line-height: 1.6;
}

.tasks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.task-card {
    background-color: #ffffff;
    border-radius: 0.375rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

.task-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.task-img-box {
    width: 100%;
    height: 12.5rem;
    overflow: hidden;
    background-color: #f5f5f5;
}

.task-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.task-info {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.task-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333333;
    line-height: 1.4;
}

/* Новые классы для текстовых блоков в карточках задач промки */
.task-text-block {
    text-align: left;
    padding: 0 0.5rem;
}
.task-text-block .task-card-title {
    margin-bottom: 0.75rem;
    text-align: center;
}

/* ==========================================================================
   5. СЕКЦИЯ: ПРОВЕРЕННЫЕ БРЕНДЫ
   ========================================================================== */
.section-brands {
    background-color: #f8f9fa;
    min-height: 100vh; /* Изменено */
    padding: 6rem 1.5rem 4rem 1.5rem; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-brands .section-title {
    color: #a31d24;
}

.section-brands .section-subtitle {
    color: #494c52;
}

.brands-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    width: 100%;
}

.brand-item {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 0.25rem;
    height: 6.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: all 0.25s ease-in-out;
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.25s ease-in-out;
}

.brand-item:hover {
    border-color: #a31d24;
    box-shadow: 0 4px 15px rgba(163, 29, 36, 0.1);
}

.brand-item:hover img {
    filter: grayscale(0%) opacity(1);
}

/* ==========================================================================
   6. СЕКЦИЯ: ОБОРУДОВАНИЕ ДЛЯ ОБОГРЕВА
   ========================================================================== */
.section-equipment {
    background-color: #494c52; 
    min-height: 100vh; /* Изменено */
    padding: 6rem 1.5rem 4rem 1.5rem; 
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.equip-card {
    background-color: #ffffff;
    border-radius: 0.375rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

.equip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.equip-img-box {
    width: 100%;
    height: 12.5rem;
    overflow: hidden;
    background-color: #f5f5f5;
}

.equip-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equip-info {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.equip-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333333;
    line-height: 1.4;
}

/* ==========================================================================
   7. СЕКЦИЯ: НАШИ ПРЕИМУЩЕСТВА
   ========================================================================== */
.section-advantages {
    background-color: #f8f9fa;
    min-height: 100vh; /* Изменено */
    padding: 6rem 1.5rem 4rem 1.5rem; 
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
}

.section-advantages .section-title {
    color: #a31d24;
}

.section-advantages .section-subtitle {
    color: #494c52;
    margin-bottom: 4rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
}

.advantage-card {
    background-color: #ffffff;
    border-radius: 0.375rem;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid #eeeeee;
    text-align: center;
    transition: transform 0.25s ease-in-out, border-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

.advantage-card:hover {
    transform: translateY(-5px);
    border-color: #a31d24;
    box-shadow: 0 10px 25px rgba(163, 29, 36, 0.08);
}

.adv-icon-box {
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.adv-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e1e1e1;
    transition: color 0.25s ease-in-out;
}

.advantage-card:hover .adv-number {
    color: #a31d24;
}

.adv-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.adv-card-text {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.5;
    font-weight: 400;
}

/* Специфичный b2b-класс для 8 карточек промки */
.advantages-grid.prom-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.advantages-grid.prom-grid .advantage-card {
    padding: 1.5rem 1rem;
}
.advantages-grid.prom-grid .adv-icon-box {
    margin-bottom: 0.75rem;
}
.advantages-grid.prom-grid .adv-card-title {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}
.advantages-grid.prom-grid .adv-card-text {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ==========================================================================
   8. СЕКЦИЯ: СХЕМА РАБОТЫ
   ========================================================================== */
.section-steps {
    background-color: #494c52;
    min-height: 100vh; /* Изменено */
    padding: 6rem 1.5rem 4rem 1.5rem; 
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.section-steps .section-subtitle {
    margin-bottom: 4rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.step-card {
    background-color: #3b3e44;
    border: 1px solid #555961;
    border-radius: 0.375rem;
    padding: 2rem 1.5rem;
    position: relative;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: #a31d24;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: background-color 0.25s ease;
}

.step-card:hover .step-badge {
    background-color: #a31d24;
}

.step-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.step-card-text {
    font-size: 0.9rem;
    color: #cccccc;
    line-height: 1.5;
    font-weight: 300;
}

/* ==========================================================================
   9. СЕКЦИЯ: СОТРУДНИЧЕСТВО И ПАРТНЕРСТВО
   ========================================================================== */
.section-partnership {
    background-color: #ffffff;
    min-height: 100vh; /* Изменено */
    padding: 6rem 1.5rem 4rem 1.5rem; 
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
}

.section-partnership .section-title {
    color: #a31d24;
}

.section-partnership .section-subtitle {
    color: #494c52;
    margin-bottom: 4rem;
}

.partnership-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
}

.partner-card {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 0.375rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: transform 0.25s ease-in-out, border-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

.partner-card:hover {
    transform: translateY(-5px);
    border-color: #a31d24;
    box-shadow: 0 10px 25px rgba(163, 29, 36, 0.08);
}

.partner-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 1.25rem;
    line-height: 1.3;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-card-text {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.6;
    font-weight: 400;
}

.partner-icon-wrapper {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.custom-icon-box {
    width: 4rem;
    height: 4rem;
    background-color: #f8f9fa;
    border: 1px solid #eeeeee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease-in-out;
}

.custom-icon-box i {
    font-size: 1.5rem;
    color: #494c52;
    transition: color 0.25s ease-in-out;
}

.partner-card:hover .custom-icon-box {
    background-color: rgba(163, 29, 36, 0.05);
    border-color: #a31d24;
}

.partner-card:hover .custom-icon-box i {
    color: #a31d24;
}

/* ==========================================================================
   10. СЕКЦИЯ: ВОПРОС-ОТВЕТ
   ========================================================================== */
.section-faq {
    background-color: #494c52; 
    min-height: 100vh; /* Изменено */
    padding: 6rem 1.5rem 4rem 1.5rem; 
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.section-faq .section-container {
    max-width: 55rem; 
    width: 100%;
}

.section-faq .section-title {
    color: #ffffff;
}

.section-faq .section-subtitle {
    color: #e1e1e1;
    max-width: 48rem;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
}

.faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.faq-item {
    background-color: #3b3e44;
    border: 1px solid #555961;
    border-radius: 0.375rem;
    overflow: hidden;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.faq-item:hover {
    background-color: #35383e;
    border-color: #666b75;
}

.faq-question {
    padding: 1.1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    user-select: none;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
    transition: color 0.25s ease;
    line-height: 1;
    margin-left: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 1.5rem;
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.6;
    font-weight: 400;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease-in-out;
}

.faq-item.active {
    background-color: #31343a;
    border-color: #a31d24;
}

.faq-item.active .faq-answer {
    opacity: 1;
    padding: 1.25rem 1.5rem 1.5rem 1.5rem;
}

.faq-item.active .faq-toggle {
    color: #a31d24;
    font-weight: 700;
}

/* b2b-корректировка высоты для промки на авто-высоту, если вопросов много */
.section-faq.auto-height {
    height: auto !important;
    min-height: 100vh;
    padding-top: 6rem;
    padding-bottom: 4rem;
}

/* ==========================================================================
   11. СЕКЦИЯ: КОНТАКТЫ И ФОРМА
   ========================================================================== */
.section-contacts {
    background-color: #ffffff;
    min-height: 100vh; /* Изменено */
    padding: 7rem 1.5rem 5rem 1.5rem; /* Слегка увеличили верхний паддинг, чтобы учесть fixed-шапку */
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-contacts .section-container {
    max-width: 75rem;
    width: 100%;
}

.contacts-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.contacts-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #a31d24;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.contacts-subtitle {
    font-size: 1.05rem;
    color: #494c52;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.contacts-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.contact-item-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888888;
    font-weight: 600;
}

.contact-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-value:hover {
    color: #a31d24;
}

.contact-value-text {
    font-size: 1.15rem;
    font-weight: 500;
    color: #333333;
    line-height: 1.4;
}

.contacts-messengers {
    display: flex;
    gap: 1rem;
}

.btn-messenger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.btn-messenger.style-disabled {
    background-color: #f1f1f1 !important;
    color: #999999 !important;
    border: 1px solid #e1e1e1 !important;
    pointer-events: none;
}

.btn-messenger.tg { background-color: #229ED9; color: #ffffff; }
.btn-messenger.wa { background-color: #25D366; color: #ffffff; }
.btn-messenger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contacts-form-box {
    background-color: #f8f9fa;
    border: 1px solid #eeeeee;
    padding: 2.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.b2b-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #494c52;
}

.form-input {
    height: 3rem;
    padding: 0 1rem;
    border: 1px solid #cccccc;
    border-radius: 0.25rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: #333333;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #a31d24;
}

.file-upload-zone {
    position: relative;
    width: 100%;
}

.file-hidden-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3.5rem;
    border: 2px dashed #cccccc;
    border-radius: 0.25rem;
    cursor: pointer;
    background-color: #ffffff;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.file-upload-label:hover {
    border-color: #a31d24;
    background-color: rgba(163, 29, 36, 0.02);
}

.file-upload-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666666;
}

.btn-form-submit {
    width: 100% !important;
    background-color: #a31d24 !important;
    color: #ffffff !important;
    border: none !important;
    margin-top: 0.5rem;
}

.btn-form-submit:hover {
    background-color: #82151a !important;
}

.form-privacy {
    font-size: 0.75rem;
    color: #888888;
    text-align: center;
    line-height: 1.4;
}

/* ==========================================================================
   12. ПОДВАЛ (FOOTER)
   ========================================================================= */
.main-footer {
    background-color: #333333;
    color: #888888;
    padding: 1.5rem;
    font-size: 0.85rem;
    border-top: 1px solid #444444;
}

.footer-container {
    max-width: 75rem;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #888888;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

/* ==========================================================================
   13. ГЛОБАЛЬНАЯ АДАПТИВНОСТЬ
   ========================================================================== */
@media (max-width: 64rem) { 
    .tasks-grid { grid-template-columns: repeat(2, 1fr); }
    .brands-wrapper { grid-template-columns: repeat(4, 1fr); }
    .equipment-grid { grid-template-columns: repeat(2, 1fr); }
    .advantages-grid, .advantages-grid.prom-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .partnership-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .partner-card-title { min-height: auto; }
    .contacts-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .contacts-title { font-size: 2rem; }
    
    .section-tasks .section-title,
    .section-brands .section-title,
    .section-equipment .section-title,
    .section-advantages .section-title,
    .section-steps .section-title,
    .section-partnership .section-title,
    .section-faq .section-title { font-size: 1.85rem; }
}

@media (max-width: 56.25rem) {
    .header-nav { display: none; }
    .burger-menu { display: flex; }
    .intro-title { font-size: 2rem; }
    .intro-subtitle { font-size: 1rem; }
    
    .page-intro,
    .section-tasks,
    .section-brands,
    .section-equipment,
    .section-advantages,
    .section-steps,
    .section-partnership,
    .section-faq,
    .section-contacts {
        height: auto !important;
        min-height: 100vh;
        padding-top: 6rem;
        padding-bottom: 3rem;
    }
    
    .faq-question { padding: 1.25rem; font-size: 1rem; }
    .faq-answer { padding: 0 1.25rem 1.25rem 1.25rem; }
    .contacts-form-box { padding: 1.5rem; }
    .footer-container { flex-direction: column; text-align: center; gap: 1rem; }

    /* Фикс главной страницы для планшетов */
    .intro-screen .container {
        padding: 2.5rem 1.25rem !important;
    }
    .text-logo-main {
        font-size: 2.1rem !important;
    }
    .text-logo-main sup {
        font-size: 0.9rem !important;
        top: -0.6rem !important;
    }
    .main-seo-title {
        font-size: 1.3rem !important;
    }
    .main-description {
        font-size: 0.95rem !important;
        margin-bottom: 2rem !important;
    }
	/* Скрываем длинный номер телефона из полоски шапки, чтобы ничего не ломалось */
    .header-contacts .header-phone {
        display: none !important;
    }

    /* Чуть-чуть уменьшаем логотип в шапке, чтобы он сидел аккуратно */
    .main-header .text-logo {
        font-size: 1.45rem !important;
    }
    .main-header .text-logo sup {
        font-size: 0.7rem !important;
        top: -0.4rem !important;
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff; 
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        padding: 20px;
        z-index: 999;
    }

    .header-nav.active { display: block; }
    .nav-menu { flex-direction: column; gap: 15px; }
    
    .burger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .burger-menu.active span:nth-child(2) { opacity: 0; }
    .burger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }
	/* Показываем телефон в выпадающем меню */
    .mobile-only-phone {
        display: block !important;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid #eeeeee;
        text-align: center;
    }
    
    .menu-phone-link {
        color: #a31d24 !important; /* Фирменный красный */
        font-size: 1.2rem !important;
        font-weight: 700 !important;
    }
}

@media (max-width: 45rem) {
    .brands-wrapper { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 35rem) { 
    .tasks-grid, .equipment-grid, .advantages-grid, .advantages-grid.prom-grid, .steps-grid, .partnership-grid { grid-template-columns: 1fr; }
    .advantage-card { padding: 2rem 1.25rem; }

    /* Фикс главной страницы для мобилок (кнопки в столбик) */
    .intro-screen .actions-wrapper {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
        width: 100% !important;
    }
    .intro-screen .btn {
        width: 100% !important;
        max-width: 20rem !important;
    }
    
    /* --- ИСПРАВЛЕНИЕ СЛИПШИХСЯ КОНТАКТОВ ТУТ --- */
    .intro-screen .intro-contacts {
        display: flex !important;
        flex-direction: column !important; /* Выстраиваем телефон и почту строго друг под другом */
        align-items: center !important;
        gap: 0.5rem !important;           /* Делаем аккуратный отступ между строками */
    }
    .intro-screen .separator {
        display: none !important;         /* Прячем ненужную палку-разделитель */
    }
}

@media (max-width: 30rem) {
    .brands-wrapper { grid-template-columns: repeat(2, 1fr); }
    .brand-item { height: 5rem; padding: 0.5rem; }
}