/* ==========================================================================
   Mind Your Power — Therapy page SEO content styles
   File   : assets/css/therapy-seo.css
   Scope  : loaded ONLY by /therapy (linked from therapy.html).
            Every rule is namespaced under .tseo-page, so no other page,
            template or component on the site is affected.
   Brand  : #FF6417 accent · Poppins type (inherited from the main stylesheet)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
.tseo-page {
    --tseo-accent: #FF6417;
    --tseo-accent-dark: #e25512;
    --tseo-ink: #1c1b1a;
    --tseo-body: #4b4744;
    --tseo-muted: #857c74;
    --tseo-line: #ece2d8;
    --tseo-cream: #fff8f1;
    --tseo-sand: #faf6f2;
    --tseo-white: #ffffff;
    --tseo-radius: 18px;
    --tseo-shadow: 0 16px 40px rgba(28, 27, 26, 0.08);
    --tseo-shadow-sm: 0 6px 20px rgba(28, 27, 26, 0.06);

    color: var(--tseo-body);
    display: block;
}

/* --------------------------------------------------------------------------
   2. Section shell & layout
   -------------------------------------------------------------------------- */
.tseo-section {
    padding: 78px 0;
    background: var(--tseo-white);
}

.tseo-section--alt {
    background: var(--tseo-sand);
}

.tseo-section--tight {
    padding: 60px 0;
}

.tseo-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tseo-wrap--narrow {
    max-width: 880px;
}

.tseo-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.tseo-split--text-wide {
    grid-template-columns: 1.15fr 1fr;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
.tseo-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--tseo-accent);
    margin-bottom: 14px;
}

.tseo-h2 {
    font-size: 2.15rem;
    line-height: 1.25;
    font-weight: 600;
    color: var(--tseo-ink);
    margin: 0 0 20px;
}

.tseo-h3 {
    font-size: 1.3rem;
    line-height: 1.35;
    font-weight: 600;
    color: var(--tseo-ink);
    margin: 0 0 12px;
}

.tseo-h2 + .tseo-lede,
.tseo-h3 + .tseo-lede {
    text-align: left;
    margin-top: -6px;
}

.tseo-lede {
    text-align: left;
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--tseo-body);
    margin: 0 0 26px;
}

.tseo-p {
    text-align: left;
    font-size: 1.03rem;
    line-height: 1.9;
    color: var(--tseo-body);
    margin: 0 0 18px;
}

.tseo-p:last-child {
    margin-bottom: 0;
}

.tseo-p a,
.tseo-list a,
.tseo-lede a {
    color: var(--tseo-accent);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.tseo-p a:hover,
.tseo-list a:hover,
.tseo-lede a:hover {
    color: var(--tseo-accent-dark);
}

.tseo-strong {
    color: var(--tseo-ink);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   4. Media
   -------------------------------------------------------------------------- */
.tseo-figure {
    margin: 0;
    min-height: 260px;
    border-radius: var(--tseo-radius);
    overflow: hidden;
    background: #f1eae3;
    box-shadow: var(--tseo-shadow);
}

.tseo-figure img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.tseo-figure--wide img {
    aspect-ratio: 16 / 9;
}

.tseo-figure--tall img {
    aspect-ratio: 3 / 4;
}

/* --------------------------------------------------------------------------
   5. Bullet lists
   -------------------------------------------------------------------------- */
.tseo-list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}

.tseo-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 1.03rem;
    line-height: 1.8;
    color: var(--tseo-body);
}

.tseo-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.62em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--tseo-accent);
}

.tseo-list--two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
}

/* --------------------------------------------------------------------------
   6. Callout / note boxes
   -------------------------------------------------------------------------- */
.tseo-note {
    background: var(--tseo-cream);
    border: 1px solid #ffe6c2;
    border-left: 4px solid var(--tseo-accent);
    border-radius: 14px;
    padding: 22px 26px;
    margin: 26px 0;
    font-size: 1rem;
    line-height: 1.8;
    color: #4a4038;
}

.tseo-note p {
    margin: 0 0 12px;
}

.tseo-note p:last-child {
    margin-bottom: 0;
}

.tseo-note strong {
    color: var(--tseo-ink);
}

/* --------------------------------------------------------------------------
   7. Practitioner quote
   -------------------------------------------------------------------------- */
.tseo-quote {
    margin: 30px 0;
    padding: 4px 0 4px 26px;
    border-left: 3px solid var(--tseo-accent);
    font-size: 1.12rem;
    line-height: 1.75;
    font-style: italic;
    color: var(--tseo-ink);
}

.tseo-quote cite {
    display: block;
    margin-top: 12px;
    font-size: 0.95rem;
    font-style: normal;
    font-weight: 600;
    color: var(--tseo-muted);
}

/* --------------------------------------------------------------------------
   8. Holistic approach cards
   -------------------------------------------------------------------------- */
.tseo-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    margin-top: 34px;
}

.tseo-card {
    background: var(--tseo-white);
    border: 1px solid var(--tseo-line);
    border-radius: var(--tseo-radius);
    padding: 30px 30px 26px;
    box-shadow: var(--tseo-shadow-sm);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.tseo-card:hover {
    transform: translateY(-6px);
    border-color: #ffd7b8;
    box-shadow: var(--tseo-shadow);
}

.tseo-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--tseo-cream);
    color: var(--tseo-accent);
    font-size: 1.15rem;
    margin-bottom: 18px;
}

.tseo-card__title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--tseo-ink);
    margin: 0 0 10px;
}

.tseo-card__text {
    font-size: 0.99rem;
    line-height: 1.8;
    color: var(--tseo-body);
    margin: 0;
}

/* --------------------------------------------------------------------------
   9. Session steps
   -------------------------------------------------------------------------- */
.tseo-steps {
    list-style: none;
    counter-reset: tseo-step;
    margin: 34px 0 0;
    padding: 0;
}

.tseo-steps > li {
    counter-increment: tseo-step;
    position: relative;
    padding: 0 0 30px 66px;
    border-left: 0;
    margin-left: 21px;
}

.tseo-steps > li:last-child {
    padding-bottom: 0;
}

.tseo-steps > li::before {
    content: counter(tseo-step);
    position: absolute;
    left: -23px;
    top: -2px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--tseo-accent);
    color: var(--tseo-white);
    font-size: 1rem;
    font-weight: 600;
    z-index: 2;
}

.tseo-step__title {
    text-align: left !important;
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--tseo-ink);
    margin: 0 0 8px;
    line-height: 1.4;
}

.tseo-step__text {
    text-align: left;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--tseo-body);
    margin: 0;
}

/* --------------------------------------------------------------------------
   10. FAQ (native details/summary — no JavaScript required)
   -------------------------------------------------------------------------- */
.tseo-faq {
    margin-top: 30px;
    border-top: 1px solid var(--tseo-line);
}

.tseo-faq__item {
    border-bottom: 1px solid var(--tseo-line);
}

.tseo-faq__item summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    cursor: pointer;
    list-style: none;
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--tseo-ink);
    line-height: 1.5;
    transition: color 0.3s ease;
}

.tseo-faq__item summary::-webkit-details-marker {
    display: none;
}

.tseo-faq__item summary::marker {
    content: "";
}

.tseo-faq__item summary:hover {
    color: var(--tseo-accent);
}

.tseo-faq__item summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--tseo-accent);
    flex: 0 0 auto;
    margin-top: 6px;
    transition: transform 0.3s ease;
}

.tseo-faq__item[open] summary::after {
    transform: rotate(180deg);
}

.tseo-faq__answer {
    padding: 0 0 24px;
    max-width: 780px;
}

.tseo-faq__answer p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--tseo-body);
    margin: 0;
}

/* --------------------------------------------------------------------------
   11. Closing call to action
   -------------------------------------------------------------------------- */
.tseo-cta {
    background: #221f1d;
    color: #f3ece6;
    border-radius: 24px;
    padding: 54px 50px;
    text-align: center;
}

.tseo-cta .tseo-h2 {
    color: var(--tseo-white);
    margin-bottom: 18px;
}

.tseo-cta .tseo-p {
    color: #d9cfc7;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.tseo-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 16px 40px;
    border-radius: 50px;
    background: var(--tseo-accent);
    color: var(--tseo-white);
    font-size: 1.02rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(255, 100, 23, 0.32);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.tseo-btn:hover {
    background: var(--tseo-accent-dark);
    color: var(--tseo-white);
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(255, 100, 23, 0.4);
}

.tseo-btn--light {
    background: transparent;
    border: 1px solid #5c534c;
    box-shadow: none;
}

.tseo-btn--light:hover {
    background: var(--tseo-accent);
    border-color: var(--tseo-accent);
}

.tseo-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 10px;
}

/* --------------------------------------------------------------------------
   12. Contact rows
   -------------------------------------------------------------------------- */
.tseo-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 40px;
    justify-content: center;
    margin-top: 30px;
}

.tseo-contact__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.02rem;
    color: #e6ddd5;
    text-decoration: none;
}

.tseo-contact__item i {
    color: var(--tseo-accent);
    font-size: 1.1rem;
}

.tseo-contact__item:hover {
    color: var(--tseo-white);
}

/* --------------------------------------------------------------------------
   13. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .tseo-split,
    .tseo-split--text-wide {
        gap: 40px;
    }

    .tseo-h2 {
        font-size: 1.9rem;
    }
}

@media (max-width: 860px) {
    .tseo-section {
        padding: 60px 0;
    }

    .tseo-split,
    .tseo-split--text-wide,
    .tseo-cards,
    .tseo-list--two-col {
        grid-template-columns: 1fr;
    }

    .tseo-split {
        gap: 34px;
    }

    .tseo-cards {
        gap: 20px;
    }

    .tseo-h2 {
        font-size: 1.7rem;
    }

    .tseo-lede {
        font-size: 1.06rem;
    }

    .tseo-cta {
        padding: 44px 26px;
        border-radius: 20px;
    }
}

@media (max-width: 560px) {
    .tseo-section {
        padding: 48px 0;
    }

    .tseo-wrap {
        padding: 0 16px;
    }

    .tseo-h2 {
        font-size: 1.5rem;
    }

    .tseo-h3 {
        font-size: 1.16rem;
    }

    .tseo-p,
    .tseo-list li {
        font-size: 1rem;
    }

    .tseo-card {
        padding: 24px 22px 22px;
    }

    .tseo-steps > li {
        padding-left: 54px;
        margin-left: 18px;
    }

    .tseo-steps > li::before {
        left: -20px;
        width: 38px;
        height: 38px;
        font-size: 0.92rem;
    }

    .tseo-faq__item summary {
        font-size: 1.02rem;
        padding: 18px 0;
    }

    .tseo-btn {
        width: 100%;
        text-align: center;
    }

    .tseo-contact__item {
        font-size: 0.97rem;
    }
}
/* --------------------------------------------------------------------------
   14. Therapy page hero heading
   The banner sits outside <main class="tseo-page">, so this one rule is not
   namespaced. The .tseo-hero__sub class is used only by therapy.html.
   It keeps the long SEO H1 on two lines so it cannot collide with the
   fixed header on desktop or mobile.
   -------------------------------------------------------------------------- */
.singl-banner-title .tseo-hero__sub {
    display: block;
    margin-top: 10px;
    font-size: 0.55em;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

@media (max-width: 992px) {
    .singl-banner-title .tseo-hero__sub {
        font-size: 0.62em;
        margin-top: 8px;
    }
}


/* --------------------------------------------------------------------------
   Therapy fixes: image visibility + session timeline
   -------------------------------------------------------------------------- */
.tseo-page .tseo-media,
.tseo-page .tseo-figure {
    min-width: 0;
}
.tseo-page .tseo-figure {
    opacity: 1 !important;
    visibility: visible !important;
}
.tseo-page .tseo-figure img.tseo-content-image {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: cover;
}

/* One connector only; the old border-left on every <li> created a doubled/glitched line. */
.tseo-steps {
    --tseo-step-line-x: 21px;
}
.tseo-steps::after {
    left: var(--tseo-step-line-x) !important;
    top: 22px !important;
    bottom: 22px !important;
    width: 2px !important;
    z-index: 0 !important;
}
.tseo-steps > li {
    border-left: 0 !important;
}
.tseo-steps > li > .tseo-step__title,
.tseo-steps > li > .tseo-step__text {
    position: relative;
    z-index: 1;
}
@media (max-width: 560px) {
    .tseo-steps { --tseo-step-line-x: 18px; }
    .tseo-steps::after { top: 19px !important; bottom: 19px !important; }
}

/* --------------------------------------------------------------------------
   FINAL FIX: session timeline connector must stay BEHIND the numbered icons
   -------------------------------------------------------------------------- */
.tseo-page .tseo-steps {
    position: relative !important;
    isolation: isolate !important;
    --tseo-step-line-x: 21px;
}

/* The connector is the lowest layer inside the timeline. */
.tseo-page .tseo-steps::after {
    z-index: 0 !important;
    pointer-events: none !important;
}

/* Each step is an explicit stacking layer above the connector.
   This is important because the animation uses transform on <li>. */
.tseo-page .tseo-steps > li {
    position: relative !important;
    z-index: 2 !important;
    border-left: 0 !important;
}

/* The orange numbered icon is the highest layer and has an opaque fill,
   so the connector can never render through it. */
.tseo-page .tseo-steps > li::before {
    position: absolute !important;
    z-index: 10 !important;
    background: var(--tseo-accent) !important;
    opacity: 1 !important;
}

/* Keep the content above the connector as well. */
.tseo-page .tseo-steps > li > .tseo-step__title,
.tseo-page .tseo-steps > li > .tseo-step__text {
    position: relative !important;
    z-index: 3 !important;
}

@media (max-width: 560px) {
    .tseo-page .tseo-steps { --tseo-step-line-x: 18px; }
}
