:root {
    --coach-bg: #0b0d12;
    --coach-surface: rgba(21, 24, 32, 0.78);
    --coach-surface-strong: #151820;
    --coach-border: rgba(255, 255, 255, 0.09);
    --coach-text: #f8fafc;
    --coach-muted: #a7b0c0;
    --coach-red: #e53e3e;
    --coach-blue: #38bdf8;
    --coach-gold: #f6c453;
    --coach-green: #22c55e;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    background:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
        #0b0d12;
    background-size: 42px 42px, 42px 42px, auto;
    color: var(--coach-text);
    font-family: 'Tajawal', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

a { color: inherit; }

.coach-preview-banner {
    position: fixed;
    z-index: 80;
    inset: 10px 50% auto auto;
    transform: translateX(50%);
    display: flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    max-width: calc(100% - 24px);
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(17,24,39,.94);
    color: #fff;
    box-shadow: 0 12px 36px rgba(0,0,0,.36);
    backdrop-filter: blur(14px);
    font-size: .82rem;
}
.coach-preview-banner i { color: var(--coach-primary); }
.coach-preview-banner span { color: #cbd5e1; }
.coach-profile-page.is-preview .coach-public-header { top: 56px; }

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

.coach-public-header {
    position: fixed;
    inset: 0 0 auto;
    height: 76px;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    align-items: center;
    gap: 18px;
    padding: 0 max(18px, calc((100vw - 1180px) / 2));
    z-index: 50;
    background: rgba(8, 10, 15, 0.78);
    border-bottom: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(14px);
}

.coach-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-decoration: none;
    font-weight: 900;
}

.coach-brand img,
.coach-brand span {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    flex: 0 0 auto;
    object-fit: cover;
    background: linear-gradient(135deg, var(--coach-red), #111827);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.coach-brand strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.coach-public-nav {
    display: inline-flex;
    justify-content: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.05);
}

.coach-public-nav a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--coach-muted);
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
}

.coach-public-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }

.coach-header-cta,
.coach-primary-cta,
.coach-secondary-cta,
.coach-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.coach-header-cta {
    justify-self: end;
    background: #fff;
    color: #0b0d12;
}

.coach-primary-cta {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    box-shadow: 0 14px 34px rgba(34,197,94,.26);
}

.coach-secondary-cta {
    border: 1px solid rgba(255,255,255,.13);
    color: #fff;
    background: rgba(255,255,255,.06);
}

.coach-header-cta:hover,
.coach-primary-cta:hover,
.coach-secondary-cta:hover,
.coach-social-btn:hover {
    transform: translateY(-2px);
}

.coach-profile-hero {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    padding: 128px 0 80px;
    overflow: hidden;
}

.coach-profile-hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11,13,18,.98) 0%, rgba(11,13,18,.86) 42%, rgba(11,13,18,.46) 72%, rgba(11,13,18,.76) 100%),
        var(--coach-cover-image) center/cover;
    transform: scale(1.02);
}

.coach-profile-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 220px;
    background: linear-gradient(transparent, #0b0d12);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 42px;
    align-items: center;
}

.coach-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--coach-red);
    font-weight: 900;
    font-size: .83rem;
    text-transform: uppercase;
}

.coach-kicker::before,
.section-kicker::before {
    content: '';
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.coach-hero-copy h1 {
    margin: 18px 0 6px;
    font-size: clamp(3rem, 8vw, 6.6rem);
    line-height: .92;
    font-weight: 900;
    max-width: 780px;
}

.coach-specialty {
    margin: 0 0 22px;
    color: var(--coach-blue);
    font-weight: 900;
    font-size: clamp(1.1rem, 2vw, 1.55rem);
}

.coach-headline {
    max-width: 720px;
    margin: 0;
    color: #dbe4f0;
    font-size: clamp(1.08rem, 1.7vw, 1.35rem);
    line-height: 1.8;
    font-weight: 600;
}

.coach-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.coach-hero-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(255,255,255,.07);
    color: #fff;
    font-weight: 800;
}

.coach-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.coach-hero-card {
    position: relative;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(16px);
    box-shadow: 0 26px 80px rgba(0,0,0,.34);
}

.coach-photo-shell {
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 4 / 5;
    background: #111827;
}

.coach-photo-shell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.coach-photo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: clamp(3rem, 9vw, 6rem);
    font-weight: 900;
    letter-spacing: .04em;
    background:
        radial-gradient(circle at 25% 20%, rgba(255,255,255,.2), transparent 34%),
        linear-gradient(145deg, #5265ff, #7257f4);
}

.coach-photo-fallback[hidden] {
    display: none !important;
}

.coach-card-rating,
.coach-branch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 0;
    color: #fff;
}

.coach-card-rating {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(11,13,18,.76);
}

.coach-card-rating i { color: var(--coach-gold); }
.coach-card-rating span { color: var(--coach-muted); font-weight: 700; }
.coach-branch { color: #dbe4f0; font-weight: 800; padding-inline: 6px; }
.coach-branch i { color: var(--coach-red); }

.coach-proof-strip {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: -72px;
}

.proof-card {
    min-height: 138px;
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(21,24,32,.82);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 48px rgba(0,0,0,.28);
}

.proof-card span {
    display: block;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1;
    font-weight: 900;
    color: #fff;
}

.proof-card p {
    margin: 10px 0 0;
    color: var(--coach-muted);
    font-weight: 800;
}

.coach-story-grid,
.coach-section-grid,
.coach-achievements,
.coach-packages,
.coach-testimonials,
.coach-final-cta {
    padding: 86px 0 0;
    scroll-margin-top: 92px;
}

.coach-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: 20px;
}

.coach-story-panel,
.coach-method-panel,
.coach-final-cta {
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(21,24,32,.74);
    border-radius: 24px;
    padding: clamp(26px, 4vw, 42px);
}

.coach-story-panel h2,
.coach-method-panel h2,
.coach-section-heading h2,
.coach-final-cta h2 {
    margin: 12px 0 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    font-weight: 900;
}

.coach-story-panel p,
.coach-method-panel p,
.coach-section-heading p,
.coach-final-cta p {
    margin: 20px 0 0;
    color: #d4dbe7;
    line-height: 1.9;
    font-size: 1.05rem;
    font-weight: 600;
}

.coach-method-panel {
    background:
        linear-gradient(145deg, rgba(229,62,62,.16), rgba(56,189,248,.08)),
        rgba(21,24,32,.72);
}

.coach-section-heading {
    max-width: 780px;
    margin-bottom: 28px;
}

.coach-section-heading.compact { margin-bottom: 24px; }

.coach-power-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.coach-power-card {
    min-height: 176px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    border-radius: 18px;
    background: #151820;
    border: 1px solid rgba(255,255,255,.09);
}

.coach-power-card i {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(229,62,62,.13);
    color: var(--coach-red);
    font-size: 1.2rem;
}

.coach-power-card.certificate i { background: rgba(246,196,83,.13); color: var(--coach-gold); }

.coach-power-card h3 {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.35;
    font-weight: 900;
}

.achievement-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 86px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.09);
    color: #fff;
    font-weight: 900;
    line-height: 1.55;
}

.achievement-item i { color: var(--coach-gold); margin-top: 4px; }

.coach-package-grid,
.coach-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.coach-package-card,
.coach-review-card {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
    padding: 24px;
    border-radius: 20px;
    background: #151820;
    border: 1px solid rgba(255,255,255,.09);
}

.coach-package-card span {
    color: var(--coach-blue);
    font-weight: 900;
    font-size: .82rem;
    text-transform: uppercase;
}

.coach-package-card h3 {
    margin: 10px 0 0;
    font-size: 1.35rem;
    line-height: 1.25;
    font-weight: 900;
}

.coach-package-card p,
.coach-review-card blockquote {
    margin: 12px 0 0;
    color: var(--coach-muted);
    line-height: 1.7;
    font-weight: 600;
}

.coach-package-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.coach-package-meta strong {
    width: 100%;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 900;
}

.coach-package-meta small {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    color: #cbd5e1;
    font-weight: 800;
}

.coach-review-card { min-height: 180px; }
.review-stars { color: var(--coach-gold); display: flex; gap: 4px; }
.coach-review-card blockquote { font-size: 1.05rem; color: #e2e8f0; }

.coach-final-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    margin-bottom: 70px;
    background:
        linear-gradient(135deg, rgba(229,62,62,.24), rgba(56,189,248,.12)),
        #151820;
}

.coach-final-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.coach-social-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.07);
    color: #fff;
    font-size: 1.15rem;
}

@media (max-width: 1040px) {
    .coach-public-header {
        grid-template-columns: 1fr auto;
    }
    .coach-public-nav { display: none; }
    .hero-grid,
    .coach-story-grid,
    .coach-final-cta {
        grid-template-columns: 1fr;
    }
    .coach-hero-card {
        max-width: 420px;
    }
    .coach-proof-strip,
    .coach-power-grid,
    .coach-package-grid,
    .coach-review-grid,
    .achievement-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .coach-public-header {
        height: auto;
        min-height: 68px;
        padding: 10px 14px;
        gap: 10px;
    }
    .coach-brand strong { max-width: 130px; }
    .coach-header-cta span { display: none; }
    .coach-profile-container { width: min(100% - 24px, 1180px); }
    .coach-profile-hero { min-height: auto; padding: 112px 0 80px; }
    .coach-hero-copy h1 { font-size: clamp(2.8rem, 18vw, 4.5rem); }
    .coach-proof-strip,
    .coach-power-grid,
    .coach-package-grid,
    .coach-review-grid,
    .achievement-track {
        grid-template-columns: 1fr;
    }
    .coach-proof-strip { margin-top: -42px; }
    .coach-story-grid,
    .coach-section-grid,
    .coach-achievements,
    .coach-packages,
    .coach-testimonials,
    .coach-final-cta { padding-top: 56px; }
    .coach-final-actions { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

/* Coach profile 2.0 — premium tenant-branded public presentation. */
body.coach-profile-page {
    --coach-red: var(--coach-primary, #e67428);
    --coach-blue: color-mix(in srgb, var(--coach-primary, #e67428) 68%, #fff);
    --coach-surface: rgba(15, 23, 35, 0.82);
    --coach-surface-strong: #101824;
    --coach-border: rgba(255, 255, 255, 0.09);
    background:
        radial-gradient(circle at 84% 8%, color-mix(in srgb, var(--coach-primary) 13%, transparent), transparent 28rem),
        radial-gradient(circle at 8% 48%, rgba(50, 76, 120, 0.12), transparent 32rem),
        linear-gradient(180deg, #070a0f, #080d14 55%, #06090e);
    background-attachment: fixed;
}

body.coach-profile-page::before {
    content: '';
    position: fixed;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, #000, transparent 82%);
}

.coach-skip-link {
    position: fixed;
    z-index: 100;
    inset-inline-start: 1rem;
    top: -5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    color: #fff;
    background: var(--coach-primary);
    font-weight: 800;
    text-decoration: none;
}

.coach-skip-link:focus { top: 1rem; }

body.coach-profile-page .coach-profile-container {
    width: min(1280px, calc(100% - 40px));
}

body.coach-profile-page .coach-public-header {
    inset: 12px 0 auto;
    width: min(1280px, calc(100% - 24px));
    height: 68px;
    margin-inline: auto;
    padding-inline: 14px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    background: rgba(7, 11, 17, 0.78);
    box-shadow: 0 18px 60px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.05);
    backdrop-filter: blur(22px) saturate(135%);
    -webkit-backdrop-filter: blur(22px) saturate(135%);
}

body.coach-profile-page .coach-brand img,
body.coach-profile-page .coach-brand > span {
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--coach-primary) 34%, transparent);
    background: linear-gradient(135deg, var(--coach-primary), var(--coach-secondary));
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--coach-primary) 7%, transparent);
}

body.coach-profile-page .coach-brand strong { font-size: 0.92rem; }

body.coach-profile-page .coach-public-nav {
    gap: 3px;
    padding: 4px;
    border-color: rgba(255,255,255,.07);
    background: rgba(255,255,255,.035);
}

body.coach-profile-page .coach-public-nav a {
    min-height: 36px;
    padding-inline: 16px;
    font-size: 0.82rem;
    transition: color .2s ease, background .2s ease;
}

body.coach-profile-page .coach-public-nav a:hover,
body.coach-profile-page .coach-public-nav a.is-active {
    color: #fff;
    background: color-mix(in srgb, var(--coach-primary) 13%, transparent);
}

body.coach-profile-page .coach-header-cta {
    min-height: 42px;
    color: #fff;
    background: linear-gradient(135deg, var(--coach-primary), color-mix(in srgb, var(--coach-primary) 66%, #ffbd79));
    box-shadow: 0 12px 30px color-mix(in srgb, var(--coach-primary) 25%, transparent);
}

body.coach-profile-page .coach-profile-hero {
    min-height: min(800px, 100svh);
    padding: 116px 0 92px;
    isolation: isolate;
}

body.coach-profile-page .coach-profile-hero__bg {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(7,10,15,.98) 0%, rgba(7,10,15,.82) 38%, rgba(7,10,15,.52) 68%, rgba(7,10,15,.8) 100%),
        var(--coach-cover-image) center/cover;
    filter: saturate(.76) contrast(1.06);
}

html[dir="rtl"] body.coach-profile-page .coach-profile-hero__bg {
    background:
        linear-gradient(270deg, rgba(7,10,15,.98) 0%, rgba(7,10,15,.82) 38%, rgba(7,10,15,.52) 68%, rgba(7,10,15,.8) 100%),
        var(--coach-cover-image) center/cover;
}

body.coach-profile-page .coach-profile-hero::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 32rem;
    height: 32rem;
    inset-inline-start: 2%;
    top: 18%;
    border-radius: 50%;
    background: color-mix(in srgb, var(--coach-primary) 16%, transparent);
    filter: blur(90px);
    pointer-events: none;
}

body.coach-profile-page .coach-profile-hero::after {
    height: 18rem;
    background: linear-gradient(transparent, #070a0f 92%);
}

body.coach-profile-page .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(22rem, .9fr);
    gap: clamp(3rem, 7vw, 7rem);
}

body.coach-profile-page .coach-kicker,
body.coach-profile-page .section-kicker {
    color: color-mix(in srgb, var(--coach-primary) 75%, #fff);
    font-size: .78rem;
    letter-spacing: .08em;
}

body.coach-profile-page .coach-kicker::before,
body.coach-profile-page .section-kicker::before {
    height: 1px;
    box-shadow: 0 0 12px currentColor;
}

body.coach-profile-page .coach-hero-copy h1 {
    margin-top: 20px;
    max-width: 10ch;
    font-size: clamp(4.25rem, 7.5vw, 7.4rem);
    font-weight: 800;
    letter-spacing: -.055em;
    text-shadow: 0 18px 55px rgba(0,0,0,.55);
    text-wrap: balance;
}

html[dir="rtl"] body.coach-profile-page .coach-hero-copy h1 { letter-spacing: -.02em; }

body.coach-profile-page .coach-specialty {
    width: fit-content;
    margin-top: 12px;
    margin-bottom: 20px;
    padding: 7px 12px;
    border: 1px solid color-mix(in srgb, var(--coach-primary) 28%, transparent);
    border-radius: 999px;
    color: color-mix(in srgb, var(--coach-primary) 72%, #fff);
    background: color-mix(in srgb, var(--coach-primary) 10%, transparent);
    font-size: .9rem;
}

body.coach-profile-page .coach-headline {
    max-width: 44rem;
    color: #c3cad6;
    font-size: clamp(1rem, 1.45vw, 1.2rem);
    line-height: 1.85;
}

body.coach-profile-page .coach-hero-tags { margin-top: 22px; gap: 8px; }

body.coach-profile-page .coach-hero-tags span {
    min-height: 34px;
    padding-inline: 12px;
    border-color: rgba(255,255,255,.09);
    background: rgba(255,255,255,.045);
    color: #c7cfdb;
    font-size: .8rem;
}

body.coach-profile-page .coach-hero-actions { margin-top: 26px; }

body.coach-profile-page .coach-primary-cta {
    min-height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--coach-primary), color-mix(in srgb, var(--coach-primary) 66%, #ffbd79));
    box-shadow: 0 14px 34px color-mix(in srgb, var(--coach-primary) 27%, transparent);
}

body.coach-profile-page .coach-secondary-cta {
    min-height: 52px;
    border-radius: 14px;
    background: rgba(255,255,255,.045);
}

body.coach-profile-page .coach-hero-card {
    width: min(28rem, 100%);
    justify-self: center;
    padding: 12px;
    border-radius: 32px 32px 88px 32px;
    border-color: rgba(255,255,255,.12);
    background: rgba(12,19,29,.74);
    box-shadow: 0 34px 90px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

html[dir="rtl"] body.coach-profile-page .coach-hero-card { border-radius: 32px 32px 32px 88px; }

body.coach-profile-page .coach-photo-shell {
    position: relative;
    border-radius: 24px 24px 68px 24px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(155deg, #172438, #0d141f);
}

html[dir="rtl"] body.coach-profile-page .coach-photo-shell { border-radius: 24px 24px 24px 68px; }

body.coach-profile-page [data-coach-profile-photo][hidden] { display: none !important; }

body.coach-profile-page .coach-photo-fallback {
    background:
        radial-gradient(circle at 50% 36%, color-mix(in srgb, var(--coach-primary) 20%, transparent), transparent 32%),
        repeating-linear-gradient(135deg, transparent 0 20px, rgba(255,255,255,.022) 21px 22px),
        linear-gradient(155deg, #172438, #0d141f);
    color: color-mix(in srgb, var(--coach-primary) 72%, #fff);
    font-size: clamp(5rem, 11vw, 8rem);
    text-shadow: 0 0 50px color-mix(in srgb, var(--coach-primary) 32%, transparent);
}

body.coach-profile-page .coach-photo-badge {
    position: absolute;
    inset-inline-start: 14px;
    bottom: 14px;
    z-index: 2;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding-inline: 12px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    color: #fff;
    background: rgba(7,11,17,.78);
    backdrop-filter: blur(12px);
    font-size: .75rem;
    font-weight: 800;
}

body.coach-profile-page .coach-photo-badge i { color: color-mix(in srgb, var(--coach-primary) 72%, #fff); }

body.coach-profile-page .coach-card-meta {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 10px 8px 8px;
}

body.coach-profile-page .coach-card-rating {
    margin: 0;
    padding: 9px 11px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.035);
}

body.coach-profile-page .coach-branch {
    margin: 0;
    padding: 0 6px;
    color: #9ca8b9;
    font-size: .78rem;
}

body.coach-profile-page .coach-branch i { color: var(--coach-primary); }

body.coach-profile-page .coach-proof-strip {
    gap: 10px;
    margin-top: -64px;
}

body.coach-profile-page .proof-card {
    min-height: 116px;
    display: grid;
    grid-template-columns: auto minmax(0,1fr);
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
    border-color: rgba(255,255,255,.09);
    background: rgba(15,23,35,.86);
    box-shadow: 0 18px 50px rgba(0,0,0,.3);
}

body.coach-profile-page .proof-card > i {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: color-mix(in srgb, var(--coach-primary) 72%, #fff);
    background: color-mix(in srgb, var(--coach-primary) 12%, transparent);
}

body.coach-profile-page .proof-card span { font-size: clamp(1.55rem, 3vw, 2.3rem); }
body.coach-profile-page .proof-card p { margin-top: 5px; font-size: .78rem; }

body.coach-profile-page .coach-story-grid,
body.coach-profile-page .coach-section-grid,
body.coach-profile-page .coach-achievements,
body.coach-profile-page .coach-packages,
body.coach-profile-page .coach-testimonials,
body.coach-profile-page .coach-final-cta {
    padding-top: clamp(4.5rem, 7vw, 6.5rem);
}

body.coach-profile-page .coach-story-grid {
    grid-template-columns: minmax(0,1.35fr) minmax(20rem,.65fr);
    gap: 16px;
}

body.coach-profile-page .coach-story-panel,
body.coach-profile-page .coach-method-panel {
    position: relative;
    min-height: 30rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 4.5rem);
    border-radius: 28px;
    border-color: rgba(255,255,255,.09);
    background: linear-gradient(145deg, rgba(18,28,42,.95), rgba(10,16,25,.96));
    box-shadow: 0 26px 70px rgba(0,0,0,.25);
}

body.coach-profile-page .coach-method-panel {
    background:
        radial-gradient(circle at 24% 18%, rgba(255,255,255,.2), transparent 30%),
        linear-gradient(155deg, var(--coach-primary), color-mix(in srgb, var(--coach-primary) 70%, #8d3f1b));
}

body.coach-profile-page .coach-method-panel :is(.section-kicker, p) { color: rgba(255,255,255,.88); }

body.coach-profile-page .coach-panel-index {
    position: absolute;
    inset-inline-end: 24px;
    top: 20px;
    color: rgba(255,255,255,.18);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 1;
}

body.coach-profile-page :is(.coach-story-panel,.coach-method-panel,.coach-section-heading,.coach-final-cta) h2 {
    font-size: clamp(2.35rem, 4.6vw, 4.2rem);
    letter-spacing: -.035em;
    text-wrap: balance;
}

html[dir="rtl"] body.coach-profile-page :is(.coach-story-panel,.coach-method-panel,.coach-section-heading,.coach-final-cta) h2 {
    letter-spacing: -.015em;
}

body.coach-profile-page :is(.coach-story-panel,.coach-method-panel,.coach-section-heading,.coach-final-cta) p {
    color: #aeb8c7;
    font-size: 1rem;
    line-height: 1.95;
}

body.coach-profile-page .coach-section-grid,
body.coach-profile-page .coach-packages {
    display: grid;
    grid-template-columns: minmax(16rem,.7fr) minmax(0,1.3fr);
    align-items: start;
    gap: clamp(2rem, 6vw, 6rem);
}

body.coach-profile-page .coach-section-heading { margin: 0; }

body.coach-profile-page .coach-power-grid {
    grid-template-columns: repeat(auto-fit, minmax(14rem,1fr));
    gap: 12px;
}

body.coach-profile-page .coach-power-card {
    min-height: 220px;
    padding: 24px;
    border-radius: 22px;
    border-color: rgba(255,255,255,.09);
    background:
        radial-gradient(circle at 85% 8%, color-mix(in srgb, var(--coach-primary) 10%, transparent), transparent 12rem),
        linear-gradient(155deg, rgba(20,30,45,.96), rgba(10,16,25,.98));
    box-shadow: 0 20px 55px rgba(0,0,0,.24);
    transition: transform .25s ease, border-color .25s ease;
}

body.coach-profile-page .coach-power-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--coach-primary) 36%, transparent);
}

body.coach-profile-page .coach-power-card i {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--coach-primary), color-mix(in srgb, var(--coach-primary) 68%, #ffbd79));
}

body.coach-profile-page .coach-achievements {
    padding-bottom: 2px;
}

body.coach-profile-page .achievement-track {
    grid-template-columns: repeat(auto-fit, minmax(16rem,1fr));
    gap: 12px;
}

body.coach-profile-page .achievement-item {
    min-height: 100px;
    align-items: center;
    padding: 22px;
    border-radius: 20px;
    background: rgba(255,255,255,.035);
}

body.coach-profile-page .achievement-item i { color: color-mix(in srgb, var(--coach-primary) 68%, var(--coach-gold)); }

body.coach-profile-page .coach-package-grid {
    grid-template-columns: repeat(auto-fit, minmax(17rem,1fr));
    gap: 12px;
}

body.coach-profile-page .coach-package-card,
body.coach-profile-page .coach-review-card {
    min-height: 300px;
    padding: 28px;
    border-radius: 24px;
    border-color: rgba(255,255,255,.09);
    background:
        radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--coach-primary) 12%, transparent), transparent 14rem),
        linear-gradient(155deg, rgba(20,30,45,.97), rgba(10,16,25,.98));
    box-shadow: 0 22px 60px rgba(0,0,0,.25);
}

body.coach-profile-page .coach-package-card span { color: color-mix(in srgb, var(--coach-primary) 72%, #fff); }
body.coach-profile-page .coach-package-card h3 { margin-top: 14px; font-size: 1.55rem; }
body.coach-profile-page .coach-package-meta strong { font-size: 1.8rem; }

body.coach-profile-page .coach-booking-options {
    display: grid;
    grid-template-columns: minmax(16rem,.7fr) minmax(0,1.3fr);
    align-items: start;
    gap: clamp(2rem, 6vw, 6rem);
    padding-top: clamp(4.5rem, 7vw, 6.5rem);
    scroll-margin-top: 92px;
}
body.coach-profile-page .coach-section-heading p { color: var(--coach-muted); line-height: 1.7; }
body.coach-profile-page .coach-booking-content { display: grid; gap: 16px; }
body.coach-profile-page .coach-training-locations { display: grid; grid-template-columns: repeat(auto-fit,minmax(11rem,1fr)); gap: 12px; }
body.coach-profile-page .coach-location-card,
body.coach-profile-page .coach-session-card,
body.coach-profile-page .coach-session-empty {
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 22px;
    background: linear-gradient(155deg, rgba(20,30,45,.97), rgba(10,16,25,.98));
    box-shadow: 0 18px 45px rgba(0,0,0,.22);
}
body.coach-profile-page .coach-location-card { display: flex; align-items: center; gap: 14px; padding: 18px; }
body.coach-profile-page .coach-location-card i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: color-mix(in srgb,var(--coach-primary) 72%,#111827); }
body.coach-profile-page .coach-location-card div { display: grid; gap: 3px; }
body.coach-profile-page .coach-location-card small { color: var(--coach-muted); }
body.coach-profile-page .coach-session-types { display: grid; gap: 12px; }
body.coach-profile-page .coach-session-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; }
body.coach-profile-page .coach-session-card h3 { margin: 0; font-size: 1.25rem; }
body.coach-profile-page .coach-session-card p { margin: 8px 0 0; color: var(--coach-muted); }
body.coach-profile-page .coach-session-meta { display: grid; justify-items: end; white-space: nowrap; }
body.coach-profile-page .coach-session-meta strong { color: color-mix(in srgb,var(--coach-primary) 72%,#fff); font-size: 1.25rem; }
body.coach-profile-page .coach-session-meta span { color: var(--coach-muted); }
body.coach-profile-page .coach-session-empty { padding: 24px; color: var(--coach-muted); text-align: center; }

body.coach-profile-page .coach-review-card { min-height: 210px; }

body.coach-profile-page .coach-final-cta {
    position: relative;
    overflow: hidden;
    min-height: 22rem;
    margin-bottom: 0;
    padding: clamp(2rem, 6vw, 5rem);
    border-radius: 30px;
    background:
        radial-gradient(circle at 84% 18%, rgba(255,255,255,.18), transparent 22rem),
        linear-gradient(135deg, color-mix(in srgb, var(--coach-primary) 84%, #131c2a), #101824);
}

body.coach-profile-page .coach-final-cta::after {
    content: '';
    position: absolute;
    width: 24rem;
    height: 24rem;
    inset-inline-end: -10rem;
    bottom: -12rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    box-shadow: 0 0 0 3rem rgba(255,255,255,.035), 0 0 0 6rem rgba(255,255,255,.02);
}

body.coach-profile-page .coach-final-cta > * { position: relative; z-index: 1; }
body.coach-profile-page .coach-final-cta p { color: rgba(255,255,255,.78); }

.coach-public-footer {
    margin-top: 5rem;
    padding: 28px 0;
    border-top: 1px solid rgba(255,255,255,.08);
    background: #05080c;
}

.coach-public-footer > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.coach-footer-brand,
.coach-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    text-decoration: none;
}

.coach-footer-brand img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.coach-footer-brand > span { display: grid; gap: 2px; }
.coach-footer-brand small { color: #8f9bad; }
.coach-footer-link { color: #aeb8c7; font-weight: 800; }
.coach-footer-link:hover { color: color-mix(in srgb, var(--coach-primary) 72%, #fff); }

.coach-mobile-cta { display: none; }

body.coach-profile-page :is(a,button):focus-visible {
    outline: 3px solid color-mix(in srgb, var(--coach-primary) 70%, #fff);
    outline-offset: 3px;
}

@media (max-width: 1040px) {
    body.coach-profile-page .hero-grid { gap: 2.5rem; }

    body.coach-profile-page .coach-story-grid,
    body.coach-profile-page .coach-section-grid,
    body.coach-profile-page .coach-booking-options,
    body.coach-profile-page .coach-packages {
        grid-template-columns: 1fr;
    }

    body.coach-profile-page .coach-story-panel,
    body.coach-profile-page .coach-method-panel { min-height: 24rem; }
}

@media (max-width: 760px) {
    body.coach-profile-page .coach-profile-container { width: min(100% - 24px, 1280px); }

    body.coach-profile-page .coach-public-header {
        min-height: 64px;
        height: 64px;
        border-radius: 16px;
    }

    body.coach-profile-page .coach-profile-hero {
        min-height: auto;
        padding: 106px 0 70px;
    }

    body.coach-profile-page .hero-grid { grid-template-columns: 1fr; gap: 2.25rem; }
    body.coach-profile-page .coach-hero-copy { order: 1; }
    body.coach-profile-page .coach-hero-card { order: 2; width: min(24rem, 94vw); }

    body.coach-profile-page .coach-hero-copy h1 {
        max-width: 100%;
        font-size: clamp(3.2rem, 17vw, 5rem);
    }

    body.coach-profile-page .coach-proof-strip {
        grid-template-columns: repeat(2,minmax(0,1fr));
        margin-top: -38px;
    }

    body.coach-profile-page .proof-card {
        min-height: 105px;
        padding: 14px;
        gap: 10px;
    }

    body.coach-profile-page .proof-card > i { width: 40px; height: 40px; }

    body.coach-profile-page .coach-story-grid,
    body.coach-profile-page .coach-section-grid,
    body.coach-profile-page .coach-achievements,
    body.coach-profile-page .coach-packages,
    body.coach-profile-page .coach-testimonials,
    body.coach-profile-page .coach-final-cta {
        padding-top: 4.5rem;
    }

    body.coach-profile-page .coach-story-panel,
    body.coach-profile-page .coach-method-panel {
        min-height: 22rem;
        padding: 1.5rem;
        border-radius: 22px;
    }

    body.coach-profile-page .coach-power-grid,
    body.coach-profile-page .achievement-track,
    body.coach-profile-page .coach-package-grid,
    body.coach-profile-page .coach-review-grid {
        grid-template-columns: 1fr;
    }
    body.coach-profile-page .coach-session-card { align-items: flex-start; flex-direction: column; }
    body.coach-profile-page .coach-session-meta { justify-items: start; }

    body.coach-profile-page .coach-power-card { min-height: 180px; }

    body.coach-profile-page .coach-final-cta {
        min-height: 26rem;
        align-content: center;
        border-radius: 24px;
    }

    .coach-public-footer { margin-top: 4rem; padding-bottom: 96px; }
    .coach-public-footer > div { align-items: flex-start; flex-direction: column; }

    body.coach-profile-page.has-coach-mobile-cta { padding-bottom: calc(76px + env(safe-area-inset-bottom,0px)); }

    .coach-mobile-cta {
        position: fixed;
        z-index: 70;
        inset-inline: 12px;
        bottom: max(10px, env(safe-area-inset-bottom,0px));
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        padding: 0 20px;
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 999px;
        color: #fff;
        background: linear-gradient(135deg, var(--coach-primary), color-mix(in srgb, var(--coach-primary) 66%, #ffbd79));
        box-shadow: 0 18px 48px color-mix(in srgb, var(--coach-primary) 34%, rgba(0,0,0,.4));
        font-weight: 900;
        text-decoration: none;
    }
}

@media (max-width: 430px) {
    .coach-preview-banner { inset-inline: 12px; width: auto; transform: none; border-radius: 14px; }
    .coach-preview-banner span { display: none; }
    body.coach-profile-page .coach-brand strong { max-width: 8rem; }
    body.coach-profile-page .coach-header-cta { width: 42px; padding: 0; }
    body.coach-profile-page .coach-header-cta span { display: none; }
    body.coach-profile-page .coach-card-meta { grid-template-columns: 1fr; }
    body.coach-profile-page .coach-branch { padding-block: 5px; }
    body.coach-profile-page .proof-card { grid-template-columns: 1fr; align-content: center; }
}
