/* Стили внутренних страниц услуг + прайс (tseny) — мобильная вёрстка */

.page-service .breadcrumb {
    padding-top: calc(70px + 10px);
    padding-bottom: 6px;
    font-size: 13px;
    color: var(--text-light);
}

.page-service .breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.page-service .breadcrumb a:hover {
    text-decoration: underline;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.nav-links a.nav-current {
    color: var(--primary);
    font-weight: 700;
}

.footer-phone-link {
    color: inherit;
    text-decoration: none;
}

/* Hero */
.service-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url("img/hero-bg.jpg") center / cover;
    padding: 56px 0 80px;
    color: #fff;
}

.page-service .service-hero {
    padding-top: 48px;
}

.service-hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(28px, 4.5vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.service-hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 620px;
    margin-bottom: 32px;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 13px;
    line-height: 1.3;
}

.service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* Контент */
.content-section {
    padding: 80px 0;
}

.content-section h2 {
    font-family: "Playfair Display", serif;
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 20px;
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 16px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.process-step {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.08);
    min-width: 0;
}

.process-step-num {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    margin-bottom: 16px;
}

.process-step h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark);
}

.process-step p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 20px;
    margin-top: 40px;
}

.benefit-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.08);
    border-left: 4px solid var(--primary);
    min-width: 0;
}

.benefit-card i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 14px;
    display: block;
}

.benefit-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
    color: var(--dark);
}

.benefit-card p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 16px;
    margin-top: 36px;
}

.material-card {
    background: var(--light);
    border-radius: 14px;
    padding: 20px;
    border: 1px solid var(--gray);
    text-align: center;
    min-width: 0;
}

.material-card h3 {
    font-size: 20px;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 6px;
}

.material-card p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

.material-card span {
    font-size: 12px;
    background: rgba(139, 69, 19, 0.1);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 8px;
}

.types-grid,
.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 20px;
    margin-top: 36px;
}

.type-card,
.zone-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.08);
    min-width: 0;
}

.type-card h3,
.zone-card h3 {
    font-size: 19px;
    color: var(--dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.type-card h3 i,
.zone-card h3 i {
    color: var(--primary);
    flex-shrink: 0;
}

.type-card p,
.zone-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 12px;
}

.price-tag {
    background: rgba(139, 69, 19, 0.08);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
}

/* Прайс-блоки на страницах услуг */
.service-price-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.08);
    margin-top: 32px;
    border: 1px solid var(--gray);
}

.service-price-card--muted {
    background: var(--light);
    border: none;
}

.service-price-row {
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px 16px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--gray);
}

.service-price-card--muted .service-price-row {
    background: #fff;
}

.service-price-row:last-child {
    border-bottom: none;
}

.service-price-row strong:first-child {
    color: var(--dark);
    font-weight: 600;
}

.service-price-row__note {
    font-size: 13px;
    color: var(--text-light);
    margin: 4px 0 0;
    line-height: 1.45;
}

.service-price-row__val {
    color: var(--primary);
    font-size: clamp(16px, 4vw, 20px);
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.price-hint {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

.price-hint i {
    color: var(--primary);
    margin-right: 4px;
}

.price-cta {
    margin-top: 24px;
    text-align: center;
}

/* FAQ */
.faq-list {
    margin-top: 40px;
}

.faq-item {
    background: #fff;
    border-radius: 14px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(139, 69, 19, 0.08);
}

.faq-question {
    padding: 18px 20px;
    min-height: 48px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--dark);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.faq-question .faq-icon {
    width: 32px;
    height: 32px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
}

.faq-question.open + .faq-answer {
    padding: 0 20px 20px;
    max-height: 1200px;
}

.related-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 12px;
    margin-top: 32px;
}

.related-link {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 14px;
    padding: 16px 18px;
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    transition: border-color 0.3s, transform 0.3s;
    border: 2px solid transparent;
    min-height: 48px;
    min-width: 0;
}

.related-link:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.related-link i {
    font-size: 22px;
    color: var(--primary);
    flex-shrink: 0;
}

.related-link span {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.cta-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 24px;
    padding: 40px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-banner h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #fff;
}

.cta-banner p {
    opacity: 0.9;
    max-width: 480px;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

.cta-banner-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.btn-white {
    background: #fff;
    color: var(--primary);
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: 48px;
    box-sizing: border-box;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: border-color 0.3s, background 0.3s;
    min-height: 48px;
    box-sizing: border-box;
}

.btn-outline-white:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Страница «Цены» (tseny) */
.page-prices .service-hero {
    padding: 44px 0 56px;
}

.page-prices .service-hero h1 {
    font-size: clamp(26px, 4vw, 52px);
}

.page-prices .service-hero p {
    font-size: 17px;
    margin-bottom: 24px;
}

.page-prices .content-section h2 {
    margin-bottom: 8px;
}

.section-sub {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.price-category {
    margin-bottom: 48px;
}

.price-category h3 {
    font-size: 21px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-category h3 i {
    color: var(--primary);
}

.page-prices .price-table {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.08);
    border: 1px solid var(--gray);
}

.page-prices .price-table .price-row {
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--gray);
    gap: 12px 16px;
    flex-wrap: wrap;
}

.page-prices .price-table .price-row:last-child {
    border-bottom: none;
}

.page-prices .price-table .price-row.highlight {
    background: rgba(139, 69, 19, 0.04);
}

.page-prices .price-name {
    font-weight: 500;
    color: var(--dark);
    flex: 1;
    min-width: min(100%, 200px);
}

.page-prices .price-desc {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
    line-height: 1.45;
}

.page-prices .price-table .price-val {
    font-weight: 700;
    color: var(--primary);
    font-size: clamp(16px, 4vw, 18px);
    text-align: right;
}

.page-prices .price-unit {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 400;
}

.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 16px;
    margin: 40px 0;
}

.info-box {
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 4px 16px rgba(139, 69, 19, 0.08);
    border-top: 4px solid var(--primary);
    min-width: 0;
}

.info-box i {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.info-box h4 {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 6px;
}

.info-box p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.calc-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 20px;
    padding: 36px 24px;
    color: #fff;
    text-align: center;
    margin: 40px 0;
}

.calc-cta h3 {
    font-size: clamp(20px, 4vw, 26px);
    margin-bottom: 10px;
    color: #fff;
}

.calc-cta p {
    opacity: 0.9;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
}

.calc-cta a {
    background: #fff;
    color: var(--primary);
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 6px;
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: 48px;
    box-sizing: border-box;
}

.calc-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.calc-cta a.outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

/* Мобильные и планшеты */
@media (max-width: 768px) {
    .page-service .breadcrumb {
        padding-top: calc(64px + 8px);
        font-size: 12px;
        word-break: break-word;
    }

    .service-hero {
        padding: 40px 0 48px;
    }

    .service-hero p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .chip {
        font-size: 12px;
        padding: 7px 12px;
    }

    .content-section {
        padding: 48px 0;
    }

    .content-section h2 {
        font-size: 24px;
    }

    .process-steps,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .process-step,
    .benefit-card {
        padding: 20px 16px;
    }

    .service-price-row {
        flex-direction: column;
        align-items: stretch;
    }

    .service-price-row__val {
        white-space: normal;
        align-self: flex-start;
    }

    .cta-banner {
        padding: 24px 18px;
    }

    .cta-banner h2 {
        font-size: 22px;
    }

    .cta-banner-btns {
        width: 100%;
        flex-direction: column;
    }

    .cta-banner-btns .btn-white,
    .cta-banner-btns .btn-outline-white {
        width: 100%;
    }

    .page-prices .price-table .price-row {
        flex-direction: column;
        align-items: stretch;
    }

    .page-prices .price-table .price-val {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .service-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .service-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .related-link {
        padding: 14px 16px;
    }

    .calc-cta a {
        width: calc(100% - 12px);
        margin: 6px;
    }
}
