@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Reset & Variables ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.hidden { display: none !important; }

:root {
  --navy:        #0B1F3A;
  --navy-light:  #1A3558;
  --blue:        #1B65C2;
  --blue-light:  #2478D9;
  --star:        #F59E0B;
  --green:       #0F6E56;
  --ice:         #E8F4FD;
  --border:      rgba(11,31,58,0.09);
  --border-med:  rgba(11,31,58,0.15);
  --text:        #111827;
  --text-muted:  #6B7280;
  --text-light:  #9CA3AF;
  --bg:          #ffffff;
  --bg-alt:      #F9FAFB;
  --bg-hover:    #F3F4F6;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:   0 4px 20px rgba(11,31,58,0.08);
  --shadow-lg:   0 24px 64px rgba(11,31,58,0.13);
  --radius:      12px;
  --radius-sm:   8px;
  --radius-xs:   6px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 68px;
}
a { text-decoration: none; color: inherit; }

/* ── Nav ── */
.dyp-nav {
  background: rgba(11,31,58,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
  transition: box-shadow 0.2s;
}
.dyp-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.dyp-logo-img {
  height: 40px; width: auto;
  background: #fff; border-radius: 8px;
  padding: 4px 10px; display: block;
}
.dyp-logo-text { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: -0.2px; }
.dyp-logo-text span { color: #6BAFF0; }
.nav-links { display: flex; align-items: center; gap: 0.5rem; }
.nav-links a:not(.nav-btn) {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
  padding: 7px 14px;
  border-radius: 8px;
}
.nav-links a:not(.nav-btn):hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-link-active:not(.nav-btn) { color: #fff !important; font-weight: 600 !important; background: rgba(255,255,255,0.10) !important; }
.nav-btn {
  background: var(--blue); color: #fff; border: none;
  border-radius: var(--radius-sm); padding: 9px 22px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: inherit; letter-spacing: -0.01em;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  margin-left: 0.75rem;
}
.nav-btn:hover { background: var(--blue-light); box-shadow: 0 0 0 3px rgba(27,101,194,0.3); transform: translateY(-1px); }
.nav-btn:active { transform: translateY(0); }

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, #0B1F3A 0%, #132d52 100%);
  padding: 5rem 2rem 5.5rem;
  text-align: center;
}
.hero h1 {
  color: #fff;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}
.hero h1 span { color: #6BAFF0; }
.hero-tagline {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  color: #6BAFF0; text-transform: uppercase; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.hero-tagline::before, .hero-tagline::after {
  content: ''; display: inline-block; width: 36px; height: 1px; background: rgba(107,175,240,0.5);
}
.hero > p {
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  margin-bottom: 2.5rem;
  font-weight: 400;
}
.search-bar {
  background: #fff;
  border-radius: 12px;
  padding: 6px 6px 6px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 540px;
  margin: 0 auto 1.75rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.22);
}
.search-bar i { color: #9aacbe; font-size: 18px; flex-shrink: 0; }
.search-bar input {
  border: none; outline: none; flex: 1;
  font-size: 15px; color: var(--navy);
  font-family: inherit; font-weight: 500;
  background: transparent;
}
.search-bar input::placeholder { color: #aab4c4; font-weight: 400; }
.search-bar button {
  background: var(--blue); color: #fff; border: none;
  border-radius: 8px; padding: 11px 24px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  white-space: nowrap; font-family: inherit;
  transition: background 0.15s;
}
.search-bar button:hover { background: var(--blue-light); }
.hero-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.hero-tag {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.hero-tag:hover, .hero-tag.active {
  background: var(--blue); color: #fff; border-color: var(--blue);
}

/* ── Map section ── */
.map-section { position: relative; }
#map { width: 100%; height: 400px; }
.map-legend {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(255,255,255,0.97);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12px; color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}
.map-legend span { display: flex; align-items: center; gap: 7px; }

/* Fullscreen map button — mobile only */
.map-fullscreen-btn {
  display: none;
  position: absolute; top: 10px; left: 10px; z-index: 10;
  background: #fff; border: none; border-radius: 4px;
  width: 36px; height: 36px; cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  align-items: center; justify-content: center;
  font-size: 16px; color: #333;
}
@media (max-width: 768px) {
  .map-fullscreen-btn { display: flex; }
}
.map-section.map-fullscreen {
  position: fixed !important; inset: 0; z-index: 500; margin: 0;
}
.map-section.map-fullscreen #map { height: 100vh !important; }

/* ── Main layout ── */
.main-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 500px; }

/* ── Sidebar ── */
.sidebar {
  border-right: 1px solid var(--border);
  padding: 1.75rem 1.5rem;
  background: var(--bg);
}
.sidebar h3 {
  font-size: 11px; font-weight: 700; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 0.8px;
  margin: 1.5rem 0 12px;
}
.sidebar h3:first-child { margin-top: 0; }
.sidebar-filter-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.25rem;
}
.sidebar-clear-btn {
  background: none; border: none; font-size: 12px; color: var(--blue);
  cursor: pointer; font-weight: 600; padding: 0; font-family: inherit;
}
.sidebar-clear-btn:hover { text-decoration: underline; }
.filter-verified { font-weight: 600; margin-bottom: 14px; font-size: 14px; }
.filter-mobile-btn {
  display: none; align-items: center; gap: 6px;
  background: var(--bg); border: 1.5px solid var(--border-med);
  border-radius: var(--radius-sm); padding: 8px 16px;
  font-size: 13px; font-weight: 600; cursor: pointer; color: var(--navy);
  font-family: inherit;
}
.filter-mobile-btn:hover { border-color: var(--blue); color: var(--blue); }
.sidebar.sidebar-open {
  display: block !important; position: fixed; inset: 0;
  z-index: 1300; overflow-y: auto; padding-bottom: calc(5rem + env(safe-area-inset-bottom));
}
.sidebar-close-btn {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 18px; padding: 2px 4px;
  line-height: 1; border-radius: 6px;
}
.sidebar-close-btn:hover { background: var(--border); color: var(--navy); }
.sidebar-done-wrap {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  padding: 1rem 1.5rem calc(1rem + env(safe-area-inset-bottom)); background: var(--bg);
  border-top: 1px solid var(--border); z-index: 1301;
}
.sidebar-done-btn {
  width: 100%; background: var(--navy); color: #fff; border: none;
  border-radius: 10px; padding: 14px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit;
}
.sidebar-done-btn:hover { background: #1a3a6b; }
.sidebar.sidebar-open .sidebar-close-btn { display: inline-flex; align-items: center; }
.sidebar.sidebar-open .sidebar-done-wrap { display: block; }
.filter-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; color: var(--text);
  margin-bottom: 10px; cursor: pointer; font-weight: 500;
}
.filter-item input[type=checkbox] { accent-color: var(--navy); width: 15px; height: 15px; flex-shrink: 0; }
.count {
  margin-left: auto; font-size: 11px; color: var(--text-light);
  background: var(--bg-alt); border-radius: 999px;
  padding: 2px 8px; border: 1px solid var(--border);
}
.pill-row { display: flex; gap: 6px; flex-wrap: wrap; }
.pill {
  border: 1.5px solid var(--border-med); border-radius: 999px;
  padding: 6px 14px; font-size: 13px; font-weight: 500;
  color: var(--text); cursor: pointer; background: var(--bg);
  transition: all 0.12s;
}
.pill:hover { border-color: var(--blue); color: var(--blue); }
.pill.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ── Content area ── */
.content-area { padding: 1.75rem; }
.result-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.5rem;
}
.result-header p { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.sort-select {
  font-size: 13px; border: 1.5px solid var(--border-med);
  border-radius: var(--radius-sm); padding: 8px 14px;
  background: var(--bg); color: var(--text); cursor: pointer;
  font-family: inherit; font-weight: 500; outline: none;
}
.sort-select:focus { border-color: var(--blue); }
.trainer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 16px; }

/* ── Trainer card ── */
.trainer-card {
  border: 1px solid var(--border-med); border-radius: var(--radius);
  padding: 1.4rem; background: var(--bg); cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  display: flex; flex-direction: column;
}
.trainer-card:hover {
  border-color: rgba(11,31,58,0.22);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.tc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tc-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; flex-shrink: 0;
}
.tc-name { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.25; }
.tc-role { font-size: 12px; color: var(--text-muted); margin-top: 2px; font-weight: 400; }
.badge {
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 4px; font-weight: 600;
}
.badge-spec { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.badge-verified { background: #ECFDF5; color: var(--green); border: 1px solid #A7F3D0; }
.tc-badges { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 10px; }
.tc-stars { display: flex; align-items: center; gap: 2px; margin-bottom: 10px; }
.tc-stars i { font-size: 12px; }
.tc-rating-num { font-size: 13px; font-weight: 700; color: var(--text); margin-left: 6px; }
.tc-review-count { font-size: 12px; color: var(--text-muted); margin-left: 2px; }
.tc-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; border-top: 1px solid var(--border);
  padding-top: 12px; margin-top: auto;
}
.tc-location { color: var(--text-muted); display: flex; align-items: center; gap: 3px; }
.tc-price { font-weight: 700; color: var(--navy); font-size: 14px; }
.book-btn {
  width: 100%; background: var(--navy); color: #fff; border: none;
  border-radius: var(--radius-sm); padding: 11px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  margin-top: 12px; font-family: inherit;
  transition: background 0.15s;
}
.book-btn:hover { background: var(--blue); }

/* ── Trainer feature strip ── */
.trainer-feature-strip { background: var(--navy); padding: 5rem 2rem; }
.tfs-inner { max-width: 980px; margin: 0 auto; text-align: center; }
.tfs-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  color: #6BAFF0; text-transform: uppercase; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.tfs-eyebrow::before, .tfs-eyebrow::after {
  content: ''; display: inline-block; width: 28px; height: 1px; background: rgba(107,175,240,0.4);
}
.tfs-heading {
  font-size: 30px; font-weight: 800; color: #fff;
  letter-spacing: -0.03em; margin-bottom: 3rem;
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.tfs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; text-align: left; }
.tfs-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 1.75rem;
  transition: background 0.15s, border-color 0.15s;
}
.tfs-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(107,175,240,0.3); }
.tfs-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(27,101,194,0.35); display: flex; align-items: center;
  justify-content: center; margin-bottom: 1rem;
}
.tfs-icon i { font-size: 24px; color: #6BAFF0; }
.tfs-card h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.tfs-card p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.75; }
.tfs-cta {
  display: inline-block; background: var(--blue); color: #fff;
  border-radius: var(--radius-sm); padding: 13px 32px;
  font-size: 14px; font-weight: 700; letter-spacing: -0.01em;
  transition: background 0.15s;
}
.tfs-cta:hover { background: var(--blue-light); }
@media (max-width: 700px) {
  .tfs-grid { grid-template-columns: 1fr; }
  .tfs-heading { font-size: 24px; margin-bottom: 2rem; }
  .trainer-feature-strip { padding: 3.5rem 1.25rem; }
}

/* ── Stats strip ── */
.stats-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border); background: var(--bg-alt);
}
.stat {
  padding: 2rem 1.5rem; text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-num { font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

/* ── Modal ── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.4); z-index: 100;
  align-items: center; justify-content: center;
  backdrop-filter: blur(2px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg); border-radius: var(--radius);
  width: 400px; max-width: 94vw; padding: 2rem;
  border: 1px solid var(--border-med);
  box-shadow: var(--shadow-lg);
}
.modal h2 { font-size: 18px; font-weight: 700; margin-bottom: 1.25rem; letter-spacing: -0.02em; }
.modal input, .modal select, .modal textarea {
  width: 100%; border: 1.5px solid var(--border-med);
  border-radius: var(--radius-sm);
  padding: 11px 14px; font-size: 14px; margin-bottom: 10px;
  background: var(--bg); color: var(--text); outline: none;
  font-family: inherit; font-weight: 400;
  transition: border-color 0.15s;
}
.modal input:focus, .modal select:focus, .modal textarea:focus {
  border-color: var(--blue);
}
.modal textarea { height: 88px; resize: none; }
.modal-btns { display: flex; gap: 10px; margin-top: 8px; }
.modal-btns button {
  flex: 1; padding: 11px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; cursor: pointer;
  border: 1.5px solid var(--border-med); font-family: inherit;
  transition: all 0.12s;
}
.modal-cancel { background: transparent; color: var(--text); }
.modal-cancel:hover { background: var(--bg-alt); }
.modal-submit { background: var(--navy); color: #fff; border-color: var(--navy); }
.modal-submit:hover { background: var(--blue); border-color: var(--blue); }
.modal-submit:disabled { opacity: 0.55; cursor: not-allowed; }
.modal-error { color: #DC2626; font-size: 13px; text-align: center; margin-top: 8px; }
.modal-error.hidden { display: none; }

/* ── Profile page ── */
.profile-wrap { max-width: 920px; margin: 0 auto; padding: 2rem 1.75rem; }
.profile-hero {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 1.5rem; align-items: start;
  border: 1px solid var(--border-med); border-radius: var(--radius);
  padding: 2rem; margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.avatar-lg {
  width: 80px; height: 80px; border-radius: 50%;
  background: #E6F1FB; color: #185FA5;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700; flex-shrink: 0;
}
.ph-name {
  font-size: 24px; font-weight: 800; color: var(--text);
  margin-bottom: 5px; letter-spacing: -0.03em;
}
.ph-role { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; font-weight: 500; }
.ph-badges { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; }
.ph-meta {
  display: flex; gap: 1.5rem; font-size: 13px;
  color: var(--text-muted); flex-wrap: wrap; font-weight: 500;
}
.ph-meta span { display: flex; align-items: center; gap: 5px; }
.gold { color: var(--star); }
.green { color: var(--green); }
.purple { color: #534AB7; }
.book-panel {
  background: linear-gradient(160deg, #0B1F3A 0%, #1A3558 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.5rem; min-width: 200px; text-align: center;
}
.bp-price { color: #fff; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.bp-label { color: rgba(255,255,255,0.5); font-size: 12px; margin-bottom: 16px; margin-top: 2px; }
.bp-btn {
  background: var(--blue); color: #fff; border: none;
  border-radius: var(--radius-sm); padding: 12px 0; width: 100%;
  font-size: 14px; font-weight: 700; cursor: pointer; margin-bottom: 10px;
  font-family: inherit; transition: background 0.15s;
}
.bp-btn:hover { background: var(--blue-light); }
.bp-btn2 {
  background: transparent; color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm); padding: 10px 0; width: 100%;
  font-size: 13px; cursor: pointer; font-family: inherit;
  transition: background 0.15s;
}
.bp-btn2:hover { background: rgba(255,255,255,0.08); }
.bp-avail {
  color: rgba(255,255,255,0.45); font-size: 12px;
  margin-top: 12px; display: flex; align-items: center;
  justify-content: center; gap: 5px; font-weight: 500;
}
.profile-grid { display: grid; grid-template-columns: 1fr 270px; gap: 1.5rem; }
.section-card {
  border: 1px solid var(--border-med); border-radius: var(--radius);
  padding: 1.5rem; margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.section-card h3 {
  font-size: 15px; font-weight: 700; color: var(--text);
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
  letter-spacing: -0.01em;
}
.bio-text { font-size: 14px; color: var(--text-muted); line-height: 1.8; }
.cert-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text); padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.cert-item:last-child { border-bottom: none; }
.cert-item i { font-size: 16px; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.video-thumb {
  background: var(--bg-alt); border-radius: var(--radius-sm);
  height: 110px; display: flex; align-items: center;
  justify-content: center; border: 1px solid var(--border-med);
  cursor: pointer; font-size: 28px; color: var(--text-muted);
  transition: border-color 0.12s;
}
.video-thumb:hover { border-color: rgba(11,31,58,0.3); }
.video-caption { font-size: 12px; color: var(--text-muted); margin-top: 8px; }
.stars-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.stars-big { color: var(--star); font-size: 22px; }
.stars-num { font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.stars-count { font-size: 13px; color: var(--text-muted); }
.review-item { padding: 14px 0; border-bottom: 1px solid var(--border); }
.review-item:last-child { border-bottom: none; }
.review-header { display: flex; justify-content: space-between; margin-bottom: 5px; }
.reviewer { font-size: 14px; font-weight: 600; color: var(--text); }
.review-date { font-size: 12px; color: var(--text-muted); }
.review-stars { color: var(--star); font-size: 13px; margin-bottom: 5px; }
.review-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.avail-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.avail-day { font-size: 10px; color: var(--text-muted); font-weight: 700; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.5px; }
.avail-slot { font-size: 11px; padding: 5px 2px; border-radius: 6px; border: 1px solid var(--border); }
.avail-slot.open { background: #ECFDF5; color: var(--green); border-color: #A7F3D0; }
.avail-slot.busy { background: var(--bg-alt); color: var(--text-light); }
.profile-sidebar {}
.sidebar-card {
  border: 1px solid var(--border-med); border-radius: var(--radius);
  padding: 1.25rem; margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-card h4 {
  font-size: 11px; font-weight: 700; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 0.7px; margin-bottom: 14px;
}
.stat-mini {
  display: flex; justify-content: space-between;
  font-size: 13px; padding: 8px 0;
  border-bottom: 1px solid var(--border); color: var(--text-muted);
}
.stat-mini:last-child { border-bottom: none; }
.stat-mini strong { color: var(--text); font-weight: 600; }
.similar-trainer {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.similar-trainer:last-child { border-bottom: none; }
.sim-av {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.sim-name { font-size: 13px; font-weight: 600; color: var(--text); }
.sim-role { font-size: 11px; color: var(--text-muted); }
.sim-price { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--navy); }
.share-btn {
  flex: 1; padding: 9px; font-size: 12px;
  border: 1.5px solid var(--border-med); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--text); cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-family: inherit; font-weight: 500; transition: background 0.12s;
}
.share-btn:hover { background: var(--bg-alt); }

/* ── How it works ── */
.hiw-hero {
  background: linear-gradient(160deg, #0B1F3A 0%, #132d52 100%);
  padding: 5rem 2rem; text-align: center;
}
.hiw-hero h1 { color: #fff; font-size: 32px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.03em; }
.hiw-hero h1 span { color: #6BAFF0; }
.hiw-hero p { color: rgba(255,255,255,0.6); font-size: 16px; max-width: 520px; margin: 0 auto 1.75rem; font-weight: 400; }
.audience-tabs { display: flex; gap: 10px; justify-content: center; }
.aud-tab {
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.18); border-radius: 999px;
  padding: 9px 26px; font-size: 14px; cursor: pointer; font-family: inherit;
  font-weight: 500; transition: all 0.15s;
}
.aud-tab.active { background: var(--blue); color: #fff; border-color: var(--blue); font-weight: 600; }
.steps-section { padding: 4rem 2rem; max-width: 860px; margin: 0 auto; }
.steps-label {
  font-size: 11px; font-weight: 700; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 0.8px;
  text-align: center; margin-bottom: 2.5rem;
}
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.25rem; }
.step-card {
  border: 1px solid var(--border-med); border-radius: var(--radius);
  padding: 1.75rem; text-align: center;
  transition: box-shadow 0.15s, transform 0.15s;
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.step-card i { font-size: 30px; color: var(--navy); display: block; margin-bottom: 14px; }
.step-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.why-section {
  background: var(--bg-alt); padding: 4rem 2rem;
  border-top: 1px solid var(--border);
}
.why-section h2 { font-size: 24px; font-weight: 800; text-align: center; margin-bottom: 2rem; letter-spacing: -0.03em; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; max-width: 860px; margin: 0 auto; }
.why-card {
  background: var(--bg); border: 1px solid var(--border-med);
  border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.why-card i { font-size: 24px; color: var(--navy); display: block; margin-bottom: 12px; }
.why-card h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.why-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.pricing-section { padding: 4rem 2rem; max-width: 1080px; margin: 0 auto; }
.pricing-section h2 { font-size: 28px; font-weight: 800; text-align: center; margin-bottom: 8px; letter-spacing: -0.03em; }
.pricing-note { text-align: center; font-size: 15px; color: var(--text-muted); margin-bottom: 2.5rem; }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tier-card {
  border: 1px solid var(--border-med); border-radius: var(--radius);
  padding: 2.25rem 1.75rem; display: flex; flex-direction: column;
  background: #fff; position: relative; transition: box-shadow 0.15s;
}
.tier-card:hover { box-shadow: var(--shadow-md); }
.tier-card-featured { border: 2px solid var(--navy); box-shadow: 0 8px 40px rgba(11,31,58,0.10); }
.tier-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--navy); color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 16px; border-radius: 999px; white-space: nowrap; letter-spacing: 0.3px;
}
.tier-name { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.tier-price { font-size: 30px; font-weight: 800; color: var(--text); margin-bottom: 8px; letter-spacing: -0.03em; }
.tier-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.6; }
.tier-features { flex: 1; margin-bottom: 1.75rem; }
.tier-features .pc-feature { font-size: 13px; padding: 6px 0; color: var(--text); }
.tier-btn {
  width: 100%; padding: 12px 0; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; cursor: pointer; border: none;
  font-family: inherit; transition: all 0.12s;
}
.tier-btn-main { background: var(--navy); color: #fff; }
.tier-btn-main:hover { background: var(--blue); }
.tier-btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.tier-btn-outline:hover { background: #f0f4ff; }
.tier-btn[disabled] { opacity: 0.45; cursor: default; }
@media (max-width: 700px) { .tier-grid { grid-template-columns: 1fr; } }
.pricing-card { border: 1px solid var(--border-med); border-radius: var(--radius); padding: 1.75rem; }
.pricing-card.featured { border-width: 2px; border-color: #185FA5; }
.featured-badge { background: #EFF6FF; color: #1D4ED8; font-size: 11px; padding: 4px 12px; border-radius: 999px; display: inline-block; margin-bottom: 12px; font-weight: 700; }
.pc-label { font-size: 11px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 8px; }
.pc-price { font-size: 28px; font-weight: 800; color: var(--text); margin-bottom: 4px; letter-spacing: -0.03em; }
.pc-mo { font-size: 15px; font-weight: 400; }
.pc-sub { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
.pc-feature { font-size: 13px; color: var(--text-muted); padding: 5px 0; display: flex; align-items: center; gap: 8px; }
.pc-feature i { color: var(--green); font-size: 14px; }
.cta-section { background: linear-gradient(160deg, #0B1F3A 0%, #132d52 100%); padding: 5rem 2rem; text-align: center; }
.cta-section h2 { color: #fff; font-size: 28px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.03em; }
.cta-section p { color: rgba(255,255,255,0.55); font-size: 15px; margin-bottom: 2rem; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-btn-gold {
  background: var(--blue); color: #fff; border: none;
  border-radius: var(--radius-sm); padding: 13px 32px;
  font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit;
}
.cta-btn-outline {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm); padding: 13px 32px;
  font-size: 14px; cursor: pointer; font-family: inherit; font-weight: 500;
}

/* ── Stripe payment ── */
.payment-summary {
  background: var(--bg-alt); border: 1px solid var(--border-med);
  border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 14px;
  font-size: 13px;
}
.payment-summary-row { display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); }
.payment-summary-row + .payment-summary-row {
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border);
  color: var(--text); font-size: 14px; font-weight: 600;
}
.card-element-wrap {
  border: 1.5px solid var(--border-med); border-radius: var(--radius-sm);
  padding: 13px 14px; background: #fff; margin-bottom: 14px;
}

/* ── Saved card ── */
.saved-card-display {
  display: flex; align-items: center; gap: 10px;
  background: #EFF6FF; border: 1px solid #BFDBFE;
  border-radius: var(--radius-sm); padding: 12px 14px;
  font-size: 14px; color: var(--navy); font-weight: 600; margin-bottom: 14px;
}
.saved-card-display i { font-size: 20px; color: var(--blue); flex-shrink: 0; }
.saved-card-display span { flex: 1; }
.use-diff-btn { background: none; border: none; color: var(--blue); font-size: 12px; font-weight: 600; cursor: pointer; text-decoration: underline; font-family: inherit; }

/* ── Chat / DM ── */
.chat-window {
  height: 300px; overflow-y: auto;
  border: 1px solid var(--border-med); border-radius: var(--radius);
  padding: 16px; margin-bottom: 14px; background: var(--bg-alt);
}
.chat-thread { display: flex; flex-direction: column; gap: 10px; }
.chat-empty, .chat-loading { font-size: 13px; color: var(--text-muted); text-align: center; padding: 2rem 0; }
.chat-bubble { max-width: 78%; display: flex; flex-direction: column; }
.chat-bubble.me { align-self: flex-end; align-items: flex-end; }
.chat-bubble.them { align-self: flex-start; align-items: flex-start; }
.bubble-body { padding: 10px 15px; border-radius: 18px; font-size: 14px; line-height: 1.55; word-break: break-word; }
.chat-bubble.me .bubble-body { background: #1B65C2; color: #fff; border-radius: 18px 18px 4px 18px; }
.chat-bubble.them .bubble-body { background: #fff; border: 1px solid var(--border-med); color: var(--text); border-radius: 18px 18px 18px 4px; }
.bubble-time { font-size: 11px; color: var(--text-light); margin-top: 4px; padding: 0 4px; }
.chat-compose { display: flex; gap: 8px; align-items: flex-end; }
.chat-compose textarea {
  flex: 1; border: 1.5px solid var(--border-med); border-radius: 10px;
  padding: 10px 14px; font-size: 14px; font-family: inherit;
  resize: none; outline: none; max-height: 120px; transition: border-color 0.15s;
}
.chat-compose textarea:focus { border-color: var(--blue); }
.chat-send-btn {
  background: var(--blue); color: #fff; border: none; border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background 0.15s;
}
.chat-send-btn:hover { background: var(--navy); }

/* ── Training highlights ── */
.profile-media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.profile-media-item { border-radius: var(--radius-sm); overflow: hidden; }
.profile-media-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
video.profile-media-thumb { background: #000; }

/* ── Availability date chips ── */
.avail-date-list { display: flex; flex-direction: column; gap: 8px; }
.avail-date-chip {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; background: var(--bg-alt);
  border: 1px solid var(--border-med); border-radius: var(--radius-sm);
  transition: border-color 0.12s;
}
.avail-date-chip:hover { border-color: var(--blue); }
.avail-chip-day { font-size: 14px; font-weight: 700; color: var(--navy); }
.avail-chip-time { font-size: 13px; font-weight: 600; color: var(--blue); }
.avail-chip-rink { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 3px; margin-left: auto; }

/* ── Booking slot picker ── */
.slot-list { display: flex; flex-direction: column; gap: 8px; max-height: 290px; overflow-y: auto; margin-bottom: 16px; }
.slot-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border: 1.5px solid var(--border-med);
  border-radius: var(--radius-sm); cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.slot-card:hover { border-color: var(--blue); background: #EFF6FF; }
.slot-day { font-size: 14px; font-weight: 600; color: var(--text); }
.slot-time { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.slot-rink { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.slot-spots { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #E1F5EE; color: #0F6E56; white-space: nowrap; }
.slot-spots.slot-low { background: #FEF3C7; color: #92400E; }
.slot-spots.slot-full { background: #FEE2E2; color: #991B1B; }
.slot-card-full:hover { border-color: var(--border-med) !important; background: transparent !important; }
.slot-notice {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-muted);
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 14px; margin-top: 6px;
}
.back-slot-btn {
  background: none; border: 1.5px solid var(--border-med);
  border-radius: var(--radius-sm); width: 34px; height: 34px;
  cursor: pointer; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 16px; transition: all 0.12s;
}
.back-slot-btn:hover { background: var(--bg-alt); color: var(--text); }

/* ── DM Overlay ── */
.dm-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.4); align-items: center; justify-content: center;
  backdrop-filter: blur(2px);
}
.dm-overlay.open { display: flex; }
.dm-inner {
  display: flex; flex-direction: column;
  width: 500px; max-width: 96vw; height: 82vh;
  background: var(--bg); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-med);
}
.dm-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--border);
  background: var(--bg); flex-shrink: 0;
}
.dm-header-left { display: flex; align-items: center; gap: 12px; }
.dm-header-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: #E6F1FB; color: #185FA5;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0; overflow: hidden;
}
.dm-header-name { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.3; }
.dm-header-sub { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.dm-close {
  background: none; border: none; cursor: pointer; color: var(--text-muted);
  font-size: 20px; padding: 6px; display: flex; align-items: center;
  border-radius: var(--radius-xs); transition: background 0.12s;
}
.dm-close:hover { background: var(--bg-alt); color: var(--text); }
.dm-messages { flex: 1; overflow-y: auto; padding: 18px; background: var(--bg-alt); }
.dm-compose {
  display: flex; gap: 10px; align-items: flex-end;
  padding: 14px 16px; border-top: 1px solid var(--border);
  background: var(--bg); flex-shrink: 0;
}
.dm-compose textarea {
  flex: 1; border: 1.5px solid var(--border-med); border-radius: 22px;
  padding: 10px 18px; font-size: 14px; font-family: inherit;
  resize: none; outline: none; max-height: 120px; line-height: 1.55;
  transition: border-color 0.15s;
}
.dm-compose textarea:focus { border-color: var(--blue); }
.dm-send-btn {
  background: var(--blue); color: #fff; border: none; border-radius: 50%;
  width: 44px; height: 44px; cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background 0.15s;
}
.dm-send-btn:hover { background: var(--navy); }

/* ── Reviews ── */
.reviews-aggregate {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 18px; margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.reviews-avg-num { font-size: 42px; font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -0.04em; }
.reviews-avg-stars { display: flex; gap: 2px; margin-bottom: 4px; }
.reviews-count { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.review-card { padding: 16px 0; border-bottom: 1px solid var(--border); }
.review-card:last-of-type { border-bottom: none; }
.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: #E6F1FB; color: #185FA5;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.review-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.review-meta { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.review-body { font-size: 14px; color: var(--text); line-height: 1.65; padding-left: 48px; margin-top: 4px; }
.reviews-empty { text-align: center; padding: 2rem 0; color: var(--text-muted); font-size: 14px; }
.reviews-empty i { font-size: 36px; display: block; margin-bottom: 10px; color: #9aacbe; }
.review-thanks { font-size: 13px; color: var(--green); padding-top: 14px; font-weight: 600; }
.review-signin-prompt { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--text-muted); }
.review-signin-prompt i { font-size: 18px; color: var(--star); }
.review-signin-btn { margin-left: auto; background: var(--navy); color: #fff; border: none; border-radius: 8px; padding: 9px 18px; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; }
.review-form-wrap { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.review-form-wrap h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 14px; letter-spacing: -0.01em; }
.star-picker { display: flex; gap: 4px; margin-bottom: 14px; }
.star-pick {
  background: none; border: none; cursor: pointer; padding: 4px;
  color: #D1D5DB; transition: color 0.12s, transform 0.12s; line-height: 1;
}
.star-pick:hover, .star-pick.active { color: var(--star); transform: scale(1.2); }
.star-pick i { font-size: 32px; }
#review-body {
  width: 100%; border: 1.5px solid var(--border-med); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 14px; font-family: inherit;
  resize: vertical; min-height: 88px; transition: border-color 0.15s;
}
#review-body:focus { border-color: var(--blue); outline: none; }
.review-submit-btn {
  background: var(--navy); color: #fff; border: none;
  border-radius: var(--radius-sm); padding: 11px 26px;
  font-size: 14px; font-weight: 600; cursor: pointer; margin-top: 12px;
  font-family: inherit; transition: background 0.15s;
}
.review-submit-btn:hover { background: var(--blue); }
.review-submit-btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ── Verification section ── */
.verify-section {
  background: var(--bg); padding: 5rem 2rem;
  border-top: 1px solid var(--border);
}
.verify-inner { max-width: 920px; margin: 0 auto; }

.verify-header {
  text-align: center; margin-bottom: 3.5rem;
}
.verify-header h2 {
  font-size: 28px; font-weight: 800; color: var(--navy);
  margin-bottom: 12px; letter-spacing: -0.03em;
}
.verify-header p {
  font-size: 15px; color: var(--text-muted); max-width: 540px;
  margin: 0 auto; line-height: 1.75;
}

.verify-paths {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 3rem;
}
.verify-path {
  border: 1px solid var(--border-med); border-radius: var(--radius);
  padding: 2rem; background: var(--bg); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1.5rem;
}
.verify-path-elite {
  background: linear-gradient(160deg, #0B1F3A 0%, #1A3558 100%);
  border-color: transparent;
}
.verify-path-header { display: flex; flex-direction: column; gap: 6px; }
.verify-path-header h3 {
  font-size: 18px; font-weight: 800; color: var(--text); letter-spacing: -0.02em;
}
.verify-path-elite .verify-path-header h3 { color: #fff; }
.verify-path-sub { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.verify-path-elite .verify-path-sub { color: rgba(255,255,255,0.5); }

.verify-path-plan {
  display: inline-flex; align-items: center; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  padding: 4px 12px; border-radius: 999px; width: fit-content;
}
.verify-path-plan.pro   { background: #EFF6FF; color: #1D4ED8; }
.verify-path-plan.elite { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); }

.verify-steps-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 16px;
}
.verify-steps-list li {
  display: flex; align-items: flex-start; gap: 14px;
}
.vsl-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy); color: #fff;
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.verify-steps-list li strong { display: block; font-size: 14px; color: var(--text); margin-bottom: 2px; }
.verify-steps-list li span { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

.verify-auto-badge {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 1.75rem 1.5rem; text-align: center;
}
.verify-elite-perks {
  display: flex; flex-direction: column; gap: 10px;
}
.vep-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.85);
}
.vep-item i { font-size: 16px; flex-shrink: 0; }

.verify-checks {
  background: var(--bg-alt); border: 1px solid var(--border-med);
  border-radius: var(--radius); padding: 2rem;
}
.verify-checks-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.7px; color: var(--text-light); margin-bottom: 1.25rem;
}
.verify-checks-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.verify-check-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 1rem; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.verify-check-item i {
  font-size: 22px; color: var(--navy); flex-shrink: 0; margin-top: 2px;
}
.verify-check-item strong { display: block; font-size: 14px; color: var(--text); margin-bottom: 3px; }
.verify-check-item span  { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

@media (max-width: 700px) {
  .verify-paths { grid-template-columns: 1fr; }
  .verify-checks-grid { grid-template-columns: 1fr; }
}

/* ── Responsive ── */
@media (max-width: 700px) {
  .main-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .filter-mobile-btn { display: inline-flex; }
  .profile-hero { grid-template-columns: 1fr; }
  .book-panel { min-width: unset; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-sidebar { display: none; }
  .profile-media-grid { grid-template-columns: repeat(2, 1fr); }
  .dm-inner { width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; }
  .hero h1 { font-size: 30px; }

  /* Nav — hide text links on mobile, keep Sign Up button */
  .dyp-nav { padding: 0 1.25rem; }
  .nav-links a:not(.nav-btn) { display: none; }

  /* Hero padding */
  .hero { padding: 3rem 1.25rem 3.5rem; }

  /* Map height */
  #map { height: 250px; }

  /* Stats strip — stack vertically */
  .stats-strip { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }

  /* Profile page padding */
  .profile-wrap { padding: 1.25rem 1rem; }
}

/* ── Profile page mobile action bar ── */
.profile-action-bar { display: none; }
@media (max-width: 700px) {
  .profile-action-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--border-med);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    z-index: 200; align-items: center; gap: 10px;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  }
  .pab-back {
    display: flex; align-items: center; gap: 4px;
    color: var(--text-muted); font-size: 13px; font-weight: 600;
    text-decoration: none; white-space: nowrap; padding: 8px 4px;
  }
  .pab-book {
    flex: 1; background: var(--blue); color: #fff; border: none;
    border-radius: 10px; padding: 13px 16px; font-size: 15px;
    font-weight: 700; cursor: pointer; font-family: inherit;
    letter-spacing: -0.01em; display: flex; align-items: center;
    justify-content: center; gap: 6px;
  }
  .pab-msg {
    background: none; border: 1.5px solid var(--border-med);
    border-radius: 10px; padding: 11px 13px; font-size: 20px;
    cursor: pointer; color: var(--navy);
    display: flex; align-items: center; justify-content: center;
  }
  /* Push profile content above action bar */
  .profile-wrap { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  /* Hide the book panel on mobile — action bar replaces it */
  .book-panel { display: none; }
  .profile-hero { grid-template-columns: auto 1fr; }
}

/* Search bar — full-width button on very small screens */
@media (max-width: 480px) {
  .search-bar { flex-wrap: wrap; padding: 12px 14px; }
  .search-bar button { width: 100%; }
}

/* ── Founding Trainer Offer (shared: dashboard + signup) ── */
.founding-offer-card {
  background: linear-gradient(135deg, #0B1F3A 0%, #0F3460 100%);
  border-radius: 12px; padding: 2rem 2rem 1.5rem;
  margin-bottom: 1.5rem; color: #fff;
}
.founding-offer-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 1.25rem; }
.founding-offer-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #F59E0B; color: #000; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .5px; padding: 5px 14px; border-radius: 999px;
}
.founding-spots-left { font-size: 13px; color: rgba(255,255,255,0.6); }
.founding-spots-num { font-size: 16px; font-weight: 800; color: #F59E0B; }
.founding-offer-title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; color: #fff; }
.founding-offer-desc { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.7; margin-bottom: 1.75rem; max-width: 560px; }
.founding-offer-fine { font-size: 11px; color: rgba(255,255,255,0.4); text-align: center; margin-top: 1.25rem; }

.founding-offer-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .founding-offer-plans { grid-template-columns: 1fr; } }

.founding-plan-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 1.4rem; display: flex; flex-direction: column; gap: 12px;
}
.founding-plan-card-elite { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.3); }
.founding-plan-name { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .7px; color: rgba(255,255,255,0.75); }
.founding-plan-pricing { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.founding-plan-was { font-size: 14px; color: rgba(255,255,255,0.5); text-decoration: line-through; }
.founding-plan-now { font-size: 32px; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.founding-plan-period { font-size: 12px; color: rgba(255,255,255,0.7); }
.founding-plan-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.founding-plan-features li { font-size: 13px; color: rgba(255,255,255,0.9); display: flex; align-items: center; gap: 7px; }
.founding-plan-features .ti-check { color: #4ade80; font-size: 13px; flex-shrink: 0; }
.founding-claim-btn {
  width: 100%; padding: 12px; border-radius: 10px;
  font-size: 13px; font-weight: 700; font-family: inherit;
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px;
  transition: all 0.15s; margin-top: 4px;
}
.founding-claim-pro   { background: #fff; color: #0B1F3A; }
.founding-claim-pro:hover   { background: #f0f4ff; }
.founding-claim-elite { background: #F59E0B; color: #000; }
.founding-claim-elite:hover { background: #FBBF24; }
.founding-badge-banner {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  border-radius: 12px; padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; color: #000;
}
.founding-star { width: 44px; height: 44px; border-radius: 12px; background: rgba(0,0,0,0.12); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.founding-badge-title { font-size: 16px; font-weight: 800; margin-bottom: 3px; }
.founding-badge-sub   { font-size: 13px; opacity: 0.75; line-height: 1.5; }

/* ── Booking intent chat card ── */
.booking-intent-card {
  background: #fff;
  border: 2px solid #0B1F3A;
  border-radius: 14px;
  padding: 14px 16px;
  min-width: 220px;
  max-width: 270px;
  box-shadow: 0 2px 12px rgba(11,31,58,0.10);
}
.bic-header {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.6px; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px; margin-bottom: 8px;
}
.bic-slot {
  font-size: 15px; font-weight: 700; color: #0B1F3A; margin-bottom: 3px; line-height: 1.3;
}
.bic-price {
  font-size: 13px; color: var(--text-muted); margin-bottom: 12px;
}
.bic-pay-btn {
  width: 100%; background: #0B1F3A; color: #fff; border: none;
  border-radius: 9px; padding: 11px 14px; font-size: 14px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  gap: 7px; transition: background 0.15s; font-family: inherit;
}
.bic-pay-btn:hover { background: #1a3a6b; }
.bic-trainer-note {
  font-size: 12px; color: var(--text-muted);
  display: flex; align-items: center; gap: 5px; padding-top: 4px;
}

/* ── Featured trainers carousel ── */
.featured-section {
  background: #0a1a2e;
  padding: 2.5rem 0 2.25rem;
}
.featured-heading {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 1.5rem;
  letter-spacing: -0.3px;
}
.featured-track-wrap {
  position: relative;
  padding: 0 3rem;
  max-width: 1200px;
  margin: 0 auto;
}
.featured-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.featured-track::-webkit-scrollbar { display: none; }
.feat-card {
  flex: 0 0 272px;
  background: #152840;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 1px solid rgba(255,255,255,0.07);
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.feat-card-img-wrap {
  position: relative;
  width: 100%;
  height: 162px;
  overflow: hidden;
}
.feat-card-photo {
  width: 100%;
  height: 162px;
  object-fit: cover;
  display: block;
}
.feat-card-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 800;
  color: rgba(255,255,255,0.35);
  letter-spacing: -1px;
}
.feat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #F59E0B;
  color: #0B1F3A;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3px 9px;
  border-radius: 999px;
}
.feat-card-body {
  padding: 14px 16px 16px;
}
.feat-card-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feat-card-stars {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}
.feat-card-loc {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feat-card-price {
  font-size: 17px;
  font-weight: 800;
  color: #F59E0B;
}
.feat-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.15s;
  font-size: 16px;
  padding: 0;
}
.feat-arrow:hover { background: rgba(255,255,255,0.22); }
.feat-arrow-left  { left: 0; }
.feat-arrow-right { right: 0; }

/* ── Trainer grid auth gate ── */
#trainer-gate {
  position: absolute;
  top: 80px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  z-index: 10;
  pointer-events: all;
}
.trainer-gate-inner {
  background: #fff;
  border: 1.5px solid var(--border-med);
  border-radius: 18px;
  padding: 2.25rem 2.5rem;
  text-align: center;
  box-shadow: 0 8px 40px rgba(11,31,58,0.13);
  max-width: 380px;
  width: calc(100% - 2rem);
}
.trainer-gate-btn {
  background: #0B1F3A;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 32px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  transition: background 0.15s;
}
.trainer-gate-btn:hover { background: #1B65C2; }

/* ── Nav hamburger + mobile menu ── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 6px 8px;
  line-height: 1;
  border-radius: 8px;
  transition: background 0.15s;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.1); }
.nav-link-active { color: #fff !important; font-weight: 700 !important; }

/* Mobile nav backdrop */
.nav-mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 190;
  animation: fadeInBackdrop 0.22s ease;
}
.nav-mobile-backdrop.open { display: block; }
@keyframes fadeInBackdrop { from { opacity: 0; } to { opacity: 1; } }

/* Mobile nav drawer — slides in from right */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: min(80vw, 320px);
  height: 100%;
  background: #0e2647;
  z-index: 200;
  flex-direction: column;
  align-items: stretch;
  padding-top: 72px;
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(0,0,0,0.45);
}
.nav-mobile-menu.open {
  display: flex;
  animation: slideInRight 0.25s cubic-bezier(.4,0,.2,1);
}
@keyframes slideInRight {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}
.nav-mobile-menu a {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-mobile-menu a i { font-size: 20px; opacity: 0.75; flex-shrink: 0; }
.nav-mobile-menu a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-mobile-menu a:active { background: rgba(255,255,255,0.14); }
.nav-mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 1.25rem;
  background: rgba(255,255,255,0.08);
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  border-radius: 8px;
  transition: background 0.15s;
  display: flex; align-items: center;
}
.nav-mobile-menu-close:hover { background: rgba(255,255,255,0.16); }

@media (max-width: 768px) {
  .nav-hamburger { display: block; }
  .nav-links { display: none; }
  .dyp-nav { padding: 0 1.25rem; }
}

/* Google Places autocomplete dropdown */
.pac-container {
  border-radius: 10px;
  border: 1px solid var(--border-med);
  box-shadow: 0 8px 32px rgba(11,31,58,0.12);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  margin-top: 4px;
}
.pac-item {
  padding: 10px 14px;
  cursor: pointer;
  border-top: 1px solid var(--border);
  line-height: 1.4;
}
.pac-item:first-child { border-top: none; }
.pac-item:hover { background: var(--bg-alt); }
.pac-item-query { font-weight: 600; color: var(--text); }
.pac-matched { font-weight: 700; color: var(--navy); }
.pac-icon { display: none; }

/* Travel range slider */
.range-slider-wrap { display: flex; flex-direction: column; gap: 8px; padding: 4px 0; }
.range-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  border-radius: 99px;
  background: linear-gradient(to right, var(--navy) 0%, var(--navy) 25%, var(--border-med) 25%, var(--border-med) 100%);
  outline: none; cursor: pointer;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy); cursor: pointer;
  box-shadow: 0 2px 8px rgba(11,31,58,0.25);
  border: 2px solid #fff;
  transition: transform 0.15s, box-shadow 0.15s;
}
.range-slider::-webkit-slider-thumb:hover { transform: scale(1.15); box-shadow: 0 3px 12px rgba(11,31,58,0.35); }
.range-slider::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy); cursor: pointer; border: 2px solid #fff;
}
.range-slider-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.range-slider-label { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.range-num-wrap { display: flex; align-items: center; gap: 6px; }
.range-num-input {
  width: 64px; text-align: center;
  border: 1.5px solid var(--border-med); border-radius: var(--radius-sm);
  padding: 5px 8px; font-size: 14px; font-weight: 600;
  font-family: inherit; color: var(--navy);
}
.range-num-input:focus { outline: none; border-color: var(--navy); }
.range-num-unit { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ── BOTTOM NAV (mobile only) ─────────────────────────────── */
.bottom-nav {
  display: none;
}
@media (max-width: 767px) {
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
    z-index: 1100;
    justify-content: space-around;
    align-items: center;
  }
  .bn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: #9ca3af;
    font-size: 10px;
    font-weight: 600;
    flex: 1;
    padding: 4px 0;
    letter-spacing: 0.2px;
    transition: color 0.15s;
  }
  .bn-item i { font-size: 24px; line-height: 1; }
  .bn-item.active { color: var(--blue, #1B65C2); }
  .bn-item:active { color: var(--navy); }
  /* hide hamburger when bottom nav is present */
  .nav-hamburger { display: none !important; }
  .nav-mobile-menu, .nav-mobile-backdrop { display: none !important; }
  /* body padding so content clears the nav */
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}

/* ── FOOTER SOCIALS ─────────────────────────────────────────── */
.footer-socials {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 14px;
}
.footer-socials a {
  color: rgba(255,255,255,0.55);
  font-size: 30px;
  text-decoration: none;
  transition: color 0.15s;
  line-height: 1;
  display: block;
}
.footer-socials a:hover { color: #fff; }
@media (min-width: 768px) {
  footer { position: relative; }
  .footer-socials {
    position: absolute;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 14px;
    margin-top: 0;
  }
}
