/* Counselling & Psychotherapy page */

.cp-page {
    width: 100%;
    max-width: none;
}

/* —— Hero —— */

.cp-hero {
    background-color: #ffffff;
}

.cp-hero__inner {
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(2.25rem, 5vw, 4rem) clamp(1.15rem, 4vw, 2.5rem) clamp(2.5rem, 5vw, 4.5rem);
    text-align: center;
}

.cp-hero__title {
    margin: 0 auto clamp(0.65rem, 1.8vw, 1rem);
    max-width: min(100%, 38rem);
    font-family: "Playfair Display", "DM Serif Text", Georgia, serif;
    font-weight: 700;
    font-size: clamp(1.65rem, 4.2vw, 2.75rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #141414;
}

.cp-breadcrumb {
    margin: 0 0 clamp(1.75rem, 4vw, 2.75rem);
}

.cp-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: clamp(0.8125rem, 1.9vw, 0.9375rem);
    font-weight: 400;
    line-height: 1.5;
    color: #6b6f76;
}

.cp-breadcrumb__list a {
    color: #6b6f76;
    text-decoration: none;
    transition: color 0.15s ease;
}

.cp-breadcrumb__list a:hover {
    color: #2a3038;
    text-decoration: underline;
}

.cp-breadcrumb__sep {
    list-style: none;
    color: #c4a06a;
    font-weight: 500;
    letter-spacing: 0.06em;
    user-select: none;
}

.cp-hero__figure {
    margin: 0 auto;
    max-width: min(100%, 56rem);
}

.cp-hero__figure img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

@media (min-width: 900px) {
    .cp-hero__title {
        max-width: min(100%, 48rem);
    }
}

@media (max-width: 480px) {
    .cp-hero__inner {
        padding-top: clamp(1.75rem, 6vw, 2.25rem);
    }
}

/* —— Counselling: space for your voice —— */

.cp-voice {
    background-color: #ffffff;
}

.cp-voice__inner {
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(2.25rem, 5vw, 4.25rem) clamp(1.15rem, 4vw, 2.5rem)
        clamp(2.75rem, 6vw, 5rem);
}

.cp-voice__title {
    margin: 0 auto clamp(1rem, 2.5vw, 1.5rem);
    max-width: min(100%, 36rem);
    text-align: center;
    font-family: "Playfair Display", "DM Serif Text", Georgia, serif;
    font-weight: 700;
    font-size: clamp(1.45rem, 3vw, 2.125rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #2a3038;
}

.cp-voice__intro {
    margin: 0 auto clamp(2rem, 4.5vw, 3rem);
    max-width: min(100%, 42rem);
    text-align: center;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
    font-weight: 400;
    line-height: 1.78;
    color: #5c6169;
}

.cp-voice__institution {
    margin: clamp(1.5rem, 3vw, 2.25rem) auto 0;
    max-width: min(100%, 42rem);
    text-align: center;
}

.cp-voice__para {
    margin: 0 0 clamp(1rem, 2vw, 1.25rem);
    font-family: "Poppins", system-ui, sans-serif;
    font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
    font-weight: 400;
    line-height: 1.78;
    color: #5c6169;
}

.cp-voice__para:last-child {
    margin-bottom: 0;
}

.cp-voice__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.15rem, 3vw, 1.5rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .cp-voice__cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(1.25rem, 2.5vw, 1.75rem);
        align-items: stretch;
    }
}

.cp-voice__card {
    box-sizing: border-box;
    border-radius: clamp(12px, 1.4vw, 15px);
    padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.25rem, 2.8vw, 1.75rem);
    text-align: left;
}

.cp-voice__card--blue {
    background-color: #edf5fc;
}

.cp-voice__card--rose {
    background-color: #fdf2f6;
}

.cp-voice__card--lime {
    background-color: #f2f8ea;
}

.cp-voice__icon-wrap {
    margin: 0 0 clamp(0.85rem, 2vw, 1.1rem);
    min-height: clamp(4.25rem, 11vw, 5.5rem);
    display: flex;
    align-items: flex-end;
}

.cp-voice__icon-wrap img {
    display: block;
    width: auto;
    height: clamp(4.25rem, 11vw, 5.5rem);
    max-width: 100%;
    object-fit: contain;
    object-position: left bottom;
}

.cp-voice__card-title {
    margin: 0 0 clamp(0.55rem, 1.2vw, 0.75rem);
    font-family: "Playfair Display", "DM Serif Text", Georgia, serif;
    font-weight: 700;
    font-size: clamp(1.05rem, 1.35vw, 1.2rem);
    line-height: 1.25;
    color: #1f242c;
}

.cp-voice__card-text {
    margin: 0;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: clamp(0.875rem, 0.98vw, 1rem);
    font-weight: 400;
    line-height: 1.72;
    color: #454a52;
}

/* —— Areas of specialized support —— */

.cp-areas {
    background-color: transparent;
}

.cp-areas__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: none;
}

.cp-areas__head {
    grid-column: 1 / -1;
    margin: 0;
    padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.15rem, 4vw, 2.5rem) clamp(1.25rem, 3vw, 1.75rem);
    text-align: center;
    background: linear-gradient(90deg, #fdfde0 50%, #e6f4ff 50%);
}

.cp-areas__title {
    margin: 0;
    padding: 0;
    font-family: "Playfair Display", "DM Serif Text", Georgia, serif;
    font-weight: 700;
    font-size: clamp(1.45rem, 3vw, 2.125rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #1a1f26;
}

.cp-areas__col {
    box-sizing: border-box;
    padding: clamp(0.75rem, 2vw, 1.25rem) clamp(1.15rem, 4vw, 2.75rem)
        clamp(2.25rem, 5vw, 3.5rem);
}

.cp-areas__col--cream {
    background-color: #fdfde0;
}

.cp-areas__col--blue {
    background-color: #e6f4ff;
}

.cp-areas__track {
    max-width: 36rem;
    margin: 0 auto;
    padding-left: clamp(1.25rem, 2.8vw, 1.65rem);
    border-left: 2px solid #7eb5e2;
}

.cp-areas__item {
    position: relative;
    padding-bottom: clamp(0.65rem, 1.5vw, 1rem);
}

.cp-areas__item:last-child {
    padding-bottom: 0;
}

.cp-areas__trigger {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    width: 100%;
    min-height: 2.75rem;
    margin: 0;
    padding: 0.35rem 0 0.5rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    border-radius: 6px;
}

.cp-areas__trigger:focus-visible {
    outline: 2px solid #7eb5e2;
    outline-offset: 3px;
}

.cp-areas__dot {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-top: 0.1rem;
    margin-left: calc(-1 * clamp(1.25rem, 2.8vw, 1.65rem) - 1px);
    transform: translateX(-50%);
    border-radius: 50%;
    background-color: #7eb5e2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 0 0 2px rgba(253, 253, 224, 0.95);
}

.cp-areas__col--blue .cp-areas__dot {
    box-shadow: 0 0 0 2px rgba(230, 244, 255, 0.98);
}

.cp-areas__chev {
    font-size: 0.7rem;
    line-height: 1;
}

.cp-areas__chev--down {
    display: none;
}

.cp-areas__item.is-open .cp-areas__chev--up {
    display: none;
}

.cp-areas__item.is-open .cp-areas__chev--down {
    display: block;
}

.cp-areas__heading-text {
    flex: 1;
    min-width: 0;
    font-family: "Playfair Display", "DM Serif Text", Georgia, serif;
    font-weight: 700;
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    line-height: 1.35;
    color: #1a1f26;
}

.cp-areas__panel {
    padding: 0.15rem 0 0.85rem 0.15rem;
    margin-left: calc(24px + 0.65rem);
}

.cp-areas__panel[hidden] {
    display: none !important;
}

.cp-areas__body {
    margin: 0 0 clamp(0.65rem, 1.5vw, 0.85rem);
    font-family: "Poppins", system-ui, sans-serif;
    font-size: clamp(0.875rem, 0.98vw, 1rem);
    font-weight: 400;
    line-height: 1.75;
    color: #3a4048;
}

.cp-areas__body:last-child {
    margin-bottom: 0;
}

.cp-areas__body strong {
    font-weight: 600;
    color: #252a32;
}

@media (max-width: 767px) {
    .cp-areas__split {
        grid-template-columns: 1fr;
    }

    .cp-areas__col--cream {
        border-bottom: 1px solid rgba(126, 181, 226, 0.2);
    }

    .cp-areas__track {
        max-width: 40rem;
    }

    .cp-areas__panel {
        margin-left: calc(24px + 0.65rem);
    }

    .cp-areas__head {
        background: linear-gradient(180deg, #fdfde0 0%, #fdfde0 50%, #e6f4ff 50%, #e6f4ff 100%);
    }
}

/* —— Second block: mood / anxiety (pink | mint) — same layout as reference image —— */

.cp-specialty {
    background-color: transparent;
}

.cp-specialty__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: none;
}

.cp-specialty__head {
    grid-column: 1 / -1;
    margin: 0;
    padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.15rem, 4vw, 2.5rem) clamp(1.25rem, 3vw, 1.75rem);
    text-align: center;
    background: linear-gradient(90deg, #fceef1 50%, #f1f8e9 50%);
}

.cp-specialty__title {
    margin: 0;
    padding: 0;
    font-family: "Playfair Display", "DM Serif Text", Georgia, serif;
    font-weight: 700;
    font-size: clamp(1.45rem, 3vw, 2.125rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #1a1f26;
}

.cp-specialty__col {
    box-sizing: border-box;
    padding: clamp(0.75rem, 2vw, 1.25rem) clamp(1.15rem, 4vw, 2.75rem)
        clamp(2.25rem, 5vw, 3.5rem);
}

.cp-specialty__col--pink {
    background-color: #fceef1;
}

.cp-specialty__col--mint {
    background-color: #f1f8e9;
}

.cp-specialty__track {
    max-width: 36rem;
    margin: 0 auto;
    padding-left: clamp(1.25rem, 2.8vw, 1.65rem);
    border-left: 2px solid #7eb5e2;
}

.cp-specialty__item {
    position: relative;
    padding-bottom: clamp(0.65rem, 1.5vw, 1rem);
}

.cp-specialty__item:last-child {
    padding-bottom: 0;
}

.cp-specialty__trigger {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    width: 100%;
    min-height: 2.75rem;
    margin: 0;
    padding: 0.35rem 0 0.5rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    border-radius: 6px;
}

.cp-specialty__trigger:focus-visible {
    outline: 2px solid #7eb5e2;
    outline-offset: 3px;
}

.cp-specialty__dot {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-top: 0.1rem;
    margin-left: calc(-1 * clamp(1.25rem, 2.8vw, 1.65rem) - 1px);
    transform: translateX(-50%);
    border-radius: 50%;
    background-color: #7eb5e2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 0 0 2px rgba(252, 238, 241, 0.98);
}

.cp-specialty__col--mint .cp-specialty__dot {
    box-shadow: 0 0 0 2px rgba(241, 248, 233, 0.98);
}

.cp-specialty__chev {
    font-size: 0.7rem;
    line-height: 1;
}

.cp-specialty__chev--down {
    display: none;
}

.cp-specialty__item.is-open .cp-specialty__chev--up {
    display: none;
}

.cp-specialty__item.is-open .cp-specialty__chev--down {
    display: block;
}

.cp-specialty__heading-text {
    flex: 1;
    min-width: 0;
    font-family: "Playfair Display", "DM Serif Text", Georgia, serif;
    font-weight: 700;
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    line-height: 1.35;
    color: #1a1f26;
}

.cp-specialty__panel {
    padding: 0.15rem 0 0.85rem 0.15rem;
    margin-left: calc(24px + 0.65rem);
}

.cp-specialty__panel[hidden] {
    display: none !important;
}

.cp-specialty__body {
    margin: 0 0 clamp(0.65rem, 1.5vw, 0.85rem);
    font-family: "Poppins", system-ui, sans-serif;
    font-size: clamp(0.875rem, 0.98vw, 1rem);
    font-weight: 400;
    line-height: 1.75;
    color: #5a6169;
}

.cp-specialty__body:last-child {
    margin-bottom: 0;
}

.cp-specialty__label {
    font-weight: 600;
    color: #1f242c;
}

@media (max-width: 767px) {
    .cp-specialty__split {
        grid-template-columns: 1fr;
    }

    .cp-specialty__col--pink {
        border-bottom: 1px solid rgba(126, 181, 226, 0.22);
    }

    .cp-specialty__track {
        max-width: 40rem;
    }

    .cp-specialty__panel {
        margin-left: calc(24px + 0.65rem);
    }

    .cp-specialty__head {
        background: linear-gradient(180deg, #fceef1 0%, #fceef1 50%, #f1f8e9 50%, #f1f8e9 100%);
    }
}

/* —— Psychotherapy: hero + five cards —— */

.cp-depth {
    background-color: #ffffff;
}

.cp-depth__hero {
    position: relative;
    min-height: clamp(22rem, 52vw, 40rem);
    overflow: hidden;
}

.cp-depth__hero-bg {
    position: absolute;
    inset: 0;
    background-color: #e8f2e4;
    background-image: url("counsellingandpsychotherapy/Frame%202095585355.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 22% center;
}

.cp-depth__hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.18) 42%,
        rgba(255, 255, 255, 0.55) 58%,
        rgba(255, 255, 255, 0.72) 100%
    );
}

.cp-depth__hero::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(5rem, 18vw, 10rem);
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.92));
    z-index: 0;
}

.cp-depth__hero-inner {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: clamp(22rem, 52vw, 40rem);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: clamp(2rem, 5vw, 4rem) clamp(1.15rem, 4vw, 2.5rem);
}

.cp-depth__copy {
    max-width: min(32rem, 100%);
    text-align: left;
}

.cp-depth__title {
    margin: 0 0 clamp(0.85rem, 2vw, 1.15rem);
    font-family: "Playfair Display", "DM Serif Text", Georgia, serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3.2vw, 2.35rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #141a1f;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.cp-depth__lead {
    margin: 0;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
    font-weight: 400;
    line-height: 1.78;
    color: #2a3038;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.cp-depth__cards {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
    margin: clamp(-4.5rem, -10vw, -6.5rem) auto 0;
    padding: 0 clamp(1.15rem, 4vw, 2.5rem) clamp(2.5rem, 5vw, 4rem);
}

.cp-depth__row--3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.2vw, 1.35rem);
}

.cp-depth__row--2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1rem, 2.2vw, 1.35rem);
    margin-top: clamp(1rem, 2.2vw, 1.35rem);
}

.cp-depth__row--2 .cp-depth__card {
    flex: 1 1 calc((100% - 2 * clamp(1rem, 2.2vw, 1.35rem)) / 3);
    max-width: calc((100% - 2 * clamp(1rem, 2.2vw, 1.35rem)) / 3);
    min-width: min(100%, 17.5rem);
}

.cp-depth__card {
    box-sizing: border-box;
    padding: clamp(1.25rem, 2.8vw, 1.75rem) clamp(1.15rem, 2.5vw, 1.5rem);
    background-color: #ffffff;
    border-radius: clamp(12px, 1.4vw, 16px);
    text-align: left;
    box-shadow:
        0 1px 3px rgba(20, 35, 45, 0.06),
        0 12px 32px rgba(20, 35, 45, 0.1);
}

.cp-depth__icon-wrap {
    margin: 0 0 clamp(0.75rem, 1.8vw, 1rem);
}

.cp-depth__icon-wrap img {
    display: block;
    width: auto;
    height: clamp(3.25rem, 8vw, 4.25rem);
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

.cp-depth__card-title {
    margin: 0 0 clamp(0.5rem, 1.2vw, 0.65rem);
    font-family: "Poppins", system-ui, sans-serif;
    font-size: clamp(1rem, 1.15vw, 1.125rem);
    font-weight: 600;
    line-height: 1.3;
    color: #1a1f26;
}

.cp-depth__card-text {
    margin: 0;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: clamp(0.8125rem, 0.95vw, 0.9375rem);
    font-weight: 400;
    line-height: 1.72;
    color: #4a5058;
}

.cp-depth__card-text strong {
    font-weight: 600;
    color: #2a3038;
}

@media (max-width: 900px) {
    .cp-depth__hero-bg {
        background-position: 35% center;
    }

    .cp-depth__hero-inner {
        justify-content: center;
        align-items: flex-end;
        padding-bottom: clamp(2.5rem, 6vw, 3.5rem);
    }

    .cp-depth__copy {
        max-width: 40rem;
        padding: clamp(1rem, 3vw, 1.35rem);
        background: rgba(255, 255, 255, 0.88);
        border-radius: clamp(10px, 2vw, 14px);
        box-shadow: 0 8px 28px rgba(20, 35, 45, 0.08);
    }

    .cp-depth__title,
    .cp-depth__lead {
        text-shadow: none;
    }
}

@media (max-width: 767px) {
    .cp-depth__hero {
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    .cp-depth__hero-bg {
        position: relative;
        height: clamp(13rem, 42vw, 18rem);
        min-height: 12rem;
        flex-shrink: 0;
        background-position: 40% center;
    }

    .cp-depth__hero::before,
    .cp-depth__hero::after {
        display: none;
    }

    .cp-depth__hero-inner {
        min-height: 0;
        flex: 1;
        justify-content: flex-start;
        align-items: stretch;
        padding: clamp(1.35rem, 4vw, 2rem) clamp(1.15rem, 4vw, 2.5rem);
        background-color: #ffffff;
    }

    .cp-depth__copy {
        max-width: none;
        padding: 0;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }

    .cp-depth__cards {
        margin-top: 0;
        padding-top: clamp(0.5rem, 2vw, 1rem);
    }

    .cp-depth__row--3 {
        grid-template-columns: 1fr;
    }

    .cp-depth__row--2 {
        flex-direction: column;
        align-items: stretch;
    }

    .cp-depth__row--2 .cp-depth__card {
        flex: 1 1 auto;
        max-width: none;
        min-width: 0;
    }
}
