/* ═══════════════════════════════════════════════════════════════
   JLR Dev — Starter CSS
   ▸ Set the :root variables below for each client.
   ▸ Do not hardcode colours anywhere else — always use var(--*).
   ▸ Component snippets use the same variable names automatically.
═══════════════════════════════════════════════════════════════ */

/* ── BRAND VARIABLES — Move Physio & Pilates Kimberley ── */
:root {
  /* Colours */
  --primary:      #2CB5A0;   /* brand teal */
  --primary-dark: #20998A;   /* hover state */
  --accent:       #1a7a6e;   /* dark teal */
  --dark:         #0d0d0d;   /* near-black (logo bg) */
  --text:         #2d3748;
  --muted:        #718096;
  --border:       #e2e8f0;
  --bg:           #f7fafa;   /* very light teal tint */
  --white:        #ffffff;

  /* Typography */
  --font-head:    'Poppins', sans-serif;
  --font-body:    'Poppins', sans-serif;

  /* Layout */
  --radius:       12px;
  --radius-sm:    8px;
  --shadow:       0 4px 20px rgba(44,181,160,0.10);
  --shadow-lg:    0 8px 40px rgba(44,181,160,0.15);
  --max-w:        1200px;
  --section-v:    88px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--dark);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
em { font-style: italic; }

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-title { margin-bottom: 16px; }
.section-intro {
  font-size: 17px;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 0;
}
.divider {
  width: 48px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 18px 0;
}
.text-center { text-align: center; }
.text-center .divider,
.text-center .section-intro { margin-left: auto; margin-right: auto; }
.text-muted { color: var(--muted); }

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
.section {
  padding: var(--section-v) 0;
}
.section-alt { background: var(--white); }
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.nav.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 14px 48px;
}
.nav-logo {
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.85; }
.nav-logo img {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  transition: filter 0.3s, transform 0.3s;
}
.nav-logo:hover img { transform: scale(1.05); }
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-left: 10px;
  transition: color 0.3s;
  line-height: 1;
}
.nav-logo-text span { color: var(--primary); }
.nav.scrolled .nav-logo-text { color: var(--dark); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  transition: color 0.2s;
}
.nav.scrolled .nav-links a { color: var(--text); }
.nav-links a:hover,
.nav-links a.active { color: var(--primary); }
.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 13px !important;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background 0.3s;
}
.nav.scrolled .nav-burger span { background: var(--dark); }
.nav-mobile {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 100vw);
  height: 100%;
  background: var(--white);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 80px 40px 40px;
  gap: 8px;
  box-shadow: -4px 0 40px rgba(0,0,0,0.15);
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
}
.nav-mobile.open { right: 0; }
.nav-mobile a {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:hover { color: var(--primary); }
.nav-mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
}
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 190;
}
.nav-overlay.open { display: block; }
@media (max-width: 900px) {
  .nav { padding: 16px 20px; }
  .nav.scrolled { padding: 12px 20px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.05);
  transition: transform 0.6s ease, opacity 0.8s ease;
  opacity: 0;
}
.hero-bg.loaded { opacity: 1; transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 48px 80px;
  max-width: 780px;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 48px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}
@media (max-width: 768px) {
  .hero-content { padding: 100px 20px 60px; }
  .hero-scroll { left: 20px; }
  /* index.html sets an inline background-position (center 28%) that centers on her knee on
     narrow viewports, cropping her face out. She sits in the left ~25% of hero-bg.jpg, so pull
     the crop left on mobile to bring her into frame; !important needed to beat the inline style. */
  .hero-bg { background-position: 22% 28% !important; }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover { background: var(--bg); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-dark:hover { background: var(--primary); color: var(--white); }
.btn-sm { padding: 10px 22px; font-size: 13px; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 10px;
}
.card-body { font-size: 14px; color: var(--muted); line-height: 1.65; }
.card-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  background: color-mix(in srgb, var(--primary) 10%, var(--white));
  color: var(--primary);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── GRID HELPERS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 13px;
  opacity: 0.6;
  margin-bottom: 16px;
}
.footer-about { font-size: 13px; line-height: 1.7; opacity: 0.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: var(--primary); color: var(--primary); }
.footer-social a svg { width: 16px; height: 16px; }
.footer-nav-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 13px; opacity: 0.7; transition: opacity 0.2s; }
.footer-nav a:hover { opacity: 1; color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  opacity: 0.5;
  /* The fixed WA float button (56px + 28px offset) sits over this row's right edge on wide
     viewports where the footer reaches the bottom of the screen — reserve its width so the
     "Website by JLR Dev" credit never sits under it. */
  padding-right: 96px;
}
.footer-bottom a { color: inherit; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding-right: 0; }
}

/* ── SCROLL REVEAL ── */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-left  { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: none;
}

/* ── MODAL ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
}
.modal-icon { font-size: 40px; margin-bottom: 16px; }
.modal h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 8px;
}
.modal-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}

/* ── FORM ELEMENTS ── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  font-size: 16px; /* prevents iOS zoom */
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.form-error { color: #dc2626; font-size: 13px; margin-top: 8px; }
.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  background: color-mix(in srgb, var(--primary) 6%, var(--white));
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--white));
}
.form-success.show { display: block; }
.form-success-icon { font-size: 40px; margin-bottom: 12px; }

/* ── PAGE HERO (non-index pages) ── */
.page-hero {
  min-height: 45vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.35));
}
.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 48px 60px;
}
.page-hero-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}
.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
}
@media (max-width: 768px) {
  .page-hero-content { padding: 100px 20px 48px; }
}

/* ── 404 ── */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
.error-code {
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 900;
  color: var(--primary);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: -24px;
}

/* ════════════════════════════════════════
   PREMIUM DESIGN LAYER — Move Physio
   ════════════════════════════════════════ */

/* ── Google font upgrade: add weight 900 ── */
body { font-feature-settings: "kern" 1, "liga" 1; }

/* ── Variables upgrade ── */
:root {
  --gradient-hero: linear-gradient(135deg, rgba(5,20,15,0.82) 0%, rgba(30,80,68,0.55) 60%, rgba(44,181,160,0.18) 100%);
  --gradient-cta:  linear-gradient(135deg, #2CB5A0 0%, #1a7a6e 100%);
  --shadow-card:   0 2px 8px rgba(0,0,0,0.06), 0 8px 32px rgba(44,181,160,0.08);
  --shadow-hover:  0 8px 24px rgba(0,0,0,0.10), 0 24px 48px rgba(44,181,160,0.14);
}

/* ── Hero premium overlay ── */
.hero-overlay {
  background: var(--gradient-hero) !important;
}

/* ── Hero title kerning + weight ── */
.hero-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}

/* ── Premium hero eyebrow pill ── */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(44,181,160,0.18);
  border: 1px solid rgba(44,181,160,0.35);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Premium buttons ── */
.btn {
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}
.btn:hover::after { background: rgba(255,255,255,0.08); }
.btn-primary {
  background: var(--gradient-cta);
  box-shadow: 0 4px 16px rgba(44,181,160,0.35);
}
.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(44,181,160,0.45);
  transform: translateY(-2px);
}
.btn-white { box-shadow: 0 2px 12px rgba(0,0,0,0.1); }

/* ── Premium section headings ── */
.section-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

/* ── Premium cards: glass border + shadow ── */
.card {
  border: 1px solid rgba(44,181,160,0.10);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-hover);
  border-color: rgba(44,181,160,0.22);
}
/* ── Stats strip premium numbers ── */
#stats-strip {
  background: linear-gradient(135deg, #0a0f0e 0%, #0d1f1b 100%);
  position: relative;
  overflow: hidden;
}
#stats-strip::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 200px;
  background: radial-gradient(ellipse, rgba(44,181,160,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Section label premium pill ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  padding: 5px 14px;
  background: rgba(44,181,160,0.08);
  border: 1px solid rgba(44,181,160,0.2);
  border-radius: 50px;
  color: var(--primary);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--primary);
  border-radius: 50%;
}

/* ── Divider upgrade ── */
.divider {
  background: var(--gradient-cta);
  border-radius: 4px;
}

/* ── Nav logo text size ── */
.nav-logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ── Nav scrolled premium shadow ── */
.nav.scrolled {
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.94) !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 24px rgba(0,0,0,0.06) !important;
}

/* ── Image sections: premium rounded corners + shadow ── */
.section img {
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
}

/* ── Footer premium ── */
.footer {
  background: linear-gradient(180deg, #0a0f0e 0%, #060d0b 100%);
}
.footer-tagline { font-style: italic; }

/* ── WA Float premium ── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 500;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
}
.wa-tooltip {
  position: absolute;
  right: 68px;
  background: rgba(0,0,0,0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  font-family: 'Poppins', sans-serif;
}
.wa-float:hover .wa-tooltip { opacity: 1; }

/* ── Page hero premium photo ── */
.page-hero {
  min-height: 52vh;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a4a44 100%);
}
.page-hero-content {
  padding: 140px 48px 72px;
}
@media (max-width: 768px) {
  .page-hero-content { padding: 110px 20px 56px; }
}

/* ── About image block ── */
.about-image-wrap {
  position: relative;
}
.about-image-wrap::after {
  content: '';
  position: absolute;
  bottom: -16px; right: -16px;
  width: 60%; height: 60%;
  border: 2px solid rgba(44,181,160,0.3);
  border-radius: var(--radius);
  z-index: -1;
}

/* ── Smooth reveal transitions ── */
.reveal, .reveal-left, .reveal-right {
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}

/* ── Footer year auto ── */
.footer-year::after { content: '2026'; }

/* ── Animated stat counters ── */
.stat-item { padding: 8px 0; }
.stat-number {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  transition: color 0.3s;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Testimonial cards ── */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border: 1px solid rgba(44,181,160,0.18);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(44,181,160,0.18);
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
}
.testimonial-text {
  color: #4a5568;
  font-size: 15px;
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--dark);
}
.testimonial-role {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* ── Testimonials marquee (scrolling ticker, click to read in full) ── */
.testi-track-wrap {
  overflow: hidden;
  position: relative;
  margin-top: 8px;
}
.testi-track-wrap::before, .testi-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.testi-track-wrap::before { left: 0;  background: linear-gradient(to right, var(--bg, #f7faf9), transparent); }
.testi-track-wrap::after  { right: 0; background: linear-gradient(to left,  var(--bg, #f7faf9), transparent); }
.testi-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  animation: testiScroll 42s linear infinite;
}
.testi-track:hover { animation-play-state: paused; }
@keyframes testiScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.testi-item {
  flex-shrink: 0;
  width: 320px;
  margin: 0 12px;
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  border: 1px solid rgba(44,181,160,0.18);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s;
}
.testi-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(44,181,160,0.18);
}
.testi-item-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.testi-item-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px;
}
.testi-item-excerpt {
  font-size: 13.5px;
  line-height: 1.6;
  color: #4a5568;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.testi-item-more {
  font-size: 12px;
  color: var(--primary);
  font-weight: 700;
  margin-top: 8px;
}
@media (prefers-reduced-motion: reduce) {
  .testi-track { animation: none; }
}
@media (max-width: 640px) {
  .testi-item { width: 260px; }
}

.testi-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,13,13,0.72);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.testi-lightbox.open { display: flex; }
.testi-lightbox-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 44px 36px 36px;
  text-align: center;
}
.testi-lightbox-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--bg, #f2f5f4);
  color: var(--dark);
  font-size: 15px;
  cursor: pointer;
}
.testi-lightbox-close:hover { background: #e4e9e8; }
#testiLightboxAvatar img {
  width: 68px; height: 68px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  display: block;
}

/* ── Visual service cards ── */
.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(44,181,160,0.2);
}
.service-card-img {
  height: 220px;
  background-size: cover;
  background-position: center;
}
.service-card-body {
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}
.service-card-text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
}
.service-card-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: gap 0.2s;
}
.service-card-link:hover { color: var(--accent); }

/* ── Fancy animated hero (Ken Burns + entrance) ── */
.hero-bg.kenburns {
  animation: kenburns 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  0%   { transform: scale(1.04) translate3d(0,0,0); }
  100% { transform: scale(1.16) translate3d(-1.5%, -2.2%, 0); }
}
.hero-overlay {
  background: var(--gradient-hero), radial-gradient(120% 80% at 80% 20%, rgba(44,181,160,.22), transparent 60%) !important;
  background-blend-mode: normal;
}
.hero-in { opacity: 0; transform: translateY(26px); animation: heroUp .9s cubic-bezier(.22,1,.36,1) forwards; animation-delay: var(--d, .1s); }
@keyframes heroUp { to { opacity: 1; transform: none; } }
.hero-scroll::after { animation: scrollPulse 1.8s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity:.35; transform:scaleX(.7);} 50%{opacity:1;transform:scaleX(1);} }
@media (prefers-reduced-motion: reduce) {
  .hero-bg.kenburns { animation: none; }
  .hero-in { animation: none; opacity: 1; transform: none; }
}

/* PWA install banner CSS removed 2026-08-16 — the banner itself was removed from
   js/main.js (marketing site, not an app). */

/* ── Community parallax band ── */
.community-band {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.community-band-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center bottom;
  transform: scale(1.05);
}
.community-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(5,20,15,0.88) 0%, rgba(10,40,34,0.72) 45%, rgba(44,181,160,0.28) 100%);
}
.community-band-content {
  position: relative;
  z-index: 1;
  padding-top: 64px;
  padding-bottom: 64px;
}
.community-band-content h2 {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

/* ── Class schedule grid ── */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}
.sched-day {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(44,181,160,0.18);
  border-radius: var(--radius);
  padding: 20px 18px;
}
.sched-day h3 {
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sched-class { padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,0.07); }
.sched-class:last-child { border-bottom: none; }
.sched-time { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.55); letter-spacing: 0.02em; }
.sched-name { font-size: 14.5px; font-weight: 600; color: #fff; margin-top: 2px; }

/* ── Photo gallery grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 260px;
  /* The homepage strip is a fixed 6-item mosaic, but /gallery.html renders however many
     photos Anna has uploaded into this same class. Without grid-auto-rows every item past
     the sixth landed in an implicit `auto` row and collapsed to 0px — the items are empty
     divs carrying only a background-image, so there is no content to give them height.
     8 of the 14 Studio Classes photos and 3 of the 9 Technique photos were invisible on
     desktop because of this. */
  grid-auto-rows: 260px;
  gap: 12px;
}
.gallery-item {
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), filter 0.4s;
  filter: brightness(0.88);
}
.gallery-item:hover {
  transform: scale(1.03);
  filter: brightness(1);
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
@media (max-width: 768px) {
  /* Keep the mosaic on phones instead of flattening it to equal squares — a uniform grid
     of 180px tiles read as a ragged contact sheet, because .tall and .wide were forced to
     200px while their neighbours stayed 180px and the rows never lined up. */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 148px;
    grid-auto-rows: 148px;
    gap: 10px;
  }
  .gallery-item { height: auto; }
  .gallery-item.tall { grid-row: span 2; grid-column: auto; }
  .gallery-item.wide { grid-column: span 2; grid-row: auto; }
}
/* WhatsApp Message Dialog — pairs with snippet.html + widget.js */
.wa-msg-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.wa-msg-overlay[hidden] { display: none; }
.wa-msg-box {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px 24px;
  max-width: 420px; width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  font-family: inherit;
}
.wa-msg-close {
  position: absolute; top: 12px; right: 14px;
  background: none; border: none; font-size: 24px; line-height: 1; cursor: pointer;
  color: #888; padding: 4px;
}
.wa-msg-box h3 { margin: 0 0 6px; font-size: 19px; }
.wa-msg-sub { margin: 0 0 16px; font-size: 13px; color: #667; }
#waMsgText {
  width: 100%; box-sizing: border-box; border: 1px solid #d8dee3; border-radius: 10px;
  padding: 12px 14px; font: inherit; font-size: 14px; resize: vertical; margin-bottom: 10px;
}
.wa-msg-row { display: flex; gap: 8px; margin-bottom: 14px; align-items: center; }
#waMsgName {
  flex: 1; box-sizing: border-box; border: 1px solid #d8dee3; border-radius: 10px;
  padding: 10px 12px; font: inherit; font-size: 14px;
}
.wa-msg-mic {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #d8dee3;
  background: #fff; font-size: 18px; cursor: pointer; transition: background 0.15s, border-color 0.15s;
}
.wa-msg-mic.recording { background: #ffe5e5; border-color: #ff4d4d; animation: wa-msg-pulse 1.2s infinite; }
@keyframes wa-msg-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,77,77,0.35); } 50% { box-shadow: 0 0 0 8px rgba(255,77,77,0); } }
.wa-msg-send {
  width: 100%; padding: 13px; border: none; border-radius: 10px; cursor: pointer;
  background: #25D366; color: #fff; font-weight: 700; font-size: 15px; font-family: inherit;
}
.wa-msg-send:disabled { opacity: 0.6; cursor: default; }
.wa-msg-status { margin-top: 14px; font-size: 13px; text-align: center; }
.wa-msg-status.ok { color: #1a8a4a; }
.wa-msg-status.err { color: #c0392b; }
.wa-msg-status a { color: #1a8a4a; font-weight: 700; }

/* ── Legal / policy pages (privacy notice) ──
   Long-form reading, so: a comfortable measure, generous line height, and headings that
   actually separate sections. Deliberately plain — a policy page should be easy to read,
   not designed at. */
.legal-body { font-size: 16px; line-height: 1.8; color: var(--text); }
.legal-body .lead {
  font-size: 17.5px;
  color: var(--text);
  padding: 20px 24px;
  background: color-mix(in srgb, var(--primary) 6%, var(--white));
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 40px;
}
.legal-body h2 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 44px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.legal-body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal-body h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--dark);
  margin: 26px 0 10px;
}
.legal-body p { margin-bottom: 16px; }
.legal-body ul { margin: 0 0 18px; padding-left: 0; }
.legal-body li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
}
.legal-body li::before {
  content: '';
  position: absolute;
  left: 6px; top: 12px;
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
}
.legal-body .contact-list li::before { display: none; }
.legal-body .contact-list li { padding-left: 0; }
.legal-body a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--accent); }
.legal-cta {
  margin-top: 48px;
  padding: 28px 24px;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(44,181,160,0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

/* Point-of-collection privacy line, shown next to the submit button on every public form.
   POPIA wants people aware WHEN they hand data over, not via a footer link three pages away. */
.privacy-note {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}
.privacy-note a { color: var(--primary); font-weight: 600; text-decoration: underline; }

@media (max-width: 640px) {
  .legal-body { font-size: 15.5px; }
  .legal-body .lead { font-size: 16px; padding: 16px 18px; }
  .legal-body h2 { font-size: 1.2rem; margin-top: 36px; }
}

/* ════════════════════════════════════════
   MOBILE PASS — phones and small tablets
   Everything below is either inside a max-width query, a safe-area guard, or a fix for a
   defect that only shows on narrow screens. Desktop rendering is deliberately unchanged.
   ════════════════════════════════════════ */

/* ── Horizontal-scroll fix ──
   .reveal-right parks its content at translateX(32px) until it scrolls into view, which
   pushed the document 12px wider than the viewport (375px viewport, 387px scrollWidth) on
   index, about and contact — the whole page slid sideways under a thumb. Reveal off the Y
   axis on narrow screens so nothing ever pokes past the right edge, and keep the body
   guard as a backstop for any future off-canvas element. */
body { overflow-x: hidden; }
@media (max-width: 900px) {
  .reveal-left, .reveal-right { transform: translateY(24px); }
}

/* ── Hero sizes to the VISIBLE viewport ──
   100vh on a phone is the tall-URL-bar height, so the hero overshot the screen and the
   CTAs sat under the fold on first paint. svh tracks what the user can actually see. */
@media (max-width: 900px) {
  .hero { min-height: 100svh; }
  .hero-content { padding: 96px 20px 72px; }
  .hero-sub { font-size: 16.5px; margin-bottom: 32px; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; min-width: 150px; }
}
@media (max-width: 900px) and (orientation: landscape) {
  .hero { min-height: 0; }
  .hero-content { padding: 96px 20px 56px; }
}

/* ── Stats strip: 2×2, not a four-storey column ──
   Stacked one-per-row it ran 462px — a whole phone screen to show four numbers. */
#stats-strip { padding: 56px 0; }
@media (max-width: 640px) {
  #stats-strip { padding: 38px 0; }
  #stats-strip .grid-4 { grid-template-columns: 1fr 1fr; gap: 6px 12px; }
  .stat-item { padding: 12px 0; }
  .stat-number { font-size: 1.95rem; }
  .stat-label { font-size: 11px; letter-spacing: 0.03em; }
}

/* ── Section rhythm + cards ── */
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .card { padding: 24px 22px; }
  .service-card-img { height: 190px; }
  .service-card-body { padding: 22px 20px 26px; }
  .service-card-title { font-size: 1.12rem; }
  /* the underlined "Learn More →" links were only 23px tall to tap */
  .service-card-link { display: inline-block; padding: 8px 0; margin-top: 12px; }
  .community-band { min-height: 380px; }
  .community-band-content { padding-top: 48px; padding-bottom: 48px; }
  .section-intro { font-size: 16px; }
}

/* ── Testimonial ticker ──
   The 80px edge fades ate 43% of a 375px screen and washed out the cards under them. */
@media (max-width: 640px) {
  .testi-track-wrap::before, .testi-track-wrap::after { width: 26px; }
  .testi-item { width: min(76vw, 290px); margin: 0 7px; }
  .testi-lightbox { padding: 16px; }
  .testi-lightbox-card { padding: 40px 22px 28px; }
}

/* ── Footer: tighter, with real tap targets ── */
@media (max-width: 640px) {
  .footer { padding-top: 48px; }
  .footer-grid { gap: 30px; padding-bottom: 32px; }
  .footer-nav ul { gap: 2px; }
  .footer-nav a { display: inline-block; padding: 7px 0; font-size: 14px; }
  .footer-social a { width: 42px; height: 42px; }
  .footer-bottom { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
}

/* ── WhatsApp float ──
   Fixed bottom-right, it repeatedly landed on top of real copy on a narrow screen: the
   Contact page's own WhatsApp number, the Services pricing line, the Studio Hours rows.
   Smaller on phones, clear of the iOS home indicator, and .wa-tucked (set from main.js)
   slides it out of the way while the user is scrolling down. */
.wa-float { transition: transform 0.28s cubic-bezier(0.22,1,0.36,1), opacity 0.28s ease, box-shadow 0.2s; }
.wa-float.wa-tucked { transform: translateY(130%); opacity: 0; pointer-events: none; }
body.menu-open .wa-float { opacity: 0; pointer-events: none; }
@media (max-width: 640px) {
  .wa-float {
    width: 52px; height: 52px;
    right: calc(16px + env(safe-area-inset-right));
    bottom: calc(16px + env(safe-area-inset-bottom));
  }
  .wa-float svg { width: 24px; height: 24px; }
  .wa-tooltip { display: none; }
}

/* ── Mobile menu drawer ──
   Was five unstyled links on a white sheet with a 20px-wide close button and no way to
   call or message from it — the primary navigation on a phone, looking unfinished. */
.nav-mobile {
  width: min(340px, 88vw);
  padding: 26px 24px calc(24px + env(safe-area-inset-bottom));
  gap: 0;
  overflow-y: auto;
}
.nav-mobile-close {
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}
.nav-mobile-close:hover { background: var(--bg); }
.nav-mobile-brand {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 20px; margin-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.nav-mobile-brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.nav-mobile-brand strong {
  display: block; font-family: var(--font-head);
  font-size: 14.5px; font-weight: 800; color: var(--dark); line-height: 1.25;
}
.nav-mobile-brand span {
  display: block; font-size: 10.5px; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--muted); margin-top: 4px;
}
.nav-mobile .nav-mobile-links { display: flex; flex-direction: column; }
.nav-mobile .nav-mobile-links a {
  font-size: 16.5px; font-weight: 600; color: var(--dark);
  padding: 15px 2px; border-bottom: 1px solid var(--border);
}
.nav-mobile .nav-mobile-links a.active { color: var(--primary); }
.nav-mobile .nav-mobile-actions { margin-top: auto; padding-top: 26px; }
.nav-mobile .nav-mobile-book {
  width: 100%; justify-content: center;
  padding: 15px 24px; font-size: 14px;
  color: var(--white); border-bottom: none;
}
.nav-mobile-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.nav-mobile .nav-mobile-quick a {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 8px; font-size: 13px; font-weight: 700; color: var(--text);
  border: 1.5px solid var(--border); border-radius: 50px;
}
.nav-mobile .nav-mobile-quick a:hover { border-color: var(--primary); color: var(--primary); }
.nav-mobile-quick a svg { width: 15px; height: 15px; flex-shrink: 0; }
