/* Page-scoped styles for /therapy/. */
.therapy-page {
    --therapy-ink: #0b1020;
    --therapy-muted: #5b6170;
    --therapy-blue: #2F4BFF;
    --therapy-lime: #C6FF52;
    --therapy-cream: #FFFDF7;
    --therapy-mist: #F5F7FB;
    --therapy-teal: #113C3B;
    background: var(--therapy-cream);
    color: var(--therapy-ink);
    overflow: hidden;
}

@media (max-width: 767px) {
    .therapy-page {
        padding-bottom: 90px;
    }
}

.therapy-container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.therapy-hero {
    position: relative;
    min-height: min(640px, 72vh);
    display: flex;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
}

.therapy-hero__media,
.therapy-hero__shade {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.therapy-hero__media {
    background-image: url("/images/virtual-iop.jpg");
    background-size: cover;
    background-position: center 45%;
    transform: scale(1.02);
    animation: therapy-hero-breathe 14s ease-in-out infinite alternate;
}

.therapy-hero__shade {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(11, 16, 32, 0.86) 0%, rgba(11, 16, 32, 0.66) 42%, rgba(11, 16, 32, 0.18) 100%),
        linear-gradient(0deg, rgba(17, 60, 59, 0.34), rgba(17, 60, 59, 0.02));
}

.therapy-hero__inner {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 44px 0 40px;
}

.therapy-hero__copy {
    max-width: 650px;
    color: white;
}

.therapy-eyebrow,
.therapy-kicker {
    color: var(--therapy-blue);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.09em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.therapy-hero .therapy-eyebrow {
    color: var(--therapy-lime);
}

.therapy-hero h1,
.therapy-section h2,
.therapy-final h2 {
    font-family: Lora, Georgia, serif;
    letter-spacing: 0;
    line-height: 1.02;
}

.therapy-hero h1 {
    font-size: clamp(3.1rem, 7vw, 5.35rem);
    max-width: 720px;
    margin: 0;
}

.therapy-hero__lede {
    max-width: 600px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.06rem, 1.9vw, 1.33rem);
    line-height: 1.55;
}

.therapy-hero__actions,
.therapy-final__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.therapy-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 2px solid #000;
    border-radius: 12px;
    padding: 13px 21px;
    color: #000;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    box-shadow: 4px 4px 0 #000;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.therapy-button i {
    font-size: 1.2rem;
}

.therapy-button:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #000;
}

.therapy-button--primary {
    background: var(--therapy-lime);
}

.therapy-button--secondary {
    background: #fff;
}

.therapy-hero__details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    width: min(620px, 100%);
    margin: 24px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.therapy-hero__details div {
    padding: 16px;
    background: rgba(11, 16, 32, 0.34);
}

.therapy-hero__details dt {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.therapy-hero__details dd {
    margin: 0;
    color: white;
    font-size: 0.96rem;
    font-weight: 700;
}

.therapy-reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: therapy-reveal 620ms ease forwards;
}

.therapy-reveal--2 { animation-delay: 90ms; }
.therapy-reveal--3 { animation-delay: 180ms; }
.therapy-reveal--4 { animation-delay: 270ms; }
.therapy-reveal--5 { animation-delay: 360ms; }

.therapy-trust {
    padding: 24px 16px 28px;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    background: white;
    text-align: center;
}

.therapy-trust p {
    margin: 0 0 18px;
    color: var(--therapy-muted);
    font-weight: 700;
}

.therapy-logo-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.therapy-logo-row img {
    max-width: 142px;
    height: 42px;
    padding: 10px 16px;
    border: 1px solid #e3e6ee;
    border-radius: 8px;
    background: white;
    object-fit: contain;
    filter: saturate(0.9);
}

.therapy-section {
    padding: clamp(70px, 9vw, 116px) 0;
}

.therapy-section:nth-of-type(odd) {
    background: var(--therapy-mist);
}

.therapy-section-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(36px, 6vw, 78px);
    align-items: start;
}

.therapy-section__intro h2,
.therapy-final h2 {
    max-width: 780px;
    margin: 0;
    color: var(--therapy-ink);
    font-size: clamp(2.35rem, 5vw, 4.8rem);
}

.therapy-section__intro p:not(.therapy-kicker),
.therapy-parent__copy p,
.therapy-final p {
    max-width: 650px;
    margin: 22px 0 0;
    color: var(--therapy-muted);
    font-size: clamp(1.03rem, 1.6vw, 1.2rem);
    line-height: 1.65;
}

.therapy-section__intro--center {
    max-width: 830px;
    margin: 0 auto 38px;
    text-align: center;
}

.therapy-section__intro--center h2,
.therapy-section__intro--center p {
    margin-left: auto;
    margin-right: auto;
}

.therapy-fit__columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.therapy-fit__column {
    min-height: 100%;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 26px;
    box-shadow: 4px 4px 0 #000;
}

.therapy-fit__column--yes {
    background: white;
}

.therapy-fit__column--no {
    background: #FFF4D8;
}

.therapy-fit__column h3,
.therapy-question h3,
.therapy-step h3 {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 850;
    letter-spacing: 0;
}

.therapy-fit__column ul,
.therapy-check-list {
    display: grid;
    gap: 13px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.therapy-fit__column li {
    position: relative;
    padding-left: 20px;
    color: #2d3443;
    line-height: 1.45;
}

.therapy-fit__column li::before {
    content: "";
    position: absolute;
    top: 0.68em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: var(--therapy-blue);
    transform: translateY(-50%);
}

.therapy-fit__column--no li::before {
    background: #E88B00;
}

.therapy-question-list {
    border-top: 2px solid #000;
}

.therapy-question {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 24px;
    padding: 26px 0;
    border-bottom: 2px solid #000;
}

.therapy-question > span {
    color: var(--therapy-blue);
    font-family: Lora, Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.therapy-question p,
.therapy-step p,
.therapy-faq details p {
    margin: 10px 0 0;
    color: var(--therapy-muted);
    font-size: 1rem;
    line-height: 1.62;
}

.therapy-process {
    background: var(--therapy-teal) !important;
    color: white;
}

.therapy-process .therapy-kicker {
    color: var(--therapy-lime);
}

.therapy-process .therapy-section__intro h2,
.therapy-process .therapy-section__intro p {
    color: white;
}

.therapy-process .therapy-section__intro p {
    color: rgba(255, 255, 255, 0.78);
}

.therapy-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 42px;
    border: 2px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.16);
}

.therapy-step {
    min-height: 260px;
    padding: 28px;
    border-right: 2px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.04);
    transition: background-color 180ms ease, transform 180ms ease;
}

.therapy-step:last-child {
    border-right: 0;
}

.therapy-step:hover {
    background: rgba(198, 255, 82, 0.12);
    transform: translateY(-4px);
}

.therapy-step span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border: 2px solid #000;
    border-radius: 999px;
    background: var(--therapy-lime);
    color: #000;
    font-weight: 900;
    box-shadow: 3px 3px 0 #000;
}

.therapy-step h3 {
    color: white;
    font-size: 1.35rem;
}

.therapy-step p {
    color: rgba(255, 255, 255, 0.78);
}

.therapy-parent__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(34px, 6vw, 72px);
    align-items: center;
}

.therapy-parent__image {
    position: relative;
    margin: 0;
}

.therapy-parent__image::before {
    content: "";
    position: absolute;
    inset: 20px -18px -18px 18px;
    z-index: 0;
    border: 2px solid #000;
    border-radius: 8px;
    background: var(--therapy-lime);
}

.therapy-parent__image img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 5 / 4;
    border: 2px solid #000;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 4px 4px 0 #000;
}

.therapy-parent__copy h2 {
    margin: 0;
    color: var(--therapy-ink);
    font-family: Lora, Georgia, serif;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.05;
    letter-spacing: 0;
}

.therapy-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #222a38;
    font-weight: 700;
    line-height: 1.45;
}

.therapy-check-list i {
    margin-top: 2px;
    color: #148A4A;
    font-size: 1.28rem;
}

.therapy-faq {
    background: white !important;
}

.therapy-faq__list {
    display: grid;
    gap: 12px;
}

.therapy-faq details {
    border: 2px solid #000;
    border-radius: 8px;
    background: var(--therapy-mist);
    box-shadow: 3px 3px 0 #000;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.therapy-faq details:hover {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 #000;
}

.therapy-faq details[open] {
    background: #fff;
}

.therapy-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 68px;
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 850;
    list-style: none;
}

.therapy-faq summary::-webkit-details-marker {
    display: none;
}

.therapy-faq summary i {
    flex: 0 0 auto;
    font-size: 1.2rem;
    transition: transform 160ms ease;
}

.therapy-faq details[open] summary i {
    transform: rotate(45deg);
}

.therapy-faq details p {
    padding: 0 20px 20px;
}

.therapy-final {
    padding: clamp(72px, 9vw, 118px) 0;
    background:
        linear-gradient(90deg, rgba(47, 75, 255, 0.94), rgba(47, 75, 255, 0.78)),
        url("/images/CBT_Therapy.jpeg") center / cover;
    color: white;
}

.therapy-final__inner {
    max-width: 800px;
}

.therapy-final .therapy-kicker,
.therapy-final h2,
.therapy-final p {
    color: white;
}

.therapy-final p {
    color: rgba(255, 255, 255, 0.86);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 620ms ease, transform 620ms ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes therapy-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes therapy-hero-breathe {
    from {
        transform: scale(1.02);
    }
    to {
        transform: scale(1.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    .therapy-hero__media,
    .therapy-reveal,
    .reveal-on-scroll,
    .therapy-button,
    .therapy-step,
    .therapy-faq details {
        animation: none;
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 980px) {
    .therapy-section-grid,
    .therapy-parent__grid {
        grid-template-columns: 1fr;
    }

    .therapy-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .therapy-step:nth-child(2) {
        border-right: 0;
    }

    .therapy-step:nth-child(1),
    .therapy-step:nth-child(2) {
        border-bottom: 2px solid rgba(255, 255, 255, 0.32);
    }
}

@media (max-width: 720px) {
    .therapy-hero {
        min-height: auto;
    }

    .therapy-hero__inner {
        padding: 58px 0 48px;
    }

    .therapy-hero__shade {
        background:
            linear-gradient(0deg, rgba(11, 16, 32, 0.9) 0%, rgba(11, 16, 32, 0.72) 62%, rgba(11, 16, 32, 0.4) 100%),
            rgba(17, 60, 59, 0.12);
    }

    .therapy-hero h1 {
        font-size: clamp(3rem, 15vw, 4.5rem);
    }

    .therapy-fit__columns,
    .therapy-steps {
        grid-template-columns: 1fr;
    }

    .therapy-step,
    .therapy-step:nth-child(2) {
        border-right: 0;
    }

    .therapy-step,
    .therapy-step:nth-child(1),
    .therapy-step:nth-child(2) {
        min-height: 0;
        border-bottom: 2px solid rgba(255, 255, 255, 0.32);
    }

    .therapy-step:last-child {
        border-bottom: 0;
    }

    .therapy-question {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 520px) {
    .therapy-container,
    .therapy-hero__inner {
        width: min(100% - 24px, 1120px);
    }

    .therapy-hero__actions,
    .therapy-final__actions {
        display: grid;
    }

    .therapy-hero__details {
        display: none;
    }

    .therapy-button {
        width: 100%;
    }

    .therapy-logo-row {
        gap: 8px;
    }

    .therapy-logo-row img {
        max-width: 128px;
        height: 38px;
        padding: 9px 12px;
    }

    .therapy-section {
        padding: 62px 0;
    }
}
