/* =============================================
   RIPPLES OF HEALING — Global Stylesheet
   Premium Wellness Redesign
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Nunito:wght@300;400;500;600;700&display=swap');

/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
  --warm-orange:   #F0772B;
  --deep-teal:     #4E9CA4;
  --ocean-blue:    #1E4B76;
  --warm-gold:     #F9C215;
  --mint:          #6ABBA9;
  --soft-grey:     #F4F8F8;
  --dark-charcoal: #1E4B76;
  --white:         #FFFFFF;
  --text-muted:    #5C6370;
  --border-light:  #D8E8EA;

  /* Aliases for backward-compat with existing class references */
  --navy:        var(--ocean-blue);
  --navy-mid:    var(--ocean-blue);
  --navy-light:  var(--deep-teal);
  --cream:       var(--soft-grey);
  --cream-dark:  var(--soft-grey);
  --terracotta:  var(--deep-teal);
  --terra-light: var(--mint);
  --terra-dark:  #3A7A82;
  --sage:        var(--mint);
  --sage-light:  #8ECFC4;
  --sage-dark:   var(--deep-teal);
  --text-body:   var(--dark-charcoal);
  --text-light:  var(--text-muted);
  --border:      var(--border-light);

  --shadow-sm:   0 1px 4px rgba(28,50,72,0.06), 0 1px 2px rgba(28,50,72,0.04);
  --shadow-md:   0 4px 20px rgba(28,50,72,0.09), 0 2px 8px rgba(28,50,72,0.05);
  --shadow-lg:   0 16px 48px rgba(28,50,72,0.11), 0 4px 16px rgba(28,50,72,0.07);
  --shadow-xl:   0 32px 80px rgba(28,50,72,0.14), 0 8px 24px rgba(28,50,72,0.08);

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Nunito', system-ui, sans-serif;

  --nav-height:  76px;
  --container:   1200px;
  --container-sm: 800px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; }

p { line-height: 1.75; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--deep-teal);
  margin-bottom: 14px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.container-sm {
  width: 100%;
  max-width: var(--container-sm);
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}
.btn-primary:hover {
  background: var(--terra-dark);
  border-color: var(--terra-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(78, 156, 164, 0.32);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-cream {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-cream:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-1px);
}

.btn-outline-terra {
  background: transparent;
  color: var(--terracotta);
  border-color: var(--terracotta);
}
.btn-outline-terra:hover {
  background: var(--terracotta);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-sage {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}
.btn-sage:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--ocean-blue);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(28,50,72,0.25);
}

.btn-sm {
  font-size: 0.8rem;
  padding: 10px 22px;
}

.btn-lg {
  font-size: 0.9rem;
  padding: 16px 36px;
}

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled,
.nav.opaque {
  background: rgba(30, 75, 118, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.12), 0 4px 24px rgba(30,75,118,0.3);
}

.nav.light-nav {
  background: rgba(30, 75, 118, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.1), 0 4px 24px rgba(30,75,118,0.25);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.nav-links li a {
  font-size: 0.83rem;
  font-weight: 700;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.04em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.18);
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--white);
  background: rgba(255,255,255,0.18);
}

.nav.light-nav .nav-links li a {
  color: rgba(255,255,255,0.85);
}
.nav.light-nav .nav-links li a:hover,
.nav.light-nav .nav-links li a.active {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-login {
  font-size: 0.83rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.2);
  transition: all var(--transition);
}
.nav-login:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}

.nav.light-nav .nav-login {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.35);
}
.nav.light-nav .nav-login:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.12);
}

/* ── Nav Account Dropdown (logged-in state) ─────────── */
.nav-account {
  position: relative;
}
.nav-account-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-full);
  padding: 5px 12px 5px 5px;
  cursor: pointer;
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 600;
  transition: all var(--transition);
}
.nav-account-btn:hover {
  background: rgba(255,255,255,0.28);
  border-color: rgba(255,255,255,0.6);
}
.nav-account-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--white);
  color: var(--warm-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}
.nav-account-chevron {
  font-size: 0.65rem;
  opacity: 0.8;
}
.nav-account-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  min-width: 220px;
  overflow: hidden;
  display: none;
  z-index: 500;
  border: 1px solid var(--border-light);
}
.nav-account.open .nav-account-dropdown { display: block; }
.nav-account-info {
  padding: 14px 16px;
  background: var(--cream);
  border-bottom: 1px solid var(--border-light);
}
.nav-account-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark-charcoal);
  margin-bottom: 2px;
}
.nav-account-email {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.nav-account-plan {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--warm-orange);
  color: var(--white);
  padding: 2px 9px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}
.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--dark-charcoal);
  text-decoration: none;
  transition: background var(--transition);
  background: none;
  border: none;
  width: 100%;
  cursor: pointer;
  text-align: left;
}
.nav-dropdown-link:hover {
  background: var(--cream);
  color: var(--dark-charcoal);
}
.nav-dropdown-link.danger { color: #dc2626; }
.nav-dropdown-link.danger:hover { background: #fef2f2; }
.nav-dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: 4px 0;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav-hamburger:hover { background: rgba(255,255,255,0.08); }
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav.light-nav .nav-hamburger span { background: var(--white); }

/* Nav CTA button is always orange */
.nav .btn-primary {
  background: var(--warm-orange);
  border-color: var(--warm-orange);
  color: var(--white);
}
.nav .btn-primary:hover {
  background: #D4601A;
  border-color: #D4601A;
  color: var(--white);
}

/* Mobile Drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  background: var(--deep-teal);
  z-index: 1100;
  padding: 88px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.35);
}

.nav-drawer.open { transform: translateX(0); }

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-drawer-links a {
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  letter-spacing: 0.01em;
}

.nav-drawer-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

.nav-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.nav-overlay.open,
.nav-overlay.show {
  opacity: 1;
  pointer-events: all;
}

/* Auth state — hide/show elements based on Supabase auth */
.auth-only { display: none; }
.logged-in .auth-only { display: flex; }
.logged-in .guest-only { display: none; }

/* =============================================
   HERO (preserved as-is — only style classes kept)
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video-fallback {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?w=1920&q=80&fit=crop&auto=format') center/cover no-repeat;
}

#hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.72) 100%),
    linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 55%, rgba(0,0,0,0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 24px;
  max-width: 860px;
}

.hero-mantra {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.5vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.35;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.hero-mantra em { font-style: italic; }

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  margin-bottom: 28px;
}

.hero-eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
  animation: livePulseHero 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes livePulseHero {
  0%,100% { opacity:1; transform:scale(1); box-shadow: 0 0 0 0 rgba(78,156,164,0.6); }
  50% { opacity:0.8; transform:scale(1.3); box-shadow: 0 0 0 5px rgba(78,156,164,0); }
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  transition: opacity var(--transition);
}
.hero-scroll:hover { opacity: 0.9; }
.hero-scroll span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}
.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), rgba(255,255,255,0));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); opacity: 0.6; }
  50% { transform: scaleY(1.2); opacity: 1; }
}

/* Hero ripple rings */
.hero-ripples {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}
.hero-ripple-ring {
  position: absolute;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.07);
  animation: heroRipple 6s ease-out var(--d) infinite;
}
@keyframes heroRipple {
  0%   { transform: scale(0.6); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* Hero floating cards */
.hero-live-card {
  position: absolute;
  bottom: 100px;
  left: clamp(20px, 5vw, 80px);
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  z-index: 3;
  animation: floatUp 0.8s ease 0.4s both;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.hero-live-card:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,0,0,0.4); }
.hero-live-card-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ff4444;
  flex-shrink: 0;
  animation: livePulseHero 1.4s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(255,68,68,0.6);
}
.hero-live-card-info { display: flex; flex-direction: column; gap: 2px; }
.hero-live-card-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff6b6b;
}
.hero-live-card-class {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
}
.hero-live-card-join {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--terra-light);
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color var(--transition);
}
.hero-live-card-join:hover { color: var(--white); }

.hero-member-badge {
  position: absolute;
  bottom: 100px;
  right: clamp(20px, 5vw, 80px);
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  z-index: 3;
  animation: floatUp 0.8s ease 0.6s both;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.hero-member-avatars {
  display: flex;
  margin-right: 4px;
}
.hero-member-avatars img {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  margin-left: -10px;
  object-fit: cover;
}
.hero-member-avatars img:first-child { margin-left: 0; }
.hero-member-badge span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

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

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 64px) 0 72px;
  background-color: var(--dark-charcoal);
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(28,50,72,0.65) 0%, rgba(28,50,72,0.50) 100%);
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.page-hero .tagline {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 580px;
  line-height: 1.75;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.breadcrumb a:hover { color: rgba(255,255,255,0.85); }
.breadcrumb span:last-child { color: rgba(255,255,255,0.8); }

/* =============================================
   STATS STRIP
   ============================================= */
.stats-strip {
  background: var(--deep-teal);
  padding: 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.15);
}

.stat-item {
  padding: 52px 32px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.18);
  position: relative;
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.stat-number span { color: rgba(255,255,255,0.7); }

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* =============================================
   FEATURES STRIP
   ============================================= */
.features-strip {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.features-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}
.feature-item:last-child { border-right: none; }
.feature-item:hover { background: var(--cream-dark); }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(78,156,164,0.08), rgba(86,187,168,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 4px;
  color: var(--warm-orange);
}
.feature-icon svg { flex-shrink: 0; }

.feature-item h4 {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.feature-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* =============================================
   CLASSES EDITORIAL (homepage)
   ============================================= */
.classes-section {
  background: var(--white);
  padding: 96px 0;
}

.classes-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}

.class-overlay-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.class-overlay-card.wide {
  aspect-ratio: 16/9;
  grid-column: span 2;
}

.class-overlay-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.class-overlay-card:hover img { transform: scale(1.05); }

.class-overlay-card .gradient-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,50,72,0.85) 0%, rgba(28,50,72,0.25) 50%, rgba(0,0,0,0.02) 100%);
  transition: background var(--transition-slow);
}
.class-overlay-card:hover .gradient-overlay {
  background: linear-gradient(to top, rgba(240,107,34,0.82) 0%, rgba(28,50,72,0.35) 55%, rgba(0,0,0,0.02) 100%);
}

.class-overlay-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
}

.class-type-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.class-overlay-body h3 {
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 6px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.class-overlay-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  margin-bottom: 14px;
}
.class-overlay-meta .instructor-name {
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.class-overlay-card .btn {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}
.class-overlay-card:hover .btn {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   SPLIT / EDITORIAL SECTIONS
   ============================================= */
.split-section {
  padding: 96px 0;
}

.split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-inner.reverse { direction: rtl; }
.split-inner.reverse > * { direction: ltr; }

.split-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.split-img-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}

.split-img-badge {
  position: absolute;
  bottom: 28px; left: 28px;
  background: rgba(239,244,246,0.97);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  box-shadow: var(--shadow-md);
}
.split-img-badge .badge-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--terracotta);
  line-height: 1;
}
.split-img-badge .badge-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 3px;
}

.split-content { padding: 8px 0; }
.split-content h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  margin-bottom: 18px;
  color: var(--navy);
}
.split-content > p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 40px;
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.benefit-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--mint), var(--deep-teal));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(86,187,168,0.3);
}
.benefit-text h4 {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}
.benefit-text p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-section {
  background: var(--deep-teal);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.how-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  pointer-events: none;
}
.how-section::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -200px;
  width: 450px; height: 450px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.10);
  pointer-events: none;
}

.how-section .section-label { color: rgba(255,255,255,0.85); }
.how-section .section-header h2 { color: var(--white); }
.how-section .section-header p { color: rgba(255,255,255,0.80); }

.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.how-step {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  position: relative;
  transition: background var(--transition), border-color var(--transition);
}
.how-step:hover {
  background: rgba(255,255,255,0.17);
  border-color: rgba(255,255,255,0.30);
}

.how-step-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}

.how-step-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius-full);
  background: var(--mint);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(86,187,168,0.35);
}
.how-step:nth-child(2) .how-step-icon { background: var(--warm-orange); box-shadow: 0 0 20px rgba(78,156,164,0.45); }
.how-step:nth-child(3) .how-step-icon { background: rgba(255,255,255,0.2); box-shadow: 0 0 20px rgba(255,255,255,0.15); }

.how-step h3 { color: var(--white); font-size: 1.25rem; font-weight: 400; margin-bottom: 12px; }
.how-step p  { color: rgba(255,255,255,0.75); font-size: 0.92rem; line-height: 1.75; }

.how-step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.how-step-tag {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}

/* =============================================
   SCHEDULE PREVIEW (homepage)
   ============================================= */
.schedule-preview {
  background: var(--cream);
  padding: 96px 0;
}

.schedule-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.sched-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--white);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.sched-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--sage);
  border-radius: 3px 0 0 3px;
}
.sched-card.live-now::before { background: var(--terracotta); }
.sched-card:hover {
  border-color: var(--sage-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.sched-card.live-now:hover { border-color: var(--terra-light); }

.sched-time {
  text-align: center;
  min-width: 60px;
  flex-shrink: 0;
}
.sched-time .time {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.1;
}
.sched-time .ampm {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.sched-divider {
  width: 1px;
  height: 44px;
  background: var(--border);
  flex-shrink: 0;
}

.sched-info { flex: 1; min-width: 0; }
.sched-info h4 {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sched-info p { font-size: 0.78rem; color: var(--text-muted); }

.sched-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.sched-duration {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(78,156,164,0.14);
  color: var(--warm-orange);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.live-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--warm-orange);
  animation: livePulseHero 1.4s ease-in-out infinite;
}

/* =============================================
   PULL QUOTE BANNER
   ============================================= */
.quote-banner {
  background: var(--warm-orange);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-banner::before {
  content: '"';
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 28rem;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.quote-banner blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  max-width: 780px;
  margin: 0 auto 24px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}

.quote-banner cite {
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  position: relative;
  z-index: 1;
}
.quote-banner cite::before { content: '— '; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
  background: var(--cream);
  padding: 96px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.t-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.t-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--mint), var(--warm-orange));
  opacity: 0;
  transition: opacity var(--transition);
}
.t-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.t-card:hover::before { opacity: 1; }

.t-stars {
  color: var(--terracotta);
  font-size: 0.9rem;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.t-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.75;
  margin-bottom: 28px;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.t-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cream-dark);
  background: var(--cream-dark);
  flex-shrink: 0;
}

.t-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 2px;
}
.t-role { font-size: 0.78rem; color: var(--text-muted); }

/* =============================================
   PLATFORM FEATURES (dark section)
   ============================================= */
.platform-section {
  background: linear-gradient(160deg, #0E9DB8 0%, #1FBAD6 50%, #0E9DB8 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.platform-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  background: radial-gradient(ellipse at 80% 50%, rgba(86,187,168,0.14) 0%, transparent 65%);
  pointer-events: none;
}

.platform-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.platform-content .section-label { color: var(--deep-teal); }
.platform-content h2 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.9rem); margin-bottom: 18px; }
.platform-content > p { color: rgba(255,255,255,0.82); font-size: 1rem; line-height: 1.8; margin-bottom: 44px; }

.platform-features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.platform-feat {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.platform-feat-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
}

.platform-feat h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}
.platform-feat p { font-size: 0.83rem; color: rgba(255,255,255,0.75); line-height: 1.6; }

.platform-mockup { position: relative; }
.platform-card-stack { position: relative; }

.p-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(10px);
}
.p-card + .p-card { margin-top: 12px; }

.p-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.p-card-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--mint);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}
.p-card-title { font-size: 0.86rem; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.p-card-sub { font-size: 0.73rem; color: rgba(255,255,255,0.70); }

.p-card-bar {
  height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,0.07);
  overflow: hidden;
  margin-bottom: 8px;
}
.p-card-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(to right, var(--mint), #80CEBC);
}
.p-card-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.65);
}

.p-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.p-card-label { font-size: 0.75rem; color: rgba(255,255,255,0.72); }
.p-card-value { font-size: 0.75rem; font-weight: 700; color: var(--white); }

.p-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--terra-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.p-live-dot::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--terra-light);
  animation: livePulseHero 1.4s ease-in-out infinite;
}

/* =============================================
   INSTRUCTORS PREVIEW (homepage)
   ============================================= */
.instructors-preview {
  background: var(--white);
  padding: 96px 0;
}

.instructors-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.inst-mini-card {
  text-align: center;
  padding: 32px 20px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: var(--cream);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.inst-mini-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.inst-mini-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
  display: block;
}

.inst-mini-card h4 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 4px;
}

.inst-mini-card .spec {
  font-size: 0.72rem;
  color: var(--sage-dark);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.inst-mini-card .classes-count {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* =============================================
   FINAL CTA (homepage)
   ============================================= */
.final-cta {
  background: var(--warm-orange);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-rings {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.final-cta-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(86,187,168,0.12);
}

.final-cta h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.final-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 48px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.final-cta .newsletter-form { position: relative; z-index: 1; }
.final-cta .fine-print {
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.trust-item span { font-size: 1rem; opacity: 0.55; }

/* Newsletter form inline */
.newsletter-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.newsletter-form input {
  padding: 14px 22px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: var(--white);
  font-size: 0.9rem;
  width: 300px;
  transition: border-color var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: var(--terracotta);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 14px;
}
.cta-banner p {
  color: rgba(255,255,255,0.92);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-story {
  padding: 96px 0;
  background: var(--white);
}
.about-story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-story-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/5;
}
.about-story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  padding: 36px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.value-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}
.value-card h3 {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 10px;
}
.value-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =============================================
   INSTRUCTOR CARDS
   ============================================= */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.instructor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border-light);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.instructor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.instructor-photo-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
}

.instructor-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cream-dark);
  display: block;
  transition: transform var(--transition);
}
.instructor-card:hover .instructor-photo { transform: scale(1.04); }

.instructor-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(28,50,72,0.50);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity var(--transition);
  backdrop-filter: blur(4px);
}
.instructor-card:hover .instructor-overlay { opacity: 0; }
.instructor-overlay a {
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: background var(--transition);
}
.instructor-overlay a:hover { background: rgba(255,255,255,0.3); }

.instructor-card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 4px;
}
.instructor-specialty {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.instructor-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* =============================================
   PRICING CARDS
   ============================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  border: 1.5px solid var(--border-light);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
  border-color: var(--warm-orange);
  box-shadow: 0 0 0 1px var(--warm-orange), var(--shadow-md);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-tier {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 8px;
}

.pricing-card h3 {
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 20px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 14px;
}
.currency {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--navy);
  align-self: flex-start;
  margin-top: 10px;
}
.amount {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
}
.period {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.4;
}
.pricing-feature.disabled { color: var(--text-light); }

.check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #80CEBC;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-feature.disabled .check {
  background: var(--border);
  color: var(--text-light);
}

/* Billing toggle */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.pricing-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  cursor: pointer;
}
.pricing-toggle input { opacity: 0; width: 0; height: 0; }
.pricing-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: var(--radius-full);
  transition: background var(--transition);
}
.pricing-toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  left: 4px; top: 4px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: var(--shadow-sm);
}
.pricing-toggle input:checked + .pricing-toggle-slider { background: var(--terracotta); }
.pricing-toggle input:checked + .pricing-toggle-slider::before { transform: translateX(24px); }

.discount-badge {
  background: rgba(86,187,168,0.15);
  color: var(--deep-teal);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =============================================
   FAQ ACCORDION
   ============================================= */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  text-align: left;
  padding: 22px 0;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--terracotta); }
.faq-question[aria-expanded="true"],
.faq-item.open .faq-question { color: var(--terracotta); }

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--terracotta);
  transition: transform var(--transition);
  flex-shrink: 0;
  line-height: 1;
}
.faq-question[aria-expanded="true"] .faq-icon,
.faq-item.open .faq-question .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer[aria-hidden="false"],
.faq-answer:not([aria-hidden]),
.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer p {
  padding: 0 0 24px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* FAQ categories */
.faq-categories {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.faq-cat-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}
.faq-cat-btn:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}
.faq-cat-btn.active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}

/* FAQ CTA box */
.faq-cta {
  text-align: center;
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  margin-top: 72px;
  border: 1px solid var(--border-light);
}
.faq-cta h3 {
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 12px;
}
.faq-cta p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
}
.contact-info-item:last-of-type { border-bottom: none; }

.contact-info-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-md);
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 4px;
}
.contact-info-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.contact-info-text a:hover { color: var(--terracotta); }

/* Contact form card */
.contact-form {
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  border: 1px solid var(--border-light);
}

/* Forms */
.form-group { margin-bottom: 22px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text-body);
  font-size: 0.92rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(86,187,168,0.14);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-light); }

.form-textarea { resize: vertical; min-height: 140px; }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7C8D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
  cursor: pointer;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #0B6B84;
  color: rgba(255,255,255,0.75);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 0 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand { padding-right: 24px; }

.footer-logo { margin-bottom: 18px; }
.footer-logo-img { height: 36px; width: auto; }

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.25);
  color: var(--white);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.58);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.58);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* =============================================
   ANIMATIONS & UTILITIES
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.19s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.26s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.33s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.40s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.47s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.54s; }
.stagger-children.visible > *:nth-child(9) { transition-delay: 0.61s; }
.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.bg-cream   { background: var(--cream); }
.bg-navy    { background: var(--navy); }
.bg-white   { background: var(--white); }

.text-center { text-align: center; }

/* =============================================
   CLASSES PAGE — LIVE SCHEDULE FUNCTIONALITY
   (keeping all functional classes from original)
   ============================================= */
.classes-page { background: var(--cream); min-height: 100vh; padding-bottom: 80px; }

/* Today strip */
.today-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 40px 0 44px;
}
.today-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 6px;
}
.today-heading {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--navy);
  margin: 0 0 28px;
}
.today-cards {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.today-cards::-webkit-scrollbar { display: none; }

.today-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  min-width: 240px;
  flex-shrink: 0;
  cursor: pointer;
  transition: all var(--transition);
}
.today-card:hover {
  border-color: var(--sage-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.today-card.live {
  border-color: var(--warm-orange);
  background: #FEF3EE;
}

.today-card-time {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.today-card-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 3px;
}
.today-card-instructor {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.today-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.today-card-cat {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(86,187,168,0.12);
  color: var(--deep-teal);
}
.today-card-cat.healing {
  background: rgba(78,156,164,0.12);
  color: var(--warm-orange);
}
.today-card-cat.meditation {
  background: rgba(86,187,168,0.14);
  color: var(--deep-teal);
}

.btn-book {
  background: var(--terracotta);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-book:hover { background: var(--terra-dark); }
.btn-book.live-join { background: var(--terracotta); }
.btn-book.live-join:hover { background: var(--terra-dark); }
.btn-book.booked { background: var(--sage); cursor: default; }

.no-today {
  color: var(--text-muted);
  font-size: 0.92rem;
  padding: 8px 0;
  font-style: italic;
}

/* Zoom info bar */
.zoom-bar {
  background: var(--ocean-blue);
  color: var(--white);
  padding: 16px 0;
}
.zoom-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 0.86rem;
}
.zoom-item { display: flex; align-items: center; gap: 8px; }
.zoom-label {
  opacity: 0.55;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.zoom-val { font-weight: 700; }
.zoom-divider { width: 1px; height: 20px; background: rgba(255,255,255,0.15); }

/* Calendar */
.calendar-section { padding: 40px 0; }
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}
.calendar-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--navy);
}
.cal-nav { display: flex; align-items: center; gap: 10px; }
.cal-nav-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  color: var(--navy);
}
.cal-nav-btn:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}
.cal-week-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  min-width: 160px;
  text-align: center;
}

.cal-legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cal-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}
.cal-legend-dot {
  width: 10px; height: 10px;
  border-radius: 2px;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.cal-day {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.cal-day.today {
  border-color: var(--warm-orange);
  box-shadow: 0 0 0 3px rgba(78,156,164,0.12);
}

.cal-day-header {
  padding: 10px 14px 8px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cal-day-name {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.cal-day-num {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.cal-day.today .cal-day-num {
  background: var(--terracotta);
  color: var(--white);
}

.cal-day-classes {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cal-pill {
  border-radius: 0 6px 6px 0;
  padding: 5px 8px;
  cursor: pointer;
  transition: all 0.15s;
  border-left: 3px solid;
}
.cal-pill.yoga { background: rgba(86,187,168,0.1); border-left-color: var(--mint); }
.cal-pill.healing { background: rgba(78,156,164,0.12); border-left-color: var(--warm-orange); }
.cal-pill.meditation { background: rgba(86,187,168,0.12); border-left-color: var(--deep-teal); }
.cal-pill:hover { filter: brightness(0.95); transform: translateX(2px); }

.cal-pill-time {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--text-muted);
}
.cal-pill-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cal-empty { padding: 12px; font-size: 0.78rem; color: var(--border); }
.cal-past { opacity: 0.38; }

/* Class modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,50,72,0.50);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  transform: translateY(16px);
  transition: transform var(--transition);
}
.modal-overlay.open .modal { transform: translateY(0); }

.modal-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.modal-cat.yoga { color: var(--sage-dark); }
.modal-cat.healing { color: var(--terracotta); }
.modal-cat.meditation { color: var(--sage-dark); }

.modal-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 4px;
}
.modal-instructor { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 6px; }
.modal-desc { font-size: 0.86rem; color: var(--text-muted); line-height: 1.72; margin-bottom: 20px; }

.modal-details {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 20px;
}
.modal-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.86rem;
}
.modal-row:not(:last-child) { border-bottom: 1px solid var(--border-light); }
.modal-lbl { color: var(--text-muted); font-weight: 600; }
.modal-val { font-weight: 700; color: var(--navy); }

.zoom-box {
  background: rgba(86,187,168,0.08);
  border: 1px solid rgba(86,187,168,0.2);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 20px;
  font-size: 0.84rem;
}
.zoom-box-title {
  font-weight: 700;
  color: var(--sage-dark);
  margin-bottom: 8px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.zoom-box-row { display: flex; gap: 8px; margin-bottom: 3px; }
.zoom-box-lbl { color: var(--text-muted); font-weight: 600; width: 80px; }
.zoom-box-val { font-weight: 700; color: var(--navy); }

.modal-actions { display: flex; gap: 10px; }

.btn-modal-join {
  flex: 1;
  padding: 14px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-modal-join:hover { background: var(--terra-dark); }

.btn-modal-close {
  padding: 14px 20px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-modal-close:hover { border-color: var(--navy); }

.modal-success { text-align: center; padding: 8px 0; }
.modal-success-icon { font-size: 2.5rem; margin-bottom: 10px; }
.modal-success-msg { font-size: 1rem; font-weight: 700; color: var(--deep-teal); }
.modal-success-sub { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; line-height: 1.6; }

.modal-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 8px; }
.modal-meta { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 24px; }
.modal-detail-label { color: var(--text-muted); font-weight: 600; }
.modal-detail-val { font-weight: 700; color: var(--navy); }
.modal-detail-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.86px; }
.modal-detail-row:not(:last-child) { border-bottom: 1px solid var(--border-light); }

.btn-modal-book {
  flex: 1;
  padding: 14px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-modal-book:hover { background: var(--terra-dark); }

.btn-modal-cancel {
  padding: 14px 20px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-modal-cancel:hover { border-color: var(--navy); }

/* =============================================
   SCHEDULE PAGE
   ============================================= */
.schedule-page { background: var(--cream); min-height: 100vh; padding-bottom: 80px; }
.cal-class-pill {
  background: rgba(86,187,168,0.1);
  border-left: 3px solid var(--mint);
  border-radius: 0 6px 6px 0;
  padding: 6px 9px;
  cursor: pointer;
  transition: all 0.15s;
}
.cal-class-pill:hover { background: rgba(86,187,168,0.18); }
.cal-class-pill.orange {
  background: rgba(78,156,164,0.12);
  border-left-color: var(--warm-orange);
}
.cal-class-pill.orange:hover { background: rgba(78,156,164,0.18); }
.cal-class-pill-time { font-size: 0.66rem; font-weight: 700; color: var(--text-muted); }
.cal-class-pill-name { font-size: 0.75rem; font-weight: 700; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }

  .features-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(2) { border-right: none; }
  .feature-item { border-bottom: 1px solid var(--border); }

  .classes-editorial { grid-template-columns: 1fr 1fr; }
  .classes-editorial .class-overlay-card:last-child { grid-column: span 2; aspect-ratio: 16/7; }
  .classes-editorial .class-overlay-card.wide { grid-column: span 2; }

  .split-inner { grid-template-columns: 1fr; gap: 48px; }
  .split-inner.reverse { direction: ltr; }

  .how-steps-grid { grid-template-columns: 1fr; gap: 16px; }

  .schedule-preview-grid { grid-template-columns: 1fr; }

  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid .t-card:last-child { grid-column: span 2; }

  .platform-inner { grid-template-columns: 1fr; gap: 48px; }
  .platform-mockup { display: none; }

  .instructors-scroll { grid-template-columns: repeat(2, 1fr); }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: span 2; }

  .about-story-inner { grid-template-columns: 1fr; gap: 48px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-layout { grid-template-columns: 1fr; gap: 48px; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }

  .cal-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-height: 68px; }

  .container { padding: 0 20px; }
  .section { padding: 72px 0; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }

  .form-row { grid-template-columns: 1fr; }

  .contact-form { padding: 32px 28px; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}

@media (max-width: 640px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.7rem; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .features-strip-inner { grid-template-columns: 1fr 1fr; }

  .classes-editorial { grid-template-columns: 1fr; }
  .classes-editorial .class-overlay-card:last-child,
  .classes-editorial .class-overlay-card.wide { grid-column: span 1; aspect-ratio: 3/4; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .t-card:last-child { grid-column: span 1; }

  .instructors-scroll { grid-template-columns: repeat(2, 1fr); }

  .grid-3 { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  .hero-live-card,
  .hero-member-badge { display: none; }

  .trust-row { gap: 18px; }

  .cal-grid { grid-template-columns: repeat(2, 1fr); }

  .faq-cta { padding: 40px 28px; }

  .footer-top { gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Newsletter form stacks vertically on mobile */
  .newsletter-form { flex-direction: column; align-items: stretch; padding: 0 8px; }
  .newsletter-form input { width: 100%; max-width: 100%; }
  .newsletter-form a.btn,
  .newsletter-form button { width: 100%; justify-content: center; }

  /* Final CTA section tighter on mobile */
  .final-cta { padding: 72px 0; }
  .trust-row { gap: 14px; }
  .trust-item { font-size: 0.72rem; }

  /* Page hero tighter on mobile */
  .page-hero { padding: calc(var(--nav-height) + 40px) 0 52px; }
  .page-hero h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .page-hero .tagline { font-size: 0.92rem; }

  /* CTA banner buttons stack on mobile */
  .cta-banner a.btn { display: block; width: 100%; text-align: center; margin: 0 0 12px; box-sizing: border-box; }

  /* Hero eyebrow smaller on mobile */
  .hero-eyebrow { font-size: 0.65rem !important; padding: 7px 14px !important; }

  /* Schedule page */
  .schedule-summary { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Extra small screens (≤ 400px) ─────────────────────── */
@media (max-width: 400px) {
  h1 { font-size: 1.8rem; }
  .hero-mantra { font-size: 1.5rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }
  .btn-lg { padding: 14px 24px; font-size: 0.9rem; }
}
