/* ===== YOGA STUDIO - ZEN DESIGN ===== */

/* --- Variables --- */
:root {
  --sage: #7c9a72;
  --sage-dark: #5a7d50;
  --sage-light: #a3c49a;
  --lavender: #b8a9c9;
  --sand: #e8ddd3;
  --sand-light: #f5f0eb;
  --cream: #faf8f5;

  --text: #2d3436;
  --text-soft: #636e72;
  --text-light: #b2bec3;

  --white: #ffffff;
  --dark: #1a1a2e;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);

  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 100px;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

em {
  font-style: italic;
  color: var(--sage);
}

/* --- Tag / Label --- */
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--sage);
  margin-bottom: 1rem;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 2rem;
  background: var(--sage);
  color: var(--white);
  font-weight: 600;
  font-size: 0.938rem;
  border-radius: var(--radius-pill);
  transition: all 0.35s var(--ease);
  box-shadow: 0 4px 20px rgba(124, 154, 114, 0.3);
}

.btn-primary:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 154, 114, 0.4);
}

.btn-primary.btn-light {
  background: var(--white);
  color: var(--sage-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.btn-primary.btn-light:hover {
  background: var(--cream);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  color: var(--white);
  font-weight: 600;
  font-size: 0.938rem;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-pill);
  transition: all 0.35s var(--ease);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.6);
}

.btn-full { width: 100%; justify-content: center; }

.btn-cta-sm {
  padding: 0.625rem 1.5rem;
  background: var(--sage);
  color: var(--white);
  font-weight: 600;
  font-size: 0.813rem;
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease);
}

.btn-cta-sm:hover {
  background: var(--sage-dark);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: all 0.4s var(--ease);
}

.header.scrolled {
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--white);
  transition: color 0.4s var(--ease);
}

.header.scrolled .logo { color: var(--text); }

.logo i {
  font-size: 1.75rem;
  color: var(--sage-light);
}

.header.scrolled .logo i { color: var(--sage); }

.nav {
  display: flex;
  gap: 2.25rem;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s var(--ease);
  letter-spacing: 0.3px;
}

.header.scrolled .nav a { color: var(--text-soft); }

.nav a:hover { color: var(--sage-light); }
.header.scrolled .nav a:hover { color: var(--sage); }

.header-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.header.scrolled .menu-toggle span { background: var(--text); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 46, 0.4) 0%,
    rgba(26, 26, 46, 0.6) 50%,
    rgba(26, 26, 46, 0.75) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 8rem 0 4rem;
}

.hero-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sage-light);
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero h1 em {
  color: var(--sage-light);
  font-style: italic;
}

.hero-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
}

.hero-scroll a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===== PHILOSOPHY ===== */
.philosophy {
  padding: 7rem 0;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.philosophy-text h2 {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.philosophy-text > p {
  color: var(--text-soft);
  font-size: 1.063rem;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.philosophy-values {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.value {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.value-icon {
  width: 52px;
  height: 52px;
  background: rgba(124, 154, 114, 0.12);
  color: var(--sage);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.value strong {
  display: block;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.125rem;
}

.value span {
  font-size: 0.875rem;
  color: var(--text-soft);
}

.philosophy-image {
  position: relative;
}

.philosophy-image img {
  border-radius: var(--radius);
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.image-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--sage-light);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.4;
}

/* ===== CLASSES ===== */
.classes {
  padding: 7rem 0;
  background: var(--white);
}

.section-intro {
  max-width: 600px;
  margin-bottom: 3.5rem;
}

.section-intro h2 {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-intro > p {
  color: var(--text-soft);
  font-size: 1.063rem;
}

.classes-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 1.25rem;
}

.class-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.class-card--tall { grid-row: span 2; }
.class-card--wide { grid-column: span 2; }

.class-card__image {
  position: absolute;
  inset: 0;
}

.class-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.class-card:hover .class-card__image img {
  transform: scale(1.08);
}

.class-card__body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  background: linear-gradient(0deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.3) 50%, transparent 100%);
  color: var(--white);
  transition: background 0.4s var(--ease);
}

.class-card:hover .class-card__body {
  background: linear-gradient(0deg, rgba(26,26,46,0.9) 0%, rgba(26,26,46,0.5) 60%, rgba(26,26,46,0.2) 100%);
}

.class-level {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(124, 154, 114, 0.8);
  color: var(--white);
  font-size: 0.688rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
  width: fit-content;
}

.class-level.level-mid { background: rgba(184, 169, 201, 0.8); }
.class-level.level-adv { background: rgba(200, 120, 100, 0.8); }

.class-card h3 {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.class-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.class-meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.813rem;
  color: rgba(255,255,255,0.6);
}

.class-meta i { margin-right: 0.25rem; }

/* ===== SCHEDULE BANNER ===== */
.schedule-banner {
  background: var(--sage);
  padding: 3.5rem 0;
}

.schedule-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.schedule-text h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--white);
}

.schedule-text p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
}

.schedule-stats {
  display: flex;
  gap: 3rem;
}

.mini-stat {
  text-align: center;
  color: var(--white);
}

.mini-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
}

.mini-stat strong::after { content: '+'; font-size: 1.5rem; }

.mini-stat span {
  font-size: 0.813rem;
  opacity: 0.8;
}

/* ===== INSTRUCTORS ===== */
.instructors {
  padding: 7rem 0;
}

.instructors-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.instructor {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3.5rem;
  align-items: center;
}

.instructor--reverse {
  grid-template-columns: 1fr 380px;
}

.instructor--reverse .instructor__photo {
  order: 2;
}

.instructor__photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.instructor__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.instructor:hover .instructor__photo img {
  transform: scale(1.04);
}

.instructor__info h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.instructor__title {
  color: var(--sage);
  font-weight: 600;
  font-size: 0.938rem;
  margin-bottom: 1rem;
}

.instructor__bio {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.instructor__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.instructor__tags span {
  padding: 0.375rem 1rem;
  background: rgba(124, 154, 114, 0.1);
  color: var(--sage-dark);
  font-size: 0.813rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
}

/* ===== COMMUNITY / TESTIMONIALS ===== */
.community {
  padding: 7rem 0;
  background: var(--sand-light);
}

.testimonials-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.testimonial {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.testimonial::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--sage-light);
  opacity: 0.3;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial blockquote {
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonial__author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--sage-light);
}

.testimonial__author strong {
  display: block;
  font-weight: 700;
  font-size: 0.938rem;
}

.testimonial__author span {
  font-size: 0.813rem;
  color: var(--text-light);
}

.community-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

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

.c-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--sage-dark);
  line-height: 1;
}

.c-stat strong::after { content: '+'; font-size: 1.5rem; }

.c-stat span {
  font-size: 0.875rem;
  color: var(--text-soft);
}

/* ===== CONTACT ===== */
.contact {
  padding: 7rem 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-left h2 {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.contact-left > p {
  color: var(--text-soft);
  font-size: 1.063rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease);
  border: 1px solid rgba(0,0,0,0.05);
}

.contact-link:hover {
  border-color: var(--sage-light);
  box-shadow: 0 4px 16px rgba(124, 154, 114, 0.1);
}

.contact-link i {
  font-size: 1.25rem;
  color: var(--sage);
  width: 20px;
  text-align: center;
}

.contact-link span {
  color: var(--text-soft);
  font-size: 0.938rem;
}

/* --- Form (floating labels) --- */
.form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form__group {
  position: relative;
}

.form__group input,
.form__group textarea {
  width: 100%;
  padding: 1rem;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.938rem;
  background: var(--cream);
  transition: all 0.3s var(--ease);
  color: var(--text);
}

.form__group label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.938rem;
  color: var(--text-light);
  pointer-events: none;
  transition: all 0.25s var(--ease);
}

.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--sage);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(124, 154, 114, 0.1);
}

.form__group input:focus + label,
.form__group input:not(:placeholder-shown) + label,
.form__group textarea:focus + label,
.form__group textarea:not(:placeholder-shown) + label {
  top: -0.5rem;
  left: 0.75rem;
  font-size: 0.75rem;
  color: var(--sage);
  background: var(--white);
  padding: 0 0.25rem;
}

.form__group select {
  width: 100%;
  padding: 1rem;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.938rem;
  background: var(--cream);
  color: var(--text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23636e72' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  transition: all 0.3s var(--ease);
}

.form__group select:focus {
  outline: none;
  border-color: var(--sage);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(124, 154, 114, 0.1);
}

.form__group textarea {
  resize: vertical;
  min-height: 110px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-logo i { color: var(--sage-light); font-size: 1.75rem; }

.footer-about p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 0.938rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all 0.3s var(--ease);
}

.footer-social a:hover {
  background: var(--sage);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-nav h4,
.footer-contact-col h4 {
  color: var(--white);
  font-weight: 700;
  font-size: 0.938rem;
  margin-bottom: 1.25rem;
}

.footer-nav li { margin-bottom: 0.625rem; }

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s var(--ease);
}

.footer-nav a:hover { color: var(--sage-light); padding-left: 4px; }

.footer-contact-col li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.875rem;
}

.footer-contact-col i {
  color: var(--sage-light);
  margin-top: 3px;
  width: 16px;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.813rem;
}

.footer-bottom a {
  color: var(--sage-light);
  font-weight: 600;
}

.footer-bottom a:hover { text-decoration: underline; }

/* ===== FLOATING ===== */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.75rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.3s var(--ease);
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 99;
  width: 44px;
  height: 44px;
  background: var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
}

.to-top.visible { opacity: 1; visibility: visible; }
.to-top:hover { transform: translateY(-3px); background: var(--sage-dark); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .philosophy-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .philosophy-image { order: -1; }
  .philosophy-image img { height: 380px; }

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

  .instructor--reverse { grid-template-columns: 1fr; }
  .instructor--reverse .instructor__photo { order: 0; }

  .instructor__photo { aspect-ratio: 16/9; max-height: 350px; }

  .classes-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 260px;
  }

  .class-card--wide { grid-column: span 2; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: rgba(26, 26, 46, 0.97);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease);
  }

  .nav.active { opacity: 1; visibility: visible; }

  .nav a {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--white) !important;
  }

  .menu-toggle { display: flex; }

  .btn-cta-sm { display: none; }

  .hero-inner { padding: 10rem 0 6rem; }

  .hero h1 { font-size: 2.5rem; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; justify-content: center; }

  .hero-scroll { display: none; }

  .classes-masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: 300px;
  }
  .class-card--tall { grid-row: span 1; }
  .class-card--wide { grid-column: span 1; }

  .testimonials-carousel { grid-template-columns: 1fr; }

  .community-stats { gap: 2rem; }

  .schedule-inner { flex-direction: column; text-align: center; }
  .schedule-stats { gap: 2rem; }

  .form__row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .section-intro h2,
  .philosophy-text h2,
  .contact-left h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }

  .community-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .form { padding: 1.5rem; }
}
