/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
.header {
    background: #1e3c72;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo i {
    color: #4fc3f7;
    margin-right: 10px;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    transition: 0.3s;
}

.nav ul li a:hover {
    background: #2a4f8a;
    border-radius: 5px;
}

.header-phone a {
    color: #4fc3f7;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

/* Герой-секция */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: #ffd700;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature {
    text-align: center;
}

.feature i {
    font-size: 32px;
    color: #ffd700;
    margin-bottom: 10px;
}

/* Форма обратного звонка */
.callback-form {
    background: white;
    color: #333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.callback-form h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #1e3c72;
}

.callback-form p {
    margin-bottom: 20px;
    color: #666;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.form-group textarea + i {
    top: 25px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: #1e3c72;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #2a4f8a;
}

.form-note {
    font-size: 12px;
    text-align: center;
    margin-top: 15px;
    color: #999;
}

/* Услуги */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.services h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #1e3c72;
}

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

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 20px 20px 10px;
    font-size: 20px;
    color: #1e3c72;
}

.service-card p {
    padding: 0 20px;
    color: #666;
}

.price {
    display: block;
    padding: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #4fc3f7;
}

/* О мастере */
.about {
    padding: 80px 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #1e3c72;
}

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

.about-content ul {
    list-style: none;
}

.about-content ul li {
    margin-bottom: 10px;
}

.about-content ul li i {
    color: #4fc3f7;
    margin-right: 10px;
}

.about-image {
    text-align: center;
}

.master-placeholder {
    background: #f0f4f8;
    padding: 40px;
    border-radius: 10px;
}

.master-placeholder i {
    font-size: 80px;
    color: #1e3c72;
}

/* Контакты */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #1e3c72;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: start;
    gap: 15px;
}

.info-item i {
    font-size: 24px;
    color: #4fc3f7;
}

.info-item h4 {
    margin-bottom: 5px;
    color: #1e3c72;
}

.info-item a {
    color: #333;
    text-decoration: none;
}

.info-item a:hover {
    color: #4fc3f7;
}

/* Футер */
.footer {
    background: #1e3c72;
    color: white;
    padding: 30px 0;
    text-align: center;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-container,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .callback-form {
        margin-top: 30px;
    }
    
    .services h2,
    .about-content h2,
    .contact h2 {
        font-size: 28px;
    }
}

/* Уведомления */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 5px;
    color: white;
    z-index: 1000;
    animation: slideIn 0.3s;
}

.notification.success {
    background: #4caf50;
}

.notification.error {
    background: #f44336;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


/* Стили для новых SEO-блоков */
.brands {
    padding: 60px 0;
    background: white;
}

.brands h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #1e3c72;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    align-items: center;
}

.brand-item {
    background: #f0f4f8;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    color: #1e3c72;
    transition: 0.3s;
}

.brand-item:hover {
    background: #1e3c72;
    color: white;
}

.price-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.price-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #1e3c72;
}

.price-grid {
    max-width: 800px;
    margin: 0 auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.price-table tr {
    border-bottom: 1px solid #eee;
}

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

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

.price-table td:last-child {
    text-align: right;
    font-weight: bold;
    color: #1e3c72;
}

.price-note {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

.reviews {
    padding: 60px 0;
    background: white;
}

.reviews h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #1e3c72;
}

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

.review-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.rating {
    color: #ffc107;
    font-size: 18px;
}

.review-date {
    display: block;
    margin-top: 15px;
    color: #999;
    font-size: 14px;
}

.faq {
    padding: 60px 0;
    background: #f8f9fa;
}

.faq h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #1e3c72;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-item h3 {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 18px;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #1e3c72;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.social-link:hover {
    background: #4fc3f7;
    transform: translateY(-3px);
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.work-time {
    display: block;
    font-size: 12px;
    color: #4fc3f7;
    margin-top: 5px;
}

.phone-link {
    font-size: 20px;
    font-weight: bold;
}

.experience {
    margin-top: 20px;
    padding: 15px;
    background: #e8f4fd;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

/* Оптимизация для мобильных */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .price-table td {
        padding: 10px;
        font-size: 14px;
    }
    
    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

