/* Общие стили для сайта сервисного центра Display */
:root {
    --primary-color: #1a73e8;
    --primary-dark: #0d47a1;
    --secondary-color: #0d47a1;
    --accent-color: #ff6d00;
    --dark-color: #202124;
    --light-color: #f8f9fa;
    --gray-color: #5f6368;
    --light-gray-color: #dadce0;
    --white-color: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ШАПКА САЙТА */
.site-header {
    background-color: var(--white-color);
    box-shadow: var(--shadow);
}

.header-top {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 15px 0;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.top-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.top-nav a {
    color: var(--white-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
}

.top-nav a:hover {
    color: var(--accent-color);
}

.top-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.top-nav a:hover::after {
    width: 100%;
}

.phone-top {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 4px;
    transition: var(--transition);
}

.phone-top:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.phone-icon {
    margin-right: 10px;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.phone-link {
    color: var(--white-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--accent-color);
}

/* Нижний блок шапки */
.header-bottom {
    padding: 20px 0;
}

.header-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-right: 10px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo-text span {
    color: var(--accent-color);
}

/* Основная навигация */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-nav ul li a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 5px 0;
    position: relative;
    transition: var(--transition);
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    border-radius: 50%;
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

.callback-btn {
    background-color: var(--accent-color);
    color: var(--white-color);
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.callback-btn:hover {
    background-color: #e65100;
    transform: translateY(-2px);
}

/* Кнопка мобильного меню */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
}

/* Главный баннер */
.main-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1563013544-824ae1b704d3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1770&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    padding: 120px 0 80px;
    text-align: center;
}

.banner-title {
    font-size: 3.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.highlight {
    color: var(--accent-color);
    font-weight: 700;
}

/* Преимущества в баннере */
.banner-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

.banner-feature {
    display: flex;
    align-items: center;
    text-align: left;
}

.banner-feature i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-right: 15px;
    min-width: 40px;
}

.feature-content h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Кнопки */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-accent {
    background-color: var(--accent-color);
}

.btn-accent:hover {
    background-color: #e65100;
}

/* Секции */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Услуги */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
}

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

.service-img {
    height: 200px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-color);
}

.service-content {
    padding: 25px;
}

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

.service-price {
    font-size: 1.8rem;
    color: var(--accent-color);
    font-weight: 700;
    margin: 15px 0;
}

.service-price span {
    font-size: 1rem;
    color: var(--gray-color);
}

/* О нас */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
}

.about-text p {
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 25px 20px;
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-image-placeholder {
    height: 400px;
    background: linear-gradient(45deg, #e0e0e0, #f5f5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--gray-color);
}

/* Как мы работаем */
.work-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
}

.work-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: var(--light-gray-color);
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 200px;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Блок стоимости ремонта */
.repair-price-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.repair-price-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 50px;
    position: relative;
}

.repair-price-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Кнопки брендов */
.brands-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.brand-btn {
    background-color: var(--white-color);
    border: 2px solid var(--light-gray-color);
    color: var(--dark-color);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.brand-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.brand-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.brand-icon {
    font-size: 1.2rem;
}

/* Таблица цен (общие стили) */
.price-list {
    margin: 40px 0;
}

.repair-price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--white-color);
}

.repair-price-table th {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.repair-price-table td {
    padding: 15px;
   
}

.repair-price-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.repair-price-table tr:hover {
    background-color: #f0f7ff;
}

.repair-price {
    color: var(--accent-color);
    font-weight: 700;
}

/* Расширенные таблицы цен */
.price-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
}

.price-list-container {
    margin-top: 30px;
}

.price-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.price-tab {
    padding: 12px 24px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    font-weight: 600;
    color: var(--gray-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.price-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.price-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.repair-price-table-wrapper {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.repair-price-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.repair-price-table th {
    padding: 20px 15px;
    text-align: left;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.repair-price-table th:first-child {
    padding-left: 30px;
    border-radius: 16px 0 0 0;
}

.repair-price-table th:last-child {
    padding-right: 30px;
    border-radius: 0 16px 0 0;
}

.repair-price-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.repair-price-table tbody tr:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.repair-price-table tbody tr:last-child {
    border-bottom: none;
}

.repair-price-table td {
    padding: 20px 15px;
    vertical-align: middle;
}

.repair-price-table td:first-child {
    padding-left: 30px;
}

.repair-price-table td:last-child {
    padding-right: 30px;
}

.service-name {
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.service-name h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.device-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.device-tag {
    padding: 4px 12px;
    background: #e9ecef;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--gray-color);
}

.device-tag.urgent {
    background: #fff3cd;
    color: #856404;
}

.service-description {
    color: var(--gray-color);
    line-height: 1.5;
    font-size: 0.95rem;
}

.repair-time {
    min-width: 120px;
}

.time-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #e9ecef;
    border-radius: 50px;
    font-weight: 500;
    color: var(--gray-color);
}

.time-badge.urgent {
    background: #fff3cd;
    color: #856404;
}

.time-badge i {
    font-size: 0.9rem;
}

.price-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.price-note {
    font-size: 0.85rem;
    color: var(--gray-color);
}

.repair-action {
    min-width: 120px;
}

.btn-order {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--accent-color), #ff6b6b);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-order-sm {
    padding: 10px 16px;
    font-size: 0.9rem;
}

.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.urgent-btn {
    background: linear-gradient(135deg, #ffc107, #ff9800);
}

.urgent-btn:hover {
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

.price-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-color);
}

.disclaimer-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.disclaimer-icon i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.disclaimer-text p {
    margin: 0;
    color: var(--gray-color);
    line-height: 1.5;
}

/* Блок под таблицей */
.price-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #1a365d 0%, #2d6cb0 100%);
    border-radius: 15px;
    color: var(--white-color);
}

.repair-time {
    display: flex;
    align-items: center;
    gap: 20px;
}

.time-icon {
    font-size: 3rem;
    color: var(--accent-color);
}

.time-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.time-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.order-call-block {
    display: flex;
    align-items: center;
    gap: 20px;
}

.arrow-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    animation: arrowBounce 2s infinite;
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
}

.order-call-btn-large {
    background-color: var(--accent-color);
    color: var(--white-color);
    border: none;
    padding: 18px 40px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    min-width: 220px;
}

.order-call-btn-large:hover {
    background-color: #e65100;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 109, 0, 0.3);
}

/* Фотогалерея */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(45deg, #e0e0e0, #f5f5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--gray-color);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
}

/* Отзывы */
.reviews-section {
    background-color: #f8f9fa;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background-color: var(--white-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gray-color);
    margin-right: 15px;
}

.review-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.review-date {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.review-text {
    font-style: italic;
    line-height: 1.7;
}

/* Контакты */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(26, 115, 232, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-form {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Страница ремонта */
.repair-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1770&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    padding: 150px 0 80px;
    margin-top: 0;
    text-align: center;
}

.repair-hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Хлебные крошки */
.breadcrumb {
    background-color: #f5f5f5;
    padding: 15px 0;
}

.breadcrumb-content {
    display: flex;
    align-items: center;
}

.breadcrumb a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    margin: 0 10px;
    color: var(--light-gray-color);
}

.breadcrumb .current {
    color: var(--primary-color);
    font-weight: 500;
}

/* Анимации при скролле */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Эффект загрузки страницы */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.page-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Стили для модального окна */
.callback-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.callback-modal {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray-color);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--accent-color);
}

.callback-modal h2 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.callback-modal p {
    margin-bottom: 25px;
    color: var(--gray-color);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Футер */
footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-about p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--white-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-links a i {
    margin-right: 10px;
    width: 20px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ */

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .work-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }
    
    .work-steps::before {
        display: none;
    }
    
    .step {
        flex: 0 0 calc(50% - 20px);
        margin-bottom: 40px;
    }
    
    .banner-title {
        font-size: 2.6rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .brands-filter {
        gap: 10px;
    }
    
    .brand-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .price-list-container {
        padding: 30px 20px;
    }
    
    .repair-price-table th,
    .repair-price-table td {
        padding: 15px 10px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    /* Шапка для мобильных */
    .header-top-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .top-nav {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .phone-top {
        width: 100%;
        justify-content: center;
    }
    
    /* Нижняя часть шапки для мобильных */
    .header-bottom-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 15px;
        padding: 20px 0;
    }
    
    .main-nav ul.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 15px;
    }
    
    .header-actions {
        margin-top: 15px;
        justify-content: center;
        width: 100%;
    }
    
    /* Контент для мобильных */
    .banner-title {
        font-size: 2.2rem;
    }
    
    .banner-subtitle {
        font-size: 1.2rem;
    }
    
    .banner-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .banner-feature {
        text-align: center;
        flex-direction: column;
    }
    
    .banner-feature i {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .step {
        flex: 0 0 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .logo {
        text-align: center;
        justify-content: center;
    }
    
    .repair-price-title {
        font-size: 2rem;
    }
    
    .brands-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        margin-bottom: 30px;
    }
    
    .brand-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .price-footer {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .repair-time {
        flex-direction: column;
        text-align: center;
    }
    
    .order-call-block {
        flex-direction: column;
        gap: 15px;
    }
    
    .order-call-btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    .arrow-icon {
        transform: rotate(90deg);
        animation: arrowBounceVertical 2s infinite;
    }
    
    @keyframes arrowBounceVertical {
        0%, 100% {
            transform: rotate(90deg) translateY(0);
        }
        50% {
            transform: rotate(90deg) translateY(10px);
        }
    }
    
    .repair-price-table {
        display: block;
        overflow-x: auto;
    }
    
    .repair-price-table-wrapper {
        border-radius: 12px;
    }
    
    .repair-price-table th,
    .repair-price-table td {
        min-width: 150px;
    }
    
    .service-name {
        min-width: 250px;
    }
    
    .price-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .price-tab {
        flex-shrink: 0;
    }
    
    .repair-price-table td {
        padding: 15px 10px;
    }
    
    .repair-price-table td:first-child {
        padding-left: 15px;
    }
    
    .repair-price-table td:last-child {
        padding-right: 15px;
    }
    
    .btn-order-sm {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .banner-title {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .callback-btn {
        width: 100%;
    }
    
    .repair-price-section {
        padding: 60px 0;
    }
    
    .repair-price-title {
        font-size: 1.8rem;
    }
    
    .price-table {
        display: block;
        overflow-x: auto;
    }
    
    .price-table th,
    .price-table td {
        padding: 12px 8px;
        font-size: 0.9rem;
    }
    
    .price-value {
        font-size: 1rem;
    }
    
    .order-call-btn-large {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .phone-link {
        font-size: 1.1rem;
    }
    
    .banner-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .service-price {
        font-size: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .top-nav a {
        font-size: 1rem;
    }
}

/* Высокопиксельные экраны */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Печать */
@media print {
    .site-header,
    .page-loader,
    .btn,
    .footer-social,
    .mobile-menu-btn {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .container {
        max-width: 100%;
    }
    
    a {
        color: #000;
        text-decoration: none;
    }
}