/* =============================================
   PURE LIFESTYLE YOGA — Global Design System
   ============================================= */

/* --- Google Fonts (serif display only — body uses Apple system font) --- */
@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&display=swap&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Color Palette */
  --cream: #F8F4EE;
  --cream-dark: #EDE8DF;
  --beige: #D4C9B5;
  --beige-light: #EAE3D5;
  --gold: #B8973A;
  --gold-light: #D4AF60;
  --gold-pale: #F0E4C0;
  --sage: #7A9B76;
  --sage-light: #A8C4A4;
  --sage-dark: #5A7A56;
  --charcoal: #2A2622;
  --charcoal-mid: #3D3730;
  --charcoal-soft: #5C564E;
  --text-body: #4A4540;
  --text-muted: #7A7068;
  --white: #FFFFFF;
  --navy: #1E2B4A;

  /* Typography
     Serif  : 'New York' = Apple's editorial serif (macOS 10.15+, iOS 13+),
              falls back to Cormorant Garamond on Windows/Android.
     Sans   : -apple-system / BlinkMacSystemFont = SF Pro on Apple devices
              (zero load time, pixel-perfect on Retina). Falls back to
              Inter → system-ui on other platforms. */
  --font-serif: 'New York', 'Cormorant Garamond', 'Palatino Linotype', Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', 'Inter', system-ui, sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
  --spacing-2xl: 6rem;
  --spacing-3xl: 8rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 12px rgba(42, 38, 34, 0.06);
  --shadow-md: 0 8px 32px rgba(42, 38, 34, 0.10);
  --shadow-lg: 0 20px 60px rgba(42, 38, 34, 0.14);
  --shadow-gold: 0 8px 32px rgba(184, 151, 58, 0.18);

  /* Transitions */
  --transition-fast: 200ms ease;
  --transition-base: 350ms ease;
  --transition-slow: 600ms ease;

  /* Nav height */
  --nav-height: 76px;
}

/* --- CSS Reset + Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* Prevent font size inflation on iOS */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  /* Apple: subpixel antialiasing for crisp text */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a {
  text-decoration: none; color: inherit;
  /* Remove tap highlight on iOS */
  -webkit-tap-highlight-color: transparent;
}
ul { list-style: none; }
button {
  border: none; cursor: pointer;
  font-family: var(--font-sans);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation; /* faster tap response */
}
/* Minimum 44×44px touch targets for Apple HIG compliance */
.btn, .nav-toggle, .filter-tab, .slider-dot, .modal-close,
.social-btn, .wa-btn { touch-action: manipulation; }
.btn { min-height: 44px; }

/* --- Typography Scale --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
p { font-size: 1rem; line-height: 1.8; color: var(--text-body); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* --- Layout Utilities --- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}
.section-pad { padding: var(--spacing-3xl) 0; }
.section-pad-sm { padding: var(--spacing-2xl) 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-xl); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-md); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }

/* --- Section Header --- */
.section-header { margin-bottom: var(--spacing-xl); }
.section-header .eyebrow { margin-bottom: var(--spacing-xs); }
.section-header h2 { margin-bottom: var(--spacing-sm); }
.section-header p { max-width: 540px; color: var(--text-muted); }
.section-header.text-center p { margin: 0 auto; }

/* --- Divider --- */
.gold-line {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: var(--radius-full);
  margin: var(--spacing-sm) 0;
}
.gold-line.center { margin: var(--spacing-sm) auto; }

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  display: flex; align-items: center;
  background: rgba(248, 244, 238, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(184, 151, 58, 0.12);
  transition: box-shadow var(--transition-base);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
}
.nav-logo img {
  height: 52px; width: 52px; object-fit: contain;
  border-radius: var(--radius-full);
}
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.2;
  white-space: nowrap;
}
.nav-logo-text span { display: block; font-size: 0.6rem; font-weight: 400; font-family: var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
}
.nav-links a, .nav-dropdown > a {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--charcoal-soft);
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  white-space: nowrap; /* prevent line breaks in nav items */
  transition: color var(--transition-fast), background var(--transition-fast);
  position: relative;
}
.nav-links a:hover, .nav-dropdown > a:hover,
.nav-links a.active { color: var(--gold); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: pointer; display: flex; align-items: center; gap: 0.3rem; }
.nav-dropdown > a::after { content: '▾'; font-size: 0.65rem; margin-left: 0.2rem; transition: transform var(--transition-fast); }
.nav-dropdown:hover > a::after { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 0.5rem); left: 50%; transform: translateX(-50%);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--beige);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: all var(--transition-base);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block; padding: 0.6rem 1rem;
  font-size: 0.8rem; color: var(--text-body);
  border-radius: var(--radius-sm);
  font-weight: 400; letter-spacing: 0.04em; text-transform: none;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.dropdown-menu a:hover { background: var(--cream); color: var(--gold); }

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white) !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast) !important;
  white-space: nowrap;
}
.nav-cta:hover { box-shadow: var(--shadow-gold); transform: translateY(-1px) !important; color: var(--white) !important; }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  width: 24px; height: 1.5px;
  background: var(--charcoal);
  transition: all var(--transition-base);
  display: block;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed; top: var(--nav-height); left: 0; right: 0;
  background: var(--cream); border-top: 1px solid var(--beige);
  padding: var(--spacing-md);
  z-index: 999;
  box-shadow: var(--shadow-lg);
  flex-direction: column; gap: 0.25rem;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--charcoal);
  font-weight: 400;
  letter-spacing: 0.06em;
}
.mobile-menu a:hover { background: var(--cream-dark); color: var(--gold); }
.mobile-menu .mobile-section-label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); padding: 0.75rem 1rem 0.25rem; margin-top: 0.5rem;
}
.mobile-menu .mobile-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white); font-weight: 600; text-align: center;
  border-radius: var(--radius-full); margin-top: 0.5rem;
}
.mobile-menu .mobile-cta:hover { box-shadow: var(--shadow-gold); }

/* Page layout */
.page-content { padding-top: var(--nav-height); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: var(--radius-full);
  padding: 0.85rem 2rem;
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
  box-shadow: 0 4px 24px rgba(184, 151, 58, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(184, 151, 58, 0.38); }
.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-secondary:hover { background: var(--gold); color: var(--white); }
.btn-outline-dark {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}
.btn-outline-dark:hover { background: var(--charcoal); color: var(--cream); }
.btn-white {
  background: var(--white);
  color: var(--charcoal);
}
.btn-white:hover { background: var(--cream); color: var(--gold); box-shadow: var(--shadow-md); }
.btn-lg { padding: 1rem 2.4rem; font-size: 0.85rem; }
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.75rem; }

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
/* Hero container: push content to the left */
.hero > .container {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  /* Push subjects entirely to the right edge */
  background-position: right center;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  /* Darken the left significantly to ensure text pops and gradient fades before subjects */
  background: linear-gradient(to right,
    rgba(22, 18, 14, 0.98) 0%,
    rgba(22, 18, 14, 0.90) 35%,
    rgba(22, 18, 14, 0.40) 55%,
    rgba(22, 18, 14, 0.00) 100%
  );
}

/* Constrain text strictly to the left third/half */
.hero-content {
  position: relative; z-index: 2;
  max-width: 480px;   /* tighter width to prevent any overlap */
  text-align: left;   /* explicit left-align on desktop */
  margin-right: auto; /* pin to left side */
}

/* Gold accent line before eyebrow */
.hero-eyebrow-wrap {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: var(--spacing-sm);
}
.hero-eyebrow-line {
  width: 32px; height: 1.5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  flex-shrink: 0;
}
.hero-content .eyebrow {
  color: var(--gold-light);
  margin-bottom: 0;
  letter-spacing: 0.28em;
}
.hero-content h1 {
  color: var(--white);
  font-style: italic;
  margin-bottom: var(--spacing-md);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.hero-content h1 em { font-style: normal; color: var(--gold-light); }
.hero-content > p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 460px;
  margin-bottom: var(--spacing-lg);
  font-weight: 300;
}

/* Decorative divider between headline and body text */
.hero-divider {
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: var(--spacing-md);
}
.hero-divider-line {
  flex: 1; height: 1px;
  background: linear-gradient(to right, rgba(184,151,58,0.6), transparent);
}
.hero-divider-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}

.hero-cta-group {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start; /* buttons stay left, never stretch to fill width */
}

/* Trust strip beneath CTAs */
.hero-trust {
  display: flex; align-items: center; gap: 1.25rem;
  margin-top: var(--spacing-md);
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.7rem; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.hero-trust-item span:first-child { color: var(--gold-light); font-size: 0.85rem; }
.hero-trust-sep {
  width: 1px; height: 14px;
  background: rgba(255,255,255,0.18);
}

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.hero-scroll span {
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5);
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* Stats strip */
.stats-strip {
  background: var(--charcoal);
  padding: var(--spacing-md) 0;
}
.stats-strip .container {
  display: flex; align-items: center; justify-content: center;
  gap: var(--spacing-xl); flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item .stat-num {
  font-family: var(--font-serif); font-size: 2.2rem; font-weight: 500;
  color: var(--gold-light); line-height: 1;
}
.stat-item .stat-label {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-top: 0.3rem;
}
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.12); }

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section { background: var(--cream); }
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%; height: 520px; object-fit: cover;
  border-radius: var(--radius-xl);
}
.about-img-badge {
  position: absolute; bottom: 2rem; left: -2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 140px;
}
.about-img-badge .badge-num {
  font-family: var(--font-serif); font-size: 2.5rem; font-weight: 500;
  color: var(--gold); line-height: 1;
}
.about-img-badge .badge-text {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-top: 0.25rem;
}
.about-text { padding-left: var(--spacing-lg); }
.about-text h2 { margin-bottom: var(--spacing-sm); }
.about-text p { color: var(--text-muted); margin-bottom: var(--spacing-md); }
.about-features { display: flex; flex-direction: column; gap: 0.75rem; margin-top: var(--spacing-md); }
.about-feature {
  display: flex; align-items: flex-start; gap: 0.75rem;
}
.about-feature .feat-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--gold-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1rem;
}
.about-feature .feat-text h5 {
  font-family: var(--font-sans); font-size: 0.85rem; font-weight: 600;
  color: var(--charcoal); margin-bottom: 0.1rem;
}
.about-feature .feat-text p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* =============================================
   OFFERINGS / CARDS
   ============================================= */
.offerings-section { background: var(--cream-dark); }
.offering-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--beige-light);
  transition: all var(--transition-base);
  position: relative; overflow: hidden;
}
.offering-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition-base);
}
.offering-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.offering-card:hover::before { transform: scaleX(1); }
.offering-icon {
  width: 56px; height: 56px;
  background: var(--gold-pale);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  transition: background var(--transition-base);
}
.offering-card:hover .offering-icon { background: var(--gold); }
.offering-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.offering-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: var(--spacing-md); }
.offering-link {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: gap var(--transition-fast);
}
.offering-link:hover { gap: 0.7rem; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section { background: var(--charcoal); position: relative; overflow: hidden; }
.testimonials-section::before {
  content: '"';
  position: absolute; top: -2rem; left: 2rem;
  font-family: var(--font-serif); font-size: 20rem; font-weight: 700;
  color: rgba(255,255,255,0.03); line-height: 1; pointer-events: none;
}
.testimonials-section .section-header { color: var(--white); }
.testimonials-section .section-header h2 { color: var(--white); }
.testimonials-section .section-header p { color: rgba(255,255,255,0.55); }
.testimonials-section .eyebrow { color: var(--gold-light); }
.testimonials-slider { position: relative; }
.testimonials-track {
  display: flex; gap: var(--spacing-md);
  transition: transform var(--transition-slow);
}
.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  min-width: calc(33.333% - var(--spacing-sm));
  flex-shrink: 0;
  transition: all var(--transition-base);
}
.testimonial-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(184,151,58,0.3); }
.testimonial-stars { color: var(--gold-light); font-size: 0.9rem; margin-bottom: var(--spacing-sm); letter-spacing: 0.2em; }
.testimonial-text {
  font-family: var(--font-serif); font-size: 1.1rem; font-style: italic;
  color: rgba(255,255,255,0.85); line-height: 1.7;
  margin-bottom: var(--spacing-md);
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 44px; height: 44px; border-radius: var(--radius-full);
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.1rem; font-weight: 500; color: var(--gold);
  flex-shrink: 0;
}
.author-name {
  font-weight: 600; font-size: 0.88rem; color: var(--white); line-height: 1.2;
}
.author-meta { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-top: 0.15rem; }
.slider-nav {
  display: flex; gap: var(--spacing-sm); justify-content: center; margin-top: var(--spacing-lg);
}
.slider-dot {
  width: 8px; height: 8px; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.22); cursor: pointer;
  transition: all var(--transition-base);
}
.slider-dot.active { background: var(--gold); width: 24px; }

/* =============================================
   MASTERS
   ============================================= */
.masters-section { background: var(--cream); }
.master-card {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  group: master;
}
.master-img {
  width: 100%; height: 380px; object-fit: cover;
  transition: transform 0.6s ease;
}
.master-card:hover .master-img { transform: scale(1.04); }
.master-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(42,38,34,0.9) 0%, rgba(42,38,34,0.1) 60%, transparent 100%);
  padding: var(--spacing-lg);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.master-tag {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(184,151,58,0.18);
  border: 1px solid rgba(184,151,58,0.3);
  padding: 0.25rem 0.75rem; border-radius: var(--radius-full);
  display: inline-block; margin-bottom: 0.5rem; width: fit-content;
}
.master-name {
  font-family: var(--font-serif); font-size: 1.6rem; font-weight: 400;
  color: var(--white); margin-bottom: 0.25rem;
}
.master-spec { font-size: 0.82rem; color: rgba(255,255,255,0.65); }
.master-social {
  margin-top: var(--spacing-sm);
  opacity: 0; transform: translateY(8px);
  transition: all var(--transition-base);
  display: flex; gap: 0.5rem;
}
.master-card:hover .master-social { opacity: 1; transform: translateY(0); }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--sage-dark) 0%, var(--sage) 50%, var(--sage-light) 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { color: var(--white); }
.cta-section .eyebrow { color: rgba(255,255,255,0.7); }
.cta-section p { color: rgba(255,255,255,0.8); }

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-hero {
  background: var(--charcoal);
  padding: var(--spacing-3xl) 0 var(--spacing-2xl);
  text-align: center;
}
.why-hero h1 { color: var(--white); font-style: italic; margin-bottom: var(--spacing-sm); }
.why-hero p { color: rgba(255,255,255,0.62); max-width: 560px; margin: 0 auto; }
.why-hero .eyebrow { color: var(--gold-light); margin-bottom: var(--spacing-sm); }

.value-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  border: 1px solid var(--beige-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  text-align: center;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.value-icon {
  width: 72px; height: 72px; margin: 0 auto var(--spacing-md);
  background: linear-gradient(135deg, var(--gold-pale), #fff);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  border: 2px solid var(--gold-pale);
}
.value-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.88rem; color: var(--text-muted); }

.differentiator {
  background: var(--cream-dark);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
}
.differentiator-item {
  display: flex; gap: var(--spacing-md); align-items: flex-start;
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--beige-light);
}
.differentiator-item:last-child { border-bottom: none; }
.diff-num {
  font-family: var(--font-serif); font-size: 3rem; font-weight: 300;
  color: var(--gold-pale); line-height: 1; min-width: 60px;
}
.diff-content h4 { font-family: var(--font-serif); font-size: 1.3rem; margin-bottom: 0.4rem; }
.diff-content p { font-size: 0.88rem; color: var(--text-muted); }

/* =============================================
   MEMBERSHIPS
   ============================================= */
.memberships-hero {
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--beige-light) 100%);
  padding: var(--spacing-3xl) 0 var(--spacing-2xl);
  text-align: center;
}
.filter-tabs {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center;
  margin-bottom: var(--spacing-xl);
}
.filter-tab {
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.6rem 1.4rem; border-radius: var(--radius-full);
  background: var(--white); color: var(--text-muted);
  border: 1.5px solid var(--beige);
  cursor: pointer; transition: all var(--transition-fast);
}
.filter-tab:hover, .filter-tab.active {
  background: var(--gold); color: var(--white); border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.pricing-section { background: var(--cream); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--spacing-md);
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--beige-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.pricing-card.featured::after {
  content: 'Most Popular';
  position: absolute; top: 1.2rem; right: -2rem;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.3rem 2.5rem;
  transform: rotate(35deg);
}
.pricing-header {
  background: var(--cream-dark);
  padding: var(--spacing-lg);
  border-bottom: 1px solid var(--beige-light);
}
.pricing-card.featured .pricing-header {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}
.pricing-card.featured .pricing-header h3,
.pricing-card.featured .pricing-header .pricing-type { color: var(--white); }
.pricing-type {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem;
}
.pricing-header h3 { font-size: 1.3rem; margin-bottom: var(--spacing-sm); }
.price {
  display: flex; align-items: baseline; gap: 0.25rem;
}
.price-currency { font-size: 1.2rem; color: var(--text-muted); font-family: var(--font-sans); }
.price-amount { font-family: var(--font-serif); font-size: 3rem; font-weight: 500; color: var(--charcoal); line-height: 1; }
.pricing-card.featured .price-amount { color: var(--white); }
.pricing-card.featured .price-currency { color: rgba(255,255,255,0.75); }
.price-period { font-size: 0.8rem; color: var(--text-muted); }
.pricing-card.featured .price-period { color: rgba(255,255,255,0.75); }
.pricing-body { padding: var(--spacing-lg); }
.pricing-features { margin-bottom: var(--spacing-md); }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.85rem; color: var(--text-body);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--cream-dark);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .check { color: var(--sage); font-size: 0.9rem; flex-shrink: 0; margin-top: 2px; }
.pricing-features .cross { color: var(--beige); font-size: 0.9rem; flex-shrink: 0; }
.pricing-features li.disabled { color: var(--text-muted); opacity: 0.55; }
.membership-category { display: none; }
.membership-category.visible { display: contents; }

/* =============================================
   EVENTS
   ============================================= */
.events-hero {
  background: linear-gradient(135deg, var(--sage-dark) 0%, var(--sage) 100%);
  padding: var(--spacing-3xl) 0 var(--spacing-2xl);
  text-align: center;
}
.events-hero h1 { color: var(--white); font-style: italic; }
.events-hero p { color: rgba(255,255,255,0.72); max-width: 540px; margin: 0 auto; }
.events-hero .eyebrow { color: rgba(255,255,255,0.7); }

.events-section { background: var(--cream); }
.event-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--beige-light);
  transition: all var(--transition-base);
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.event-img {
  position: relative; height: 220px; overflow: hidden;
}
.event-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.event-card:hover .event-img img { transform: scale(1.06); }
.event-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--gold);
  color: var(--white);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.3rem 0.8rem; border-radius: var(--radius-full);
}
.event-date-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
  text-align: center; min-width: 52px;
  box-shadow: var(--shadow-sm);
}
.event-date-badge .day {
  font-family: var(--font-serif); font-size: 1.6rem; font-weight: 500;
  color: var(--charcoal); line-height: 1;
}
.event-date-badge .month {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
}
.event-body { padding: var(--spacing-md); }
.event-meta {
  display: flex; gap: var(--spacing-sm); margin-bottom: 0.75rem; flex-wrap: wrap;
}
.event-meta span {
  font-size: 0.72rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 0.3rem;
}
.event-body h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.event-body p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: var(--spacing-md); }
.event-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--spacing-sm) var(--spacing-md);
  border-top: 1px solid var(--cream-dark);
}
.event-price { font-family: var(--font-serif); font-size: 1.3rem; color: var(--gold); }
.event-price small { font-family: var(--font-sans); font-size: 0.72rem; color: var(--text-muted); display: block; }

/* =============================================
   PARTNERSHIPS
   ============================================= */
.partnerships-hero {
  background: var(--cream-dark);
  padding: var(--spacing-3xl) 0 var(--spacing-2xl);
  text-align: center;
}
.partners-section { background: var(--cream); }
.partner-logo-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--spacing-md); margin-bottom: var(--spacing-2xl);
}
.partner-logo {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--beige-light);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--spacing-md);
  text-align: center; gap: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}
.partner-logo:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold-pale); }
.partner-logo-icon { font-size: 2.2rem; }
.partner-logo-name { font-family: var(--font-serif); font-size: 1.1rem; color: var(--charcoal); }
.partner-logo-type { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

.partnership-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-md); margin-bottom: var(--spacing-2xl); }
.pship-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  border: 1px solid var(--beige-light);
  text-align: center;
  transition: all var(--transition-base);
}
.pship-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pship-icon { font-size: 2.5rem; margin-bottom: var(--spacing-sm); }
.pship-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.pship-card p { font-size: 0.85rem; color: var(--text-muted); }

/* =============================================
   MASTERS PAGE
   ============================================= */
.masters-hero {
  background: var(--charcoal);
  padding: var(--spacing-3xl) 0 var(--spacing-2xl);
  text-align: center;
}
.masters-hero h1 { color: var(--white); font-style: italic; }
.masters-hero p { color: rgba(255,255,255,0.62); max-width: 540px; margin: 0 auto; }
.masters-hero .eyebrow { color: var(--gold-light); }

.master-profile {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--beige-light);
  transition: all var(--transition-base);
}
.master-profile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.master-profile-img { 
  width: 100%; 
  height: 420px; 
  object-fit: cover; 
  object-position: center 15%; 
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.master-profile:hover .master-profile-img { transform: scale(1.04); }
.master-profile-body { padding: var(--spacing-lg); }
.master-profile-body .master-tag {
  display: inline-block;
  font-size: 0.65rem; 
  font-weight: 700; 
  letter-spacing: 0.18em; 
  text-transform: uppercase;
  color: var(--gold); 
  background: var(--cream);
  border: 1px solid var(--gold-pale);
  border-radius: var(--radius-full); 
  padding: 0.4rem 1.2rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 8px rgba(184, 151, 58, 0.08);
}
.master-profile-body h3 { 
  font-size: 1.8rem; 
  margin-bottom: 0.4rem; 
  letter-spacing: -0.01em;
}
.master-profile-body .master-spec { 
  font-size: 0.9rem; 
  color: var(--text-muted); 
  margin-bottom: var(--spacing-md);
  font-family: var(--font-sans);
  font-weight: 500;
}
.master-stats {
  display: flex; 
  gap: var(--spacing-md); 
  margin-top: var(--spacing-sm);
  border-top: 1px solid var(--beige-light); 
  padding-top: var(--spacing-md);
}
.m-stat { text-align: center; flex: 1; }
.m-stat-num { 
  font-family: var(--font-serif); 
  font-size: 1.6rem; 
  color: var(--gold); 
  line-height: 1.2;
}
.m-stat-label { 
  font-size: 0.62rem; 
  letter-spacing: 0.12em; 
  text-transform: uppercase; 
  color: var(--text-muted);
  font-weight: 600;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-hero {
  background: var(--cream-dark);
  padding: var(--spacing-3xl) 0 var(--spacing-2xl);
  text-align: center;
}
.contact-section { background: var(--cream); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--spacing-xl);
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: var(--spacing-md); }
.contact-info-item {
  display: flex; gap: var(--spacing-sm); align-items: flex-start;
  background: var(--white); border-radius: var(--radius-lg);
  padding: var(--spacing-md); border: 1px solid var(--beige-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}
.contact-info-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--gold-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--gold);
}
.contact-info-text h5 { font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.25rem; }
.contact-info-text p, .contact-info-text a { font-size: 0.92rem; color: var(--charcoal); }
.contact-info-text a:hover { color: var(--gold); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--beige-light);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-md); }
.form-group { margin-bottom: var(--spacing-md); }
.form-group label {
  display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 0.4rem;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.9rem 1.1rem;
  font-family: var(--font-sans); font-size: 0.92rem;
  background: var(--cream);
  border: 1.5px solid var(--beige);
  border-radius: var(--radius-md);
  color: var(--charcoal);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,151,58,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success { display: none; text-align: center; padding: var(--spacing-lg); }
.form-success .success-icon { font-size: 3rem; margin-bottom: var(--spacing-sm); }
.form-success h4 { font-size: 1.3rem; color: var(--sage-dark); margin-bottom: 0.5rem; }
.form-success p { color: var(--text-muted); font-size: 0.88rem; }

.map-wrap {
  border-radius: var(--radius-xl); overflow: hidden;
  height: 320px; margin-top: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--beige-light);
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(42, 38, 34, 0.72);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: var(--spacing-md);
  opacity: 0; visibility: hidden;
  transition: all var(--transition-base);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 520px; width: 100%;
  padding: var(--spacing-xl);
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(0.98);
  transition: all var(--transition-base);
  max-height: 92vh; overflow-y: auto;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 32px; height: 32px; border-radius: var(--radius-full);
  background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--text-muted); cursor: pointer;
  transition: all var(--transition-fast); border: none;
}
.modal-close:hover { background: var(--beige); color: var(--charcoal); }
.modal-header { margin-bottom: var(--spacing-lg); }
.modal-header .eyebrow { margin-bottom: 0.5rem; }
.modal-header h3 { font-size: 1.8rem; }
.modal-header p { font-size: 0.88rem; color: var(--text-muted); margin-top: 0.4rem; }

/* =============================================
   FLOATING WHATSAPP
   ============================================= */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 5000;
}
.wa-btn {
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  text-decoration: none;
  animation: waPop 3s ease-in-out infinite;
}
.wa-btn:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55); }
@keyframes waPop {
  0%, 90%, 100% { transform: scale(1); }
  95% { transform: scale(1.08); }
}
.wa-label {
  position: absolute; right: calc(100% + 0.75rem); top: 50%; transform: translateY(-50%);
  background: var(--charcoal);
  color: var(--white); font-size: 0.72rem; font-weight: 500;
  white-space: nowrap; padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition-fast);
}
.wa-label::after {
  content: ''; position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: var(--charcoal);
  border-right: none;
}
.wa-float:hover .wa-label { opacity: 1; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--charcoal);
  padding: var(--spacing-3xl) 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-xl); margin-bottom: var(--spacing-2xl);
}
.footer-brand .nav-logo { margin-bottom: var(--spacing-md); }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.45); max-width: 280px; line-height: 1.7; }
.footer-social { display: flex; gap: 0.5rem; margin-top: var(--spacing-md); }
.social-btn {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); font-size: 0.9rem;
  transition: all var(--transition-fast); text-decoration: none;
}
.social-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.footer-col h5 {
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: var(--spacing-md);
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-size: 0.85rem; color: rgba(255,255,255,0.45);
  transition: color var(--transition-fast);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--spacing-md) 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: var(--spacing-sm);
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: var(--gold-light); }

/* =============================================
   PAGE HERO PATTERN (INNER PAGES)
   ============================================= */
.page-hero {
  padding: calc(var(--nav-height) + var(--spacing-2xl)) 0 var(--spacing-2xl);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23B8973A' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }
.fade-up.delay-5 { transition-delay: 0.5s; }

/* =============================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--spacing-lg); }
  .contact-grid { grid-template-columns: 1fr; }
  .partnership-types { grid-template-columns: 1fr 1fr; }
  .differentiator { padding: var(--spacing-lg); }
}

/* =============================================
   RESPONSIVE — MOBILE (≤768px)
   Apple iPhone Plus / Pro Max breakpoint
   ============================================= */
@media (max-width: 768px) {
  :root {
    --spacing-3xl: 4rem;
    --spacing-2xl: 3rem;
    --spacing-xl: 2.5rem;
    --spacing-lg: 2rem;
    --nav-height: 68px;
  }

  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-logo img { height: 44px; width: 44px; }
  .nav-logo-text { font-size: 0.95rem; }

  /* Grids */
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr; }

  /* Hero */
  .hero-content h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .hero-content p { font-size: 1rem; }
  .hero-cta-group { gap: 0.75rem; }
  .hero-scroll { display: none; } /* cleaner on mobile */
  /* Fix: image was hidden behind near-opaque gradient on mobile */
  .hero-bg {
    background-position: center top;
  }
  .hero-bg::after {
    background: linear-gradient(to top,
      rgba(22, 18, 14, 0.92) 0%,
      rgba(22, 18, 14, 0.75) 40%,
      rgba(22, 18, 14, 0.45) 70%,
      rgba(22, 18, 14, 0.20) 100%
    );
  }
  .hero-content {
    max-width: 100%;
    text-align: left;
  }

  /* Stats strip */
  .stats-strip .container { gap: var(--spacing-md); flex-wrap: wrap; justify-content: center; }
  .stat-divider { display: none; }
  .stat-item { min-width: 80px; }

  /* About */
  .about-img-badge { left: 1rem; }
  .about-text { padding-left: 0; }
  .about-img-wrap img { height: 320px; }

  /* Testimonials */
  .testimonial-card { min-width: calc(100% - var(--spacing-sm)); padding: 1.5rem; }

  /* Masters preview */
  .master-img { height: 300px; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-card.featured::after { display: none; } /* avoid overflow on small screens */

  /* Events */
  .event-img { height: 200px; }

  /* Partnerships */
  .partnership-types { grid-template-columns: 1fr; }
  .partner-logo-grid { grid-template-columns: repeat(2, 1fr); }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Misc */
  .container { padding: 0 1.25rem; }
  .differentiator { padding: var(--spacing-md); }
  .diff-num { font-size: 2rem; min-width: 44px; }
  .master-profile-img { height: 340px; }
  .wa-float { bottom: 1.5rem; right: 1.25rem; }
  .wa-btn { width: 52px; height: 52px; font-size: 1.4rem; }
  .modal { padding: 1.5rem; border-radius: var(--radius-lg); }
}

/* =============================================
   RESPONSIVE — SMALL PHONE (≤480px)
   Apple iPhone SE / 12 mini / 13 mini
   ============================================= */
@media (max-width: 480px) {
  :root {
    --spacing-3xl: 3rem;
    --spacing-2xl: 2.5rem;
  }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }

  h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  h2 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  h3 { font-size: clamp(1.2rem, 5vw, 1.6rem); }

  .hero-cta-group { flex-direction: column; align-items: flex-start; width: 100%; }
  .hero-cta-group .btn { width: 100%; justify-content: center; }

  .filter-tabs { gap: 0.4rem; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start;
    padding-bottom: 0.5rem; -webkit-overflow-scrolling: touch; }
  .filter-tab { font-size: 0.72rem; padding: 0.5rem 1rem; flex-shrink: 0; }

  .stats-strip .container { gap: 1rem; }
  .stat-item .stat-num { font-size: 1.6rem; }

  .about-img-wrap img { height: 260px; }
  .about-img-badge { display: none; } /* too small to show without overflow */

  .master-img { height: 260px; }
  .master-profile-img { height: 300px; }

  .event-img { height: 180px; }
  .event-footer { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
  .event-footer .btn { width: 100%; justify-content: center; }

  .partner-logo-grid { grid-template-columns: 1fr 1fr; }
  .partnership-types { grid-template-columns: 1fr; }

  .section-header { margin-bottom: 2rem; }
  .filter-tabs { margin-bottom: 2rem; }

  .modal { max-height: 95svh; }
  .modal-header h3 { font-size: 1.5rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .cta-section .hero-cta-group { flex-direction: column; align-items: center; width: 100%; }
  .cta-section .btn { width: 100%; max-width: 320px; justify-content: center; }

  .master-stats { gap: 0.75rem; }
}

/* =============================================
   APPLE-SPECIFIC POLISH
   Safe Area Insets (iPhone notch / Dynamic Island)
   ============================================= */
@supports (padding-top: env(safe-area-inset-top)) {
  .navbar {
    padding-top: env(safe-area-inset-top);
    height: calc(var(--nav-height) + env(safe-area-inset-top));
  }
  .page-content {
    padding-top: calc(var(--nav-height) + env(safe-area-inset-top));
  }
  .mobile-menu {
    top: calc(var(--nav-height) + env(safe-area-inset-top));
  }
  .wa-float {
    bottom: calc(2rem + env(safe-area-inset-bottom));
    right: calc(2rem + env(safe-area-inset-right));
  }
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}

/* Momentum scrolling within mobile menu */
.mobile-menu { -webkit-overflow-scrolling: touch; }

/* Hover states only on non-touch devices (avoids stuck hover on iOS) */
@media (hover: hover) and (pointer: fine) {
  .offering-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .master-card:hover .master-img { transform: scale(1.04); }
  .master-card:hover .master-social { opacity: 1; transform: translateY(0); }
  .value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .btn-primary:hover { transform: translateY(-2px); }
  .contact-info-item:hover { transform: translateY(-2px); }
}
/* Always-on transforms become static on touch devices */
@media (hover: none) {
  .offering-card, .event-card, .value-card,
  .pricing-card, .master-profile { transform: none !important; }
}

/* Scrollbar (desktop only) */
@media (hover: hover) {
  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-track { background: var(--cream-dark); }
  ::-webkit-scrollbar-thumb { background: var(--beige); border-radius: var(--radius-full); }
  ::-webkit-scrollbar-thumb:hover { background: var(--gold); }
}
