:root {
  --profile-blue: #3b82f6;
  --profile-blue-soft: #60a5fa;
  --profile-ink: #0b1120;
  --profile-panel: #1e293b;
  --profile-line: #334155;
  --profile-purple: #8b5cf6;
}

body.coach-profile-page {
  min-height: 100vh;
  background: var(--profile-ink);
  color: #f8fafc;
}

.coach-profile-page .coach-profile-main {
  min-height: 100vh;
  padding-top: 96px;
  padding-bottom: 96px;
  background: var(--profile-ink);
}

.coach-profile-page .coach-profile-shell {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

.coach-profile-page .coach-profile-shell + .coach-profile-shell {
  margin-top: 54px;
}

.coach-profile-page .coach-profile-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid rgba(143, 176, 255, 0.24);
  border-radius: 32px;
  background: #0b1120;
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.1);
}

.coach-profile-page .coach-profile-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.7;
  mix-blend-mode: luminosity;
}

.coach-profile-page .coach-profile-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.coach-profile-page .coach-profile-shade-bottom {
  background: linear-gradient(0deg, #0b1120 0%, rgba(11, 17, 32, 0.8) 42%, transparent 100%);
}

.coach-profile-page .coach-profile-shade-side {
  background: linear-gradient(90deg, #0b1120, transparent 62%);
}

[dir="rtl"] .coach-profile-page .coach-profile-shade-side {
  background: linear-gradient(270deg, #0b1120, transparent 62%);
}

.coach-profile-page .coach-profile-content {
  position: relative;
  z-index: 20;
  width: 100%;
  padding: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.coach-profile-page .coach-profile-identity {
  max-width: 720px;
}

.coach-profile-page #coachName {
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  font-weight: 950;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.coach-profile-page #coachTitle {
  margin-top: 14px;
  color: var(--profile-blue-soft);
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.6;
  font-weight: 850;
}

.coach-profile-page .coach-profile-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 1fr));
  gap: 0;
  min-width: min(350px, 38vw);
  padding: 8px 0;
}

.coach-profile-page .coach-profile-metric {
  min-width: 0;
  padding-inline: 14px;
  display: grid;
  place-items: center;
  gap: 7px;
  text-align: center;
}

.coach-profile-page .coach-profile-metric + .coach-profile-metric {
  border-inline-start: 1px solid #1e293b;
}

.coach-profile-page .coach-profile-metric-divider {
  display: none;
}

.coach-profile-page .coach-profile-metric span {
  color: #9aaac3;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 850;
  text-transform: uppercase;
}

.coach-profile-page .coach-profile-metric strong {
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.coach-profile-page .coach-profile-experience {
  position: absolute;
  top: 32px;
  left: 32px;
  right: auto;
  inset-inline-start: auto;
  z-index: 30;
  width: max-content;
  min-width: 124px;
  padding: 12px 18px;
  display: grid;
  place-items: center;
  gap: 4px;
  border: 1px solid #1e293b;
  border-radius: 16px;
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(14px);
}

.coach-profile-page .coach-profile-experience span {
  color: #9aaac3;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.coach-profile-page .coach-profile-experience strong {
  color: var(--profile-blue-soft);
  font-size: 18px;
}

.coach-profile-page .coach-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 34px;
  align-items: start;
}

.coach-profile-page .coach-profile-packages {
  min-width: 0;
  grid-column: 1 / span 1;
  order: 0;
}

.coach-profile-page .coach-packages-heading {
  margin-bottom: 26px;
}

.coach-profile-page .coach-packages-heading small {
  color: var(--profile-blue-soft);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.coach-profile-page .coach-packages-heading h2 {
  margin: 7px 0 8px;
  color: #fff;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  font-weight: 950;
}

.coach-profile-page .coach-packages-heading p {
  margin: 0;
  color: #9aaac3;
  font-size: 15px;
  line-height: 1.8;
}

.coach-profile-page .coach-package-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(320px, 1.18fr);
  gap: 22px;
  align-items: stretch;
}

.coach-profile-page .coach-package-standard {
  display: grid;
  gap: 22px;
  grid-column: 1 / span 1;
}

.coach-profile-page .coach-package-vip-wrap {
  position: relative;
  min-width: 0;
  grid-column: 2 / span 1;
}

.coach-profile-page .stagger-item {
  opacity: 1;
  transform: none;
}

.coach-profile-page .coach-package-card,
.coach-profile-page .coach-profile-info-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--profile-line);
  border-radius: 16px;
  background: var(--profile-panel);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.coach-profile-page .coach-package-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  overflow: hidden;
  border-color: #1e293b;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.5);
}

.coach-profile-page .coach-package-card::before {
  display: none;
}

.coach-profile-page .coach-package-card.is-nutrition::before {
  background: transparent;
}

.coach-profile-page .coach-package-card.is-vip {
  min-height: 100%;
  padding: 36px;
  border-color: rgba(139, 92, 246, 0.3);
  border-radius: 32px;
  background: #0f172a;
}

.coach-profile-page .coach-package-card.is-vip::before {
  display: none;
}

.coach-profile-page .coach-package-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  color: var(--profile-blue-soft);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
}

.coach-profile-page .coach-package-card.is-nutrition h3 {
  color: #94a3b8;
}

.coach-profile-page .coach-package-card.is-vip h3 {
  color: var(--profile-blue);
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 24px;
}

.coach-profile-page .coach-package-price {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  display: grid;
  justify-items: center;
  gap: 5px;
  margin-bottom: 10px;
  text-align: center;
  overflow: hidden;
}

.coach-profile-page [id^="coachPrice"] {
  display: block;
  width: 100%;
  max-width: 100%;
  color: #fff;
  font-size: clamp(22px, 2.8vw, 36px);
  line-height: 1.05;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  unicode-bidi: isolate;
  direction: ltr;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.02em;
}

.coach-profile-page #coachPriceVIP {
  font-size: clamp(32px, 4.2vw, 58px);
  letter-spacing: -0.03em;
}

.coach-profile-page .coach-package-price-unit {
  display: block;
  min-height: 18px;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 750;
  text-align: center;
}

.coach-profile-page .coach-package-price[data-empty="true"] .coach-package-price-unit {
  display: none;
}

.coach-profile-page .coach-package-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
  color: #a9b6ca;
  font-size: 13px;
  line-height: 1.65;
  text-align: center;
}

.coach-profile-page .coach-package-card.is-vip p {
  width: min(100%, 560px);
  margin: 8px auto 34px;
  color: #c2ccdc;
  font-size: 16px;
  line-height: 1.7;
}

.coach-profile-page .coach-package-card ul {
  position: relative;
  z-index: 1;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
  align-content: start;
  list-style: none;
}

.coach-profile-page .coach-package-card li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #d9e2ef;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.coach-profile-page .coach-package-card li svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--profile-blue-soft);
}

.coach-profile-page .coach-package-card.is-vip ul {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}

.coach-profile-page .coach-package-card.is-vip li {
  min-height: 78px;
  padding: 16px 18px;
  border: 1px solid rgba(96, 165, 250, 0.15);
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.5);
  font-size: 15px;
  line-height: 1.55;
}

.coach-profile-page .coach-package-card.is-vip li svg {
  width: 20px;
  height: 20px;
}

.coach-profile-page .coach-package-action {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #334155;
  border-radius: 12px;
  background: #1e293b;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.coach-profile-page .coach-package-action:hover {
  border-color: #475569;
  background: #334155;
}

.coach-profile-page .coach-package-action:active {
  transform: scale(0.985);
}

.coach-profile-page .coach-package-action.is-primary {
  min-height: 56px;
  border-color: transparent;
  background: linear-gradient(270deg, #3b82f6, #8b5cf6);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.coach-profile-page .coach-package-vip-glow {
  position: absolute;
  inset: -5px;
  border-radius: 40px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  filter: blur(18px);
  opacity: 0.25;
}

.coach-profile-page .coach-package-vip-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), transparent 58%);
}

.coach-profile-page #coachCustomPackages {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.coach-profile-page #coachCustomPackages[hidden] {
  display: none;
}

.coach-profile-page .coach-profile-aside {
  display: grid;
  gap: 22px;
  grid-column: 2 / span 1;
  order: 0;
}

.coach-profile-page .coach-profile-info-card {
  padding: 32px;
}

.coach-profile-page .coach-profile-info-card h3 {
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 950;
}

.coach-profile-page .coach-profile-info-card h3 svg {
  color: var(--profile-blue-soft);
}

.coach-profile-page #coachBio,
.coach-profile-page #coachCertifications {
  color: #a9b6ca;
  font-size: 14px;
  line-height: 2;
}

.coach-profile-page #coachCertifications {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.coach-profile-page .mobile-fab-container {
  display: none;
}

@media (max-width: 980px) {
  .coach-profile-page .coach-profile-content {
    align-items: stretch;
    flex-direction: column;
  }

  .coach-profile-page .coach-profile-metrics {
    width: 100%;
    min-width: 0;
  }

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

  .coach-profile-page .coach-profile-packages {
    grid-column: 1;
    order: 2;
  }

  .coach-profile-page .coach-profile-aside {
    grid-column: 1;
    order: 1;
  }

  .coach-profile-page .coach-profile-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .coach-profile-page > header a[href="coaches.html"] {
    display: none !important;
  }

  .coach-profile-page .coach-profile-main {
    padding-top: 84px;
    padding-bottom: 112px;
  }

  .coach-profile-page .coach-profile-shell {
    width: min(100% - 24px, 620px);
  }

  .coach-profile-page .coach-profile-hero {
    min-height: 610px;
    border-radius: 14px;
  }

  .coach-profile-page .coach-profile-photo {
    object-position: center;
  }

  .coach-profile-page .coach-profile-shade-bottom {
    background: linear-gradient(0deg, rgba(3, 8, 19, 0.99) 0%, rgba(5, 11, 24, 0.88) 48%, rgba(5, 11, 24, 0.08) 88%);
  }

  .coach-profile-page .coach-profile-shade-side {
    display: none;
  }

  .coach-profile-page .coach-profile-content {
    padding: 28px 18px 88px;
    gap: 22px;
    text-align: center;
  }

  .coach-profile-page #coachName {
    font-size: clamp(34px, 11vw, 48px);
  }

  .coach-profile-page #coachTitle {
    margin-top: 10px;
    font-size: 16px;
  }

  .coach-profile-page .coach-profile-metrics {
    padding: 14px 4px;
  }

  .coach-profile-page .coach-profile-metric {
    padding-inline: 7px;
  }

  .coach-profile-page .coach-profile-metric strong {
    font-size: 24px;
  }

  .coach-profile-page .coach-profile-experience {
    top: 16px;
    left: 16px;
    right: auto;
    inset-inline-start: auto;
    min-width: 112px;
    padding: 9px 12px;
  }

  .coach-profile-page .coach-profile-experience strong {
    font-size: 15px;
  }

  .coach-profile-page .coach-package-grid,
  .coach-profile-page #coachCustomPackages,
  .coach-profile-page .coach-profile-aside {
    grid-template-columns: 1fr;
  }

  .coach-profile-page .coach-package-standard,
  .coach-profile-page .coach-package-vip-wrap {
    grid-column: 1;
  }

  .coach-profile-page .coach-packages-heading {
    text-align: center;
  }

  .coach-profile-page .coach-package-card,
  .coach-profile-page .coach-package-card.is-vip,
  .coach-profile-page .coach-profile-info-card {
    min-height: 0;
    padding: 24px;
  }

  .coach-profile-page .coach-package-card.is-vip h3 {
    margin-bottom: 18px;
    font-size: 14px;
  }

  .coach-profile-page #coachPriceVIP {
    font-size: clamp(28px, 9vw, 44px);
  }

  .coach-profile-page [id^="coachPrice"] {
    font-size: clamp(20px, 7vw, 32px);
  }

  .coach-profile-page .coach-package-card.is-vip p {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.65;
  }

  .coach-profile-page .coach-package-card.is-vip ul {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 26px;
  }

  .coach-profile-page .coach-package-card.is-vip li {
    min-height: 0;
    padding: 12px 14px;
    font-size: 13px;
  }

  .coach-profile-page .mobile-fab-container {
    position: fixed;
    inset-inline: 0;
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 80;
    display: flex;
    justify-content: center;
    pointer-events: none;
  }

  .coach-profile-page .mobile-fab {
    width: min(260px, calc(100% - 40px));
    min-height: 52px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid #6d98ff;
    border-radius: 999px;
    background: #3f73ed;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 16px 36px rgba(25, 67, 167, 0.48);
    pointer-events: auto;
  }
}

@media (max-width: 420px) {
  .coach-profile-page .coach-profile-shell {
    width: calc(100% - 18px);
  }

  .coach-profile-page .coach-profile-hero {
    min-height: 570px;
  }

  .coach-profile-page .coach-profile-content {
    padding-inline: 14px;
  }

  .coach-profile-page .coach-profile-metric span {
    font-size: 9px;
  }

  .coach-profile-page .coach-profile-metric strong {
    font-size: 21px;
  }

  .coach-profile-page .coach-package-card,
  .coach-profile-page .coach-package-card.is-vip,
  .coach-profile-page .coach-profile-info-card {
    padding: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .coach-profile-page .tech-card,
  .coach-profile-page .coach-package-action {
    transition: none !important;
  }
}
.coach-credential-preview {
  margin-top: 20px;
}

.coach-credential-preview[hidden] {
  display: none;
}

.coach-credential-preview-link {
  min-height: 104px;
  padding: 10px;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.72);
  color: #fff;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.coach-credential-preview-link:hover,
.coach-credential-preview-link:focus-visible {
  border-color: rgba(96, 165, 250, 0.72);
  background: rgba(30, 58, 95, 0.78);
  transform: translateY(-1px);
}

.coach-credential-preview-media {
  width: 84px;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: #0b1324;
}

.coach-credential-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coach-credential-preview-media.is-pdf {
  color: #f87171;
  grid-auto-flow: row;
  align-content: center;
  gap: 1px;
}

.coach-credential-preview-media.is-pdf .material-symbols-outlined {
  font-size: 30px;
}

.coach-credential-preview-media.is-pdf strong {
  font-size: 10px;
  letter-spacing: 0;
}

.coach-credential-preview-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.coach-credential-preview-copy small {
  color: #60a5fa;
  font-size: 10px;
  font-weight: 800;
}

.coach-credential-preview-copy strong,
.coach-credential-preview-copy span {
  overflow-wrap: anywhere;
}

.coach-credential-preview-copy strong {
  font-size: 13px;
  line-height: 1.55;
}

.coach-credential-preview-copy span {
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.55;
}

.coach-credential-preview-open {
  color: #60a5fa;
  font-size: 20px;
}

@media (max-width: 420px) {
  .coach-credential-preview-link {
    grid-template-columns: 72px minmax(0, 1fr) 20px;
    gap: 10px;
  }

  .coach-credential-preview-media {
    width: 72px;
  }
}
