/* service-detail.css */
.page-hero {
    height: 400px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: var(--light);
    text-align: center;
    position: relative;
}

.breadcrumbs {
    padding: 15px 0;
    background: var(--gray);
}

.breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.breadcrumbs li {
    position: relative;
    padding-right: 15px;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    position: absolute;
    right: 5px;
    color: var(--primary);
}

.breadcrumbs a {
    color: var(--primary);
    transition: var(--transition);
}

.breadcrumbs a:hover {
    opacity: 0.8;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.service-detail__content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.service-detail__content h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--primary);
}

.service-includes ul {
    margin: 20px 0;
}

.service-includes li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.service-includes i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--accent);
}

.stages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.stage {
    background: var(--light);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stage:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stage__number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 15px;
}

.price-table {
    overflow-x: auto;
    margin: 20px 0;
}

.price-table table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th, .price-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--dark-gray);
}

.price-table th {
    background: var(--primary);
    color: var(--light);
}

.price-table tr:nth-child(even) {
    background: var(--gray);
}

.price-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.benefit {
    text-align: center;
    padding: 20px;
    background: var(--light);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.benefit i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background: var(--light);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
    text-align: center;
}

.sidebar-form .form-group {
    margin-bottom: 15px;
}

.sidebar-form .btn {
    width: 100%;
}

.form-note {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 10px;
    text-align: center;
}

.works-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.work-item {
    display: block;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
}

.work-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: var(--transition);
}

.work-item:hover img {
    transform: scale(1.05);
}

.work-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: var(--light);
    padding: 8px 10px;
    font-size: 0.9rem;
}

.reviews-slider {
    margin-top: 30px;
}

.review {
    background: var(--light);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
	
	}
	/* Баннер страницы услуги */
.page-hero {
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding-top: var(--header-height);
    position: relative;
}

.page-hero .hero__content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 1.5rem;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--light);
    line-height: 1.2;
}

.page-hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

/* Основной контент услуги */
.service-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2.5rem;
}

.service-main {
    margin-bottom: 3rem;
}

.service-content {
    margin-top: 2rem;
}

.service-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-content h3 i {
    color: var(--primary);
}

/* Статистика услуги */
.service-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.stat-card {
    background: var(--secondary);
    border-radius: var(--border-radius);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
    color: var(--primary);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Особенности услуги */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(16, 185, 129, 0.05);
    border-radius: var(--border-radius-sm);
}

.feature-item i {
    color: var(--accent);
    margin-top: 0.25rem;
    font-size: 1.1rem;
}

.feature-item span {
    font-size: 0.9375rem;
}

/* Боковая панель */
.service-sidebar {
    position: relative;
}

.sidebar-card {
    background: var(--light);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    position: sticky;
    top: 100px;
}

.sidebar-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-card h3 i {
    color: var(--primary);
}

.contacts-card {
    background: var(--primary);
    color: white;
}

.contacts-card h3 {
    color: white;
}

.contacts-card h3 i {
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.contact-item i {
    width: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item a {
    color: white;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Форма в боковой панели */
.service-form .form-group {
    margin-bottom: 1rem;
}

.service-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-form label i {
    color: var(--primary);
    font-size: 0.9rem;
}

.service-form input,
.service-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--border-radius-sm);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.service-form textarea {
    min-height: 100px;
    resize: vertical;
}

.service-form input:focus,
.service-form textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-block {
    display: block;
    width: 100%;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding-right: 3rem;
    transition: var(--transition);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-item.active .faq-question {
    background: var(--primary);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.25rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
    margin-bottom: 0.75rem;
}

.faq-answer ul {
    margin: 0.75rem 0 1rem 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

/* Адаптивность */
@media (max-width: 992px) {
    .service-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 50vh;
        min-height: 400px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
    
    .service-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .page-hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .page-hero h1 {
        font-size: 1.75rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    .service-stats {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        padding: 1rem;
        padding-right: 2.5rem;
        font-size: 0.9375rem;
    }
}