/* ==========================================================================
   ESPACIO VIVIR - DESIGN SYSTEM & STYLESHEET
   Brand Colors: Leaf Green (#4E8B43), Bright Green (#7BB662), Earth Brown (#6E4727 / #53341C)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand Palette */
  --primary-green: #4E8B43;
  --primary-green-dark: #37652E;
  --secondary-green: #7BB662;
  --accent-green-light: #EBF4E8;
  
  --earth-brown: #6E4727;
  --earth-brown-dark: #4D3019;
  --earth-brown-light: #94663E;
  --sand-light: #FAF6F0;
  
  --dark-charcoal: #2C3531;
  --dark-slate: #1E2421;
  --text-muted: #5A6560;
  
  --bg-main: #F8F9F5;
  --bg-surface: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  --border-light: rgba(78, 139, 67, 0.15);
  --border-subtle: #E2E7DF;
  
  --whatsapp-green: #25D366;
  --whatsapp-dark: #128C7E;
  
  /* Typography */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Shadows & Elevation */
  --shadow-sm: 0 4px 12px rgba(44, 53, 49, 0.05);
  --shadow-md: 0 8px 24px rgba(44, 53, 49, 0.08);
  --shadow-lg: 0 16px 40px rgba(44, 53, 49, 0.12);
  --shadow-glow: 0 0 25px rgba(123, 182, 98, 0.35);
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--dark-charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--dark-slate);
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-green {
  background-color: var(--accent-green-light);
  color: var(--primary-green-dark);
  border: 1px solid rgba(78, 139, 67, 0.2);
}

.badge-earth {
  background-color: var(--sand-light);
  color: var(--earth-brown-dark);
  border: 1px solid rgba(110, 71, 39, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background-color: var(--primary-green);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--primary-green-dark);
}

.btn-secondary {
  background-color: var(--earth-brown);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background-color: var(--earth-brown-dark);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
}

.btn-outline:hover {
  background-color: var(--primary-green);
  color: #FFFFFF;
}

.btn-white {
  background-color: #FFFFFF;
  color: var(--primary-green-dark);
}

.btn-white:hover {
  background-color: var(--accent-green-light);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  padding: 1rem 0;
  background-color: rgba(248, 249, 245, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.site-header.scrolled {
  padding: 0.6rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(78, 139, 67, 0.25));
  transition: var(--transition-normal);
}

/* Logo principal en navbar: JPG con fondo blanco */
.navbar-logo {
  height: 72px !important;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 3px 16px rgba(78, 139, 67, 0.20), 0 1px 4px rgba(0,0,0,0.08);
  background: #fff;
  padding: 4px 8px;
  transition: var(--transition-normal);
  filter: none !important;
}

.logo-wrapper:hover .navbar-logo {
  box-shadow: 0 6px 24px rgba(78, 139, 67, 0.40), 0 2px 8px rgba(0,0,0,0.12);
  transform: scale(1.04);
}

.logo-wrapper:hover .logo-img {
  filter: drop-shadow(0 4px 16px rgba(78, 139, 67, 0.55)) brightness(1.05);
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
  transition: var(--transition-fast);
}

.logo-wrapper:hover .brand-text {
  transform: translateX(3px);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--dark-slate);
  letter-spacing: -0.5px;
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark-charcoal);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-green);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary-green);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-slate);
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   HERO VIDEO SLIDER SECTION (Tranquilidad Mental, Paz y Sosiego)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 620px;
  overflow: hidden;
  margin-top: 76px;
  background-color: var(--dark-slate);
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* Canvas Animated Slides */
.slide-canvas-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.65) contrast(1.05);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(30, 36, 33, 0.4) 0%,
    rgba(30, 36, 33, 0.6) 60%,
    rgba(30, 36, 33, 0.85) 100%
  );
  z-index: 2;
  display: flex;
  align-items: center;
}

.hero-content {
  color: #FFFFFF;
  max-width: 820px;
}

.hero-content .badge {
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-quote {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
}

.hero-quote span {
  color: #A4E897;
  font-style: italic;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 680px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Slider Controls */
.slider-nav {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  width: 100%;
  z-index: 10;
}

.slider-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dots-wrapper {
  display: flex;
  gap: 0.75rem;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-fast);
  border: 2px solid transparent;
}

.dot.active {
  background-color: #FFFFFF;
  width: 36px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.arrow-controls {
  display: flex;
  gap: 0.75rem;
}

.arrow-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: var(--transition-fast);
}

.arrow-btn:hover {
  background: #FFFFFF;
  color: var(--primary-green-dark);
}

/* ==========================================================================
   PHILOSOPHY & "¿QUÉ HACEMOS?" SECTION
   ========================================================================== */
.philosophy-section {
  position: relative;
  background-color: var(--bg-surface);
  overflow: hidden;
}

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

.philosophy-image-container {
  position: relative;
}

.philosophy-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.floating-experience-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--bg-surface);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--primary-green);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.exp-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-green);
  line-height: 1;
}

.exp-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark-slate);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.2rem;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
  color: var(--dark-slate);
}

.section-title span {
  color: var(--primary-green);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: var(--bg-main);
  padding: 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-green);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent-green-light);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.feature-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark-slate);
  margin-bottom: 0.25rem;
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   ESPECIALISTA SECTION (Elizabeth Benavides Cacya)
   ========================================================================== */
.specialist-section {
  background-color: var(--sand-light);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.specialist-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  align-items: center;
}

.specialist-photo-col {
  text-align: center;
}

.specialist-avatar {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 5px solid var(--accent-green-light);
  box-shadow: 0 8px 32px rgba(78, 139, 67, 0.25), 0 0 0 3px rgba(78, 139, 67, 0.15);
  margin: 0 auto 1.5rem auto;
  display: block;
  transition: var(--transition-normal);
}

.specialist-avatar:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(78, 139, 67, 0.35), 0 0 0 5px rgba(78, 139, 67, 0.2);
}

.specialist-name {
  font-size: 1.6rem;
  color: var(--dark-slate);
  margin-bottom: 0.25rem;
}

.specialist-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--earth-brown);
  margin-bottom: 1rem;
}

.credentials-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.cred-tag {
  background: var(--accent-green-light);
  color: var(--primary-green-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.specialist-bio p {
  margin-bottom: 1.25rem;
  color: var(--dark-charcoal);
  font-size: 1rem;
  line-height: 1.7;
}

.media-mentions {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.media-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
}

.media-badge {
  background: #F0F2EE;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark-slate);
}

/* ==========================================================================
   SERVICES & CATEGORIZED THERAPIES SECTION
   ========================================================================== */
.services-section {
  background-color: var(--bg-main);
}

.search-filter-wrapper {
  margin: 2.5rem 0 3rem 0;
}

.search-box {
  max-width: 540px;
  margin: 0 auto 2rem auto;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 1rem 1.5rem 1rem 3.2rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-light);
  background-color: var(--bg-surface);
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: var(--shadow-glow);
}

.search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-green);
  font-size: 1.2rem;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.tab-btn {
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  background-color: var(--bg-surface);
  color: var(--dark-charcoal);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  background-color: var(--accent-green-light);
  color: var(--primary-green);
}

.tab-btn.active {
  background-color: var(--primary-green);
  color: #FFFFFF;
  border-color: var(--primary-green);
  box-shadow: var(--shadow-sm);
}

.therapies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.therapy-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.therapy-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-green);
}

/* Therapy Slider */
.therapy-img-slider {
  position: relative;
  width: calc(100% + 4rem);
  margin: -2rem -2rem 1.5rem -2rem;
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: #f0f0f0;
}
.therapy-img-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.therapy-img-slider img.active {
  opacity: 1;
}

.therapy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.therapy-category {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--earth-brown);
  background-color: var(--sand-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.therapy-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-green-light);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.therapy-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--dark-slate);
}

.therapy-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.therapy-highlights {
  margin-bottom: 1.5rem;
  padding: 0.8rem 1rem;
  background-color: var(--bg-main);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.therapy-highlights li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dark-charcoal);
  margin-bottom: 0.4rem;
}

.therapy-highlights li:last-child {
  margin-bottom: 0;
}

.therapy-highlights i {
  color: var(--primary-green);
  font-size: 0.8rem;
}

.therapy-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   VIDEO REELS & MULTIMEDIA GALLERY
   ========================================================================== */
.reels-section {
  background-color: var(--dark-slate);
  color: #FFFFFF;
}

.reels-section .section-title {
  color: #FFFFFF;
}

.reels-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.reels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.reel-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  cursor: pointer;
}

.reel-card:hover {
  transform: translateY(-6px);
  border-color: var(--secondary-green);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.reel-video-preview {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.reel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(78, 139, 67, 0.9);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition-fast);
  backdrop-filter: blur(4px);
}

.reel-card:hover .play-badge {
  transform: translate(-50%, -50%) scale(1.15);
  background-color: var(--secondary-green);
}

.reel-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.reel-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   FACILITIES & AMBIANCE GALLERY (AI Generated Photos)
   ========================================================================== */
.gallery-section {
  background-color: var(--bg-surface);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 320px;
  box-shadow: var(--shadow-md);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(0deg, rgba(30, 36, 33, 0.85) 0%, transparent 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ==========================================================================
   BOOKING & CONTACT SECTION
   ========================================================================== */
.contact-section {
  background-color: var(--sand-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info-card {
  background-color: var(--primary-green-dark);
  color: #FFFFFF;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-header h3 {
  color: #FFFFFF;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-info-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: #A4E897;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info-content h4 {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.info-content p, .info-content a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.5;
}

.booking-form-card {
  background-color: var(--bg-surface);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
}

.form-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--dark-slate);
}

.form-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark-slate);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-subtle);
  background-color: var(--bg-main);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-green);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(78, 139, 67, 0.15);
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--dark-slate);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem 0;
  border-top: 4px solid var(--primary-green);
}

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

.footer-brand .brand-name {
  color: #FFFFFF;
}

.footer-desc {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* Footer Logo */
.footer-logo-img {
  height: 90px !important;
  width: auto;
  border-radius: 12px;
  background: rgba(255,255,255,0.95);
  padding: 8px 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: var(--transition-normal);
  display: block;
  margin-bottom: 1rem;
  filter: none !important;
}

.footer-brand a:hover .footer-logo-img {
  transform: scale(1.06);
  box-shadow: 0 8px 30px rgba(123, 182, 98, 0.5);
}

.footer-brand .brand-name {
  font-size: 1.8rem !important;
  color: #FFFFFF;
}

.footer-brand .brand-subtitle {
  color: var(--secondary-green) !important;
  font-size: 0.85rem;
}

.footer-heading {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* ==========================================================================
   FLOATING WHATSAPP WIDGET & MODALS
   ========================================================================== */
.whatsapp-float-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.whatsapp-float-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--whatsapp-green);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  border: none;
}

.whatsapp-float-btn::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 2px solid var(--whatsapp-green);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  background-color: var(--whatsapp-dark);
}

.whatsapp-badge-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  background-color: #FF4757;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
}

/* WhatsApp Popup Box */
.whatsapp-chat-popup {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 330px;
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-normal);
}

.whatsapp-chat-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chat-popup-header {
  background-color: var(--whatsapp-dark);
  color: #FFFFFF;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-header-info h5 {
  color: #FFFFFF;
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}

.chat-header-info p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.chat-popup-body {
  padding: 1.2rem;
  background-color: #E5DDD5;
  background-image: radial-gradient(rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 12px 12px;
}

.chat-msg-bubble {
  background-color: #FFFFFF;
  padding: 0.85rem 1rem;
  border-radius: 0 12px 12px 12px;
  font-size: 0.88rem;
  color: var(--dark-slate);
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.chat-popup-footer {
  padding: 0.85rem;
  background-color: #FFFFFF;
}

/* Video Modal */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

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

.modal-content-video {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: #000000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #FFFFFF;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 10;
}

/* ==========================================================================
   FLOATING SOCIAL MEDIA SIDEBAR (Right side, vertical)
   ========================================================================== */
.social-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 16px 0 0 16px;
  overflow: hidden;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.18);
}

.social-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 52px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Brand colors for each network */
.social-sidebar-link.facebook  { background: #1877F2; }
.social-sidebar-link.instagram { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-sidebar-link.linkedin  { background: #0A66C2; }
.social-sidebar-link.tiktok    { background: #010101; }

/* Icon */
.social-sidebar-link i {
  color: #FFFFFF;
  font-size: 1.3rem;
  position: relative;
  z-index: 2;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}

/* Sliding label on hover */
.social-sidebar-link::before {
  content: attr(data-label);
  position: absolute;
  right: 48px;
  white-space: nowrap;
  background: inherit;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 8px 0 0 8px;
  opacity: 0;
  transform: translateX(12px);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  letter-spacing: 0.5px;
  box-shadow: -4px 0 12px rgba(0,0,0,0.15);
}

.social-sidebar-link:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.social-sidebar-link:hover i {
  transform: scale(1.2) rotate(-5deg);
}

.social-sidebar-link:hover {
  width: 54px;
}

/* Shine sweep effect */
.social-sidebar-link::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: rgba(255,255,255,0.2);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  pointer-events: none;
}

.social-sidebar-link:hover::after {
  left: 130%;
}

/* TikTok icon custom glow */
.social-sidebar-link.tiktok:hover {
  box-shadow: inset 0 0 20px rgba(105, 201, 208, 0.3);
}

/* Tooltip indicator (small dot) */
.social-sidebar-link .dot-indicator {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
  opacity: 0.5;
}

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

  .specialist-card {
    padding: 2.5rem;
  }

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

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

  .hero-quote {
    font-size: 2.3rem;
  }

  .social-sidebar-link {
    width: 44px;
    height: 48px;
  }

  .social-sidebar-link i {
    font-size: 1.15rem;
  }
}

/* ==========================================================================
   RESPONSIVE - 768px (Tablets portrait & large mobiles)
   ========================================================================== */
@media (max-width: 768px) {
  .hero-slider-section {
    height: 100svh;
    min-height: 550px;
    margin-top: 68px;
  }

  .hero-quote {
    font-size: 1.7rem;
    line-height: 1.25;
  }

  .hero-description {
    font-size: 1rem;
  }

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

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Mobile nav */
  .nav-menu {
    position: fixed;
    top: 68px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 68px);
    background-color: var(--bg-surface);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
    display: block;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .header-cta span {
    display: none;
  }

  /* Grid adjustments */
  .features-list,
  .form-row,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .floating-experience-card {
    position: static;
    margin-top: 1.5rem;
  }

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

  .specialist-card {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    text-align: center;
  }

  .specialist-avatar {
    width: 180px;
    height: 180px;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.7rem;
  }

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

  .reel-video-preview {
    height: 280px;
  }

  /* Social sidebar - smaller on mobile */
  .social-sidebar {
    top: auto;
    bottom: 7rem;
    transform: none;
  }

  .social-sidebar-link {
    width: 40px;
    height: 44px;
  }

  .social-sidebar-link i {
    font-size: 1.05rem;
  }

  .social-sidebar-link::before {
    display: none;
  }

  /* WhatsApp moves up to avoid overlap */
  .whatsapp-float-container {
    bottom: 1.5rem;
  }
}

/* ==========================================================================
   RESPONSIVE - 480px (Small mobiles)
   ========================================================================== */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-quote {
    font-size: 1.4rem;
  }

  .hero-slider-section {
    height: 100svh;
  }

  .navbar-logo {
    height: 54px !important;
  }

  .specialist-avatar {
    width: 150px;
    height: 150px;
  }

  .therapy-card {
    padding: 1.25rem;
  }

  .contact-info-card,
  .booking-form-card {
    padding: 1.5rem;
  }

  .philosophy-grid {
    gap: 1.5rem;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .dot.active {
    width: 28px;
  }

  .arrow-btn {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .whatsapp-float-btn {
    width: 54px;
    height: 54px;
    font-size: 1.6rem;
  }

  .social-sidebar-link {
    width: 36px;
    height: 40px;
  }

  .social-sidebar-link i {
    font-size: 0.95rem;
  }
}
