/* ==========================================================================
   Invisalign – Risks & Recovery Section (Light Theme)
   Scoped under .inv-rr to avoid leaking into other templates.
   ========================================================================== */

/* ---------- Section wrapper ---------- */
body .inv-rr {
    background: #fff;
    padding: 6vmax 0;
}

/* ---------- Header ---------- */
body .inv-rr__header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 4rem;
}

body .inv-rr__title {
    font-family: var(--ff-heading);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--brand-dark);
    margin-bottom: 1.25rem;
}

body .inv-rr__lead {
    font-family: var(--ff-body);
    font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.65;
    color: var(--brand-body);
}

/* ---------- Grid ---------- */
body .inv-rr__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* ---------- Column cards ---------- */
body .inv-rr__col {
    padding: 2.5rem 0;
}

/* ---------- Column header ---------- */
body .inv-rr__col-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

body .inv-rr__col-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    font-size: 22px;
    flex-shrink: 0;
}

body .inv-rr__col-title {
    font-family: var(--ff-heading);
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 600;
    color: var(--brand-dark);
    margin: 0;
}

/* ---------- Body text ---------- */
body .inv-rr__text {
    font-family: var(--ff-body);
    font-size: clamp(15px, 1.1vw, 18px);
    line-height: 1.65;
    color: var(--brand-body);
    margin-bottom: 1rem;
}

body .inv-rr__text:last-child {
    margin-bottom: 0;
}

body .inv-rr__text--label {
    font-weight: 600;
    color: var(--brand-dark);
    margin-bottom: 0.75rem;
}

/* ---------- Risk pills ---------- */
body .inv-rr__pills {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

body .inv-rr__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--ff-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-dark);
    background: rgba(194, 144, 99, 0.08);
    border: 1px solid rgba(194, 144, 99, 0.2);
    border-radius: 100px;
    padding: 10px 18px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

body .inv-rr__pill i {
    color: #b8864e;
    font-size: 13px;
    flex-shrink: 0;
}

/* ---------- Disclaimer bar ---------- */
body .inv-rr__disclaimer {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

body .inv-rr__disclaimer p {
    font-family: var(--ff-body);
    font-size: clamp(15px, 1.1vw, 18px);
    line-height: 1.6;
    color: var(--brand-body);
    margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    body .inv-rr__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    body .inv-rr__header {
        text-align: left;
        margin-bottom: 3rem;
    }

    body .inv-rr__col {
        padding: 2rem;
    }

    body .inv-rr__pills {
        gap: 0.5rem;
    }

    body .inv-rr__pill {
        font-size: 13px;
        padding: 8px 14px;
    }
}

@media (max-width: 600px) {
    body .inv-rr {
        padding: 4rem 0;
    }

    body .inv-rr__col {
        padding: 1.5rem;
        border-radius: 16px;
    }

    body .inv-rr__col-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
        border-radius: 12px;
    }

    body .inv-rr__disclaimer {
        flex-direction: column;
        gap: 0.5rem;
    }
}