/* Стили для страницы услуги */
.usluga-template {
    font-family: 'Roboto', sans-serif;
}

/* Hero секция */
.usluga-hero {
    position: relative;
    background: url(/wp-content/themes/styazhka/images/bg.jpg) no-repeat top;
    background-size: cover;
    background-position: center center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
    height: 100vh;
    display: flex;
    align-items: center;
}

.usluga-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.usluga-hero .container {
    position: relative;
    z-index: 1;
}

.usluga-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.usluga-hero .lead {
    font-size: 24px;
    max-width: 800px;
    margin: 0 auto;
}

/* Вступительный текст */
.usluga-lead {
    padding: 60px 0;
    background: #f9f9f9;
}

.lead-text {
    font-size: 24px;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Преимущества */
.usluga-benefits {
    padding: 60px 0;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
}

.benefits li {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.benefits li:hover {
    transform: translateY(-5px);
}

.benefits li i {
    color: #007bff;
    margin-bottom: 20px;
}

.benefits li h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.benefits li p {
    color: #666;
    line-height: 1.6;
}

/* Основной контент */
.usluga-content {
    padding: 60px 0;
}

.usluga-content .container {
    max-width: 800px;
}

.usluga-content h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.usluga-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

/* Форма заявки */
.usluga-form {
    background: #f5f5f5;
    padding: 80px 0;
    text-align: center;
}

.usluga-form h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.usluga-form p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.form-consent {
    display: block;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.form-consent a {
    color: #007bff;
    text-decoration: none;
}

.form-consent a:hover {
    text-decoration: underline;
}

/* Стили для формы Contact Form 7 */
.wpcf7-form {
    max-width: 500px;
    margin: 0 auto;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
    border-color: #007bff;
    outline: none;
}

.wpcf7-form input[type="submit"] {
    background: #007bff;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
    background: #0056b3;
}

/* Блок с ценами */
.usluga-prices {
    padding: 80px 0;
    background: #f9f9f9;
}

.price-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.price-card:hover {
    transform: translateY(-5px);
}

.price-card.featured {
    border: 2px solid #007bff;
    transform: scale(1.05);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.price-card h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.price-card .price {
    font-size: 36px;
    color: #007bff;
    font-weight: bold;
    margin-bottom: 30px;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.price-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.price-features li:last-child {
    border-bottom: none;
}

/* Блок с отзывами */
.usluga-reviews {
    padding: 80px 0;
}

.review-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    height: 100%;
}

.review-stars {
    color: #ffc107;
    margin-bottom: 20px;
}

.review-text {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.review-author strong {
    display: block;
    color: #333;
    font-size: 18px;
}

.review-author span {
    color: #666;
    font-size: 14px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .usluga-hero h1 {
        font-size: 36px;
    }
    
    .usluga-hero .lead {
        font-size: 20px;
    }
    
    .lead-text {
        font-size: 20px;
    }
    
    .benefits {
        grid-template-columns: 1fr;
    }
    
    .usluga-form h2 {
        font-size: 28px;
    }
    
    .price-card.featured {
        transform: none;
    }
    
    .price-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .review-card {
        margin-bottom: 20px;
    }
}

/* --- Гармоничное разделение блоков на странице услуги --- */
.usluga-template section {
    margin-bottom: 60px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.usluga-form-block {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    margin-top: 30px;
    margin-bottom: 60px;
    padding: 40px 0 30px 0;
    position: relative;
}

.usluga-form-block:after {
    content: '';
    display: block;
    width: 120px;
    height: 3px;
    background: #fe4918;
    border-radius: 2px;
    margin: 40px auto 0 auto;
}

.usluga-examples, .usluga-reasons {
    background: #f7fafc;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    padding: 40px 0 30px 0;
    margin-bottom: 40px;
}

.usluga-examples .section-title, .usluga-reasons .section-title {
    margin-bottom: 30px;
}

.usluga-content {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    padding: 40px 30px 30px 30px;
    margin-bottom: 40px;
}

.usluga-contacts-map {
    background: #f7fafc;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    padding: 40px 0 30px 0;
    margin-bottom: 40px;
}

.usluga-contacts-box {
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    max-width: 100%;
}

/* Декоративные линии между секциями */
.usluga-template section:not(:last-child):after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: #e3e9f0;
    border-radius: 2px;
    margin: 40px auto 0 auto;
}

/* Адаптивность */
@media (max-width: 991px) {
    .usluga-content, .usluga-form-block, .usluga-examples, .usluga-reasons, .usluga-contacts-map {
        padding: 20px 5px 20px 5px;
        border-radius: 8px;
    }
    .usluga-template section {
        margin-bottom: 30px;
        padding-top: 15px;
        padding-bottom: 15px;
    }
}

body.page-template-page-usluga {
    padding-top: 0 !important;
} img.lazy,iframe.lazy{display:none}