.coach-profile-page {
  margin-top: 0;
  padding: 8px 8px 24px;
  max-width: 1600px;
  width: 100%;
  box-sizing: border-box;
}

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

.coach-profile-shell {
  background: #2c2c2c;
  border: 1px solid #3c3c3c;
  border-radius: 14px;
  overflow: hidden;
  min-width: 0;
}

.coach-profile-header {
  background: #1f1f1f;
  border-bottom: 1px solid #3c3c3c;
  padding: 14px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.coach-profile-header__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.coach-profile-title {
  margin: 0;
  color: #fff;
  font-weight: 700;
  font-size: 1.35rem;
}

.coach-profile-subtitle {
  margin: 4px 0 0;
  color: #a9a9a9;
  font-size: 0.9rem;
  max-width: 42rem;
}

.coach-profile-completion {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 10px 12px;
  background: #242424;
  border: 1px solid #3c3c3c;
  border-radius: 10px;
}

.coach-profile-completion__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.coach-profile-completion__label {
  color: #b8b8b8;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.coach-profile-completion__pct {
  color: #88f047;
  font-size: 1rem;
  font-weight: 800;
}

.coach-profile-completion__track {
  height: 8px;
  border-radius: 999px;
  background: #1a1a1a;
  overflow: hidden;
}

.coach-profile-completion__fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #6bcf2b, #88f047);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.coach-profile-completion__hint {
  margin: 8px 0 0;
  color: #8a8a8a;
  font-size: 0.75rem;
  line-height: 1.4;
}

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

.coach-profile-btn {
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.coach-profile-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.coach-profile-btn--primary {
  background: #88f047;
  color: #1a1a1a;
}

.coach-profile-btn--primary:hover:not(:disabled) {
  background: #7ae03a;
}

.coach-profile-btn--ghost {
  background: #3c3c3c;
  color: #fff;
  border: 1px solid #6f6f6f;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.coach-profile-btn--ghost:hover:not(:disabled) {
  background: #4a4a4a;
  color: #fff;
  text-decoration: none;
}

a.coach-profile-btn[hidden] {
  display: none !important;
}

.coach-profile-btn--sm {
  padding: 6px 12px;
  font-size: 0.8rem;
}

.coach-profile-preview-toggle {
  display: none;
}

.coach-profile-feedback {
  margin: 0;
  padding: 10px 20px;
  font-size: 0.875rem;
  display: none;
}

.coach-profile-feedback.is-visible {
  display: block;
}

.coach-profile-feedback.is-success {
  background: rgba(136, 240, 71, 0.12);
  color: #88f047;
}

.coach-profile-feedback.is-error {
  background: rgba(220, 53, 69, 0.15);
  color: #ff8a96;
}

.coach-profile-photo-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #3c3c3c;
  background: #262626;
}

.coach-profile-photo {
  width: 72px;
  height: 90px;
  border-radius: 10px;
  border: 1px solid #6f6f6f;
  background: #1a1a1a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.coach-profile-photo__placeholder {
  color: rgba(136, 240, 71, 0.45);
  font-size: 1.5rem;
}

.coach-profile-photo-meta {
  flex: 1;
  min-width: 0;
}

.coach-profile-photo-meta h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.coach-profile-photo-meta p {
  margin: 0;
  color: #b8b8b8;
  font-size: 0.8rem;
}

/* Redes sociales (editor) */
.coach-profile-socials {
  margin-top: 22px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #3c3c3c;
  background: linear-gradient(160deg, #262626 0%, #1f1f1f 100%);
}

.coach-profile-socials__title {
  margin: 0 0 4px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.coach-profile-socials__desc {
  margin: 0 0 14px;
  color: #b8b8b8;
  font-size: 0.8rem;
  line-height: 1.4;
}

.coach-profile-socials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.coach-profile-social-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #3c3c3c;
  background: #1a1a1a;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.coach-profile-social-field:focus-within {
  border-color: #88f047;
  background: #202020;
}

.coach-profile-social-field--full {
  grid-column: 1 / -1;
}

.coach-profile-social-field__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin-top: 18px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2c2c2c;
  color: #fff;
  font-size: 0.95rem;
}

.coach-profile-social-field .coach-profile-field {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.coach-profile-social-field--instagram .coach-profile-social-field__icon {
  background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af);
}
.coach-profile-social-field--tiktok .coach-profile-social-field__icon {
  background: #111;
  color: #69c9d0;
  box-shadow: inset 0 0 0 1px #3c3c3c;
}
.coach-profile-social-field--youtube .coach-profile-social-field__icon {
  background: #ff0000;
}
.coach-profile-social-field--facebook .coach-profile-social-field__icon {
  background: #1877f2;
}
.coach-profile-social-field--linkedin .coach-profile-social-field__icon {
  background: #0a66c2;
}
.coach-profile-social-field--x .coach-profile-social-field__icon {
  background: #141414;
  box-shadow: inset 0 0 0 1px #6f6f6f;
}
.coach-profile-social-field--threads .coach-profile-social-field__icon {
  background: #1a1a1a;
  box-shadow: inset 0 0 0 1px #6f6f6f;
}
.coach-profile-social-field--spotify .coach-profile-social-field__icon {
  background: #1db954;
  color: #0f0f0f;
}
.coach-profile-social-field--web .coach-profile-social-field__icon {
  background: #3c3c3c;
  color: #88f047;
}

@media (max-width: 700px) {
  .coach-profile-socials__grid {
    grid-template-columns: 1fr;
  }
}

.coach-profile-tabs {
  display: flex;
  gap: 4px;
  padding: 12px 12px 0;
  overflow-x: auto;
  border-bottom: 1px solid #3c3c3c;
  background: #252525;
  -webkit-overflow-scrolling: touch;
}

.coach-profile-tab {
  flex-shrink: 0;
  border: none;
  background: transparent;
  color: #b8b8b8;
  padding: 10px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  white-space: nowrap;
}

.coach-profile-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.coach-profile-tab.is-active {
  color: #1a1a1a;
  background: #88f047;
}

.coach-profile-body {
  padding: 20px;
}

.coach-profile-panel {
  display: none;
}

.coach-profile-panel.is-active {
  display: block;
}

.coach-profile-section-title {
  margin: 0 0 4px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

.coach-profile-section-desc {
  margin: 0 0 18px;
  color: #a9a9a9;
  font-size: 0.85rem;
}

.coach-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 768px) {
  .coach-profile-grid {
    grid-template-columns: 1fr;
  }
}

.coach-profile-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.coach-profile-field--full {
  grid-column: 1 / -1;
}

.coach-profile-field label {
  color: #d0d0d0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.coach-profile-field .help {
  color: #8a8a8a;
  font-size: 0.75rem;
  margin: 0;
}

.coach-profile-field input[type="text"],
.coach-profile-field input[type="url"],
.coach-profile-field input[type="tel"],
.coach-profile-field input[type="email"],
.coach-profile-field input[type="number"],
.coach-profile-field select,
.coach-profile-field textarea {
  background: #1a1a1a;
  border: 1px solid #6f6f6f;
  border-radius: 8px;
  color: #fff;
  padding: 10px 12px;
  font-size: 0.9rem;
  width: 100%;
}

.coach-profile-field textarea {
  min-height: 90px;
  resize: vertical;
}

.coach-profile-field input:focus,
.coach-profile-field select:focus,
.coach-profile-field textarea:focus {
  outline: none;
  border-color: #88f047;
}

.coach-profile-check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e0e0e0;
  font-size: 0.9rem;
  padding: 8px 0;
}

.coach-profile-check input {
  width: 16px;
  height: 16px;
  accent-color: #88f047;
}

.coach-profile-gallery-slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.coach-profile-gallery-slot__label {
  color: #b8b8b8;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.coach-profile-gallery-slot__frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  border: 1px dashed #6f6f6f;
  background: #1a1a1a;
  overflow: hidden;
}

.coach-profile-gallery-slot__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coach-profile-gallery-slot__empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #8a8a8a;
  font-size: 0.8rem;
  text-align: center;
  padding: 12px;
}

.coach-profile-gallery-slot__empty i {
  font-size: 1.25rem;
  color: #6f6f6f;
}

.coach-profile-gallery-slot__busy {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: rgba(15, 15, 15, 0.72);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.coach-profile-gallery-slot.is-uploading .coach-profile-gallery-slot__busy {
  display: flex;
}

.coach-profile-gallery-slot__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.coach-profile-gallery-slot__actions label.coach-profile-btn {
  margin: 0;
  cursor: pointer;
}

.coach-profile-gallery-slot__status {
  min-height: 1.1em;
  margin: 6px 0 0;
  color: #b8b8b8;
  font-size: 0.75rem;
}

@media (max-width: 640px) {
  .coach-profile-gallery-slots {
    grid-template-columns: 1fr;
  }
}

/* ─── Mi landing: bloques + color pickers ───────────────── */

.coach-profile-landing-block {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #3c3c3c;
}

.coach-profile-landing-block:first-of-type {
  margin-top: 8px;
  padding-top: 0;
  border-top: none;
}

.coach-profile-landing-block__title {
  margin: 0 0 4px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.coach-profile-landing-block__hint {
  margin: 0 0 14px;
  color: #8a8a8a;
  font-size: 0.8rem;
}

.coach-profile-colors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.coach-profile-color {
  background: #1f1f1f;
  border: 1px solid #3c3c3c;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.coach-profile-color__head {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.coach-profile-color__name {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.coach-profile-color__use {
  color: #8a8a8a;
  font-size: 0.72rem;
}

.coach-profile-color__control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.coach-profile-color__swatch {
  position: relative;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid #4a4a4a;
  overflow: hidden;
  cursor: pointer;
  background: var(--swatch, #88f047);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.coach-profile-color__swatch:focus-within {
  border-color: #88f047;
  box-shadow: 0 0 0 2px rgba(136, 240, 71, 0.25);
}

.coach-profile-color__native {
  position: absolute;
  inset: -4px;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  padding: 0;
  border: none;
  cursor: pointer;
  opacity: 0;
}

.coach-profile-color__hex {
  flex: 1 1 auto;
  min-width: 0;
  background: #1a1a1a;
  border: 1px solid #6f6f6f;
  border-radius: 8px;
  color: #fff;
  padding: 8px 10px;
  font-size: 0.82rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.coach-profile-color__hex:focus {
  outline: none;
  border-color: #88f047;
}

.coach-profile-color__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.coach-profile-color__preset {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid #3c3c3c;
  background: var(--swatch, #888);
  cursor: pointer;
  padding: 0;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.coach-profile-color__preset:hover {
  transform: scale(1.08);
  border-color: #fff;
}

.coach-profile-color__preset.is-active {
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  .coach-profile-colors {
    grid-template-columns: 1fr;
  }
}

.coach-profile-card {
  background: #242424;
  border: 1px solid #3c3c3c;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
}

.coach-profile-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 8px;
}

.coach-profile-card__head strong {
  color: #fff;
  font-size: 0.85rem;
}

.coach-profile-card .coach-profile-grid {
  gap: 10px;
}

.coach-profile-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.coach-profile-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #6f6f6f;
  color: #b8b8b8;
  background: #2c2c2c;
}

.coach-profile-badge--published {
  color: #0f0f0f;
  background: #88f047;
  border-color: #88f047;
}

.coach-profile-badge--draft {
  color: #fff;
  background: #3c3c3c;
  border-color: #6f6f6f;
}

.coach-profile-badge--archived {
  color: #b8b8b8;
  background: #242424;
  border-color: #6f6f6f;
}

.coach-profile-list-actions {
  margin-top: 8px;
  margin-bottom: 18px;
}

.coach-profile-empty {
  color: #8a8a8a;
  font-size: 0.85rem;
  padding: 12px;
  border: 1px dashed #4a4a4a;
  border-radius: 8px;
  margin-bottom: 10px;
}

.coach-profile-loading {
  padding: 40px 20px;
  text-align: center;
  color: #b8b8b8;
}

/* ─── Live preview panel ───────────────────────────────── */

.coach-profile-preview-panel {
  position: sticky;
  top: 12px;
  max-height: calc(100vh - 24px);
  display: flex;
  flex-direction: column;
  background: #1a1a1a;
  border: 1px solid #3c3c3c;
  border-radius: 14px;
  overflow: hidden;
  min-width: 0;
}

.coach-profile-preview-panel__head {
  flex-shrink: 0;
  padding: 14px 16px;
  border-bottom: 1px solid #3c3c3c;
  background: #222;
}

.coach-profile-preview-panel__eyebrow {
  margin: 0;
  color: var(--cp-accent, #88f047);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.coach-profile-preview-panel__title {
  margin: 2px 0 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

.coach-profile-preview-panel__hint {
  margin: 8px 0 0;
  color: #8a8a8a;
  font-size: 0.75rem;
}

.coach-profile-preview-panel__scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  background: var(--cp-bg, #0f0f0f);
  scrollbar-width: thin;
  scrollbar-color: #3c3c3c transparent;
}

.coach-profile-preview-panel__scroll::-webkit-scrollbar {
  width: 6px;
}

.coach-profile-preview-panel__scroll::-webkit-scrollbar-track {
  background: transparent;
}

.coach-profile-preview-panel__scroll::-webkit-scrollbar-thumb {
  background: #3c3c3c;
  border-radius: 999px;
}

.coach-profile-preview-panel__scroll::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* ─── Public preview blocks (reusable in Mi coach later) ─ */

.cp-public {
  --cp-accent: #88f047;
  --cp-secondary: #00c2cb;
  --cp-cta: #88f047;
  --cp-bg: #0f0f0f;
  --cp-surface: #1a1a1a;
  --cp-surface-2: color-mix(in srgb, var(--cp-surface, #1a1a1a) 88%, #ffffff 12%);
  --cp-on-accent: #0f0f0f;
  --cp-on-cta: #1a1a1a;
  color: #e8e8e8;
  font-size: 0.875rem;
  line-height: 1.5;
  background: transparent;
}

.cp-public-empty {
  padding: 32px 20px;
  text-align: center;
  color: #8a8a8a;
  font-size: 0.85rem;
}

.cp-public-hero {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 16px;
  background: var(--cp-surface, #141414);
  border-bottom: 1px solid color-mix(in srgb, var(--cp-surface, #141414) 70%, #ffffff 12%);
}

.cp-public-hero__photo {
  width: 72px;
  height: 90px;
  border-radius: 10px;
  border: 1px solid var(--cp-accent);
  background: #1f1f1f;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cp-public-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cp-public-hero__photo i {
  color: var(--cp-accent);
  opacity: 0.55;
  font-size: 1.4rem;
}

.cp-public-hero__eyebrow {
  margin: 0;
  color: var(--cp-secondary);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cp-public-hero__name {
  margin: 4px 0 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.cp-public-hero__brand {
  margin: 4px 0 0;
  color: #b8b8b8;
  font-size: 0.8rem;
}

.cp-public-hero__meta {
  margin: 8px 0 0;
  color: #8a8a8a;
  font-size: 0.75rem;
}

.cp-public-hero__lead {
  margin: 12px 0 0;
  color: #c8c8c8;
  font-size: 0.95rem;
  line-height: 1.55;
}

.cp-public-hero__actions {
  margin-top: 16px;
}

.cp-public-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.cp-public-stats--prices {
  grid-template-columns: repeat(3, 1fr);
}

.cp-public-stat {
  background: #222;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 12px;
}

.cp-public-stat__value {
  display: block;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.1;
}

.cp-public-stat__label {
  display: block;
  margin-top: 4px;
  color: #8a8a8a;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cp-public-section {
  padding: 16px;
  border-bottom: 1px solid #2e2e2e;
}

.cp-public-section:last-child {
  border-bottom: none;
}

.cp-public-section__eyebrow {
  margin: 0 0 4px;
  color: var(--cp-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cp-public-section__title {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.cp-public-section__title::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 8px;
  background: var(--cp-accent);
  border-radius: 2px;
}

.cp-public-block {
  margin-bottom: 16px;
}

.cp-public-block:last-child {
  margin-bottom: 0;
}

.cp-public-block__label {
  margin: 0 0 8px;
  color: #9a9a9a;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cp-public-text {
  margin: 0 0 10px;
  color: #c8c8c8;
  white-space: pre-wrap;
  word-break: break-word;
}

.cp-public-text--lead {
  font-size: 0.95rem;
  color: #d8d8d8;
  margin-bottom: 14px;
}

.cp-public-text:last-child {
  margin-bottom: 0;
}

.cp-public-meta {
  margin: 0 0 8px;
  color: #a9a9a9;
  font-size: 0.8rem;
}

.cp-public-meta--row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.cp-public-dot {
  opacity: 0.5;
}

.cp-public-meta a {
  color: var(--cp-secondary);
  text-decoration: none;
  font-weight: 600;
}

.cp-public-meta a:hover {
  text-decoration: underline;
}

.cp-public-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}

.cp-public-chips--sm {
  margin: 10px 0 0;
}

.cp-public-chip {
  background: #222;
  border: 1px solid #3c3c3c;
  color: #e8e8e8;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
}

.cp-public-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cp-public-list li {
  position: relative;
  padding: 10px 0 10px 16px;
  border-bottom: 1px solid #2a2a2a;
  color: #c8c8c8;
}

.cp-public-list li:last-child {
  border-bottom: none;
}

.cp-public-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cp-accent);
}

.cp-public-list strong {
  display: block;
  color: #fff;
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.cp-public-list__sub {
  display: block;
  color: #9a9a9a;
  font-size: 0.8rem;
}

.cp-public-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cp-public-grid--stack {
  grid-template-columns: 1fr;
}

.cp-public-card {
  background: var(--cp-surface-2, #222);
  border: 1px solid color-mix(in srgb, var(--cp-surface, #1a1a1a) 70%, #ffffff 16%);
  border-radius: 12px;
  padding: 14px;
}

.cp-public-card--lift:hover {
  border-color: #4a4a4a;
}

.cp-public-card__title {
  margin: 0 0 4px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.cp-public-card__meta {
  margin: 0 0 8px;
  color: var(--cp-secondary);
  font-size: 0.75rem;
  font-weight: 600;
}

.cp-public-card__body {
  margin: 0;
  color: #b8b8b8;
  font-size: 0.82rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.cp-public-steps {
  display: grid;
  gap: 10px;
  margin-bottom: 0;
}

.cp-public-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.cp-public-feature-card {
  background: var(--cp-surface, #1a1a1a);
  border: 1px solid color-mix(in srgb, var(--cp-surface, #1a1a1a) 75%, #ffffff 14%);
  border-radius: 14px;
  padding: 16px;
  min-width: 0;
}

.cp-public-feature-card--wide {
  grid-column: 1 / -1;
}

.cp-public-feature-card__title {
  margin: 0 0 4px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.cp-public-feature-card__sub {
  margin: 0 0 14px;
  color: #8a8a8a;
  font-size: 0.78rem;
}

.cp-public-feature-card .cp-public-steps {
  margin-top: 0;
}

.cp-public-feature-card .cp-public-list {
  margin: 0;
}

/* Sub-tabs internas (Tabs / Sidebar / Cards) */
.cp-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 14px;
  padding: 0;
}

.cp-subtabs__btn {
  appearance: none;
  border: 1px solid #333;
  background: transparent;
  color: #a8a8a8;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.cp-subtabs__btn:hover {
  color: #fff;
  border-color: #555;
}

.cp-subtabs__btn.is-active {
  color: var(--cp-on-accent, #0f0f0f);
  background: var(--cp-accent, #88f047);
  border-color: var(--cp-accent, #88f047);
}

.has-subtabs .cp-public-block__label,
.has-subtabs .cp-public-feature-card__title,
.has-subtabs .cp-public-feature-card__sub {
  display: none;
}

.has-subtabs .cp-public-feature-grid {
  display: block;
}

.has-subtabs .cp-public-feature-card {
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.has-subtabs .cp-public-feature-card--wide {
  grid-column: auto;
}

.has-subtabs [data-cp-subpane][hidden] {
  display: none !important;
}

@media (max-width: 720px) {
  .cp-public-feature-grid {
    grid-template-columns: 1fr;
  }
}

.cp-public-step {
  background: var(--cp-surface-2, #222);
  border: 1px solid color-mix(in srgb, var(--cp-surface, #1a1a1a) 70%, #ffffff 16%);
  border-radius: 12px;
  padding: 14px;
  border-left: 3px solid var(--cp-accent);
}

.cp-public-step__num {
  margin: 0 0 6px;
  color: var(--cp-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cp-public-quotes {
  display: grid;
  gap: 10px;
}

.cp-public-quote {
  margin: 0;
  padding: 14px 16px;
  border-left: 3px solid var(--cp-accent);
  background: var(--cp-surface-2, #222);
  border-radius: 0 12px 12px 0;
  color: #d0d0d0;
  font-size: 0.88rem;
}

.cp-public-quote p {
  margin: 0;
  line-height: 1.55;
}

.cp-public-quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 700;
  color: #fff;
  font-size: 0.8rem;
}

.cp-public-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cp-public-gallery__item {
  background: #222;
  border: 1px solid #333;
  border-radius: 12px;
  overflow: hidden;
  margin: 0;
}

.cp-public-gallery__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #111;
}

.cp-public-gallery__shot {
  position: relative;
  background: #1a1a1a;
}

.cp-public-gallery__shot img,
.cp-public-gallery__item > img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: #1a1a1a;
}

.cp-public-gallery__shot--solo img {
  height: 220px;
}

.cp-public-gallery__tag {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 1;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(15, 15, 15, 0.72);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cp-public-gallery__item figcaption {
  display: block;
  padding: 10px 12px;
  color: #a9a9a9;
  font-size: 0.75rem;
}

.cp-public-faq details {
  background: #222;
  border: 1px solid #333;
  border-radius: 12px;
  margin-bottom: 8px;
  padding: 12px 14px;
}

.cp-public-faq summary {
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  list-style: none;
}

.cp-public-faq summary::-webkit-details-marker {
  display: none;
}

.cp-public-faq summary::after {
  content: '+';
  float: right;
  color: var(--cp-accent);
  font-weight: 800;
}

.cp-public-faq details[open] summary::after {
  content: '–';
}

.cp-public-faq p {
  margin: 10px 0 0;
  color: #b8b8b8;
  font-size: 0.85rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.cp-public-location-card {
  background: #222;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 14px 16px;
}

.cp-public-location {
  margin: 0;
  color: #b8b8b8;
  font-size: 0.85rem;
}

.cp-public-location--strong {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 4px;
}

.cp-public-cta {
  padding: 20px 16px;
  background: var(--cp-surface, #141414);
  text-align: center;
}

.cp-public-cta__title {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

.cp-public-cta__sub {
  margin: 0 0 16px;
  color: #a9a9a9;
  font-size: 0.85rem;
}

.cp-public-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 360px;
  padding: 13px 18px;
  border-radius: 10px;
  border: none;
  background: var(--cp-cta, #88f047);
  color: var(--cp-on-cta, #1a1a1a);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}

.cp-public-cta__btn--inline {
  width: auto;
  max-width: none;
}

.cp-public-cta__btn:hover {
  filter: brightness(1.05);
  color: #1a1a1a;
  text-decoration: none;
}

.cp-public-cta__wait {
  margin: 12px 0 0;
  text-align: center;
  color: #a9a9a9;
  font-size: 0.75rem;
}

.cp-public-socials {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cp-public-socials--compact {
  margin-top: 14px;
  padding-top: 0;
  border-top: none;
}

.cp-public-socials__label {
  margin: 0 0 10px;
  color: #b8b8b8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cp-public-socials__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.cp-public-hero .cp-public-socials__row {
  justify-content: flex-start;
}

.cp-public-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.cp-public-socials--compact .cp-public-social {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 12px;
}

.cp-public-social__name {
  font-size: 0.78rem;
  font-weight: 700;
}

.cp-public-social:hover {
  transform: translateY(-1px);
  border-color: var(--cp-accent, #88f047);
  background: rgba(136, 240, 71, 0.1);
  color: #fff;
  text-decoration: none;
}

.cp-public-social--instagram:hover { border-color: #dd2a7b; background: rgba(221, 42, 123, 0.15); }
.cp-public-social--tiktok:hover { border-color: #69c9d0; background: rgba(105, 201, 208, 0.12); }
.cp-public-social--youtube:hover { border-color: #ff0000; background: rgba(255, 0, 0, 0.12); }
.cp-public-social--facebook:hover { border-color: #1877f2; background: rgba(24, 119, 242, 0.14); }
.cp-public-social--linkedin:hover { border-color: #0a66c2; background: rgba(10, 102, 194, 0.14); }
.cp-public-social--x:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.cp-public-social--threads:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.cp-public-social--spotify:hover { border-color: #1db954; background: rgba(29, 185, 84, 0.14); }
.cp-public-social--web:hover { border-color: var(--cp-accent, #88f047); }


/* ─── Página pública /coach/{slug} ─────────────────────── */

body.cp-coach-body {
  --cp-accent: #88f047;
  --cp-secondary: #00c2cb;
  --cp-cta: #88f047;
  --cp-bg: #0f0f0f;
  --cp-surface: #1a1a1a;
  --cp-surface-2: color-mix(in srgb, var(--cp-surface, #1a1a1a) 88%, #ffffff 12%);
  --cp-on-accent: #0f0f0f;
  --cp-on-cta: #0f0f0f;
  background: var(--cp-bg, #0f0f0f);
  color: #e8e8e8;
  min-height: 100vh;
  font-family: 'Heebo', system-ui, sans-serif;
}

body.cp-coach-body h1,
body.cp-coach-body h2,
body.cp-coach-body h3,
body.cp-coach-body h4,
body.cp-coach-body h5,
body.cp-coach-body h6,
body.cp-coach-body .h1,
body.cp-coach-body .h2,
body.cp-coach-body .h3,
body.cp-coach-body .cp-public-hero__name,
body.cp-coach-body .cp-public-section__title,
body.cp-coach-body .cp-public-cta__title,
body.cp-coach-body .cp-public-card__title {
  font-family: 'Jost', 'Heebo', system-ui, sans-serif !important;
  text-transform: none !important;
  letter-spacing: -0.02em !important;
  font-weight: 700 !important;
}

body.cp-coach-body .cp-public,
body.cp-coach-body .cp-public p,
body.cp-coach-body .cp-public li,
body.cp-coach-body .cp-public cite,
body.cp-coach-body .cp-public-quote,
body.cp-coach-body .cp-public-text {
  font-family: 'Heebo', system-ui, sans-serif;
}

body.cp-coach-body .cp-public-section__eyebrow,
body.cp-coach-body .cp-public-hero__eyebrow,
body.cp-coach-body .cp-public-block__label {
  font-family: 'Heebo', system-ui, sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  font-weight: 700 !important;
}

body.cp-coach-body #spinner.show {
  z-index: 9999;
}

.cp-coach-header {
  position: relative;
  z-index: 1030;
}

/* Navbar Hipertrofit: no hereda --cp-bg del coach */
.cp-coach-nav.navbar.fixed-top,
.cp-coach-nav.navbar {
  background: rgba(15, 15, 15, 0.94) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #2a2a2a;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  min-height: 76px;
}

.cp-coach-nav__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  min-height: 52px;
}

.cp-coach-nav__brand.navbar-brand {
  margin-right: 0.75rem;
  padding: 0;
}

.cp-coach-nav__brand img {
  width: auto;
  height: 40px;
  max-width: 168px;
  object-fit: contain;
}

.cp-coach-nav__toggler.navbar-toggler {
  border: 1px solid #3a3a3a;
  padding: 0.45rem 0.6rem;
}

.cp-coach-nav .navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 992px) {
  .cp-coach-nav .navbar-collapse {
    flex-basis: auto;
    display: flex !important;
    flex-wrap: nowrap;
    gap: 1.25rem;
  }
}

.cp-coach-nav__groups-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

.cp-coach-nav__groups {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.cp-coach-nav__group-item {
  flex: 0 0 auto;
}

.cp-coach-nav__group {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: #a8a8a8;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.cp-coach-nav__group:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.cp-coach-nav__group.is-active {
  color: var(--cp-on-accent, #0f0f0f);
  background: var(--cp-accent, #88f047);
  border-color: var(--cp-accent, #88f047);
}

.cp-coach-nav__cta-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
  flex-wrap: wrap;
  padding: 0.25rem 0 0.35rem;
}

@media (min-width: 992px) {
  .cp-coach-nav__cta-wrap {
    padding: 0;
  }
}

.cp-coach-nav__link {
  color: #c8c8c8;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.45rem 0.35rem;
}

.cp-coach-nav__link:hover {
  color: #fff;
}

.cp-coach-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.05rem;
  background: #88f047;
  color: #0f0f0f !important;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
}

.cp-coach-nav__cta:hover {
  background: #9ff55a;
  color: #0f0f0f !important;
}

.cp-coach-nav__cta--wa {
  background: transparent;
  color: var(--cp-cta, #88f047) !important;
  border: 1px solid color-mix(in srgb, var(--cp-cta, #88f047) 45%, transparent);
}

.cp-coach-nav__cta--wa:hover {
  background: color-mix(in srgb, var(--cp-cta, #88f047) 12%, transparent);
  color: var(--cp-cta, #88f047) !important;
}

.cp-coach-nav__cta[hidden] {
  display: none !important;
}

.cp-coach-footer {
  background: #0a0a0a;
  border-top: 1px solid #2a2a2a;
  padding: 28px 16px 32px;
  margin-top: 0;
}

.cp-coach-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.cp-coach-footer__brand img {
  height: 32px;
  width: auto;
  margin-bottom: 10px;
}

.cp-coach-footer__copy {
  margin: 0 0 8px;
  color: #8a8a8a;
  font-size: 0.85rem;
}

.cp-coach-footer__credit {
  margin: 0;
  color: #6a6a6a;
  font-size: 0.75rem;
}

.cp-coach-footer__credit a {
  color: #c8c8c8;
  text-decoration: none;
}

.cp-coach-footer__credit span {
  color: #ffb800;
}

.cp-public-page {
  min-height: calc(100vh - 120px);
  background: var(--cp-bg, #0f0f0f);
  padding: 100px 16px 72px;
  width: 100%;
  max-width: none;
  margin: 0;
}

.cp-public-mock-banner {
  max-width: 1100px;
  margin: 0 auto 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(136, 240, 71, 0.1);
  border: 1px solid rgba(136, 240, 71, 0.28);
  color: #88f047;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

.cp-public-page__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.cp-public-page__root {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.cp-public--page {
  font-size: 0.95rem;
}

.cp-public-shell__hero {
  margin-bottom: 20px;
}

.cp-public-shell__body {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  min-height: 420px;
}

.cp-public-shell__aside {
  position: sticky;
  top: 96px;
  align-self: start;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: color-mix(in srgb, var(--cp-surface, #1a1a1a) 92%, transparent);
  border: 1px solid color-mix(in srgb, var(--cp-surface, #1a1a1a) 75%, #ffffff 14%);
  border-radius: 16px;
  padding: 14px 12px;
}

.cp-coach-sidebar__title {
  margin: 0 0 10px;
  padding: 0 8px;
  color: #8a8a8a;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cp-coach-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cp-coach-sidebar__item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  appearance: none;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  color: #a8a8a8;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.cp-coach-sidebar__item i {
  font-size: 0.7rem;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.cp-coach-sidebar__item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.cp-coach-sidebar__item.is-active {
  color: var(--cp-accent, #88f047);
  background: color-mix(in srgb, var(--cp-accent, #88f047) 12%, transparent);
  border-color: color-mix(in srgb, var(--cp-accent, #88f047) 30%, transparent);
}

.cp-coach-sidebar__item.is-active i {
  opacity: 1;
}

.cp-public-shell__main {
  min-width: 0;
}

.cp-public-panel {
  animation: cpPanelIn 0.22s ease;
}

.cp-public-panel[hidden] {
  display: none !important;
}

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

.cp-public--page .cp-public-hero {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: center;
  padding: 36px 32px;
  margin-bottom: 0;
  background: var(--cp-surface, #1a1a1a);
  border: 1px solid color-mix(in srgb, var(--cp-surface, #1a1a1a) 75%, #ffffff 14%);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.cp-public--page .cp-public-hero__photo {
  width: 100%;
  height: 250px;
  border-radius: 14px;
}

.cp-public--page .cp-public-hero__name {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  text-transform: none;
  letter-spacing: -0.02em;
}

.cp-public--page .cp-public-hero__brand {
  font-size: 1rem;
  color: #c8c8c8;
}

.cp-public--page .cp-public-hero__meta {
  font-size: 0.85rem;
  color: #9a9a9a;
}

.cp-public--page .cp-public-hero__lead {
  font-size: 1.02rem;
  max-width: 38rem;
  color: #d0d0d0;
}

.cp-public--page .cp-public-section {
  padding: 32px 28px;
  margin-bottom: 0;
  background: var(--cp-surface, #1a1a1a);
  border: 1px solid color-mix(in srgb, var(--cp-surface, #1a1a1a) 75%, #ffffff 14%);
  border-radius: 16px;
}

.cp-public--page .cp-public-section__title {
  font-size: 1.25rem;
  margin-bottom: 18px;
}

.cp-public--page .cp-public-cta,
.cp-public--page .cp-public-cta-section {
  margin-top: 0;
  margin-bottom: 0;
}

.cp-public--page .cp-public-cta {
  padding: 36px 28px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--cp-surface, #1a1a1a) 75%, #ffffff 14%);
  background: var(--cp-surface, #1a1a1a);
}

.cp-public--page .cp-public-cta-section > .cp-public-cta {
  margin: 0;
}

.cp-public--page .cp-public-gallery__shot img,
.cp-public--page .cp-public-gallery__item > img {
  height: 220px;
}

.cp-public-empty--page {
  background: var(--cp-surface, #1a1a1a);
  border: 1px solid color-mix(in srgb, var(--cp-surface, #1a1a1a) 75%, #ffffff 14%);
  border-radius: 16px;
  padding: 48px 24px;
}

.cp-public-empty--page h1 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.35rem;
}

.cp-public-empty--page p {
  margin: 0 0 20px;
  color: #a9a9a9;
}

.cp-public-empty--page .cp-public-cta__btn {
  max-width: 260px;
  margin: 0 auto;
  display: inline-flex;
}

.coach-profile-public-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: #88f047;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  word-break: break-all;
}

.coach-profile-public-link:hover {
  text-decoration: underline;
  color: #9ff55a;
}

.coach-profile-public-link[hidden] {
  display: none !important;
}

.coach-profile-preview-panel__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: #88f047;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.coach-profile-preview-panel__link:hover {
  text-decoration: underline;
}

.coach-profile-preview-panel__link[hidden] {
  display: none !important;
}

.coach-profile-slug-prefix {
  color: #8a8a8a;
  font-size: 0.8rem;
  margin-bottom: 4px;
}

@media (max-width: 1100px) {
  .coach-profile-layout {
    grid-template-columns: 1fr;
  }

  .coach-profile-preview-toggle {
    display: inline-flex;
  }

  .coach-profile-preview-panel {
    position: static;
    max-height: none;
    display: none;
  }

  .coach-profile-page.is-preview-open .coach-profile-preview-panel {
    display: flex;
  }

  .coach-profile-page.is-preview-open .coach-profile-preview-toggle {
    background: #88f047;
    color: #1a1a1a;
    border-color: #88f047;
  }
}

@media (max-width: 991px) {
  .cp-coach-nav .navbar-collapse {
    padding-top: 0.75rem;
    border-top: 1px solid #2a2a2a;
    margin-top: 0.65rem;
  }

  .cp-coach-nav__groups {
    flex-direction: column;
    align-items: stretch;
  }

  .cp-coach-nav__group {
    width: 100%;
    text-align: left;
    padding: 0.75rem 0.9rem;
  }

  .cp-coach-nav__cta-wrap {
    width: 100%;
  }

  .cp-coach-nav__cta,
  .cp-coach-nav__link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .cp-public-shell__body {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cp-public-shell__aside {
    position: static;
    max-height: none;
    padding: 12px;
  }

  .cp-coach-sidebar__list {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 2px;
  }

  .cp-coach-sidebar__list > li {
    flex: 0 0 auto;
  }

  .cp-coach-sidebar__item {
    white-space: nowrap;
    padding: 0.55rem 0.85rem;
  }

  .cp-coach-sidebar__item i {
    display: none;
  }
}

@media (max-width: 720px) {
  .cp-public--page .cp-public-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 20px;
  }

  .cp-public--page .cp-public-hero__photo {
    width: 140px;
    height: 175px;
  }

  .cp-public--page .cp-public-section {
    padding: 22px 18px;
  }

  .cp-public-grid {
    grid-template-columns: 1fr;
  }

  .cp-public-stats--prices {
    grid-template-columns: 1fr;
  }

  .cp-public-gallery {
    grid-template-columns: 1fr;
  }

  .cp-public--page .cp-public-gallery__shot img,
  .cp-public--page .cp-public-gallery__item > img {
    height: 200px;
  }
}

@media (max-width: 640px) {
  .coach-profile-page {
    padding: 8px 6px 20px;
    margin-top: 0;
  }

  .cp-public-stats {
    grid-template-columns: 1fr;
  }

  .cp-public-page {
    padding: 92px 12px 48px;
  }

  .cp-coach-nav.navbar.fixed-top,
  .cp-coach-nav.navbar {
    min-height: 68px;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .cp-coach-nav__brand img {
    height: 34px;
  }
}

/* ─── Owner / demo toolbar ─────────────────────────────── */

.cp-owner-bar {
  position: sticky;
  top: 76px;
  z-index: 1020;
  background: rgba(20, 20, 20, 0.96);
  border-bottom: 1px solid #2e2e2e;
  backdrop-filter: blur(10px);
  margin: -12px -16px 18px;
  padding: 10px 16px;
}

.cp-completion-banner {
  max-width: 1100px;
  margin: 0 auto 14px;
  padding: 14px 16px;
  background: rgba(136, 240, 71, 0.08);
  border: 1px solid rgba(136, 240, 71, 0.28);
  border-radius: 14px;
}

.cp-completion-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.cp-completion-banner__copy {
  flex: 1 1 220px;
  min-width: 0;
}

.cp-completion-banner__pct {
  margin: 0 0 2px;
  color: #88f047;
  font-size: 0.95rem;
  font-weight: 800;
}

.cp-completion-banner__text {
  margin: 0;
  color: #d0d0d0;
  font-size: 0.88rem;
}

.cp-completion-banner__bar {
  flex: 1 1 160px;
  max-width: 220px;
  height: 8px;
  border-radius: 999px;
  background: #1a1a1a;
  overflow: hidden;
}

.cp-completion-banner__fill {
  display: block;
  height: 100%;
  width: 0;
  background: #88f047;
  border-radius: 999px;
  transition: width 0.25s ease;
}

.cp-owner-bar__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.cp-owner-bar__label {
  color: #8a8a8a;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

.cp-owner-bar__select {
  background: #1a1a1a;
  border: 1px solid #3c3c3c;
  color: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 140px;
}

.cp-owner-bar__btn {
  appearance: none;
  border: 1px solid #3c3c3c;
  background: #2c2c2c;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.cp-owner-bar__btn:hover {
  background: #3a3a3a;
  color: #fff;
  text-decoration: none;
}

.cp-owner-bar__btn--ghost.is-active,
.cp-owner-bar__btn.is-active {
  border-color: #88f047;
  color: #88f047;
}

.cp-owner-bar__btn--accent {
  background: #88f047;
  border-color: #88f047;
  color: #0f0f0f !important;
}

.cp-owner-bar__btn--accent:hover {
  background: #9ff55a;
  color: #0f0f0f !important;
}

.cp-owner-bar__hint {
  color: #8a8a8a;
  font-size: 0.78rem;
}

.cp-owner-bar__msg {
  color: #88f047;
  font-size: 0.78rem;
  font-weight: 600;
  margin-left: auto;
}

.cp-owner-bar__msg.is-error {
  color: #ff8a96;
}

body.cp-owner-editing .cp-section-editable {
  outline: 1px dashed rgba(136, 240, 71, 0.35);
  outline-offset: 4px;
}

.cp-edit-pencil {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  appearance: none;
  border: 1px solid rgba(136, 240, 71, 0.45);
  background: rgba(15, 15, 15, 0.9);
  color: #88f047;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
}

.cp-edit-pencil:hover {
  background: rgba(136, 240, 71, 0.15);
}

.cp-public-hero__photo--editable {
  cursor: pointer;
}

.cp-photo-edit-btn {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  appearance: none;
  border: none;
  background: rgba(15, 15, 15, 0.88);
  color: #88f047;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.cp-photo-edit-btn:hover {
  background: #88f047;
  color: #0f0f0f;
}

.cp-edit-photo {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #2e2e2e;
}

.cp-edit-photo__label {
  margin: 0 0 10px;
  color: #b8b8b8;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cp-edit-photo__preview {
  width: 96px;
  height: 120px;
  border-radius: 12px;
  border: 1px solid #3c3c3c;
  overflow: hidden;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.cp-edit-photo__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cp-edit-photo__preview i {
  color: #88f047;
  opacity: 0.5;
  font-size: 1.5rem;
}

.cp-edit-photo .cp-owner-bar__btn {
  width: 100%;
  justify-content: center;
  gap: 8px;
}

.cp-edit-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1040;
}

.cp-edit-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100vh;
  background: #1a1a1a;
  border-left: 1px solid #2e2e2e;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.4);
}

.cp-edit-drawer[hidden],
.cp-edit-backdrop[hidden] {
  display: none !important;
}

.cp-edit-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #2e2e2e;
}

.cp-edit-drawer__title {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

.cp-edit-drawer__close {
  appearance: none;
  border: none;
  background: transparent;
  color: #a8a8a8;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.cp-edit-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
}

.cp-edit-drawer__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid #2e2e2e;
}

.cp-edit-drawer__link {
  color: #88f047;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}

.cp-edit-drawer__note {
  color: #a9a9a9;
  font-size: 0.85rem;
  margin: 0 0 14px;
}

.cp-edit-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.cp-edit-field label {
  color: #b8b8b8;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cp-edit-field__input {
  background: #111;
  border: 1px solid #3c3c3c;
  border-radius: 8px;
  color: #fff;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-family: inherit;
  width: 100%;
}

.cp-edit-field__input:focus {
  outline: none;
  border-color: #88f047;
}

/* ─── Layout variants ──────────────────────────────────── */

.cp-layout-landing .cp-public-panel {
  margin-bottom: 20px;
}

.cp-layout-tabs__bar {
  position: sticky;
  top: 76px;
  z-index: 5;
  background: rgba(15, 15, 15, 0.94);
  border: 1px solid #2c2c2c;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cp-layout-tabs__list {
  display: flex;
  gap: 0;
  min-width: max-content;
}

.cp-layout-tabs__tab {
  appearance: none;
  border: none;
  background: transparent;
  color: #a8a8a8;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.85rem 1.1rem;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.cp-layout-tabs__tab:hover {
  color: #fff;
}

.cp-layout-tabs__tab.is-active {
  color: var(--cp-accent, #88f047);
  border-bottom-color: var(--cp-accent, #88f047);
}

.cp-layout-cards {
  display: grid;
  gap: 12px;
}

.cp-layout-cards__item {
  background: var(--cp-surface, #1a1a1a);
  border: 1px solid color-mix(in srgb, var(--cp-surface, #1a1a1a) 75%, #ffffff 14%);
  border-radius: 14px;
  overflow: hidden;
}

.cp-layout-cards__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  appearance: none;
  border: none;
  background: var(--cp-surface-2, #222);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 16px;
  cursor: pointer;
  text-align: left;
}

.cp-layout-cards__item.is-open .cp-layout-cards__head {
  color: #88f047;
}

.cp-layout-cards__item.is-open .cp-layout-cards__head i {
  transform: rotate(180deg);
}

.cp-layout-cards__body {
  padding: 0;
}

.cp-layout-cards__body .cp-public-section,
.cp-layout-cards__body .cp-public-cta-section > .cp-public-cta {
  border: none;
  border-radius: 0;
  margin: 0;
}

.cp-layout-timeline {
  position: relative;
  padding-left: 12px;
}

.cp-layout-timeline::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #2e2e2e;
}

.cp-layout-timeline__item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 22px;
  position: relative;
}

.cp-layout-timeline__marker {
  width: 40px;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.cp-layout-timeline__marker span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 2px solid var(--cp-accent, #88f047);
  color: var(--cp-accent, #88f047);
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cp-layout-timeline__label {
  margin: 0 0 8px;
  color: var(--cp-accent, #88f047);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cp-layout-timeline__content .cp-public-section,
.cp-layout-timeline__content .cp-public-cta {
  margin: 0;
}

@media (max-width: 640px) {
  .cp-owner-bar {
    top: 68px;
    margin: -8px -12px 14px;
  }

  .cp-owner-bar__msg {
    margin-left: 0;
    width: 100%;
  }
}
