/* ========== ОБЩИЕ СТИЛИ БЛОКОВ ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-title {
    font-size: 28px;
    margin: 30px 0 20px;
    text-align: center;
    color: #222;
}

/* ========== HERO ========== */
.hero {
    text-align: center;
    padding: 60px 20px;
    color: #fff;
}
.hero h1 {
    font-size: 40px;
    margin-bottom: 15px;
}
.hero p {
    font-size: 20px;
    margin-bottom: 15px;
}
.hero-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
    background: #fff;
    color: #333;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
}

/* ========== УСЛУГИ ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.service-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}
.service-image {
    height: 160px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}
.service-card h3 {
    margin-bottom: 8px;
}
.service-button {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: #0984e3;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
}

/* ========== ЦЕНЫ ========== */
.prices-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.prices-table td,
.prices-table th {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

/* ========== ОТЗЫВЫ ========== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.review-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
}
.review-rating {
    color: #f39c12;
    font-size: 18px;
    margin-bottom: 8px;
}

/* ========== FAQ ========== */
.faq-item {
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 10px;
}
.faq-question {
    font-weight: bold;
    cursor: pointer;
}
.faq-answer {
    display: none;
    margin-top: 5px;
}
.faq-item.open .faq-answer {
    display: block;
}

/* ========== СПИСКИ ========== */
.list-block ul,
.list-block ol {
    margin-left: 25px;
    margin-top: 15px;
}
.list-block li {
    margin-bottom: 8px;
}

/* ========== ФОРМА ========== */
.form-block input,
.form-block textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.form-block button {
    background: #0984e3;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}
/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 900px) {
    .header-inner {
        align-items: flex-start;
    }
    .services-grid,
    .reviews-grid,
    .portfolio-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 28px;
    }
    .hero p {
        font-size: 16px;
    }
    .prices-table-wrapper {
        overflow-x: auto;
    }
    .prices-table {
        min-width: 500px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }
    .hero p {
        font-size: 14px;
    }
    .container {
        padding: 0 10px;
    }
}