/* ==========================================================
 * What's included (§9, v2: type switcher + room tabs)
 * ========================================================== */
.inc-switch {
    margin-bottom: 14px;
}

.includes .section-head {
    margin-bottom: 28px;
}

/* «Что входит в поддерживающую уборку»: the long word must break on 360px instead of widening the page */
.includes .section-head__title {
    max-width: min(620px, 100%);
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
}

.include {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.include__card {
    flex: 1 1 420px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: clamp(24px, 3.5vw, 40px);
    background: var(--c-surface);
    border-radius: var(--r-panel);
}

.include__photo {
    position: relative;
    flex: 1 1 440px;
    min-width: 0;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    overflow: hidden;
    background: var(--c-aqua);
    border-radius: var(--r-panel);
}

.include__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price-plate {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    padding: 14px 18px;
    font-size: 15px;
    color: var(--c-text-2);
    background: var(--c-surface);
    border-radius: 18px;
}

.price-plate__value {
    padding: 2px 8px;
    font-family: var(--font-head);
    font-size: 18px;
    color: var(--c-ink);
    white-space: nowrap;
    background: var(--c-accent);
    border-radius: 8px;
}

/* Dialog variant (calculator pages, shell — .modal in base.css): texts and tabs only, no images */
.includes--dialog .section-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    padding-right: 48px;
}

.includes--dialog .section-head__title {
    font-size: clamp(22px, 3.4vw, 34px);
}

.includes--dialog .include__card {
    flex-basis: 100%;
    padding: clamp(20px, 3vw, 28px);
}

/* Phones: the three types stay in one row, equal columns (like the calculator switchers) */
@media (max-width: 639px) {
    .include__card {
        padding: var(--pad-block-sm);
    }

    .includes--dialog .inc-switch {
        display: flex;
        flex-wrap: nowrap;
    }

    .includes--dialog .inc-switch .segmented__tab {
        flex: 1 1 0;
        min-height: 44px;
        padding: 8px 6px;
        font-size: 13px;
    }
}

/* "Ce include curățenia?" button under the intro of calculator pages */
.inc-open {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    min-height: 48px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--c-ink);
    background: var(--c-surface);
    border: 1.5px solid var(--c-primary);
    border-radius: var(--r-btn);
    cursor: pointer;
    transition: background-color 0.15s;
}

.inc-open:hover {
    background: var(--c-aqua-soft);
}

.inc-open .icon {
    color: var(--c-primary);
}

