/* =====================================================
   GymKu — Crimson & Energy Fitness Theme
   v1.0.0 | IndoKoding.net
   ===================================================== */

/* 1. TOKENS */
:root {
  --primary:       #C0182A;
  --primary-dark:  #8B0F1E;
  --primary-mid:   #D42338;
  --primary-light: #FDEAEC;
  --accent:        #FF6B00;
  --accent-dark:   #D45700;
  --accent-light:  #FFF0E6;

  --white:         #FFFFFF;
  --bg-body:       #FAFAFA;
  --bg-section:    #F4F4F5;
  --bg-dark:       #0D0608;
  --border:        #E5D0D2;
  --border-light:  #F0E6E7;

  --text-dark:     #0D0608;
  --text-body:     #2D1A1D;
  --text-muted:    #7A5560;

  --font-display:  'Bebas Neue', Impact, sans-serif;
  --font-head:     'Barlow Condensed', 'Inter', sans-serif;
  --font-body:     'Inter', -apple-system, sans-serif;

  --radius-sm:     4px;
  --radius:        8px;
  --radius-lg:     14px;
  --radius-xl:     20px;
  --radius-pill:   100px;

  --shadow-sm:     0 1px 4px rgba(192,24,42,.07);
  --shadow:        0 4px 16px rgba(192,24,42,.10);
  --shadow-md:     0 8px 32px rgba(192,24,42,.14);
  --shadow-lg:     0 20px 60px rgba(192,24,42,.20);

  --transition:    .25s ease;
}

:root {
  --bs-font-sans-serif: 'Inter', -apple-system, sans-serif;
  --bs-body-bg: #FAFAFA;
  --bs-body-color: #2D1A1D;
}

/* 2. BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 15px; color: var(--text-body); background: var(--bg-body); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* 3. TYPOGRAPHY */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); font-weight: 700; color: var(--text-dark); line-height: 1.15; }
.section-tag { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--primary); display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .4rem; }
.section-tag::before { content: ''; display: inline-block; width: 20px; height: 2px; background: var(--primary); border-radius: 2px; }
.section-title { font-family: var(--font-head); font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 800; color: var(--text-dark); line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; }
.section-title.on-dark { color: white; }
.section-sub { color: var(--text-muted); font-size: .92rem; margin-top: .5rem; max-width: 560px; }
.section-sub.on-dark { color: rgba(255,255,255,.55); }
.section { padding: 72px 0; }
.section-sm { padding: 44px 0; }
.section-alt { background: var(--bg-section); }
.section-dark { background: var(--bg-dark); }

/* 4. BUTTONS */
.btn-gym, .btn-outline-gym, .btn-accent-gym {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-body); font-weight: 700; border-radius: var(--radius);
  padding: .7rem 1.6rem; font-size: .88rem; cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent; text-decoration: none; white-space: nowrap;
  text-transform: uppercase; letter-spacing: .06em;
}
.btn-gym { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-gym:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(192,24,42,.35); }
.btn-outline-gym { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-gym:hover { background: var(--primary); color: white; transform: translateY(-2px); }
.btn-accent-gym { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent-gym:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: white; border: 2px solid rgba(255,255,255,.5); border-radius: var(--radius); padding: .7rem 1.6rem; font-size: .88rem; font-weight: 700; display: inline-flex; align-items: center; gap: .45rem; text-transform: uppercase; letter-spacing: .06em; transition: all var(--transition); cursor: pointer; text-decoration: none; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: white; color: white; }
.btn-sm-gym { padding: .45rem 1.1rem; font-size: .8rem; }

/* 5. TOP BAR */
.top-bar {
  background: var(--bg-dark);
  color: rgba(255,255,255,.6);
  font-size: .77rem; font-weight: 500;
  height: 36px;
}
.top-bar .container { height: 100%; display: flex; align-items: center; }
.top-bar .container > .d-flex { width: 100%; }
.top-bar .item { display: flex; align-items: center; gap: .35rem; white-space: nowrap; }
.top-bar .item i { color: var(--primary); font-size: .82rem; }
.top-bar a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.top-bar a:hover { color: var(--accent); }
.top-bar .sep { width: 1px; height: 13px; background: rgba(255,255,255,.15); margin: 0 .6rem; }

/* 6. NAVBAR */
#mainNav {
  position: fixed; width: 100%; z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 1rem 0;
}
#mainNav:not(.scrolled) { background: transparent; }
#mainNav.scrolled { background: var(--bg-dark); box-shadow: 0 2px 24px rgba(0,0,0,.4); padding: .5rem 0; }
.navbar-brand { display: flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-size: 1.55rem; font-weight: 800; color: white; letter-spacing: .05em; text-transform: uppercase; }
.brand-logo { width: 36px; height: 36px; background: var(--primary); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: white; transition: background var(--transition); flex-shrink: 0; }
.navbar-nav .nav-link { font-size: .82rem; font-weight: 700; color: rgba(255,255,255,.78) !important; padding: .4rem .75rem !important; border-radius: var(--radius-sm); transition: color var(--transition); text-transform: uppercase; letter-spacing: .05em; }
.navbar-nav .nav-link:hover { color: white !important; }
.navbar-nav .nav-link.active { color: var(--accent) !important; }
.navbar-toggler-icon { font-size: 1.4rem; color: white; }
#mainNav:not(.scrolled) .navbar-toggler-icon { color: white; }
#mainNav.scrolled .navbar-toggler-icon { color: rgba(255,255,255,.8); }

/* 7. HERO */
.hero-section { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background: linear-gradient(135deg, #0D0608 0%, #2A050A 40%, #8B0F1E 72%, #C0182A 100%);
}
.hero-sport-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; opacity: .22; mix-blend-mode: luminosity; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 50% 60% at 78% 42%, rgba(255,107,0,.13) 0%, transparent 55%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='0.4' stroke-opacity='0.03'%3E%3Cpath d='M0 30h60M30 0v60'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; width: 100%; padding-top: 140px; padding-bottom: 80px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,107,0,.15); border: 1px solid rgba(255,107,0,.35); color: var(--accent); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: .35rem 1rem; border-radius: var(--radius-pill); margin-bottom: 1.25rem; }
.hero-title { font-family: var(--font-display); font-size: clamp(3.2rem, 8.5vw, 7rem); font-weight: 400; color: #fff; line-height: .95; letter-spacing: .02em; margin-bottom: .85rem; }
.hero-title span { color: var(--primary); display: block; }
.hero-sub { color: rgba(255,255,255,.62); font-size: clamp(.88rem, 1.4vw, 1rem); margin-bottom: 2.25rem; max-width: 460px; line-height: 1.8; }
.hero-cta { display: flex; gap: .85rem; flex-wrap: wrap; margin-bottom: 2.75rem; }
.hero-stats-strip { display: flex; gap: 2.25rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1); }
.hstat-num { font-family: var(--font-display); font-size: 2.25rem; color: var(--accent); line-height: 1; }
.hstat-label { font-size: .68rem; color: rgba(255,255,255,.45); font-weight: 600; text-transform: uppercase; letter-spacing: .07em; margin-top: .1rem; }
.hstat-sep { width: 1px; background: rgba(255,255,255,.12); }

/* 8. CATEGORY TILES */
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 1.5rem 1rem; background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-lg); text-decoration: none; transition: all var(--transition); cursor: pointer; position: relative; overflow: hidden; }
.cat-tile::before { content: ''; position: absolute; inset: 0; background: var(--primary); opacity: 0; transition: opacity var(--transition); }
.cat-tile:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-tile:hover::before { opacity: 1; }
.cat-icon { width: 56px; height: 56px; background: var(--primary-light); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--primary); transition: all var(--transition); position: relative; z-index: 1; }
.cat-tile:hover .cat-icon { background: rgba(255,255,255,.18); color: white; }
.cat-name { font-family: var(--font-head); font-weight: 800; font-size: .92rem; color: var(--text-dark); text-transform: uppercase; letter-spacing: .04em; position: relative; z-index: 1; transition: color var(--transition); }
.cat-tile:hover .cat-name { color: white; }
.cat-count { font-size: .72rem; color: var(--text-muted); position: relative; z-index: 1; transition: color var(--transition); }
.cat-tile:hover .cat-count { color: rgba(255,255,255,.7); }

/* 9. CLASS CARDS */
.class-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: transform var(--transition), box-shadow var(--transition); display: flex; flex-direction: column; height: 100%; }
.class-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.class-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-section); flex-shrink: 0; }
.class-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.class-card:hover .class-img img { transform: scale(1.06); }
.class-badges { position: absolute; top: .75rem; left: .75rem; display: flex; gap: .3rem; flex-wrap: wrap; z-index: 1; }
.cbadge { font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 3px 9px; border-radius: var(--radius-pill); }
.cbadge-cardio   { background: var(--primary); color: white; }
.cbadge-strength { background: #1E3A8A; color: white; }
.cbadge-yoga     { background: #6D28D9; color: white; }
.cbadge-boxing   { background: #065F46; color: white; }
.cbadge-crossfit { background: var(--accent-dark); color: white; }
.cbadge-zumba    { background: #BE185D; color: white; }
.cbadge-pemula   { background: rgba(0,0,0,.5); color: white; backdrop-filter: blur(4px); }
.cbadge-menengah { background: rgba(255,107,0,.85); color: white; }
.cbadge-mahir    { background: rgba(192,24,42,.85); color: white; }
.class-duration { position: absolute; bottom: .75rem; right: .75rem; background: rgba(0,0,0,.6); color: white; font-size: .72rem; font-weight: 700; padding: .25rem .7rem; border-radius: var(--radius-pill); backdrop-filter: blur(4px); display: flex; align-items: center; gap: .3rem; }
.class-body { padding: 1rem 1.15rem 1.1rem; flex: 1; display: flex; flex-direction: column; }
.class-name { font-family: var(--font-head); font-size: 1.05rem; font-weight: 800; color: var(--text-dark); line-height: 1.25; margin-bottom: .35rem; text-transform: uppercase; letter-spacing: .01em; }
.class-trainer-row { display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--text-muted); margin-bottom: .55rem; }
.class-trainer-avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.class-meta { display: flex; gap: .65rem; font-size: .75rem; color: var(--text-muted); font-weight: 600; padding: .5rem 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); margin-bottom: .75rem; flex-wrap: wrap; }
.class-meta i { color: var(--primary); }
.class-schedule { font-size: .75rem; color: var(--text-muted); margin-top: auto; margin-bottom: .75rem; display: flex; align-items: center; gap: .3rem; }
.class-schedule i { color: var(--primary); }

/* 10. TRAINER CARDS */
.trainer-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: transform var(--transition), box-shadow var(--transition); }
.trainer-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.trainer-photo-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--bg-section); }
.trainer-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s; }
.trainer-card:hover .trainer-photo-wrap img { transform: scale(1.04); }
.trainer-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,6,8,.85) 0%, transparent 45%); }
.trainer-social { position: absolute; bottom: .85rem; left: 0; right: 0; padding: 0 1rem; display: flex; gap: .4rem; justify-content: center; opacity: 0; transform: translateY(8px); transition: all var(--transition); }
.trainer-card:hover .trainer-social { opacity: 1; transform: translateY(0); }
.tsoc-btn { width: 32px; height: 32px; background: rgba(255,255,255,.15); backdrop-filter: blur(4px); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: .85rem; transition: background var(--transition); border: none; cursor: pointer; text-decoration: none; }
.tsoc-btn:hover { background: var(--primary); }
.trainer-info { padding: 1rem 1.15rem 1.15rem; }
.trainer-name { font-family: var(--font-head); font-size: 1.12rem; font-weight: 800; color: var(--text-dark); text-transform: uppercase; letter-spacing: .02em; margin-bottom: .15rem; }
.trainer-specialty { font-size: .78rem; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .65rem; }
.trainer-stats { display: flex; gap: 1.5rem; padding-top: .65rem; border-top: 1px solid var(--border-light); }
.tstat { }
.tstat-num { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; color: var(--text-dark); line-height: 1; }
.tstat-lbl { font-size: .67rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

/* 11. STATS DARK */
.stats-dark { background: var(--bg-dark); padding: 64px 0; position: relative; overflow: hidden; }
.stats-dark::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(192,24,42,.15) 0%, transparent 50%, rgba(192,24,42,.08) 100%); }
.stat-block { text-align: center; position: relative; z-index: 1; }
.stat-num { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); color: var(--primary); line-height: 1; }
.stat-lbl { font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .08em; margin-top: .35rem; }

/* 12. PLAN CARDS */
.plan-card { background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 2rem 1.75rem; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); position: relative; height: 100%; display: flex; flex-direction: column; }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.plan-card.featured { background: var(--primary); border-color: var(--primary); box-shadow: var(--shadow-lg); transform: scale(1.03); }
.plan-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.plan-badge { display: inline-block; background: var(--accent); color: white; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: .2rem .75rem; border-radius: var(--radius-pill); margin-bottom: .8rem; }
.plan-name { font-family: var(--font-head); font-size: 1rem; font-weight: 800; color: var(--text-dark); text-transform: uppercase; letter-spacing: .12em; margin-bottom: .25rem; }
.plan-card.featured .plan-name { color: white; }
.plan-price { font-family: var(--font-display); font-size: 2.8rem; color: var(--primary); line-height: 1; margin-bottom: .15rem; }
.plan-card.featured .plan-price { color: white; }
.plan-period { font-size: .8rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.plan-card.featured .plan-period { color: rgba(255,255,255,.65); }
.plan-desc { font-size: .84rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.65; }
.plan-card.featured .plan-desc { color: rgba(255,255,255,.72); }
.plan-features { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.plan-features li { display: flex; align-items: center; gap: .5rem; font-size: .83rem; padding: .42rem 0; border-bottom: 1px solid var(--border-light); color: var(--text-body); }
.plan-features li:last-child { border-bottom: none; }
.plan-card.featured .plan-features li { border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
.plan-features li i.bi-check-circle-fill { color: var(--primary); flex-shrink: 0; }
.plan-card.featured .plan-features li i.bi-check-circle-fill { color: white; }
.plan-features li.not-included { color: var(--text-muted); opacity: .55; }
.plan-features li i.bi-x-circle { color: var(--border); flex-shrink: 0; }
.btn-plan { width: 100%; display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .72rem; border: 2px solid var(--primary); border-radius: var(--radius); background: transparent; color: var(--primary); font-family: var(--font-body); font-size: .86rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; transition: all var(--transition); text-decoration: none; }
.btn-plan:hover { background: var(--primary); color: white; }
.plan-card.featured .btn-plan { background: white; color: var(--primary); border-color: white; }
.plan-card.featured .btn-plan:hover { background: rgba(255,255,255,.88); }

/* 13. SCHEDULE */
.schedule-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.day-tab { padding: .45rem 1.15rem; border: 1.5px solid var(--border); border-radius: var(--radius-pill); font-size: .81rem; font-weight: 700; color: var(--text-muted); background: none; cursor: pointer; transition: all var(--transition); white-space: nowrap; text-transform: uppercase; letter-spacing: .04em; }
.day-tab.active, .day-tab:hover { background: var(--primary); color: white; border-color: var(--primary); }
.schedule-pane { display: none; }
.schedule-pane.active { display: block; }
.schedule-list { display: flex; flex-direction: column; gap: .65rem; }
.schedule-item { display: flex; align-items: center; gap: 1rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: .9rem 1.25rem; transition: border-color var(--transition), box-shadow var(--transition); }
.schedule-item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.sched-time { min-width: 72px; text-align: center; flex-shrink: 0; }
.sched-time-main { font-family: var(--font-head); font-size: 1rem; font-weight: 800; color: var(--primary); line-height: 1; }
.sched-time-dur { font-size: .68rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; margin-top: .15rem; }
.sched-bar { width: 3px; height: 42px; background: var(--border); border-radius: 2px; flex-shrink: 0; }
.schedule-item:hover .sched-bar { background: var(--primary); }
.sched-info { flex: 1; min-width: 0; }
.sched-name { font-family: var(--font-head); font-size: .95rem; font-weight: 800; color: var(--text-dark); text-transform: uppercase; letter-spacing: .02em; margin-bottom: .12rem; }
.sched-trainer { font-size: .76rem; color: var(--text-muted); display: flex; align-items: center; gap: .3rem; }
.sched-trainer img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.sched-right { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; flex-shrink: 0; }
.sched-room { font-size: .71rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.sched-slots { font-size: .72rem; font-weight: 700; }
.sched-slots.available { color: #16A34A; }
.sched-slots.full { color: var(--primary); }
.sched-level { font-size: .62rem; font-weight: 800; text-transform: uppercase; padding: 2px 8px; border-radius: var(--radius-pill); }
.level-pemula   { background: var(--bg-section); color: var(--text-muted); }
.level-menengah { background: var(--accent-light); color: var(--accent-dark); }
.level-mahir    { background: var(--primary-light); color: var(--primary); }

/* 14. PAGE HEADER */
.page-header { background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 60%, var(--primary) 100%); padding: 5.5rem 0 3rem; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='0.4' stroke-opacity='0.04'%3E%3Cpath d='M0 30h60M30 0v60'/%3E%3C/g%3E%3C/svg%3E"); }
.page-header .container { position: relative; z-index: 1; }
.page-header .breadcrumb { margin-bottom: .75rem; }
.page-header .breadcrumb-item, .page-header .breadcrumb-item a { color: rgba(255,255,255,.5); font-size: .82rem; }
.page-header .breadcrumb-item.active { color: var(--accent); }
.page-header .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.3); }
.page-header h1 { font-family: var(--font-head); color: white; font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.page-header p { color: rgba(255,255,255,.58); font-size: .9rem; margin-top: .4rem; }

/* 15. FILTER BUTTONS */
.filter-row { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.filter-btn { display: inline-flex; align-items: center; gap: .3rem; padding: .42rem .95rem; border: 1.5px solid var(--border); border-radius: var(--radius-pill); font-size: .79rem; font-weight: 700; color: var(--text-muted); background: none; cursor: pointer; transition: all var(--transition); white-space: nowrap; text-transform: uppercase; letter-spacing: .04em; }
.filter-btn.active, .filter-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* 16. BLOG */
.blog-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: transform var(--transition), box-shadow var(--transition); display: flex; flex-direction: column; height: 100%; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-img { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-section); flex-shrink: 0; }
.blog-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-cat { display: inline-flex; font-size: .63rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; padding: 3px 10px; border-radius: var(--radius-pill); }
.blog-cat.latihan  { background: var(--primary-light); color: var(--primary); }
.blog-cat.nutrisi  { background: #DCFCE7; color: #15803D; }
.blog-cat.motivasi { background: var(--accent-light); color: var(--accent-dark); }
.blog-cat.tips     { background: #DBEAFE; color: #1D4ED8; }
.blog-cat.recovery { background: #EDE9FE; color: #6D28D9; }
.blog-body { padding: 1.1rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.blog-title { font-family: var(--font-head); font-size: 1rem; font-weight: 800; color: var(--text-dark); line-height: 1.3; margin: .4rem 0 .55rem; text-transform: uppercase; letter-spacing: .01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-title a { color: inherit; }
.blog-title a:hover { color: var(--primary); }
.blog-excerpt { font-size: .83rem; color: var(--text-muted); line-height: 1.65; margin-bottom: .85rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-meta { display: flex; align-items: center; gap: .75rem; font-size: .74rem; color: var(--text-muted); font-weight: 600; margin-top: auto; padding-top: .7rem; border-top: 1px solid var(--border-light); flex-wrap: wrap; }
.blog-meta i { color: var(--primary); }
.blog-meta .read-time { margin-left: auto; }

/* 17. ARTICLE */
.article-img-hero { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/7; margin-bottom: 2rem; }
.article-img-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body { font-size: .93rem; line-height: 1.9; color: var(--text-body); }
.article-body h3 { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; margin: 2rem 0 .75rem; color: var(--text-dark); text-transform: uppercase; }
.article-body h4 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; margin: 1.5rem 0 .6rem; color: var(--text-dark); }
.article-body p { margin-bottom: 1.15rem; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.15rem; }
.article-body li { margin-bottom: .45rem; }
.article-blockquote { border-left: 4px solid var(--primary); background: var(--primary-light); border-radius: 0 var(--radius) var(--radius) 0; padding: 1rem 1.25rem; margin: 1.5rem 0; }
.article-blockquote p { margin: 0 0 .35rem; font-style: italic; color: var(--text-dark); font-weight: 500; }
.article-blockquote cite { font-size: .8rem; color: var(--primary); font-weight: 700; font-style: normal; }
.share-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .9rem; border-radius: var(--radius-pill); font-size: .8rem; font-weight: 700; border: none; cursor: pointer; transition: opacity var(--transition), transform var(--transition); }
.share-btn.wa  { background: #25D366; color: white; }
.share-btn.fb  { background: #1877F2; color: white; }
.share-btn.tw  { background: #000; color: white; }
.share-btn.copy{ background: var(--bg-section); color: var(--text-muted); border: 1px solid var(--border); }
.share-btn:hover { opacity: .85; transform: translateY(-1px); }
.author-card { display: flex; gap: 1rem; align-items: flex-start; background: var(--bg-section); border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1.5rem; border: 1px solid var(--border-light); }
.author-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-name { font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--text-dark); text-transform: uppercase; }
.author-role { font-size: .75rem; color: var(--primary); font-weight: 600; margin-bottom: .3rem; }
.author-bio { font-size: .83rem; color: var(--text-muted); margin: 0; line-height: 1.6; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.article-nav-item { padding: .9rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius-lg); transition: border-color var(--transition), background var(--transition); }
.article-nav-item:hover { border-color: var(--primary); background: var(--primary-light); }
.article-nav-dir { font-size: .69rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; gap: .3rem; margin-bottom: .3rem; }
.article-nav-title { font-family: var(--font-head); font-size: .9rem; font-weight: 700; color: var(--text-dark); text-transform: uppercase; }

/* Sidebar */
.sidebar-widget { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1.25rem; }
.sidebar-title { font-family: var(--font-head); font-size: .92rem; font-weight: 800; color: var(--text-dark); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .05em; display: flex; align-items: center; gap: .5rem; }
.sidebar-title i { color: var(--primary); }
.sidebar-recent-item { display: flex; gap: .75rem; padding: .65rem 0; border-bottom: 1px solid var(--border-light); }
.sidebar-recent-item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-recent-img { width: 60px; height: 50px; border-radius: var(--radius); overflow: hidden; flex-shrink: 0; }
.sidebar-recent-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-recent-title a { font-size: .82rem; font-weight: 700; color: var(--text-dark); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-transform: uppercase; }
.sidebar-recent-title a:hover { color: var(--primary); }
.sidebar-recent-date { font-size: .7rem; color: var(--text-muted); display: flex; align-items: center; gap: .3rem; margin-top: .2rem; }
.sidebar-cta { background: linear-gradient(135deg, var(--bg-dark), var(--primary-dark)); border-radius: var(--radius-lg); padding: 1.5rem 1.25rem; color: white; text-align: center; }
.sidebar-cta h6 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; color: white; margin-bottom: .5rem; text-transform: uppercase; }
.sidebar-cta p { font-size: .83rem; color: rgba(255,255,255,.65); margin-bottom: 1rem; }

/* 18. TESTIMONIALS */
.testi-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column; }
.testi-stars { color: var(--accent); font-size: .85rem; margin-bottom: .7rem; letter-spacing: 2px; }
.testi-text { font-size: .88rem; color: var(--text-body); line-height: 1.8; flex: 1; font-style: italic; margin-bottom: 1rem; }
.testi-author { display: flex; align-items: center; gap: .7rem; }
.testi-photo { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-light); }
.testi-name { font-weight: 700; font-size: .86rem; color: var(--text-dark); text-transform: uppercase; letter-spacing: .02em; }
.testi-sub { font-size: .72rem; color: var(--text-muted); }

/* 19. CTA SECTION */
.cta-section { background: var(--bg-dark); padding: 72px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(192,24,42,.22) 0%, transparent 55%); }
.cta-section > .container { position: relative; z-index: 1; }
.cta-title { font-family: var(--font-display); font-size: clamp(2.2rem, 6vw, 4.5rem); color: white; line-height: .95; letter-spacing: .02em; }
.cta-title span { color: var(--primary); }
.cta-sub { color: rgba(255,255,255,.55); font-size: .95rem; margin-top: .85rem; margin-bottom: 2rem; }

/* 20. FOOTER */
.footer { background: #080304; color: rgba(255,255,255,.48); padding: 60px 0 0; }
.footer h6 { font-family: var(--font-head); font-size: .92rem; font-weight: 800; color: rgba(255,255,255,.85); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .07em; }
.footer-brand { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.footer-brand .brand-logo { background: var(--primary); }
.footer-brand .brand-name { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; color: white; text-transform: uppercase; letter-spacing: .05em; }
.footer-desc { font-size: .84rem; line-height: 1.75; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { font-size: .84rem; color: rgba(255,255,255,.44); transition: color var(--transition); }
.footer-links a:hover { color: var(--primary); }
.footer-contact-item { display: flex; align-items: flex-start; gap: .55rem; font-size: .84rem; margin-bottom: .55rem; }
.footer-contact-item i { color: var(--primary); font-size: .88rem; margin-top: 3px; flex-shrink: 0; }
.footer-social { display: flex; gap: .45rem; }
.footer-social a { width: 34px; height: 34px; background: rgba(255,255,255,.07); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.48); font-size: .88rem; transition: all var(--transition); }
.footer-social a:hover { background: var(--primary); color: white; }
.footer-divider { border-color: rgba(255,255,255,.07); margin: 40px 0 0; }
.footer-bottom { padding: 1rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.28); margin: 0; }

/* 21. BACK TO TOP */
#backToTop { position: fixed; bottom: 2rem; right: 1.5rem; width: 42px; height: 42px; background: var(--primary); color: white; border: none; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1rem; cursor: pointer; z-index: 999; opacity: 0; transform: translateY(12px); transition: opacity var(--transition), transform var(--transition); box-shadow: var(--shadow); }
#backToTop.visible { opacity: 1; transform: translateY(0); }
#backToTop:hover { background: var(--primary-dark); }

/* 22. RESPONSIVE */
@media (max-width: 991px) {
  .hero-section { min-height: 90vh; }
  .hero-content { padding-top: 120px; }
  .trainer-photo-wrap { aspect-ratio: 1/1; }
  .plan-card.featured { transform: scale(1); }
  .plan-card.featured:hover { transform: translateY(-4px); }
}
@media (max-width: 767px) {
  .top-bar { display: none !important; }
  .hero-title { font-size: 3.5rem; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-stats-strip { gap: 1.25rem; }
  .hstat-sep { display: none; }
  .schedule-item { flex-wrap: wrap; gap: .65rem; }
  .article-nav { grid-template-columns: 1fr; }
}
@media (min-width: 768px) {
  .top-bar { display: flex !important; align-items: center; }
}
@media (max-width: 575px) {
  .section { padding: 48px 0; }
  .plan-card { padding: 1.5rem 1.25rem; }
}
