/* Basic Styles */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin: 0;
    color: #444;
    background-color: #f9f9f9;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    text-align: center;
}

.bg-light {
    background-color: #f1f1f1;
}

/* Header */
.header {
    background: #000;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #ffcc00;
}

/* Hero Section */
.hero-section {
    background: url('header-background.jpg') no-repeat center center/cover;
    color: #fff;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.4rem;
    font-weight: 300;
}

.btn {
    display: inline-block;
    background: #ffcc00;
    color: #000;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
}

/* Faults List and Breakdowns Grid */
.faults-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.fault-item {
    background: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    color: #000;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.fault-item:hover {
    background-color: #000;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.breakdowns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.breakdown-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: left;
    transition: transform 0.3s ease;
}

.breakdown-item:hover {
    transform: translateY(-5px);
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.advantage-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-item h4 {
    color: #ffcc00;
}

/* Reviews Section (Updated) */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
    text-align: left;
}

.review-card {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.review-text {
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.review-text::before {
    content: '“';
    font-size: 3rem;
    color: #ffcc00;
    position: absolute;
    top: 0;
    left: 0;
}

.review-author {
    font-weight: 700;
    text-align: right;
    margin-top: 15px;
}

/* Prices Table */
.prices-table {
    width: 100%;
    max-width: 600px;
    margin: 30px auto;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.prices-table th, .prices-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.prices-table th {
    background-color: #000;
    color: #fff;
    font-weight: 700;
}

.prices-table tr:last-child td {
    border-bottom: none;
}

/* Articles Section and Article Page (Updated) */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.article-card {
    background: #fff;
    text-decoration: none;
    color: #444;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card h4 {
    margin: 15px 15px 5px;
    font-size: 1.2rem;
    color: #000;
}

.article-card p {
    margin: 0 15px 20px;
    font-size: 0.9rem;
    color: #777;
}

.article-page .container {
    max-width: 800px; /* Уменьшаем ширину контента для лучшей читаемости */
    text-align: left;
}

.article-page h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.article-page h3 {
    margin-top: 40px;
    color: #ffcc00;
}

.article-page .article-intro {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 4px solid #ffcc00;
}

.article-page .article-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.article-page ul {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

.article-page ul li {
    background-color: #fff;
    border-left: 3px solid #ffcc00;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.article-page .cta-block {
    background-color: #000;
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
    text-align: center;
}

.article-page .cta-block p {
    font-size: 1.2rem;
    margin: 0 0 15px;
}

.article-page .cta-block .btn {
    background-color: #ffcc00;
    color: #000;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 30px auto;
    text-align: left;
}

.faq-item {
    background: #fff;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-item h4 {
    margin: 0;
    color: #ffcc00;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 30px auto 0;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    background-color: #fff;
}

.contact-form button {
    cursor: pointer;
    border: none;
}

.phone-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: #ffcc00;
}

/* Footer */
.footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 25px 0;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffcc00;
}
@media screen and (max-width: 768px) {
    .img_banner {
        width: 100%;
        height: auto;
    }

    #target-block {
        width: 100%;
    }
}