/* ===== Страница «Сервис и поддержка» (service-page.php) — изолированные стили ===== */
/* Хиро, .distance, .title, .service-grid, .task-card, .faq-container и т.д. — общие
   классы из style.css. Здесь — только то, чего не было ни на одной другой странице. */

/* Сетка карточек услуг — 6 в ряд, как в макете */
.service-tasks-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.service-tasks-grid .task-card {
    position: relative;
    padding: 20px 16px 46px 16px;
}

.task-card img{
    max-width: 42px;
}

.service-task-arrow {
    position: absolute;
    right: 16px;
    bottom: 18px;
}

@media (max-width: 1200px) {
    .service-tasks-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .service-tasks-grid {
        grid-template-columns: 1fr;
    }
}

.industry-hero.industry-service .container{
        padding-bottom: 50px;
}
.industry-hero.industry-service {
    position: relative;
    background: var(--dark);
    overflow: hidden;
    height: auto;
    margin-top: 0;
}
/* Как мы работаем — шаги с пунктирным коннектором */
.service-how-steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 36px 32px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.service-how-steps::before {
    content: '';
    position: absolute;
    top: 63px;
    left: 64px;
    right: 64px;
    border-top: 2px dotted var(--primary);
    opacity: 0.5;
    z-index: 0;
}

.service-how-step {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 140px;
    text-align: center;
}

.service-how-icon {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    background: var(--white);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-family: 'pt';
    font-weight: 400;
    font-size: 20px;
    color: var(--primary);
}

.service-how-title {
    font-weight: 400;
    font-size: 20px;
    font-family: 'pt';
    color: var(--text);
    margin: 0 0 6px 0;
}

.service-how-desc {
    font-size: 14px;
    line-height: 145%;
    color: var(--text);
    margin-top: 13px;
}

@media (max-width: 900px) {
    .service-how-steps::before {
        display: none;
    }

    .service-how-step {
        min-width: 45%;
    }
}

@media (max-width: 480px) {
    .service-how-step {
        min-width: 100%;
    }
}

/* Статистика с иконками */
.service-stats-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 40px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.service-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 190px;
}

.service-stat-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.service-stat-value {
    font-family: 'pt';
    font-weight: 400;
    font-size: 34px;
    color: var(--text);
    margin: 0 0 2px 0;
}

.service-stat-desc {
    font-size: 14px;
    line-height: 140%;
    color: var(--text);
    margin: 0;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .service-stats-row {
        padding: 24px;
    }
}

/* FAQ + CTA в два столбца */
.service-bottom-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.service-faq-col {
    display: flex;
    flex-direction: column;
}

.service-faq-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.service-cta-card {
    position: relative;
    background: #010f2d url('../media/image100.png') no-repeat right;
    border-radius: var(--radius);
    padding: 65px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-sizing: border-box;
}

.service-cta-title {
    font-family: 'pt';
    font-weight: 400;
    font-size: 24px;
    color: var(--white);
    margin: 0;
}

.service-cta-text {
    font-size: 14px;
    line-height: 150%;
    color: var(--white);
    opacity: 0.85;
    margin: 0;
}

.service-cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.service-cta-contacts {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
}

.service-cta-contacts a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 14px;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .service-bottom-grid {
        grid-template-columns: 1fr;
    }
}
