/* ===================================================
   Mind & Body Exercise Physiology — Global Styles
   Design System: Light mode, black & silver accents
   =================================================== */

:root {
  --bg-primary:   #FFFFFF;
  --bg-secondary: #F5F5F5;
  --bg-card:      #FFFFFF;
  --bg-card-hover:#F0F0F0;
  --border:       #D8D8D8;
  --border-gold:  rgba(192,192,192,0.35);

  --text-primary:  #0D0D0D;
  --text-secondary:#444444;
  --text-muted:    #777777;

  --gold:         #C0C0C0;
  --gold-light:   #E0E0E0;
  --gold-dark:    #909090;
  --amber:        #A8A8A8;
  --teal:         #00C9C9;

  /* ---- Black accent system ---- */
  --black:        #000000;
  --black-accent: #0D0D0D;
  --black-mid:    #1A1A1A;
  --black-soft:   rgba(0, 0, 0, 0.06);
  --black-border: rgba(0, 0, 0, 0.85);

  --topbar-height:40px;
  --nav-height:   80px;
  --footer-height:80px;
  --max-width:    1200px;
  --radius:       8px;
  --radius-lg:    14px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.06);
  --shadow-black: 0 4px 20px rgba(0,0,0,0.18);
  --shadow-gold: 0 0 20px rgba(192,192,192,0.15);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--black-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--black); }
img, svg { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  color: var(--text-primary);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.45rem); }
p  { color: var(--text-secondary); line-height: 1.75; }

.gold { color: var(--gold-dark); }
.accent { color: var(--black-accent); }

/* ---- Layout ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
.section-label {
  font-size: 0.72rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--black-accent);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--black-accent);
  flex-shrink: 0;
}
.section-title { margin-bottom: 18px; }
.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.08rem;
  max-width: 580px;
  margin-bottom: 52px;
  line-height: 1.75;
}

/* ---- Divider ---- */
.divider {
  width: 56px;
  height: 3px;
  background: var(--black-accent);
  margin: 18px 0 36px;
  border-radius: 2px;
}

/* ---- Section rule ---- */
.section-rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--black-accent) 0%, transparent 100%);
  margin-bottom: 48px;
  opacity: 0.15;
}

/* =====================
   TOPBAR
   ===================== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-height);
  z-index: 101;
  background: var(--black-accent);
  border-bottom: 1px solid var(--black);
  display: flex;
  align-items: center;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 24px;
}
.topbar-right {
  display: flex;
  align-items: center;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: color 0.2s;
}
a.topbar-item:hover { color: #ffffff; }

@media (max-width: 640px) {
  .topbar-right { display: none; }
  .topbar-left { gap: 16px; }
  .topbar-item { font-size: 0.72rem; }
}

/* =====================
   NAVIGATION
   ===================== */
.nav {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--black-accent);
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 32px rgba(0,0,0,0.14);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img, .nav-logo svg { max-height: 96px; width: auto; height: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--black-accent);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover,
.nav-links a.active { color: var(--black-accent); }

.nav-cta {
  background: var(--black-accent) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 0.88rem !important;
  letter-spacing: 0.5px;
  border: 2px solid var(--black-accent) !important;
  transition: background var(--transition), color var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
  background: #ffffff !important;
  color: var(--black-accent) !important;
  transform: translateY(-1px);
}
.nav-cta::after { display: none !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* =====================
   HERO
   ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--topbar-height) + var(--nav-height));
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 40%, rgba(192,192,192,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 70%, rgba(0,201,201,0.04) 0%, transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F5F5F5 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(192,192,192,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192,192,192,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: var(--black-accent);
  border: 1.5px solid var(--black-accent);
  border-radius: 100px;
  font-size: 0.76rem;
  color: #ffffff;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 30px;
  font-weight: 700;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  opacity: 0.7;
}
.hero-title {
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
}
.hero-title .highlight {
  position: relative;
  display: inline-block;
}
.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--black-accent);
  border-radius: 2px;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  max-width: 600px;
}
.hero-aep {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--black-accent);
  color: #ffffff;
  border-color: var(--black-accent);
}
.btn-primary:hover {
  background: #ffffff;
  color: var(--black-accent);
  border-color: var(--black-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-black);
}
.btn-outline {
  background: transparent;
  color: var(--black-accent);
  border: 2px solid var(--black-accent);
}
.btn-outline:hover {
  background: var(--black-accent);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-black);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 0.88rem;
}
.btn-lg {
  padding: 17px 38px;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
}

/* ---- Arrow icon in buttons ---- */
.btn-arrow {
  display: inline-block;
  transition: transform var(--transition);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* =====================
   THREE STEP PATH
   ===================== */
.steps { background: var(--bg-secondary); border-top: 1px solid var(--border); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.step-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--black-accent);
  opacity: 0;
  transition: opacity var(--transition);
}
.step-card:hover {
  border-color: var(--black-accent);
  box-shadow: var(--shadow-black);
  transform: translateY(-3px);
}
.step-card:hover::before { opacity: 1; }
.step-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(0,0,0,0.07);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -3px;
}
.step-icon {
  width: 48px;
  height: 48px;
  background: var(--black-accent);
  border: none;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.step-icon svg { width: 22px; height: 22px; stroke: #ffffff; }
.step-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.step-card p { font-size: 0.93rem; color: var(--text-secondary); line-height: 1.6; }

/* =====================
   CONDITIONS GRID
   ===================== */
.conditions { background: var(--bg-primary); }
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.condition-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.condition-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--black-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.condition-card:hover {
  border-color: var(--black-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-black);
}
.condition-card:hover::before { transform: scaleX(1); }
.condition-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  line-height: 1;
}
.condition-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.condition-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}
.condition-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  font-size: 0.72rem;
  padding: 4px 12px;
  background: var(--black-soft);
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 100px;
  color: var(--black-accent);
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* =====================
   BOOKING SECTION
   ===================== */
.booking { background: var(--bg-secondary); border-top: 3px solid var(--black-accent); }
.booking-inner {
  background: var(--bg-card);
  border: 2px solid var(--black-accent);
  border-radius: var(--radius-lg);
  padding: 60px 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
  box-shadow: var(--shadow-black);
}
.booking-info h2 { margin-bottom: 16px; }
.booking-info p { margin-bottom: 24px; font-size: 1rem; }
.booking-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.booking-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.93rem;
  color: var(--text-secondary);
}
.booking-feature::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--black-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Calendar mock-up */
.calendar-mock {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.calendar-header {
  background: rgba(192,192,192,0.08);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.calendar-header span {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}
.cal-nav-btns { display: flex; gap: 8px; }
.cal-nav-btn {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.8rem;
  transition: all var(--transition);
}
.cal-nav-btn:hover { border-color: var(--gold); color: var(--gold); }
.calendar-grid { padding: 16px; }
.cal-day-headers {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}
.cal-day-header {
  text-align: center;
  font-size: 0.73rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  padding: 4px;
}
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 0.82rem;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.cal-day:hover { background: rgba(192,192,192,0.1); color: var(--gold); }
.cal-day.available { color: var(--text-primary); }
.cal-day.booked {
  background: rgba(192,192,192,0.12);
  color: var(--gold);
  font-weight: 600;
  border: 1px solid rgba(192,192,192,0.3);
}
.cal-day.today {
  background: rgba(192,192,192,0.2);
  color: var(--gold-light);
  font-weight: 700;
  border: 1px solid var(--gold);
}
.cal-day.other-month { color: var(--text-muted); opacity: 0.4; }
.calendar-footer {
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  display: flex;
  gap: 12px;
}
.cal-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.cal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.cal-dot.available { background: var(--text-primary); }
.cal-dot.booked { background: var(--gold); }

/* =====================
   FUNDING PAGE SPECIFICS
   ===================== */
.funding-hero {
  background: var(--black-accent);
  padding: 120px 0 80px;
  border-bottom: 3px solid var(--black);
  color: rgba(255,255,255,0.9);
}
.funding-hero h1, .funding-hero h2, .funding-hero p, .funding-hero .section-label {
  color: rgba(255,255,255,0.9);
}
.funding-hero p { color: rgba(255,255,255,0.65); }
.funding-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.funding-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.funding-card:hover {
  border-color: var(--black-accent);
  box-shadow: var(--shadow-black);
  transform: translateY(-2px);
}
.funding-card-header {
  padding: 24px 28px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 4px solid var(--black-accent);
}
.funding-badge {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.badge-medicare { background: rgba(0,201,201,0.1); color: var(--teal); border: 1px solid rgba(0,201,201,0.3); }
.badge-ndis { background: rgba(192,192,192,0.1); color: var(--gold); border: 1px solid var(--border-gold); }
.badge-dva { background: rgba(200,60,60,0.1); color: #E07070; border: 1px solid rgba(200,60,60,0.3); }
.badge-workcover { background: rgba(100,160,100,0.1); color: #80C880; border: 1px solid rgba(100,160,100,0.3); }
.badge-private { background: rgba(140,100,200,0.1); color: #B090E0; border: 1px solid rgba(140,100,200,0.3); }
.funding-card-header h3 { font-size: 1.1rem; margin: 0; }
.funding-table {
  width: 100%;
  border-collapse: collapse;
}
.funding-table th,
.funding-table td {
  padding: 14px 28px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.funding-table th {
  color: var(--black-accent);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--black-soft);
}
.funding-table td { color: var(--text-secondary); }
.funding-table td:first-child { color: var(--text-primary); font-weight: 500; }
.funding-table tr:last-child td { border-bottom: none; }
.funding-table tr:hover td { background: rgba(255,255,255,0.02); }

/* Referral CTA banner */
.referral-banner {
  background: var(--black-accent);
  border: 2px solid var(--black);
  border-radius: var(--radius-lg);
  padding: 44px;
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.referral-banner h3 { color: #ffffff; }
.referral-banner p { color: rgba(255,255,255,0.7); }
.referral-banner h3 { margin-bottom: 8px; }
.referral-banner p { font-size: 0.93rem; max-width: 500px; }

/* =====================
   FOOTER
   ===================== */
.footer {
  background: var(--black-accent);
  border-top: 3px solid var(--black);
  color: rgba(255,255,255,0.85);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px 0 48px;
}
.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  margin: 16px 0 24px;
  max-width: 260px;
  line-height: 1.75;
}
.footer-logo { margin-bottom: 4px; }
.footer-logo img { height: 64px; width: auto; display: block; filter: brightness(0) invert(1); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: rgba(255,255,255,0.5);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: #ffffff; }

/* GP Referral Drop-zone */
.referral-dropzone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 16px;
}
.referral-dropzone:hover,
.referral-dropzone.drag-over {
  border-color: var(--black-accent);
  background: var(--black-soft);
}
.referral-dropzone svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-muted);
  margin-bottom: 8px;
  transition: stroke var(--transition);
}
.referral-dropzone:hover svg { stroke: var(--black-accent); }
.referral-dropzone p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}
.referral-dropzone .upload-label {
  font-size: 0.78rem;
  color: var(--black-accent);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}
.referral-dropzone input[type="file"] { display: none; }

/* Footer map area */
.footer-map {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  overflow: hidden;
  position: relative;
}
.footer-map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.footer-map-placeholder svg {
  width: 24px;
  height: 24px;
  stroke: rgba(255,255,255,0.4);
}
.footer-map-placeholder span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer-map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}
.footer-book-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* =====================
   STICKY BOOKING BAR (mobile)
   ===================== */
.sticky-booking-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--black-accent);
  backdrop-filter: blur(12px);
  border-top: 2px solid var(--black);
  padding: 12px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sticky-booking-bar a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}

/* =====================
   PAGE HERO
   ===================== */
.page-hero {
  padding: calc(var(--topbar-height) + var(--nav-height) + 60px) 0 80px;
  background: var(--black-accent);
  border-bottom: 3px solid var(--black);
  position: relative;
  overflow: hidden;
}
.page-hero h1, .page-hero h2, .page-hero p, .page-hero .section-label,
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: rgba(255,255,255,0.9); }
.page-hero .breadcrumb a:hover { color: #ffffff; }
.page-hero p { color: rgba(255,255,255,0.65); }
.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(192,192,192,0.05) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text-muted); }

/* =====================
   UTILITIES
   ===================== */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.w-full { width: 100%; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .conditions-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-main > *:last-child { grid-column: 1 / -1; }

  .hero-split { grid-template-columns: 1fr; }
  .hero-image-wrap { display: none; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item--tall { grid-row: span 1; }
  .gallery-item--wide { grid-column: span 2; }

  .carousel-slide-inner { padding: 36px 36px; gap: 28px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 68px; }
  section { padding: 60px 0; }
  h1 { font-size: 2rem; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: calc(var(--topbar-height) + var(--nav-height));
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 24px;
    gap: 20px;
    border-bottom: 2px solid var(--black-accent);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  }

  .steps-grid { grid-template-columns: 1fr; }
  .conditions-grid { grid-template-columns: 1fr; }
  .booking-inner { grid-template-columns: 1fr; }
  .funding-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .referral-banner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gallery-item--tall, .gallery-item--wide { grid-row: span 1; grid-column: span 1; }
  .gallery-item { min-height: 220px; }

  .carousel-slide-inner {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 20px;
  }
  .carousel-slide-icon { width: 52px; height: 52px; }
  .carousel-slide-icon svg { width: 24px; height: 24px; }

  .sticky-booking-bar { display: flex; }
  body { padding-bottom: var(--footer-height); }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .booking-inner { padding: 32px 24px; }
  .referral-banner { padding: 24px; }
}

/* =====================
   HERO SPLIT LAYOUT
   ===================== */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.hero-image-wrap {
  position: relative;
  z-index: 2;
}
.hero-photo {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  border: 2px solid var(--black-accent);
  filter: brightness(0.92) contrast(1.06);
  box-shadow: 8px 8px 0px var(--black-accent);
}
.hero-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--black-accent);
  border: 1.5px solid var(--black);
  border-radius: 100px;
  font-size: 0.8rem;
  color: #ffffff;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.hero-image-badge svg { stroke: #ffffff; flex-shrink: 0; }

/* =====================
   EXERCISE PHOTO GALLERY
   ===================== */
.photo-gallery {
  background: var(--bg-primary);
  padding: 80px 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 260px;
  gap: 16px;
  margin-top: 48px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.gallery-item--tall {
  grid-row: span 2;
}
.gallery-item--wide {
  grid-column: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.85) saturate(0.9);
}
.gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(0.95) saturate(1.0);
}
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, transparent 100%);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

/* =====================
   EP SLIDESHOW / CAROUSEL
   ===================== */
.ep-slideshow {
  background: var(--bg-secondary);
  padding: 80px 0;
}
.carousel {
  margin-top: 48px;
  position: relative;
}
.carousel-track-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
}
.carousel-slide-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
}
.carousel-slide-icon {
  width: 72px;
  height: 72px;
  background: var(--black-accent);
  border: none;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.carousel-slide-icon svg {
  width: 34px;
  height: 34px;
  stroke: #ffffff;
}
.carousel-slide-tag {
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--black-accent);
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}
.carousel-slide-content h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.carousel-slide-content > p {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}
.carousel-facts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.carousel-facts li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.carousel-facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--black-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Carousel controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 2px solid var(--black-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--black-accent);
  transition: all var(--transition);
  flex-shrink: 0;
}
.carousel-btn:hover:not(:disabled) {
  background: var(--black-accent);
  color: #ffffff;
}
.carousel-btn:disabled { opacity: 0.25; cursor: not-allowed; }
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}
.carousel-dot.active {
  background: var(--black-accent);
  width: 24px;
  border-radius: 4px;
}
.carousel-progress {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
  margin-bottom: 0;
}

/* =====================
   SCROLL ANIMATIONS
   ===================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
