/* ===== СТРАНИЦА УСЛУГИ ===== */
.service-detail-page {
    padding-top: 40px;
}

/* Заголовок услуги */
.service-header {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, white);
    position: relative;
    overflow: hidden;
}

.service-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), transparent);
    border-radius: 50%;
    transform: translate(100px, -100px);
}

.service-header h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.service-header h1::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 6px;
    background: var(--primary);
    bottom: -15px;
    left: 0;
    border-radius: 3px;
}

.service-header .lead {
    font-size: 1.3rem;
    color: #555;
    max-width: 800px;
    margin-bottom: 3rem;
}

/* Статистика */
.service-stats {
    margin: 3rem 0;
}

.stat-item {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 600;
}

/* Карточки особенностей */
.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
    transform: translateY(-100%);
    transition: var(--transition);
}

.feature-card:hover::before {
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
}

/* Процесс шагов */
.process-steps {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 2px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-right: 30px;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
    transition: var(--transition);
}

.step-item:hover .step-number {
    transform: scale(1.1) rotate(15deg);
}

.step-content {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step-item:hover .step-content {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

/* Таблицы */
.table-responsive {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background: linear-gradient(135deg, var(--dark), #2a4a7a);
    color: white;
    border: none;
    padding: 20px 15px;
    font-weight: 600;
    font-size: 1.1rem;
}

.table tbody tr {
    transition: var(--transition);
}

.table tbody tr:hover {
    background-color: rgba(230, 57, 70, 0.05);
    transform: translateY(-2px);
}

.table tbody td {
    padding: 20px 15px;
    border-color: rgba(0, 0, 0, 0.05);
    vertical-align: middle;
    font-size: 1.05rem;
}

.table-hover tbody tr:hover td {
    color: var(--dark);
}

/* Карточки оборудования */
.equipment-card {
    background: white;
    padding: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.equipment-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.equipment-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.equipment-card:hover img {
    transform: scale(1.05);
}

.equipment-card h4 {
    padding: 20px 30px 10px;
    margin: 0;
}

.equipment-card p {
    padding: 0 30px 30px;
    color: #666;
    margin: 0;
}

/* Аккордеон FAQ */
.accordion {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-item {
    border: none;
    margin-bottom: 10px;
    border-radius: 10px !important;
    overflow: hidden;
}

.accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-button {
    background: linear-gradient(135deg, white, #f8f9fa);
    color: var(--dark);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 25px 30px;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e63946'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: scale(1.2);
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 30px;
    background: white;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* CTA блок */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-btn {
    background: white;
    color: var(--primary);
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    color: var(--primary-dark);
}

/* Связанные услуги */
.related-services {
    padding: 80px 0;
}

.related-service {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.related-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: translateY(-100%);
    transition: var(--transition);
}

.related-service:hover::before {
    transform: translateY(0);
}

.related-service:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.related-service .service-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition);
}

.related-service:hover .service-icon {
    transform: scale(1.2) rotate(15deg);
}

.related-service h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.related-service p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

/* Графики для чип-тюнинга */
.power-graph-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin: 3rem auto;
    max-width: 900px;
}

.chip-process {
    counter-reset: chip-step;
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
    padding-left: 30px;
}

.chip-process::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 2px;
}

.chip-step {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
    counter-increment: chip-step;
}

.chip-step::before {
    content: counter(chip-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

.chip-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.chip-step:hover .chip-content {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

/* Карточки преимуществ */
.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.benefit-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.2) rotate(15deg);
}

/* Карточки цен */
.pricing-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.popular:hover {
    transform: translateY(-15px) scale(1.05);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.pricing-header h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}

.price-period {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
}

.badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #555;
    font-size: 1.05rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--primary);
    margin-right: 10px;
}