/* Estilos Personalizados - Studio GI Pilates (Las Condes) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  --bg-sand: #FAF7F2;
  --bg-card: #FFFFFF;
  --bg-soft: #F4EFEA;
  --border-soft: #E7DFD5;
  
  --text-dark: #23201D;
  --text-muted: #6B655F;
  --text-light: #948C84;
  
  --accent-warm: #B77A56;
  --accent-warm-hover: #9E6543;
  --accent-sage: #53755F;
  --accent-sage-soft: #E9F1EB;
  --accent-sand-soft: #F0E8DD;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-sand);
  color: var(--text-dark);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-sans);
}

/* Glassmorphism Navbar */
.nav-glass {
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(231, 223, 213, 0.7);
  transition: all 0.3s ease;
}

.nav-glass.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(231, 223, 213, 0.9);
}

/* Smooth custom card hover */
.card-hover {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -15px rgba(50, 40, 30, 0.08);
}

/* Exclusivity Badge Pulse */
@keyframes pulse-soft {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

.pulse-badge {
  animation: pulse-soft 3s infinite ease-in-out;
}

/* WhatsApp Floating Button Pulse Ring */
@keyframes ring-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float {
  animation: ring-pulse 2.5s infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #FAF7F2;
}

::-webkit-scrollbar-thumb {
  background: #D9CFC4;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #B77A56;
}

/* Hero Background Gradient Overlay */
.hero-gradient {
  background: linear-gradient(135deg, rgba(35, 32, 29, 0.65) 0%, rgba(35, 32, 29, 0.4) 60%, rgba(35, 32, 29, 0.7) 100%);
}

/* Custom Accordion Chevron */
.faq-icon {
  transition: transform 0.25s ease-in-out;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.35s cubic-bezier(1, 0, 1, 0);
}

/* Modal Animations */
.modal-backdrop {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-content {
  transform: translateY(0) scale(1);
}

/* Mobile Nav Drawer */
#mobile-menu {
  transition: opacity 0.25s ease, transform 0.25s ease;
}
