/* ═══════════════════════════════════════════
   LINA LOVETTE YOGA — DESIGN SYSTEM v3
   Glassmorphism · Cherry Blossom · Dual Theme
   ═══════════════════════════════════════════ */

/* ─── DARK THEME (default) ──────────────── */
:root,
[data-theme="dark"] {
  --pink: #FFB7C5;
  --pink-light: #FFD4DE;
  --pink-hot: #FF6B8A;
  --pink-deep: #e8527a;
  --pink-glow: rgba(255, 183, 197, 0.35);

  --bg-deep: #08080d;
  --bg-section-alt: #0c0c14;
  --bg-card: #10101a;

  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-strong: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-strong: rgba(255, 255, 255, 0.14);
  --glass-blur: 20px;

  --text-primary: #f0e8ec;
  --text-secondary: rgba(240, 232, 236, 0.65);
  --text-muted: rgba(240, 232, 236, 0.4);

  --wave-fill: #0c0c14;
  --nav-bg: rgba(8, 8, 13, 0.88);
  --preloader-bg: #08080d;
  --select-arrow: %23FFB7C5;
}

/* ─── LIGHT THEME ───────────────────────── */
[data-theme="light"] {
  --pink: #d63d65;
  --pink-light: #e8527a;
  --pink-hot: #c22955;
  --pink-deep: #a8204a;
  --pink-glow: rgba(214, 61, 101, 0.2);

  --bg-deep: #fdf5f7;
  --bg-section-alt: #f5e6eb;
  --bg-card: #ffffff;

  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-bg-strong: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(160, 30, 70, 0.15);
  --glass-border-strong: rgba(160, 30, 70, 0.25);
  --glass-blur: 16px;

  --text-primary: #1a0a12;
  --text-secondary: rgba(26, 10, 18, 0.75);
  --text-muted: rgba(26, 10, 18, 0.52);

  --wave-fill: #f5e6eb;
  --nav-bg: rgba(253, 245, 247, 0.92);
  --preloader-bg: #fdf5f7;
  --select-arrow: %23d63d65;
}



/* ─── SHARED TOKENS ─────────────────────── */
:root {
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --section-padding: clamp(80px, 12vw, 140px);
  --container-max: 1200px;
  --gap: clamp(16px, 3vw, 32px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.5s ease, color 0.5s ease;
}

/* Noise grain overlay — dithers gradient banding */
.noise-svg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
}

[data-theme="light"] .noise-svg {
  opacity: 0.025;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

::selection {
  background: var(--pink);
  color: var(--bg-deep);
}

/* ─── UTILITY ───────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.accent {
  color: var(--pink);
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: background 0.5s ease, border-color 0.5s ease;
}

/* ─── PRELOADER ─────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--preloader-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-icon {
  font-size: 3.5rem;
  color: var(--pink);
  animation: preloaderSpin 2s ease-in-out infinite;
  filter: drop-shadow(0 0 20px var(--pink-glow));
  margin-bottom: 24px;
}

@keyframes preloaderSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.15);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

.preloader-bar {
  width: 160px;
  height: 3px;
  background: var(--glass-border);
  border-radius: 3px;
  margin: 0 auto 16px;
  overflow: hidden;
}

.preloader-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--pink-hot), var(--pink));
  border-radius: 3px;
  animation: preloaderFill 0.5s var(--ease-out) forwards;
}

@keyframes preloaderFill {
  to {
    width: 100%;
  }
}

.preloader-text {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
}

/* ─── THEME TOGGLE ──────────────────────── */
.theme-toggle {
  position: fixed;
  top: 76px;
  right: 20px;
  z-index: 1001;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.4s var(--ease-spring);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.theme-toggle:hover {
  transform: scale(1.1) rotate(15deg);
  border-color: var(--pink);
  box-shadow: 0 4px 24px var(--pink-glow);
}


[data-theme="dark"] .theme-icon-light {
  display: none;
}

[data-theme="dark"] .theme-icon-dark {
  display: inline;
}

[data-theme="light"] .theme-icon-dark {
  display: none;
}

[data-theme="light"] .theme-icon-light {
  display: inline;
}

/* ─── CURSOR GLOW ───────────────────────── */
.cursor-glow {
  position: fixed;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(255, 183, 197, 0.045) 0%,
      rgba(255, 183, 197, 0.03) 20%,
      rgba(255, 183, 197, 0.012) 40%,
      rgba(255, 183, 197, 0.004) 60%,
      transparent 80%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.6s ease;
  opacity: 0;
  will-change: left, top;
}

.cursor-glow.active {
  opacity: 1;
}

@media (pointer: coarse) {
  .cursor-glow {
    display: none;
  }
}

[data-theme="light"] .cursor-glow {
  background: radial-gradient(circle,
      rgba(214, 61, 101, 0.035) 0%,
      rgba(214, 61, 101, 0.02) 20%,
      rgba(214, 61, 101, 0.008) 40%,
      transparent 65%);
}

/* ─── CHERRY BLOSSOM PETALS ─────────────── */
.petals {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -30px;
  opacity: 0;
  animation: petalFall linear infinite;
}

.petal svg {
  filter: drop-shadow(0 2px 4px rgba(255, 183, 197, 0.2));
}

@keyframes petalFall {
  0% {
    opacity: 0;
    transform: translateY(-5vh) rotate(0deg) translateX(0);
  }

  10% {
    opacity: 0.7;
  }

  90% {
    opacity: 0.5;
  }

  100% {
    opacity: 0;
    transform: translateY(105vh) rotate(720deg) translateX(80px);
  }
}

/* ─── NAVIGATION ────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.5s var(--ease-out);
}

.navbar.scrolled {
  padding: 10px 0;
  background: var(--nav-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.2rem;
  z-index: 1001;
}

.logo-icon {
  font-size: 1.5rem;
  color: var(--pink);
  filter: drop-shadow(0 0 8px var(--pink-glow));
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {

  0%,
  100% {
    filter: drop-shadow(0 0 8px var(--pink-glow));
  }

  50% {
    filter: drop-shadow(0 0 16px var(--pink-glow)) drop-shadow(0 0 24px rgba(255, 183, 197, 0.15));
  }
}

.logo-text {
  letter-spacing: 0.04em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 32px);
  list-style: none;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  border-radius: 1px;
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--pink-hot), var(--pink));
  color: var(--bg-deep) !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--pink-glow);
}

[data-theme="light"] .nav-cta {
  color: #fff !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 4px;
}

.hamburger-line {
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.nav-toggle.open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.35) saturate(0.7);
  transform: scale(1.05);
  will-change: transform;
}

[data-theme="light"] .hero-bg-image img {
  filter: brightness(0.55) saturate(0.85);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255, 107, 138, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(255, 183, 197, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, rgba(8, 8, 13, 0.2) 0%, rgba(8, 8, 13, 0.7) 100%);
}

[data-theme="light"] .hero-overlay {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255, 107, 138, 0.1) 0%, transparent 60%),
    linear-gradient(180deg, rgba(253, 245, 247, 0.1) 0%, rgba(253, 245, 247, 0.6) 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 138, 0.1) 0%, rgba(255, 107, 138, 0.04) 30%, transparent 70%);
  top: 5%;
  left: -10%;
}

.hero-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 183, 197, 0.08) 0%, rgba(255, 183, 197, 0.03) 30%, transparent 70%);
  bottom: 10%;
  right: -10%;
  animation-delay: 4s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -30px) scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 clamp(20px, 5vw, 60px);
  max-width: 820px;
  will-change: transform;
}

.hero-glass {
  background: rgba(8, 8, 13, 0.35);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 6vw, 64px) clamp(24px, 5vw, 56px);
  box-shadow: 0 0 80px rgba(255, 183, 197, 0.06), 0 40px 80px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .hero-glass {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-eyebrow {
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 24px;
}

.title-line {
  display: block;
}

.title-line.accent {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--pink), var(--pink-hot));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px var(--pink-glow));
  padding-bottom: 0.15em;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-text {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--pink), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ─── WAVE DIVIDERS ─────────────────────── */
.wave-divider {
  position: relative;
  margin-top: -1px;
  line-height: 0;
  overflow: hidden;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: clamp(50px, 8vw, 100px);
}

.wave-divider svg path {
  fill: var(--bg-section-alt);
}

.wave-flip {
  transform: scaleY(-1);
}

/* ─── BUTTONS ───────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.4s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink-hot), var(--pink));
  color: var(--bg-deep);
  font-weight: 600;
  box-shadow: 0 4px 24px rgba(255, 107, 138, 0.25);
}

[data-theme="light"] .btn-primary {
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 107, 138, 0.4);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid rgba(255, 183, 197, 0.3);
  color: var(--pink-light);
  background: rgba(255, 183, 197, 0.05);
}

[data-theme="light"] .btn-outline {
  color: var(--pink);
  border-color: var(--pink);
}

.btn-outline:hover {
  background: rgba(255, 183, 197, 0.12);
  border-color: var(--pink);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(255, 183, 197, 0.12);
}

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

.btn-icon {
  transition: transform 0.3s var(--ease-spring);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ─── MARQUEE ───────────────────────────── */
.marquee {
  padding: 20px 0;
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 183, 197, 0.02);
}

.marquee-track {
  display: flex;
  gap: 60px;
  animation: marqueeScroll 25s linear infinite;
  width: max-content;
}

.marquee-item {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ─── SECTION HEADERS ───────────────────── */
.section-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 12px;
  font-weight: 500;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 550px;
  line-height: 1.7;
  font-weight: 300;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ─── ABOUT ─────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-glass {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 60px rgba(255, 183, 197, 0.08);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s ease;
}

.about-image {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s var(--ease-out);
}

.about-image-glass:hover .about-image {
  transform: scale(1.04);
}

.about-image-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--pink-glow), transparent 70%);
  filter: blur(30px);
  animation: accentPulse 4s ease-in-out infinite;
}

.about-image-badge {
  position: absolute;
  bottom: 20px;
  left: -10px;
  padding: 12px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pink-light);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: badgeFloat 3s ease-in-out infinite;
}

[data-theme="light"] .about-image-badge {
  color: var(--pink);
}

@keyframes badgeFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes accentPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.about-content {
  max-width: 500px;
}

.about-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 300;
}

.about-stats {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--pink);
  display: inline;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  color: var(--pink);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── ANIMATED GRADIENT BORDER ──────────── */
.gradient-border {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.gradient-border::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--gradient-angle, 0deg),
      transparent 40%,
      var(--pink) 50%,
      var(--pink-hot) 55%,
      transparent 65%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.gradient-border:hover::after {
  opacity: 1;
  animation: gradientRotate 3s linear infinite;
}

@keyframes gradientRotate {
  to {
    --gradient-angle: 360deg;
  }
}

@property --gradient-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* ─── CLASSES ───────────────────────────── */
.classes {
  background: radial-gradient(ellipse at 20% 50%, rgba(255, 183, 197, 0.04) 0%, transparent 50%), radial-gradient(ellipse at 80% 20%, rgba(255, 107, 138, 0.03) 0%, transparent 50%);
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.class-card {
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 36px);
  transition: all 0.5s var(--ease-out);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.class-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.class-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 183, 197, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 0 40px rgba(255, 183, 197, 0.06);
}

.class-card:hover::before {
  opacity: 1;
}

.class-card-featured {
  border-color: rgba(255, 183, 197, 0.2);
  background: linear-gradient(135deg, rgba(255, 107, 138, 0.06), rgba(255, 183, 197, 0.03));
}

.class-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--pink-hot), var(--pink));
  color: #fff;
  font-weight: 600;
}

.class-icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
  display: inline-block;
  filter: drop-shadow(0 0 12px var(--pink-glow));
}

.class-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.class-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 300;
  flex-grow: 1;
}

.class-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.class-level,
.class-duration {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  font-weight: 500;
}

.class-level {
  background: rgba(255, 183, 197, 0.1);
  color: var(--pink);
  border: 1px solid rgba(255, 183, 197, 0.15);
}

.class-duration {
  background: var(--glass-bg);
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
}

.class-price {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
  font-weight: 300;
}

.class-price strong {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--pink);
}

/* ─── SCHEDULE ──────────────────────────── */
.schedule {
  background: var(--bg-section-alt);
}

.schedule-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.schedule-table {
  display: grid;
  grid-template-columns: 70px repeat(7, 1fr);
  min-width: 700px;
  overflow: hidden;
}

.schedule-header {
  display: contents;
}

.schedule-header .schedule-cell {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pink);
  border-bottom: 1px solid var(--glass-border);
}

.schedule-row {
  display: contents;
}

.schedule-cell {
  padding: 14px 10px;
  font-size: 0.82rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.3s ease;
}

[data-theme="light"] .schedule-cell {
  border-bottom-color: rgba(0, 0, 0, 0.04);
}

.schedule-time {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: right;
  padding-right: 16px;
}

.schedule-day-label {
  border-bottom: 1px solid var(--glass-border);
}

.schedule-class {
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  cursor: default;
}

.schedule-class.active {
  background: rgba(255, 183, 197, 0.08);
}

.schedule-class.highlight {
  background: rgba(255, 107, 138, 0.12);
  color: var(--pink);
}

.schedule-class:hover {
  background: rgba(255, 183, 197, 0.15);
}

.schedule-legend {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}

.legend-dot.weekday {
  background: rgba(255, 183, 197, 0.3);
}

.legend-dot.weekend {
  background: rgba(255, 107, 138, 0.4);
}

.legend-dot.private {
  background: linear-gradient(135deg, var(--pink-hot), var(--pink));
}

/* ─── TESTIMONIALS ──────────────────────── */
.testimonials {
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 183, 197, 0.04) 0%, transparent 50%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.testimonial-card {
  padding: clamp(28px, 4vw, 36px);
  transition: all 0.5s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15), 0 0 30px rgba(255, 183, 197, 0.05);
  border-color: rgba(255, 183, 197, 0.15);
}

.testimonial-stars {
  color: var(--pink);
  font-size: 0.9rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
  flex-grow: 1;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-hot), var(--pink));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.author-name {
  font-style: normal;
  font-weight: 500;
  font-size: 0.95rem;
  display: block;
  color: var(--text-primary);
}

.author-detail {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ─── GALLERY ───────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: var(--gap);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--glass-border);
  transition: all 0.5s var(--ease-out);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 107, 138, 0.5), rgba(255, 183, 197, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-overlay span {
  font-size: 2rem;
  color: white;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transform: scale(0.7);
  transition: transform 0.4s var(--ease-spring);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2), 0 0 40px rgba(255, 183, 197, 0.1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
  transform: scale(1);
}

.gallery-item-tall {
  grid-row: span 2;
}

.gallery-item-wide {
  grid-column: span 2;
}

/* ─── TILT ELEMENT ──────────────────────── */
.tilt-element {
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s ease;
  transform-style: preserve-3d;
  perspective: 800px;
}

/* ─── CONTACT ───────────────────────────── */
.contact {
  background: radial-gradient(ellipse at 70% 50%, rgba(255, 183, 197, 0.04), transparent 50%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
  font-weight: 300;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.social-link {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  transition: all 0.4s var(--ease-spring);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.social-link:hover {
  background: rgba(255, 183, 197, 0.15);
  border-color: var(--pink);
  color: var(--pink);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 183, 197, 0.15);
}

.contact-details p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-form {
  padding: clamp(28px, 4vw, 44px);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 28px;
  color: var(--pink-light);
}

[data-theme="light"] .form-title {
  color: var(--pink);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  transition: all 0.3s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .form-group select {
  background: rgba(255, 255, 255, 0.6);
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='var(--select-arrow)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 183, 197, 0.1), 0 0 20px rgba(255, 183, 197, 0.05);
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus,
[data-theme="light"] .form-group select:focus {
  background: rgba(255, 255, 255, 0.8);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ─── FOOTER ────────────────────────────── */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--glass-border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--glass-border);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--pink);
  font-weight: 600;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 300;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--pink);
}

.footer-bottom {
  text-align: center;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ─── LIGHTBOX ──────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 8, 13, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  padding: 40px;
}

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

.lightbox img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform 0.5s var(--ease-spring);
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 2.5rem;
  color: var(--text-secondary);
  transition: color 0.3s ease, transform 0.3s var(--ease-spring);
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--pink);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: var(--text-muted);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: all 0.3s var(--ease-spring);
  line-height: 1;
}

.lightbox-nav:hover {
  color: var(--pink);
  background: rgba(255, 183, 197, 0.1);
  border-color: var(--pink);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ─── BACK TO TOP ───────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-spring);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(255, 183, 197, 0.15);
  border-color: var(--pink);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(255, 183, 197, 0.15);
}

/* ─── ANIMATIONS ────────────────────────── */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s var(--ease-out) forwards;
}

.animate-in:nth-child(1) {
  animation-delay: 0.2s;
}

.animate-in:nth-child(2) {
  animation-delay: 0.4s;
}

.animate-in:nth-child(3) {
  animation-delay: 0.6s;
}

.animate-in:nth-child(4) {
  animation-delay: 0.8s;
}

.animate-in:nth-child(5) {
  animation-delay: 1.0s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .classes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid .testimonial-card:nth-child(3) {
    grid-column: span 2;
    max-width: 560px;
    margin: 0 auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }

  .gallery-item-wide {
    grid-column: span 1;
  }

  .theme-toggle {
    right: 16px;
    top: 72px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80vw;
    max-width: 340px;
    height: 100vh;
    height: 100dvh;
    background: var(--nav-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left: 1px solid var(--glass-border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 40px;
    gap: 24px;
    transition: right 0.5s var(--ease-out);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-link {
    font-size: 1.15rem;
  }

  .nav-cta {
    margin-top: 16px;
    width: 100%;
    text-align: center;
    justify-content: center;
    display: flex;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    height: 400px;
  }

  .about-content {
    max-width: 100%;
  }

  .about-stats {
    justify-content: space-between;
  }

  .about-image-badge {
    bottom: 16px;
    left: 16px;
  }

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

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

  .testimonials-grid .testimonial-card:nth-child(3) {
    grid-column: span 1;
    max-width: 100%;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .gallery-item-tall {
    grid-row: span 1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .scroll-indicator {
    bottom: 20px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 2rem;
  }

  .lightbox-prev {
    left: 12px;
  }

  .lightbox-next {
    right: 12px;
  }

  .hero-orb-1 {
    width: 200px;
    height: 200px;
  }

  .hero-orb-2 {
    width: 150px;
    height: 150px;
  }

  .theme-toggle {
    top: 66px;
    right: 12px;
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-glass {
    padding: 28px 20px;
    border-radius: var(--radius-md);
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    justify-content: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }

  .about-image {
    height: 320px;
  }

  .about-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-item {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox-nav {
    display: none;
  }

  .back-to-top {
    bottom: 70px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

/* ═══════════════════════════════════════════
   V4 — FAQ, INSTAGRAM, MOBILE CTA, ETC.
   ═══════════════════════════════════════════ */

/* ─── FAQ ACCORDION ─────────────────────── */
.faq {
  background: var(--bg-section-alt);
}

.faq-list {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item[open] {
  border-color: rgba(255, 183, 197, 0.2);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  list-style: none;
  transition: color 0.3s ease;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::marker {
  display: none;
  content: '';
}

.faq-question:hover {
  color: var(--pink);
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--pink);
  transition: transform 0.3s var(--ease-spring);
  flex-shrink: 0;
  font-weight: 300;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px;
  animation: faqSlideIn 0.3s var(--ease-out);
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
}

@keyframes faqSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── INSTAGRAM GRID ────────────────────── */
.instagram {
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 183, 197, 0.03), transparent 50%);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.insta-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: all 0.5s var(--ease-out);
}

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

.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.insta-icon {
  color: white;
}

.insta-icon svg {
  width: 28px;
  height: 28px;
}

.insta-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.insta-item:hover img {
  transform: scale(1.08);
}

.insta-item:hover .insta-overlay {
  opacity: 1;
}

.instagram-cta {
  text-align: center;
  margin-top: 32px;
}

.instagram-cta .btn {
  gap: 10px;
}

/* ─── STICKY MOBILE CTA ────────────────── */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
}

.mobile-cta.visible {
  transform: translateY(0);
}

.mobile-cta .btn {
  padding: 14px 20px;
  font-size: 0.95rem;
}

/* ─── BLUR-UP LAZY IMAGES ───────────────── */
.lazy-img {
  filter: blur(12px);
  opacity: 0.6;
  transition: filter 0.8s var(--ease-out), opacity 0.8s var(--ease-out);
}

.lazy-img.loaded {
  filter: blur(0);
  opacity: 1;
}

/* ─── EYEBROW ANIMATION ────────────────── */
.eyebrow-animate {
  opacity: 0;
  letter-spacing: 0.05em;
  transition: opacity 0.6s ease, letter-spacing 0.8s var(--ease-out);
}

.eyebrow-animate.visible {
  opacity: 1;
  letter-spacing: 0.25em;
}

/* ─── CLASS → SCHEDULE LINK ─────────────── */
.class-schedule-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--pink);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.class-schedule-link:hover {
  opacity: 1;
  transform: translateX(4px);
}

/* Schedule highlighting */
.schedule-class.schedule-highlight {
  background: rgba(255, 107, 138, 0.25) !important;
  color: var(--pink) !important;
  box-shadow: 0 0 12px rgba(255, 183, 197, 0.15);
  animation: scheduleFlash 0.6s ease;
}

@keyframes scheduleFlash {
  0% {
    box-shadow: 0 0 0 rgba(255, 183, 197, 0);
  }

  50% {
    box-shadow: 0 0 20px rgba(255, 183, 197, 0.3);
  }

  100% {
    box-shadow: 0 0 12px rgba(255, 183, 197, 0.15);
  }
}

/* ─── SCROLL-DRIVEN HERO PARALLAX (CSS) ── */
@supports (animation-timeline: scroll()) {
  .hero-bg-image {
    animation: heroParallax linear;
    animation-timeline: scroll();
    animation-range: 0vh 100vh;
  }

  @keyframes heroParallax {
    to {
      transform: translateY(30%);
    }
  }
}

/* ─── RESPONSIVE v4 ─────────────────────── */
@media (max-width: 1024px) {
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-cta {
    display: block;
  }

  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 0.92rem;
  }

  .faq-answer {
    padding: 0 18px 16px;
  }

  .back-to-top {
    bottom: 70px;
  }
}