/* =========================================================
   MANIDWEEP — Reiki & Yoga Spiritual Healing Centre
   Design System / Global Stylesheet
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  --bg: #FFFFFF;
  --bg-secondary: #F8F9F6;
  --primary: #4F8A6D;
  --primary-dark: #3D6E56;
  --primary-light: #E7F0EA;
  --accent: #C8B48A;
  --accent-light: #F1EAD9;
  --text: #2E2E2E;
  --text-muted: #666666;
  --border: #ECECEC;
  --white: #FFFFFF;
  --error: #C0392B;
  --error-bg: #FDF1EF;

  --font-head: "Playfair Display", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --shadow-sm: 0 4px 14px rgba(46, 46, 46, 0.06);
  --shadow-md: 0 12px 32px rgba(46, 46, 46, 0.08);
  --shadow-lg: 0 24px 60px rgba(46, 46, 46, 0.12);

  --container: 1220px;
  --nav-h: 84px;
  /* Fluid page gutter — 28px on desktop, tightening on small screens */
  --gutter: clamp(18px, 4vw, 28px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  /* stops iOS Safari inflating text in landscape */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { position: relative; }

/* Horizontally scrollable wrapper for wide content (tables etc.) */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

/* ---------- Loading Animation ---------- */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
#page-loader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 2px solid var(--primary-light);
  border-top-color: var(--primary);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--primary); font-weight: 600; margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); display: inline-block; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.4vw, 2.85rem); margin-bottom: 16px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }
.section-pad { padding: 110px 0; }
.bg-soft { background: var(--bg-secondary); }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.service-section-actions { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: 0.1s; }
.reveal-delay-2.in-view { transition-delay: 0.2s; }
.reveal-delay-3.in-view { transition-delay: 0.3s; }
.reveal-delay-4.in-view { transition-delay: 0.4s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 32px; border-radius: var(--radius-full);
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: var(--white);
  box-shadow: 0 10px 24px rgba(79,138,109,0.28);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 16px 32px rgba(79,138,109,0.34); }
.btn-outline {
  background: transparent; color: var(--text); border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }
.btn-light {
  background: var(--white); color: var(--primary); box-shadow: var(--shadow-sm);
}
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  /* --nav-h-cur tracks the *current* bar height so the mobile drawer can sit
     flush under it in both the resting and scrolled states. */
  --nav-h-cur: var(--nav-h);
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h-cur);
  display: flex; align-items: center;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(236,236,236,0.6);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}
.navbar.scrolled { --nav-h-cur: 70px; background: rgba(255,255,255,0.86); box-shadow: 0 8px 30px rgba(0,0,0,0.06); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
/* On desktop the panel is transparent to layout — links and CTA stay direct
   flex children of the bar. It only becomes a real box as the mobile drawer. */
.nav-panel { display: contents; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--text); flex-shrink: 0; }
/* Square brand mark — rounded rather than circular so the logo's corners
   and its border frame are not clipped. */
.logo .mark {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.logo .mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo span.tag { display: block; font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.14em; color: var(--text-muted); font-weight: 500; text-transform: uppercase; }
/* 10 links need ~526px of text; the gap flexes so the row fits every desktop
   width down to the 1200px drawer breakpoint. */
.nav-links { display: flex; align-items: center; gap: clamp(18px, 1.9vw, 26px); white-space: nowrap; }
.nav-links a {
  font-size: 0.92rem; font-weight: 500; color: var(--text); position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--primary);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 9px; margin-right: -9px;
  flex-shrink: 0; z-index: 1100;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--text); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh; /* avoids the mobile-browser URL bar cropping the hero */
  display: flex; align-items: center;
  position: relative; padding-top: var(--nav-h);
  background: linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0.85) 88%),
    url("https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.2) 60%);
}
.hero-inner { position: relative; z-index: 2; max-width: 700px; }
.hero-inner h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); margin-bottom: 22px; }
.hero-inner h1 em { color: var(--primary); font-style: normal; }
.hero-inner h1.hero-title {
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #2b2b2b;
  text-align: center;
  max-width: 100%;
  overflow-wrap: break-word;
}
.hero-title span { display: block; }
.hero-title .accent { color: var(--primary); }
/* desktop: give the title room and keep "Awaken the Power Within" on one line */
@media (min-width: 992px) {
  .hero-inner { max-width: 960px; }
  .hero-title .accent { white-space: nowrap; }
}
.hero-inner p.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 540px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.7);
  border: 1px solid var(--border); backdrop-filter: blur(8px);
  padding: 8px 18px; border-radius: var(--radius-full); font-size: 0.82rem; margin-bottom: 26px; color: var(--primary-dark); font-weight: 600;
}
.scroll-indicator {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2;
  color: var(--text-muted); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.scroll-indicator .line { width: 1px; height: 34px; background: linear-gradient(var(--primary), transparent); animation: scrolldown 1.8s ease-in-out infinite; }
@keyframes scrolldown { 0% { transform: scaleY(0); opacity: 0; } 40% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1) translateY(20px); opacity: 0; } }

/* Simple inner-page hero (banner) */
.page-hero { padding: clamp(60px, 10vw, 100px) 0 clamp(40px, 6vw, 60px); text-align: center; background: var(--bg-secondary); }
.page-hero.with-image {
  background: linear-gradient(180deg, rgba(20,30,25,0.35), rgba(20,30,25,0.55)), var(--hero-img) center/cover no-repeat;
  color: #fff;
}
.yoga-hero {
  min-height: 580px;
  display: flex;
  align-items: center;
  background-position: center 14% !important;
}
.guru-hero {
  min-height: 580px;
  display: flex;
  align-items: center;
  background-position: center 14% !important;
}
.page-hero.with-image h1, .page-hero.with-image .eyebrow, .page-hero.with-image p { color: #fff; }
.page-hero.with-image .eyebrow::before { background: #fff; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 18px; }
.page-hero p { color: var(--text-muted); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- Guru Names Section ---------- */
.guru-names-section {
  padding: 40px 0;
  background: var(--bg-secondary);
}
.guru-names {
  color: var(--primary);
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 600;
  white-space: nowrap;
  text-align: center;
  overflow-x: auto;
  overflow-y: hidden;
}

@media (max-width: 360px) {
  .guru-names {
    font-size: 0.9rem;
  }
}
.breadcrumb { display: flex; gap: 8px; justify-content: center; font-size: 0.85rem; color: var(--text-muted); margin-top: 18px; }
.breadcrumb a { color: var(--primary); font-weight: 600; }
.guru-lineage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); }
.guru-lineage-card { margin: 0; text-align: center; }
.guru-lineage-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }
.guru-lineage-card figcaption { margin-top: 16px; color: var(--primary-dark); font-family: var(--font-head); font-size: clamp(1rem, 1.8vw, 1.3rem); font-weight: 600; }
.guru-main-card { max-width: 760px; margin: 0 auto; text-align: center; }
.guru-main-card img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: var(--radius-md);  }
.guru-main-card figcaption { margin-top: 18px; color: var(--primary-dark); font-family: var(--font-head); font-size: clamp(1.1rem, 2.5vw, 1.8rem); font-weight: 600; }
.great-masters-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 56px); }
.great-master-card { margin: 0; text-align: center; }
.great-master-card img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: var(--radius-md); box-shadow: var(--shadow-md); background: var(--white); }
.great-master-card figcaption { margin-top: 16px; color: var(--primary-dark); font-family: var(--font-head); font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 600; }

/* ---------- About Preview ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: 520px; object-fit: cover; }
.wellness-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; align-items: center; }
.wellness-media img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.wellness-copy h2 { max-width: 620px; }
.about-media.yoga-practice-media img {
  height: clamp(360px, 42vw, 520px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
}
.yoga-practice-media .floating-card { right: 0; }
.about-media .floating-card {
  position: absolute; bottom: -30px; right: -30px; background: var(--white);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 22px 26px;
  display: flex; align-items: center; gap: 16px; border: 1px solid var(--border);
}
.about-media .floating-card .num { font-family: var(--font-head); font-size: 2rem; color: var(--primary); font-weight: 700; }
.about-media .floating-card .lbl { font-size: 0.78rem; color: var(--text-muted); max-width: 110px; line-height: 1.4; }
.about-copy p { color: var(--text-muted); margin-bottom: 18px; }
.about-copy ul.check-list { margin: 26px 0; display: flex; flex-direction: column; gap: 12px; }
.about-copy ul.check-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.about-copy ul.check-list li .ico {
  width: 24px; height: 24px; border-radius: 50%; background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 0.75rem; flex-shrink: 0; margin-top: 2px;
}

/* ---------- Cards: Services ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
/* Without this a grid item's min-content width (a long email, an unbroken URL)
   can push a 1fr track wider than its share and overflow the row. */
.grid-2 > *, .grid-3 > *, .grid-4 > *, .form-grid > *, .footer-grid > * { min-width: 0; }

.service-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px 32px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card .icon {
  width: 62px; height: 62px; border-radius: 18px; background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 26px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.service-card:hover .icon { background: var(--primary); color: #fff; transform: rotate(-8deg) scale(1.05); }
.service-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 18px; }
.service-card .link { font-weight: 600; color: var(--primary); font-size: 0.88rem; display: inline-flex; align-items: center; gap: 6px; }
.service-card .link .arrow { transition: transform 0.3s var(--ease); }
.service-card:hover .link .arrow { transform: translateX(5px); }

/* ---------- Specialities ---------- */
.specialties-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.specialty-card {
  display: flex; flex-direction: column; height: 100%; padding: 30px 28px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.specialty-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.specialty-card h3 { color: var(--primary-dark); font-size: 1.15rem; line-height: 1.35; margin-bottom: 12px; }
.specialty-card p { color: var(--text-muted); font-size: .92rem; line-height: 1.7; }

/* Icon cards - why choose us */
.icon-card { text-align: center; padding: 44px 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--border); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.icon-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.icon-card .icon-wrap {
  width: 74px; height: 74px; margin: 0 auto 22px; border-radius: 50%;
  background: linear-gradient(145deg, var(--primary-light), var(--accent-light));
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--primary);
}
.icon-card h4 { font-size: 1.05rem; margin-bottom: 10px; }
.icon-card p { font-size: 0.88rem; color: var(--text-muted); }
.counter { font-family: var(--font-head); font-size: 2.2rem; color: var(--primary); font-weight: 700; }

/* ---------- Courses (horizontal / pricing) ---------- */
.courses-scroll { display: flex; gap: 26px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; }
.courses-scroll::-webkit-scrollbar { height: 6px; }
.courses-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
.course-card-h {
  flex: 0 0 300px; scroll-snap-align: start; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.course-card-h:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-card-h .thumb { height: 170px; overflow: hidden; }
.course-card-h .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.course-card-h:hover .thumb img { transform: scale(1.08); }
.course-card-h .body { padding: 24px; }
.course-card-h .tag { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); font-weight: 700; }
.course-card-h h4 { margin: 10px 0 8px; font-size: 1.1rem; }
.course-card-h p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 14px; }
.course-card-h .meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 14px; }

/* Course pricing cards (courses page) */
.pricing-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px; display: flex; flex-direction: column; height: 100%;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-card .level-badge { align-self: flex-start; background: var(--primary-light); color: var(--primary); font-size: 0.72rem; font-weight: 700; padding: 6px 14px; border-radius: var(--radius-full); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 18px; }
.pricing-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.pricing-card .duration { color: var(--accent); font-weight: 600; font-size: 0.85rem; margin-bottom: 16px; }
.pricing-card ul.highlights { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; flex-grow: 1; }
.pricing-card ul.highlights li { font-size: 0.9rem; color: var(--text-muted); display: flex; gap: 10px; align-items: flex-start; }
.pricing-card ul.highlights li::before { content: "✓"; color: var(--primary); font-weight: 700; }
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 50px; }
.filter-btn {
  padding: 10px 22px; border-radius: var(--radius-full); border: 1px solid var(--border);
  font-size: 0.85rem; font-weight: 600; color: var(--text-muted); transition: all .3s var(--ease);
}
.filter-btn.active, .filter-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- Testimonials ---------- */
.testimonial-track-wrap { position: relative; max-width: 780px; margin: 0 auto; }
.testimonial-slide { display: none; text-align: center; padding: 0 20px; }
.testimonial-slide.active { display: block; animation: fadein .6s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.testimonial-slide .stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 20px; }
.testimonial-slide p.quote { font-family: var(--font-head); font-size: 1.4rem; line-height: 1.5; margin-bottom: 30px; }
.testimonial-slide .person { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.testimonial-slide .person img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.testimonial-slide .person strong { font-size: 0.95rem; }
.testimonial-slide .person span { font-size: 0.8rem; color: var(--text-muted); }
.slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 36px; }
.slider-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--border); transition: background .3s, transform .3s; }
.slider-dots button.active { background: var(--primary); transform: scale(1.3); }
.slider-arrows { display: flex; justify-content: center; gap: 16px; margin-top: 26px; }
.slider-arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: all .3s var(--ease); }
.slider-arrows button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- Events ---------- */
.event-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.event-card .thumb { position: relative; height: 210px; overflow: hidden; }
.event-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.event-card:hover .thumb img { transform: scale(1.08); }
.event-date-badge {
  position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
  border-radius: var(--radius-sm); padding: 10px 14px; text-align: center; line-height: 1.1;
}
.event-date-badge .d { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--primary); }
.event-date-badge .m { font-size: 0.68rem; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.05em; }
.event-card .body { padding: 26px; }
.event-card .meta-row { display: flex; gap: 16px; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; flex-wrap: wrap; }
.event-card h4 { font-size: 1.15rem; margin-bottom: 10px; }
.event-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 18px; }
.status-pill { display: inline-block; font-size: 0.7rem; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-full); text-transform: uppercase; letter-spacing: 0.04em; }
.status-pill.upcoming { background: var(--primary-light); color: var(--primary); }
.status-pill.past { background: var(--accent-light); color: #8a744c; }

/* ---------- Gallery (Masonry) ---------- */
.masonry { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 18px; }
.masonry .g-item { border-radius: var(--radius-md); overflow: hidden; position: relative; cursor: pointer; }
.masonry .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.masonry .g-item:hover img { transform: scale(1.1); }
.masonry .g-item .overlay {
  position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(20,30,25,0.72));
  opacity: 0; transition: opacity .4s var(--ease); display: flex; align-items: flex-end; padding: 18px; color: #fff; font-size: 0.85rem; font-weight: 600;
}
.masonry .g-item:hover .overlay { opacity: 1; }
.masonry .g-item.tall { grid-row: span 2; }
.masonry .g-item.wide { grid-column: span 2; }
.g-item .play-badge { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.85); display: flex; align-items: center; justify-content: center; color: var(--primary); }

.lightbox { position: fixed; inset: 0; background: rgba(20,20,18,0.92); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; animation: fadein .3s var(--ease); }
.lightbox img { max-width: 90vw; max-height: 84vh; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox .lb-close, .lightbox .lb-nav { position: absolute; color: #fff; background: rgba(255,255,255,0.12); width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .3s; }
.lightbox .lb-close:hover, .lightbox .lb-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox .lb-close { top: 26px; right: 26px; }
.lightbox .lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 26px; top: 50%; transform: translateY(-50%); }

/* ---------- CTA ---------- */
.cta-band {
  border-radius: var(--radius-lg); margin: 0 auto; max-width: var(--container);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 60px; text-align: center; color: #fff; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255,255,255,0.06); top: -180px; right: -120px;
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 18px; }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 520px; margin: 0 auto 32px; }
.cta-band .btn-primary { background: #fff; color: var(--primary-dark); box-shadow: 0 14px 30px rgba(0,0,0,0.18); }
.cta-band .btn-primary:hover { background: var(--accent-light); }

/* ---------- Newsletter ---------- */
.newsletter-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 46px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.newsletter-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.newsletter-card p { color: var(--text-muted); font-size: 0.92rem; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  padding: 14px 20px; border-radius: var(--radius-full); border: 1px solid var(--border); min-width: 260px; background: var(--bg-secondary);
}
.newsletter-form input:focus { outline: none; border-color: var(--primary); }

/* ---------- Footer ---------- */
footer.site-footer { background: #F3F5F0; padding: 90px 0 0; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 50px; padding-bottom: 60px; }
.footer-grid p { color: var(--text-muted); font-size: 0.9rem; margin-top: 16px; max-width: 280px; }
.footer-grid h5 { font-size: 0.95rem; margin-bottom: 22px; letter-spacing: 0.02em; }
.footer-grid ul { display: flex; flex-direction: column; gap: 12px; }
.footer-grid ul a { color: var(--text-muted); font-size: 0.9rem; transition: color .3s, padding-left .3s; }
.footer-grid ul a:hover { color: var(--primary); padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; color: var(--text-muted); font-size: 0.9rem; align-items: flex-start; overflow-wrap: anywhere; }
/* fixed-width glyph column so multi-line entries (the address) hang-indent
   instead of wrapping back under the icon */
.footer-contact li > span:first-child { flex: 0 0 16px; text-align: center; }
.social-icons { display: flex; gap: 12px; margin-top: 20px; }
.social-icons a {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s var(--ease);
  color: var(--text);
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}
.social-icons a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.footer-bottom { border-top: 1px solid var(--border); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--primary); }

/* ---------- Floating buttons ---------- */
.whatsapp-float {
  position: fixed; bottom: 28px; left: 28px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  box-shadow: 0 10px 26px rgba(37,211,102,0.4); transition: transform .3s var(--ease);
  animation: pulse-wa 2.4s infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; fill: currentColor; display: block; }
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse-wa { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); } 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .35s var(--ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); }

/* ---------- FAQ Accordion ---------- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-weight: 600; font-size: 1.02rem; }
.faq-q .plus { cursor: pointer; font-size: 1.3rem; color: var(--primary); transition: transform .3s var(--ease); flex-shrink: 0; margin-left: 20px; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { color: var(--text-muted); padding-bottom: 22px; max-width: 720px; font-size: 0.95rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.form-field input, .form-field select, .form-field textarea {
  padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-secondary);
  transition: border-color .3s, background .3s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.form-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 10px; }
.form-success { display: none; background: var(--primary-light); color: var(--primary-dark); padding: 16px 20px; border-radius: var(--radius-sm); font-weight: 600; margin-top: 16px; }
.form-success.show { display: block; animation: fadein .4s var(--ease); }

/* ---------- Validation states ---------- */
.form-field label .req { color: var(--error); font-weight: 700; }
.field-error {
  display: none; font-size: 0.8rem; line-height: 1.45; color: var(--error); font-weight: 500;
}
.form-field.has-error .field-error { display: block; animation: fadein .25s var(--ease); }
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: var(--error); background: var(--error-bg); }
.form-field.has-error input:focus,
.form-field.has-error select:focus,
.form-field.has-error textarea:focus { border-color: var(--error); background: #fff; }

.form-failure {
  display: none; background: var(--error-bg); color: var(--error); padding: 16px 20px;
  border-radius: var(--radius-sm); font-weight: 600; margin-top: 16px; font-size: 0.92rem;
}
.form-failure.show { display: block; animation: fadein .4s var(--ease); }

/* Honeypot — off-screen rather than display:none, which some bots detect */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn.is-busy { opacity: 0.7; pointer-events: none; }

/* ---------- Info cards (contact page) ---------- */
.info-card { display: flex;flex-direction: column; gap: 18px; align-items: start; padding: 26px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--white); }
.info-card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.info-card h4 { font-size: 1rem; margin-bottom: 6px; }
.info-card p { font-size: 0.88rem; color: var(--text-muted); overflow-wrap: anywhere; }

/* ---------- Lady Grand Master image ---------- */
.founder-grid.media-right.media-md img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- Yoga Master image ---------- */
.founder-grid.media-sm.media-md img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- Yoga images same size ---------- */
.yoga-practice-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.founder-grid.media-sm.media-md img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); height: 340px; position: relative; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: saturate(0.85) contrast(1.02); }

/* ---------- Social Connect Cards ---------- */
.social-connect {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.social-connect-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  text-decoration: none;
  min-width: 200px;
}
.social-connect-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.social-connect-card .social-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.social-connect-card h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text);
}
.social-connect-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Timeline (about / guru parampara) ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-left: 64px; margin-bottom: 46px; }
.timeline-item::before { content: ""; position: absolute; left: 14px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--primary); border: 4px solid var(--primary-light); }
.timeline-item .year { font-family: var(--font-head); color: var(--accent); font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; display: block; }
.timeline-item h4 { margin-bottom: 8px; }
.timeline-item p { color: var(--text-muted); font-size: 0.94rem; }

/* ---------- Quote block ---------- */
.quote-block { text-align: center; max-width: 780px; margin: 0 auto; }
.quote-block .quote-mark { font-family: var(--font-head); font-size: 4rem; color: var(--accent); line-height: 1; }
.quote-block p { font-family: var(--font-head); font-size: 1.6rem; line-height: 1.5; margin: 10px 0 22px; color: var(--text); }
.quote-block span { color: var(--text-muted); font-weight: 600; letter-spacing: 0.04em; }

/* ---------- Founder Profile ---------- */
.founder-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.founder-grid.media-right { grid-template-columns: 1.15fr 0.85fr; }
.founder-grid.media-sm { grid-template-columns: 0.9fr 1.1fr; }
.founder-grid img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: 560px; object-fit: cover; }
.founder-grid.media-md img { height: 560px; object-fit: contain; }
.guru-founder-grid > div:first-child img { height: auto; max-height: none; object-fit: contain; }
.founder-badges { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 24px; }
.founder-badges span { background: var(--accent-light); color: #8a744c; font-size: 0.78rem; font-weight: 700; padding: 6px 14px; border-radius: var(--radius-full); }
.reiki-principles { list-style: disc; padding-left: 22px; margin-bottom: 26px; color: var(--text-muted); }
.reiki-principles li { padding-left: 4px; margin-bottom: 5px; }
.origin-grid { grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr); }
.origin-media img {
  height: 560px;
  object-fit: cover;
  object-position: center top;
}

/* ---------- Buddha feature (part one) ---------- */
.buddha-feature {
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.7fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.buddha-feature > .reveal:first-child {
  max-width: 100%;
}
.buddha-feature > .reveal:first-child h2 {
  font-size: clamp(1.9rem, 2.7vw, 2.8rem);
  margin-bottom: 12px;
}
.buddha-feature > .reveal:first-child p {
  font-size: 1.04rem;
  line-height: 1.8;
  margin-top: 18px;
}
.buddha-feature .origin-media {
  justify-self: end;
  max-width: 340px;
  width: 100%;
}
.buddha-feature .origin-media img {
  width: 100%;
  height: clamp(300px, 30vw, 420px);
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---------- Responsive video embed ---------- */
.video-embed {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
/* Padding-ratio fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 16 / 9) {
  .video-embed { height: 0; padding-top: 56.25%; }
}

/* ---------- Schedule table (yoga) ---------- */
.schedule-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.schedule-table th, .schedule-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.schedule-table th { background: var(--primary-light); color: var(--primary-dark); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table td.time { color: var(--primary); font-weight: 700; }

/* =========================================================
   RESPONSIVE
   Breakpoints: 1200 (nav drawer) · 1080 · 992 · 760 · 600 · 480 · 380
   Desktop (>1200px) layout is unchanged from the original design.
   ========================================================= */

/* ---------- Nav drawer: the 10-item bar stops fitting below ~1200px ---------- */
@media (max-width: 1200px) {
  .navbar .container { gap: 16px; }
  .nav-toggle { display: flex; }

  /* The panel stops being `display: contents` and becomes the sliding drawer.
     The navbar is a fixed, backdrop-filtered box anchored at the viewport's
     top-left, so top/left/right on this fixed child resolve to the viewport —
     but percentage heights would not, hence the explicit dvh calculation. */
  .nav-panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h-cur);
    left: 0; right: 0;
    height: calc(100vh - var(--nav-h-cur));
    height: calc(100dvh - var(--nav-h-cur));
    background: var(--white);
    padding: 22px var(--gutter) 28px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.42s var(--ease), opacity 0.3s var(--ease),
                visibility 0.42s var(--ease), top 0.4s var(--ease), height 0.4s var(--ease);
  }
  .nav-panel.open { opacity: 1; visibility: visible; transform: translateX(0); }

  .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    gap: 0; white-space: normal;
  }
  /* Padding tracks viewport height so all ten items fit without scrolling on a
     typical phone, while tall screens keep the roomier spacing. */
  .nav-links a {
    font-size: 1.04rem;
    padding: clamp(10px, 1.55vh, 16px) 2px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a::after { height: 2px; bottom: -1px; }

  .nav-actions { margin-top: auto; padding-top: 24px; }
  .nav-actions .btn { width: 100%; padding: 15px 32px; font-size: 0.95rem; }

  /* Locked while the drawer is open */
  body.nav-open { overflow: hidden; }
}

/* ---------- Layout grids ---------- */
/* The -30px overhang on the stat card only clears the viewport while the
   container is centred with margin to spare. */
@media (max-width: 1290px) {
  .about-media .floating-card { right: 0; }
}

@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .founder-grid,
  .founder-grid.media-right,
  .founder-grid.media-sm { grid-template-columns: 1fr; gap: 44px; }
  .founder-grid img,
  .founder-grid.media-md img { height: 420px; }
  .founder-grid.media-md img { height: auto; object-fit: contain; }
  .origin-grid { grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr); gap: 36px; }
  .origin-media img { height: 560px; object-fit: contain; }
  .buddha-feature {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .buddha-feature .origin-media {
    max-width: 100%;
    justify-self: stretch;
  }
  .buddha-feature .origin-media img {
    height: clamp(280px, 38vw, 360px);
  }
}

@media (max-width: 992px) {
  .section-pad { padding: 92px 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .specialties-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .wellness-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media img { height: 400px; }
  /* keep the floating stat card inside the viewport once the grid stacks */
  .about-media .floating-card { right: 0; bottom: -22px; }
  .masonry { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .page-hero { padding: calc(var(--nav-h) + 70px) 0 70px; }
  .section-head { margin-bottom: 44px; }
}

@media (max-width: 760px) {
  .section-pad { padding: 76px 0; }
  .grid-3, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .specialties-grid { grid-template-columns: 1fr; }
  /* two classes so the narrower breakpoints below cannot re-split this grid */
  .grid-4.grid-4-info { grid-template-columns: 1fr; }
  .masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .masonry .g-item.wide { grid-column: span 2; }
  .founder-grid, .about-grid { grid-template-columns: 1fr; }
  .wellness-grid { grid-template-columns: 1fr; gap: 32px; }
  .founder-grid img, .founder-grid.media-md img { height: 360px; }
  .founder-grid.media-md img { height: auto; object-fit: contain; }
  .origin-grid { grid-template-columns: 1fr; gap: 36px; }
  .origin-media img { height: auto; object-fit: contain; }
  .buddha-feature {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .buddha-feature .origin-media {
    max-width: 420px;
    justify-self: center;
    width: 100%;
  }

  /* ---------- Hero responsive adjustments ---------- */
  .hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem) !important;
  }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }
  .buddha-feature .origin-media img {
    height: clamp(260px, 62vw, 360px);
  }
  .great-masters-grid { grid-template-columns: 1fr; gap: 34px; max-width: 560px; margin: 0 auto; }
  .guru-hero {
    min-height: 520px;
    background-position: center 14% !important;
  }
  .guru-lineage-grid { grid-template-columns: 1fr; gap: 32px; max-width: 440px; margin: 0 auto; }
  .about-media img { height: 340px; }
  .wellness-media img { max-height: none; }
  .cta-band { padding: 56px 28px; }
  .newsletter-card { flex-direction: column; text-align: center; padding: 36px 28px; }
  .newsletter-form { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid p { max-width: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
  footer.site-footer { padding-top: 68px; }
  .about-media .floating-card { right: 0; bottom: -20px; padding: 16px 20px; }
  .page-hero { padding: calc(var(--nav-h) + 56px) 0 56px; }
  .section-head { margin-bottom: 38px; }

  /* Card padding tightens so content, not chrome, gets the space */
  .service-card { padding: 32px 26px; }
  .icon-card { padding: 34px 22px; }
  .pricing-card { padding: 28px 24px; }
  .info-card { padding: 22px; }
  .event-card .body { padding: 22px; }
  .map-wrap { height: 280px; }

  .timeline-item { padding-left: 54px; margin-bottom: 38px; }
  .filter-bar { margin-bottom: 36px; }
  .courses-scroll { gap: 18px; }
  .course-card-h { flex: 0 0 min(300px, 80vw); }
  .schedule-table th, .schedule-table td { padding: 14px 16px; }
  .schedule-table { min-width: 520px; }
}

@media (max-width: 600px) {
  .buddha-feature > .reveal:first-child h2 { font-size: clamp(1.7rem, 7vw, 2.15rem); }
  .buddha-feature > .reveal:first-child p { font-size: 1rem; }
  .testimonial-slide { padding: 0; }
  .testimonial-slide p.quote { font-size: 1.15rem; }
  .quote-block p { font-size: 1.25rem; }
  .quote-block .quote-mark { font-size: 3rem; }
  .cta-band { padding: 48px 24px; }
  .video-embed { border-radius: var(--radius-md); }
  .newsletter-form { flex-direction: column; align-items: stretch; }
  .newsletter-form input { min-width: 0; width: 100%; }
  .newsletter-form .btn { width: 100%; }
  .section-head p, .page-hero p { font-size: 1rem; }

  /* Lightbox needs the whole small screen */
  .lightbox { padding: 16px; }
  .lightbox img { max-width: 100%; max-height: 74vh; }
  .lightbox .lb-close { top: 14px; right: 14px; }
  .lightbox .lb-prev { left: 8px; }
  .lightbox .lb-next { right: 8px; }
  .lightbox .lb-close, .lightbox .lb-nav { width: 40px; height: 40px; }
}

@media (max-width: 480px) {
  .section-pad { padding: 62px 0; }
  .hero-inner h1 { font-size: 2.1rem; }
  .hero-inner p.lead { font-size: 1.02rem; }
  .hero-actions { gap: 12px; }
  .logo { font-size: 1.12rem; gap: 10px; }
  .logo .mark { width: 34px; height: 34px; }
  .logo span.tag { font-size: 0.56rem; letter-spacing: 0.1em; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 18px; }
  .icon-card { padding: 28px 16px; }
  .icon-card .icon-wrap { width: 60px; height: 60px; font-size: 1.5rem; margin-bottom: 16px; }
  .masonry { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 12px; }
  .cta-band { padding: 42px 20px; }
  .newsletter-card { padding: 28px 20px; }
  .service-card { padding: 28px 22px; }
  .service-card .icon { width: 54px; height: 54px; margin-bottom: 20px; }
  .btn { padding: 14px 26px; }
  .btn-sm { padding: 10px 18px; }
  .timeline::before { left: 13px; }
  .timeline-item { padding-left: 46px; }
  .timeline-item::before { left: 5px; width: 16px; height: 16px; border-width: 3px; }
  .founder-grid img, .founder-grid.media-md img { height: 300px; }
  .founder-grid.media-md img { height: auto; object-fit: contain; }
  .about-media img { height: 280px; }
  .whatsapp-float { width: 50px; height: 50px; bottom: 18px; left: 18px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .back-to-top { width: 44px; height: 44px; bottom: 18px; right: 18px; }
  .slider-arrows button { width: 40px; height: 40px; }
  .faq-q { font-size: 0.96rem; padding: 20px 0; }
}

@media (max-width: 380px) {
  .grid-4 { grid-template-columns: 1fr; }
  .masonry { grid-auto-rows: 130px; }
  .founder-badges span { font-size: 0.72rem; padding: 5px 11px; }
  .event-card .thumb { height: 180px; }
}

/* ---------- Short / landscape viewports (phones & small tablets only) ---------- */
@media (max-width: 1000px) and (max-height: 620px) and (orientation: landscape) {
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 48px); padding-bottom: 56px; }
  .scroll-indicator { display: none; }
  .nav-links a { font-size: 0.98rem; }
}
@media (max-width: 600px) and (max-height: 680px) {
  .scroll-indicator { display: none; }
}

/* ---------- Coarse pointers: no hover-only affordances ---------- */
@media (hover: none) {
  .masonry .g-item .overlay { opacity: 1; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(20,30,25,0.72)); }
  .service-card:hover, .icon-card:hover, .event-card:hover,
  .pricing-card:hover, .course-card-h:hover, .newsletter-card:hover { transform: none; }
}

/* ---------- Accessibility ---------- */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
