/* Услуги Ростехнадзора - общие стили */
:root {
    --indtec-blue: #0058ff;
    --indtec-blue-dark: #0047d4;
    --indtec-dark: #0b1f4a;
    --indtec-gray: #f8f9fa;
    --indtec-orange: #fd7e14;
}

/* Hero-блок - лёгкий дизайн */
.hero-section {
    background: #fff;
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: linear-gradient(135deg, rgba(0, 88, 255, 0.03) 0%, rgba(0, 71, 212, 0.06) 100%);
    transform: rotate(-15deg);
    z-index: 0;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 88, 255, 0.2) 50%, transparent 100%);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--indtec-dark);
    font-weight: 700;
    line-height: 1.2;
}

.hero-section .hero-subtitle {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    color: #555;
    line-height: 1.6;
}

.hero-section .hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-section .hero-feature {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 88, 255, 0.05);
    border-radius: 2rem;
    font-size: 0.9rem;
    color: var(--indtec-blue);
    font-weight: 500;
}

.hero-section .hero-feature i {
    color: var(--indtec-blue);
}

.hero-section .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.hero-section .btn-hero-primary {
    background: var(--indtec-blue);
    color: #fff;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid var(--indtec-blue);
}

.hero-section .btn-hero-primary:hover {
    background: var(--indtec-blue-dark);
    border-color: var(--indtec-blue-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 88, 255, 0.3);
}

.hero-section .btn-hero-secondary {
    background: transparent;
    color: var(--indtec-blue);
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid var(--indtec-blue);
}

.hero-section .btn-hero-secondary:hover {
    background: var(--indtec-blue);
    color: #fff;
    transform: translateY(-2px);
}

/* Оранжевая кнопка */
.btn-hero-orange {
    background: var(--indtec-orange);
    color: #fff;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid var(--indtec-orange);
}

.btn-hero-orange:hover {
    background: #e36a0a;
    border-color: #e36a0a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(253, 126, 20, 0.3);
}

/* Секции */
.section {
    padding: 4rem 0;
}

.section-light {
    background-color: var(--indtec-gray);
}

.section-title {
    margin-bottom: 2rem;
    color: var(--indtec-dark);
    font-weight: 700;
}

/* Контактный блок */
.contact-block {
    background: linear-gradient(135deg, var(--indtec-blue) 0%, var(--indtec-blue-dark) 100%);
    padding: 3rem 0;
    margin-top: 3rem;
    border-radius: 0.75rem;
}

/* Сетка услуг */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0.75rem;
    padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: var(--indtec-blue);
    margin-bottom: 1rem;
}

/* Хлебные крошки */
.breadcrumb-rostekhnadzor {
    background: transparent;
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-rostekhnadzor .breadcrumb-item a {
    color: var(--indtec-blue);
    text-decoration: none;
}

.breadcrumb-rostekhnadzor .breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-rostekhnadzor .breadcrumb-item.active {
    color: #6c757d;
}

.breadcrumb-rostekhnadzor .breadcrumb-item + .breadcrumb-item::before {
    color: #6c757d;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0 2rem;
    }

    .hero-section h1 {
        font-size: 1.875rem;
    }

    .hero-section .hero-subtitle {
        font-size: 1rem;
    }

    .hero-section .hero-feature {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn-hero-primary,
    .hero-buttons .btn-hero-secondary,
    .hero-buttons .btn-hero-orange {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* Сетка услуг (альтернативный класс) */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Списки с галочками */
.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--indtec-blue);
    font-weight: bold;
}

/* Шаги */
.steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
}

.steps li {
    position: relative;
    padding-left: 3.5rem;
    margin-bottom: 1.5rem;
}

.steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--indtec-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.work-step-number {
    
    width: 2.5rem;
    height: 2.5rem;
    background: var(--indtec-blue);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Колонки */
.columns {
    column-count: 2;
    column-gap: 2rem;
}

@media (max-width: 768px) {
    .columns {
        column-count: 1;
    }
}

/* Карточки услуг */
.service-card a {
    color: var(--indtec-blue);
    text-decoration: none;
    font-weight: 600;
}

.service-card a:hover {
    text-decoration: underline;
}

/* Карточки цен */
.price-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.price-card.featured {
    border: 2px solid var(--indtec-blue);
    box-shadow: 0 5px 20px rgba(0,88,255,0.15);
}

.price-card h4 {
    color: var(--indtec-blue);
    margin-bottom: 1rem;
}

/* Таблицы */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.price-table th,
.price-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.price-table th {
    background: var(--indtec-blue);
    color: #fff;
    font-weight: 600;
}

.price-table tr:hover {
    background: #f8f9fa;
}

.price-table .price {
    font-weight: 700;
    color: var(--indtec-blue);
    white-space: nowrap;
}

/* Аккордеон */
.accordion-button:not(.collapsed) {
    color: var(--indtec-blue);
    background-color: rgba(0, 88, 255, 0.1);
}

.accordion-button:focus {
    border-color: var(--indtec-blue);
    box-shadow: 0 0 0 0.25rem rgba(0, 88, 255, 0.25);
}

/* Формы */
.form-control:focus,
.form-select:focus {
    border-color: var(--indtec-blue);
    box-shadow: 0 0 0 0.25rem rgba(0, 88, 255, 0.25);
}

/* CTA блок */
.cta {
    padding: 3rem 0;
    text-align: center;
}

/* Особенности/преимущества */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--indtec-blue);
}

.feature-item h4 {
    color: var(--indtec-blue);
    margin-bottom: 0.5rem;
}

/* Типы объектов */
.object-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.object-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s;
}

.object-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.object-card i {
    color: var(--indtec-blue);
    margin-bottom: 0.5rem;
}

.object-card h5 {
    font-size: 0.95rem;
    margin: 0;
}

/* Города */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.city-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s;
}

.city-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.city-card i {
    color: var(--indtec-blue);
    margin-bottom: 0.5rem;
}

.city-card h5 {
    font-size: 0.95rem;
    margin: 0;
}

/* Районы */
.districts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.district-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
}

.district-card i {
    color: var(--indtec-blue);
    margin-bottom: 0.5rem;
}

/* Формат сетки */
.format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.format-card {
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 0.75rem;
    border: 1px solid #e0e0e0;
}

.format-card i {
    font-size: 2.5rem;
    color: var(--indtec-blue);
    margin-bottom: 1rem;
}

/* Требования */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.requirement-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: transform 0.3s;
}

.requirement-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.requirement-card h4 {
    color: var(--indtec-blue);
    margin-bottom: 1rem;
}

/* Таблица напряжений */
.voltage-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.voltage-table th,
.voltage-table td {
    border: 1px solid #e0e0e0;
    padding: 0.75rem;
    text-align: left;
}

.voltage-table th {
    background: var(--indtec-blue);
    color: #fff;
}

.voltage-table tr:nth-child(even) {
    background: #f8f9fa;
}

/* Типы проверок */
.check-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.check-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.check-card h4 {
    color: var(--indtec-blue);
    margin-bottom: 1rem;
}

.check-card.urgent {
    border-left: 4px solid #dc3545;
}

.check-card.planned {
    border-left: 4px solid #28a745;
}

/* Темы консультаций */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.topic-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.topic-card h4 {
    color: var(--indtec-blue);
    margin-bottom: 1rem;
}

/* Уведомления */
.alert-important {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border: 2px solid #ffc107;
}

.alert-season {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border: 2px solid #ffc107;
}

.alert-urgent {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 2px solid #dc3545;
    color: #721c24;
}

.alert-moscow,
.alert-mo {
    background: linear-gradient(135deg, #e7f3ff 0%, #d1e9ff 100%);
    border: 2px solid var(--indtec-blue);
}

/* Блок цены */
.price-note {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
}

/* Бейдж скидки */
.discount-badge {
    background: #ffc107;
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}
