/* ============================================================
   SHARED CSS — BodySmart Reviews Site
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-bg);
  color: var(--dark);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

:root {
  --coral: #e8593a;
  --coral-light: #FF7A5C;
  --coral-pale: #FFF0EC;
  --coral-dark: #C44826;
  --warm-bg: #faf9f6;
  --dark: #1a1a2e;
  --mid: #4A4A4A;
  --light: #7A7A7A;
  --border: #e8e4df;
  --white: #FFFFFF;
  --gold: #F5A623;
  --section-pad: 64px;
  --container: 1200px;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.14);
}

/* Layout */
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.section { padding: var(--section-pad) 0; }
.section--alt { background: var(--white); }
.section--dark { background: var(--dark); color: var(--white); }

/* Typography */
.section-label {
  display: inline-block;
  background: var(--coral-pale);
  color: var(--coral);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 16px;
}
.section--dark .section-title { color: var(--white); }
.section-sub {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--mid);
  max-width: 620px;
  margin-bottom: 40px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
  min-height: 44px;
  font-family: 'DM Sans', sans-serif;
}
.btn--primary { background: var(--coral); color: var(--white); }
.btn--primary:hover { background: var(--coral-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,89,58,0.4); }
.btn--outline { background: transparent; color: var(--coral); border: 2px solid var(--coral); }
.btn--outline:hover { background: var(--coral-pale); }
.btn--ghost { background: rgba(255,255,255,0.12); color: var(--white); border: 2px solid rgba(255,255,255,0.35); }
.btn--ghost:hover { background: rgba(255,255,255,0.2); }
.btn--large { padding: 18px 40px; font-size: 17px; }
.btn--white { background: var(--white); color: var(--coral); }
.btn--white:hover { background: #FFF0EC; transform: translateY(-2px); }

/* Stars */
.stars { color: var(--gold); letter-spacing: 2px; font-size: 16px; }
.stars--sm { font-size: 14px; }

/* Nav */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
}
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-nav__brand {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--dark);
  font-weight: 400;
}
.site-nav__brand span { color: var(--coral); }
.site-nav__links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.site-nav__links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--mid);
  transition: color 0.2s;
}
.site-nav__links a:hover { color: var(--coral); }
.site-nav__links a.active { color: var(--coral); }

/* Review Cards */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.review-card {
  background: var(--white);
  border-radius: 12px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.review-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.review-card__name { font-size: 15px; font-weight: 700; color: var(--dark); }
.review-card__stars { color: var(--gold); font-size: 15px; letter-spacing: 1px; }
.review-card__title { font-size: 15px; font-weight: 700; color: var(--dark); line-height: 1.4; }
.review-card__body { font-size: 15px; color: var(--mid); line-height: 1.7; }
.review-card__body.clamp { /* no clamp needed, we truncate manually */ }
.review-card__toggle {
  background: none;
  border: none;
  color: var(--coral);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  text-align: left;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-family: 'DM Sans', sans-serif;
}
.review-card__toggle:hover { text-decoration: underline; }
.review-card__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.mini-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--coral-pale);
  color: var(--coral);
}
.review-card__coach-link { font-size: 14px; color: var(--light); }
.review-card__coach-link a { color: var(--coral); font-weight: 600; }
.review-card__coach-link a:hover { text-decoration: underline; }

/* Stats bar */
.stats-bar { background: var(--coral); padding: 24px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 0 16px; border-right: 1px solid rgba(255,255,255,0.25); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: 'DM Serif Display', serif; font-size: 28px; color: #fff; line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.85); font-weight: 600; }

/* Big stats dark section */
.big-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.big-stat { background: rgba(255,255,255,0.05); padding: 40px 28px; text-align: center; }
.big-stat__num { font-family: 'DM Serif Display', serif; font-size: clamp(40px, 6vw, 72px); color: var(--coral-light); line-height: 1; margin-bottom: 8px; }
.big-stat__label { font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.72); }
.big-stat__sub { font-size: 14px; color: rgba(255,255,255,0.45); margin-top: 4px; }

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  padding: var(--section-pad) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
}
.cta-title { font-family: 'DM Serif Display', serif; font-size: clamp(32px, 5vw, 62px); color: var(--white); line-height: 1.1; margin-bottom: 18px; position: relative; z-index: 1; }
.cta-sub { font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,0.85); max-width: 540px; margin: 0 auto 36px; position: relative; z-index: 1; }
.cta-proof { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 20px; position: relative; z-index: 1; }

/* Footer */
.site-footer { text-align: center; padding: 20px 16px 28px; background: var(--warm-bg); border-top: 1px solid var(--border); }
.site-footer a { color: var(--coral); font-weight: 600; font-size: 15px; }

/* Coach avatar circle */
.coach-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral-pale) 0%, #FFD6CC 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--coral);
  flex-shrink: 0;
  border: 3px solid var(--coral);
}

/* Tag pills / filter bar */
.filter-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 57px;
  z-index: 90;
}
.filter-label { font-size: 13px; font-weight: 700; color: var(--light); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.filter-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag-pill {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--mid);
  transition: all 0.2s;
  min-height: 44px;
  font-family: 'DM Sans', sans-serif;
}
.tag-pill:hover { border-color: var(--coral); color: var(--coral); }
.tag-pill.active { background: var(--dark); border-color: var(--dark); color: var(--white); }
.tag-pill--clear { border-color: var(--coral); color: var(--coral); }

/* Marquee */
.marquee-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee-track { display: flex; width: max-content; animation: marqueeScroll 40s linear infinite; }
.marquee-track--reverse { animation: marqueeScrollReverse 45s linear infinite; margin-top: 12px; }
.marquee-wrapper:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes marqueeScrollReverse { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
.marquee-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  margin: 0 8px;
  white-space: nowrap;
  color: rgba(255,255,255,0.88);
  font-size: 15px;
  font-style: italic;
  flex-shrink: 0;
  min-height: 44px;
}
.marquee-item .stars-mini { color: #F5A623; font-size: 12px; letter-spacing: 1px; }
.marquee-item strong { font-style: normal; font-weight: 700; color: var(--coral-light); }

/* Hero */
.hero {
  background: linear-gradient(135deg, #1A1A2E 0%, #2D1810 55%, #3D1F0F 100%);
  color: var(--white);
  padding: clamp(60px, 10vw, 100px) 0 0;
  overflow: hidden;
  position: relative;
  text-align: center;
}
.hero::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,89,58,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; padding: 0 clamp(16px, 4vw, 40px); }
.hero-title { font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(40px, 7vw, 80px); line-height: 1.05; margin-bottom: 20px; }
.hero-title span { color: var(--coral-light); }
.hero-sub { font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,0.75); margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; padding-bottom: 40px; }
.hero-eyebrow { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.hero-tp { background: rgba(255,255,255,0.1); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; }

/* Coach page hero */
.coach-hero {
  background: linear-gradient(135deg, #1A1A2E 0%, #2D1810 100%);
  color: var(--white);
  padding: 60px 0 50px;
}
.coach-hero__inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.coach-hero__avatar { width: 110px; height: 110px; border-radius: 50%; background: var(--coral-pale); display: flex; align-items: center; justify-content: center; font-size: 38px; font-weight: 800; color: var(--coral); border: 4px solid var(--coral); flex-shrink: 0; }
.coach-hero__name { font-family: 'DM Serif Display', serif; font-size: clamp(36px, 6vw, 64px); line-height: 1.1; color: var(--white); margin-bottom: 6px; }
.coach-hero__flag { font-size: 14px; color: rgba(255,255,255,0.7); font-weight: 600; margin-bottom: 8px; }
.coach-hero__badge { display: inline-flex; align-items: center; gap: 6px; background: var(--coral); color: var(--white); font-size: 14px; font-weight: 700; padding: 6px 14px; border-radius: 999px; margin-top: 8px; }

/* Coach bio card */
.bio-card { background: var(--white); border-radius: var(--radius); padding: 32px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.bio-card__section { margin-bottom: 24px; }
.bio-card__section:last-child { margin-bottom: 0; }
.bio-card__label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral); margin-bottom: 8px; }
.bio-card__text { font-size: 16px; color: var(--mid); line-height: 1.7; }
.bio-card__fun-fact { background: var(--warm-bg); border-radius: 10px; padding: 16px 18px; font-size: 15px; color: var(--mid); line-height: 1.6; border-left: 3px solid var(--coral); }
.bio-card__quote { font-style: italic; font-size: 18px; color: var(--dark); border-left: 3px solid var(--coral-light); padding-left: 16px; line-height: 1.6; }
.cred-tag { display: inline-block; background: var(--coral-pale); color: var(--coral); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; margin: 3px; }

/* Coaches grid */
.coaches-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.coach-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.coach-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.coach-card--featured { border-top: 3px solid var(--coral); }
.coach-card__avatar { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--coral-pale) 0%, #FFD6CC 100%); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; color: var(--coral); flex-shrink: 0; }
.coach-card__header { display: flex; align-items: center; gap: 14px; }
.coach-card__name { font-family: 'DM Serif Display', serif; font-size: 22px; color: var(--dark); line-height: 1.1; }
.coach-card__meta { font-size: 14px; color: var(--light); margin-top: 2px; }
.coach-card__credentials { font-size: 14px; color: var(--mid); line-height: 1.6; }
.coach-card__review-count { display: inline-flex; align-items: center; gap: 6px; background: var(--coral-pale); color: var(--coral); font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 999px; align-self: flex-start; }
.coach-card__cta { margin-top: auto; }
.btn--coach { display: flex; align-items: center; justify-content: center; width: 100%; padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; cursor: pointer; border: 2px solid var(--coral); background: transparent; color: var(--coral); transition: all 0.2s; min-height: 44px; font-family: 'DM Sans', sans-serif; text-decoration: none; }
.btn--coach:hover { background: var(--coral); color: var(--white); }

/* Breadcrumb */
.breadcrumb { font-size: 14px; color: var(--light); padding: 12px 0; }
.breadcrumb a { color: var(--coral); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* Responsive */
@media (max-width: 1024px) { .coaches-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  :root { --section-pad: 40px; }
  .coaches-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .big-stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 360px; }
  .filter-tags { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
  .filter-tags::-webkit-scrollbar { display: none; }
  .tag-pill { flex-shrink: 0; }
  .review-grid { grid-template-columns: 1fr; }
  .coach-hero__inner { flex-direction: column; text-align: center; }
  body { padding-bottom: 72px; }
}
@media (min-width: 641px) { #sticky-cta { display: none !important; } }
