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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Шапка */
.header {
    background: #1a1a1a;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo span {
    color: #f39c12; /* Для эвакуатора */
    /* Для авторазборки замените на #3498db */
}

.contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 15px;
}

.contacts a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
    padding: 8px 0;
    /* Увеличиваем область касания */
    display: inline-block;
    min-height: 44px;
    line-height: 44px;
}

.contacts a:hover {
    color: #f39c12; /* Для эвакуатора */
    /* Для авторазборки замените на #3498db */
}

.contacts i {
    margin-right: 8px;
}

/* Герой */
.hero {
    color: #fff;
    text-align: center;
    padding: 80px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px #000;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: #f39c12; /* Для эвакуатора */
    /* Для авторазборки замените на #3498db */
    color: #fff;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background 0.3s, transform 0.3s;
    min-width: 250px;
    min-height: 60px;
    line-height: 1.2;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #e67e22; /* Для эвакуатора */
    /* Для авторазборки замените на #2980b9 */
    transform: scale(1.05);
}

/* Общие заголовки секций */
section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #f39c12; /* Для эвакуатора */
    /* Для авторазборки замените на #3498db */
}

/* Прайс (карточки) */
.prices {
    padding: 60px 0;
    background: #f9f9f9;
}

.price-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
}

.price-item {
    background: #fff;
    border-radius: 10px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
}

.price-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.price-item i {
    font-size: 2.5rem;
    color: #f39c12; /* Для эвакуатора */
    /* Для авторазборки замените на #3498db */
    margin-bottom: 15px;
}

.price-item h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.price-item p {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
}

.price-item span {
    color: #f39c12; /* Для эвакуатора */
    /* Для авторазборки замените на #3498db */
    font-size: 1.4rem;
}

/* Детальный прайс (таблица) */
.detailed {
    padding: 60px 0;
    overflow-x: auto; /* Для мобильных */
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    min-width: 500px; /* Чтобы таблица не сжималась слишком сильно */
}

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

.price-table th {
    background: #f39c12; /* Для эвакуатора */
    /* Для авторазборки замените на #3498db */
    color: #fff;
    font-weight: 700;
}

/* Преимущества */
.features {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0;
}

.features h2 {
    color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature i {
    font-size: 2.5rem;
    color: #f39c12; /* Для эвакуатора */
    /* Для авторазборки замените на #3498db */
    margin-bottom: 15px;
}

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

/* Контакты */
.contacts-section {
    padding: 60px 0;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-info a {
    color: #333;
    text-decoration: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.contact-info a:hover {
    color: #f39c12; /* Для эвакуатора */
    /* Для авторазборки замените на #3498db */
}

/* Карта */
.contacts-section iframe {
    width: 100%;
    height: 350px;
    border: 0;
    border-radius: 10px;
    margin-top: 20px;
}

/* Подвал */
footer {
    background: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Социальные кнопки (для разборки) */
.social {
    padding: 60px 0;
    background: #f9f9f9;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
    color: #fff;
    min-width: 200px;
    min-height: 60px;
}

.social-btn.vk {
    background: #4c75a3;
}

.social-btn.avito {
    background: #d44b33;
}

.social-btn:hover {
    transform: translateY(-3px);
}

/* Секция локаций (для эвакуатора) */
.locations {
    padding: 40px 0;
    background: #f0f0f0;
    text-align: center;
}

.locations p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 10px auto;
}

/* ========== МОБИЛЬНЫЕ СТИЛИ ========== */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .contacts {
        justify-content: center;
    }
    
    .contacts a {
        font-size: 1rem;
        padding: 10px 0;
    }
    
    .hero {
        padding: 60px 0;
        min-height: 50vh;
    }
    
    .hero h2 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 15px 30px;
        min-width: 200px;
        font-size: 1rem;
    }
    
    section h2 {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .price-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .price-item {
        padding: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .contact-info p {
        justify-content: center;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .contacts-section iframe {
        height: 300px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.4rem;
    }
    
    .btn {
        min-width: 180px;
        padding: 12px 20px;
    }
    
    .price-item i {
        font-size: 2rem;
    }
    
    .price-item h3 {
        font-size: 1.1rem;
    }
    
    .price-item p {
        font-size: 1rem;
    }
    
    .contacts a {
        font-size: 0.9rem;
    }
    
    .price-table {
        min-width: 400px; /* Немного меньше для очень маленьких */
    }
    
    .price-table th, .price-table td {
        padding: 8px;
        font-size: 0.9rem;
    }
}
