.page-coaching {
    background: #f4f1eb;
}

.container {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
}

/* HERO */
.coaching-hero {
    position: relative;
    overflow: hidden;
    background: #2b3a4a;
    padding-top: 68px;
}

.coaching-hero__inner {
    position: relative;
    z-index: 1;
    padding: 72px 0 80px;
}

.coaching-hero__eyebrow {
    display: inline-block;
    border-radius: 999px;
    background: #f2e8b0;
    color: #2b3a4a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 14px;
}

.coaching-hero__title {
    margin: 20px 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(48px, 6vw, 80px);
    line-height: 1.05;
    font-weight: 600;
    color: #fff;
}

.coaching-hero__title em {
    font-style: italic;
}

.coaching-hero__text {
    max-width: 540px;
    font-size: 18px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.76);
    margin: 0 0 34px;
}

.coaching-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
}

.coaching-hero__wave {
    height: 48px;
    border-radius: 50% 50% 0 0 / 48px;
    background: #f4f1eb;
    margin-top: -1px;
}

.coaching-hero__rings {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.coaching-hero__rings--right {
    right: -80px;
    top: -80px;
    width: 400px;
    height: 400px;
    border: 50px solid rgba(255, 255, 255, 0.04);
}

.coaching-hero__rings--left {
    left: 30%;
    bottom: -60px;
    width: 280px;
    height: 280px;
    border: 35px solid rgba(255, 255, 255, 0.03);
}

.coaching-page {
    padding: 80px 0;
}

/* INTRO + FILTERS */
.coaching-intro {
    text-align: center;
    margin-bottom: 52px;
}

.coaching-heading {
    margin: 0 0 12px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 5vw, 62px);
    line-height: 1.08;
    font-weight: 600;
    color: #2b3a4a;
}

.coaching-subheading {
    max-width: 540px;
    margin: 0 auto;
    color: #888;
    font-size: 17px;
    line-height: 1.7;
}

.coach-filter-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 42px;
}

.coach-filter-pill {
    border: none;
    border-radius: 999px;
    padding: 8px 18px;
    cursor: pointer;
    background: #fff;
    color: #2b3a4a;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.coach-filter-pill:hover {
    transform: translateY(-1px);
}

.coach-filter-pill[data-filter="all"].is-active {
    background: #2b3a4a;
    color: #fff;
}

.coach-filter-pill.is-active:not([data-filter="all"]) {
    background: var(--pill-bg, #2b3a4a);
    color: var(--pill-fg, #fff);
}

/* COACH GRID + CARDS */
.coach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 280px));
    gap: 28px;
    justify-content: start;
}

.coach-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, outline-color 0.25s ease;
    outline: 3px solid transparent;
    outline-offset: 2px;
}

.coach-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
}

.coach-card.is-selected {
    transform: translateY(-4px);
    outline-color: var(--type-color, rgba(43, 58, 74, 0.45));
    box-shadow: 0 8px 32px var(--type-color, rgba(0, 0, 0, 0.2));
}

.coach-card__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.coach-card__avatar-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 27px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
}

.coach-card__body {
    padding: 18px 20px 22px;
    background: #fff;
}

.coach-card__name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--pd-navy, #2b3a4a);
    line-height: 1.1;
    margin-bottom: 2px;
}

.coach-card__specialties {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 6px;
    margin-bottom: 8px;
}

.coach-card__specialty-row {
    height: 26px;
    display: flex;
    align-items: center;
}

.coach-card__specialty-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.coach-card__location {
    margin-bottom: 12px;
    font-size: 15px;
    color: rgba(43, 58, 74, 0.6);
}

.coach-card__bio {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(43, 58, 74, 0.78);
}

.coach-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.coach-card__price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 25px;
    font-weight: 700;
    color: var(--pd-navy, #2b3a4a);
}

.coach-card__price span {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 400;
    opacity: 0.7;
}

.coach-card__button {
    border: 1.5px solid var(--pd-navy, #2b3a4a);
    border-radius: 999px;
    background: var(--pd-navy, #2b3a4a);
    color: #fff;
    padding: 7px 18px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.18s ease;
}

.coach-card__button:hover {
    opacity: 0.92;
}

.coach-card__hover-bio {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.coach-card:hover .coach-card__hover-bio {
    max-height: 120px;
}

/* COACH DETAIL EXPANSION */
.coach-detail[hidden] {
    display: none;
}

.coach-detail {
    margin-top: 0;
    animation: cnFadeUp 0.3s ease both;
}

@keyframes cnFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.coach-detail__back {
    margin-bottom: 36px;
    border: 1.5px solid #ddd;
    border-radius: 999px;
    background: transparent;
    color: #2b3a4a;
    font-size: 13px;
    font-weight: 500;
    padding: 9px 18px;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.coach-detail__back:hover {
    border-color: #2b3a4a;
    background: rgba(43, 58, 74, 0.04);
}

.coach-detail__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.coach-detail__visual-stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 360px;
    width: 100%;
}

.coach-detail__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 360px;
    max-height: 360px;
    width: 100%;
}

.coach-detail__avatar-badge {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 4px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 64px;
    font-weight: 700;
}

.coach-detail__video {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    background: #2b3a4a;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    max-width: 360px;
}

.coach-detail__video--embed {
    cursor: default;
    background: #000;
}

.coach-detail__video--embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.coach-detail__video--embed::before {
    display: none;
}

.coach-detail__video::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(43, 58, 74, 0.95));
}

.coach-detail__video-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.coach-detail__video-play {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
}

.coach-detail__video-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 600;
}

.coach-detail__video-subtitle {
    margin-top: 4px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.coach-detail__panel {
    padding-top: 8px;
}

.coach-detail__tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.coach-detail__tags-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
}

.coach-detail__tags-stack .coach-detail__tag {
    margin-bottom: 0;
}

.coach-detail__name {
    margin: 0 0 6px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
    color: #2b3a4a;
    line-height: 1.05;
}

.coach-detail__location {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 24px;
}

.coach-detail__bio {
    margin: 0 0 28px;
    font-size: 16px;
    color: #555;
    line-height: 1.85;
    white-space: pre-wrap;
}

.coach-detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.coach-detail__tags-tag {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.coach-detail__stats {
    display: flex;
    gap: 24px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 24px;
}

.coach-detail__stat-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 700;
    color: #2b3a4a;
}

.coach-detail__stat-label {
    margin-top: 2px;
    font-size: 12px;
    color: #aaa;
}

.coach-detail__cta-block {
    margin-top: 12px;
}

.coach-detail__cta {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    background: #2b3a4a;
    color: #fff;
    padding: 16px 22px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.coach-detail__cta:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.coach-detail__cta-note {
    margin: 10px 0 0;
    text-align: center;
    font-size: 12px;
    color: #aaa;
}

.coaching-empty {
    text-align: center;
    padding: 80px 20px;
}

.coaching-empty h2 {
    margin: 0 0 12px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    color: #2b3a4a;
}

.coaching-empty p {
    margin: 0;
    color: #777;
    font-size: 16px;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .coach-detail__top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .container {
        width: min(100%, calc(100% - 32px));
    }

    .coaching-page {
        padding: 56px 0;
    }

    .coaching-hero__inner {
        padding: 56px 0 64px;
    }

    .coaching-hero__meta {
        gap: 14px;
        font-size: 13px;
    }

    .coach-grid {
        grid-template-columns: 1fr;
    }

    .coach-card {
        min-height: 360px;
    }

    .coach-card__hover-bio {
        max-height: 120px;
    }

    .coach-detail__stats {
        flex-wrap: wrap;
        gap: 18px;
    }
}
