/* ============================================
   ESENCIA HOLÍSTICA — Premium Spa Stylesheet
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --verde-salvia: #A6B49A;
  --beige-arena: #E8E2D6;
  --marfil: #F7F4ED;
  --dorado: #D4B48C;
  --marron: #8A6E4E;
  --blanco: #FFFFFF;
  --texto-oscuro: #3A3228;
  --texto-medio: #6B5B4E;
  --texto-claro: #9E8E82;
  --sombra-suave: 0 4px 24px rgba(58, 50, 40, 0.08);
  --sombra-media: 0 8px 40px rgba(58, 50, 40, 0.14);
  --sombra-fuerte: 0 16px 60px rgba(58, 50, 40, 0.2);
  --radio: 12px;
  --radio-grande: 24px;
  --transicion: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--texto-oscuro);
  background-color: var(--blanco);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  line-height: 1.25;
  color: var(--texto-oscuro);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--texto-medio);
  font-style: italic;
}

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dorado);
  font-weight: 600;
  display: block;
  margin-bottom: 0.75rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radio);
  cursor: pointer;
  transition: var(--transicion);
  white-space: nowrap;
}

.btn-primary {
  background: var(--marron);
  color: var(--blanco);
  box-shadow: 0 4px 20px rgba(138, 110, 78, 0.3);
}
.btn-primary:hover {
  background: var(--texto-oscuro);
  box-shadow: 0 6px 28px rgba(58, 50, 40, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--blanco);
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--blanco);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--marron);
  border: 1.5px solid var(--dorado);
  padding: 0.7rem 1.6rem;
}
.btn-ghost:hover {
  background: var(--marron);
  color: var(--blanco);
  border-color: var(--marron);
  transform: translateY(-2px);
}

/* ---------- Section Spacing ---------- */
.section {
  padding: 6rem 0;
}
.section-sm {
  padding: 4rem 0;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 2rem;
  transition: var(--transicion);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar.scrolled {
  background: rgba(247, 244, 237, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 2rem;
  box-shadow: var(--sombra-suave);
}

.navbar-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.navbar-logo-img {
  height: 85px;
  width: auto;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: var(--transicion);
}
.navbar.scrolled .navbar-logo-img {
  background: transparent;
  box-shadow: none;
}
.navbar-logo .logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--blanco);
  letter-spacing: 0.04em;
  transition: var(--transicion);
}
.navbar-logo .logo-slogan {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.08em;
  transition: var(--transicion);
}
.navbar.scrolled .logo-name {
  color: var(--texto-oscuro);
}
.navbar.scrolled .logo-slogan {
  color: var(--texto-claro);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.navbar-menu a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: var(--transicion);
  position: relative;
}
.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--dorado);
  transition: var(--transicion);
}
.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  width: 100%;
}
.navbar-menu a:hover {
  color: var(--blanco);
}
.navbar.scrolled .navbar-menu a {
  color: var(--texto-medio);
}
.navbar.scrolled .navbar-menu a:hover {
  color: var(--texto-oscuro);
}

.navbar-cta .btn-reservar {
  background: var(--marron);
  color: var(--blanco);
  font-size: 0.72rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radio);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transicion);
  box-shadow: 0 4px 16px rgba(138,110,78,0.35);
}
.navbar-cta .btn-reservar:hover {
  background: var(--texto-oscuro);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(58,50,40,0.35);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--blanco);
  transition: var(--transicion);
  transform-origin: center;
}
.navbar.scrolled .nav-toggle span {
  background: var(--texto-oscuro);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1600334089648-b0d9d3028eb2?w=1920&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero-bg.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(58, 50, 40, 0.45) 0%,
    rgba(58, 50, 40, 0.25) 50%,
    rgba(138, 110, 78, 0.2) 100%
  );
}

.hero-logo-wrapper {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0 0.5rem;
}
.hero-logo-img {
  width: 420px;
  max-width: 88vw;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 4px 28px rgba(0,0,0,0.30));
  animation: heroLogoFadeIn 1.2s ease both;
  margin-bottom: 1.5rem;
}
@keyframes heroLogoFadeIn {
  from { opacity: 0; transform: translateY(-20px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 180px 2rem 2rem;
}

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--dorado);
  font-weight: 500;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s 0.3s forwards;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 500;
  color: var(--blanco);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.9s 0.5s forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--dorado);
}

.hero-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-style: italic;
  line-height: 1.6;
  opacity: 0;
  animation: fadeInUp 0.9s 0.7s forwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.9s 0.9s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeIn 1s 1.5s both;
  cursor: pointer;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ============================================
   BENEFITS
   ============================================ */
.benefits {
  background: var(--marfil);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.benefit-card {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--blanco);
  border-radius: var(--radio-grande);
  box-shadow: var(--sombra-suave);
  transition: var(--transicion);
}
.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sombra-media);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: block;
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--texto-oscuro);
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--texto-medio);
  line-height: 1.7;
}

/* ============================================
   RITUALES DESTACADOS
   ============================================ */
.rituales {
  background: var(--blanco);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}
.section-header h2 {
  margin-bottom: 0.75rem;
}
.section-header p {
  color: var(--texto-medio);
  font-size: 0.95rem;
}

.rituales-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.ritual-card {
  background: var(--blanco);
  border-radius: var(--radio-grande);
  overflow: hidden;
  box-shadow: var(--sombra-suave);
  transition: var(--transicion);
  position: relative;
}
.ritual-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--sombra-fuerte);
}

.ritual-card-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.ritual-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.ritual-card:hover .ritual-card-image img {
  transform: scale(1.08);
}

.ritual-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--dorado);
  color: var(--blanco);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
}

.ritual-card-body {
  padding: 1.75rem;
}
.ritual-card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--texto-oscuro);
}
.ritual-card-body p {
  font-size: 0.875rem;
  color: var(--texto-medio);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* ============================================
   EXPERIENCIA
   ============================================ */
.experiencia {
  background: var(--marfil);
}

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

.experiencia-text .section-label {
  margin-bottom: 1rem;
}
.experiencia-text h2 {
  margin-bottom: 1.5rem;
}
.experiencia-text p {
  color: var(--texto-medio);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 2rem;
}

.experiencia-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--beige-arena);
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--marron);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--texto-claro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.3rem;
  display: block;
}

.experiencia-image {
  position: relative;
}
.experiencia-image img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  border-radius: var(--radio-grande);
  box-shadow: var(--sombra-fuerte);
}
.experiencia-image-accent {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  width: 180px;
  height: 180px;
  background: var(--verde-salvia);
  opacity: 0.18;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: var(--texto-oscuro);
  padding: 6rem 0;
  overflow: hidden;
}

.testimonials .section-header h2,
.testimonials .section-header .section-label {
  color: var(--blanco);
}
.testimonials .section-header p {
  color: rgba(255,255,255,0.6);
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
  display: flex;
  justify-content: center;
}

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radio-grande);
  padding: 3rem;
  max-width: 700px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.testimonial-stars {
  color: var(--dorado);
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  color: var(--blanco);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dorado);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  transition: var(--transicion);
  padding: 0;
}
.carousel-dot.active {
  background: var(--dorado);
  transform: scale(1.2);
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--blanco);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transicion);
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn:hover {
  border-color: var(--dorado);
  color: var(--dorado);
}

/* ============================================
   INSTAGRAM
   ============================================ */
.instagram {
  background: var(--blanco);
}

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

.instagram-profile {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.instagram-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--verde-salvia);
  flex-shrink: 0;
}
.instagram-handle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--texto-medio);
  font-style: italic;
}

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

.instagram-item {
  aspect-ratio: 1;
  border-radius: var(--radio);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.instagram-item-bg {
  width: 100%;
  height: 100%;
  transition: var(--transicion);
  display: flex;
  align-items: center;
  justify-content: center;
}

.instagram-item:hover .instagram-item-bg {
  transform: scale(1.05);
}

.instagram-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(58,50,40,0);
  transition: var(--transicion);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanco);
  font-size: 1.5rem;
  opacity: 0;
}
.instagram-item:hover .instagram-item-overlay {
  background: rgba(58,50,40,0.4);
  opacity: 1;
}

/* ============================================
   BLOG
   ============================================ */
.blog {
  background: var(--marfil);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--blanco);
  border-radius: var(--radio-grande);
  overflow: hidden;
  box-shadow: var(--sombra-suave);
  transition: var(--transicion);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-media);
}

.blog-card-image {
  height: 200px;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.06);
}

.blog-card-body {
  padding: 1.75rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.blog-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dorado);
  background: rgba(212,180,140,0.12);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

.blog-date {
  font-size: 0.75rem;
  color: var(--texto-claro);
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  line-height: 1.35;
  transition: var(--transicion);
}
.blog-card:hover h3 {
  color: var(--marron);
}

.blog-card p {
  font-size: 0.85rem;
  color: var(--texto-medio);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.blog-read-more {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--marron);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transicion);
}
.blog-read-more:hover {
  gap: 0.7rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--texto-oscuro);
  color: rgba(255,255,255,0.75);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
  opacity: 0.9;
}
.footer-brand .logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--blanco);
  margin-bottom: 0.3rem;
}
.footer-brand .logo-slogan {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--dorado);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transicion);
  color: rgba(255,255,255,0.65);
}
.footer-social a:hover {
  border-color: var(--dorado);
  color: var(--dorado);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blanco);
  margin-bottom: 1.5rem;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transicion);
}
.footer-col ul li a:hover {
  color: var(--dorado);
  padding-left: 4px;
}

.footer-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.9rem;
}
.footer-info li .icon {
  color: var(--dorado);
  flex-shrink: 0;
  margin-top: 0.1em;
}

.footer-map {
  margin-top: 1rem;
  border-radius: var(--radio);
  overflow: hidden;
  height: 120px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  transition: var(--transicion);
}
.footer-links a:hover {
  color: var(--dorado);
}

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.45);
  transition: var(--transicion);
  animation: floatPulse 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.55);
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--blanco);
}
.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--texto-oscuro);
  color: var(--blanco);
  font-size: 0.78rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transicion);
  font-weight: 500;
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: var(--texto-oscuro);
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   KEYFRAMES
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 6px 30px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 8px 40px rgba(37,211,102,0.65); }
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .rituales-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .experiencia-inner {
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large Mobile */
@media (max-width: 768px) {
  .navbar-menu,
  .navbar-cta {
    display: none;
  }
  .navbar-cta.mobile-show {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }

  .navbar-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--marfil);
    z-index: 999;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }
  .navbar-menu.mobile-open a {
    color: var(--texto-oscuro) !important;
    font-size: 1.2rem;
    letter-spacing: 0.15em;
  }
  .navbar-menu.mobile-open .mobile-btn {
    display: block;
    margin-top: 1rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .rituales-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .experiencia-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .experiencia-image {
    order: -1;
  }
  .experiencia-image img {
    height: 380px;
  }
  .experiencia-image-accent {
    display: none;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

  .instagram-header {
    flex-direction: column;
    text-align: center;
  }

  .experiencia-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .section {
    padding: 4rem 0;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    justify-content: center;
    max-width: 280px;
  }
  .experiencia-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .testimonial-card {
    padding: 2rem 1.5rem;
  }
}


/* ============================================
   ESENCIA HOLÍSTICA — App Styles v2
   Cart · Auth · Services · Academy · Admin
   ============================================ */

/* ---- TOAST ---- */
.eh-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  background: var(--texto-oscuro);
  color: var(--marfil);
  padding: .85rem 1.75rem;
  border-radius: 2rem;
  font-size: .85rem;
  font-family: 'Montserrat', sans-serif;
  z-index: 9999;
  opacity: 0;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  max-width: 90vw;
  text-align: center;
  box-shadow: var(--sombra-media);
}
.eh-toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.eh-toast--error { background: #c0392b; }
.eh-toast--success { background: #2d6a4f; }

/* ---- NAVBAR ADDITIONS ---- */
.cart-nav-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--texto-oscuro);
  padding: .5rem;
  border-radius: 50%;
  transition: var(--transicion);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-nav-btn:hover { background: var(--beige-arena); }
.cart-badge {
  position: absolute;
  top: 0; right: 0;
  background: var(--dorado);
  color: var(--texto-oscuro);
  font-size: .6rem;
  font-weight: 700;
  width: 1.1rem; height: 1.1rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.btn-account {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--marfil);
  border: 1.5px solid var(--beige-arena);
  color: var(--texto-oscuro);
  padding: .5rem 1rem;
  border-radius: 2rem;
  font-size: .78rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transicion);
  letter-spacing: .03em;
}
.btn-account:hover {
  background: var(--dorado);
  border-color: var(--dorado);
  color: white;
}

/* ---- CART SIDEBAR ---- */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1200;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.cart-overlay.active { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed;
  top: 0; right: 0;
  width: 100%; max-width: 400px;
  height: 100%;
  background: var(--marfil);
  z-index: 1201;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 30px rgba(58,50,40,.15);
}
.cart-sidebar.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--beige-arena);
}
.cart-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
}
.cart-close {
  background: none; border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--texto-medio);
  line-height: 1;
  padding: 0 .25rem;
  transition: var(--transicion);
}
.cart-close:hover { color: var(--texto-oscuro); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}
.cart-empty {
  text-align: center;
  color: var(--texto-claro);
  padding: 2rem 0;
  font-size: .9rem;
  line-height: 1.8;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--beige-arena);
}
.cart-item-info { flex: 1; }
.cart-item-name {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  margin-bottom: .25rem;
}
.cart-item-meta {
  font-size: .78rem;
  color: var(--texto-claro);
}
.cart-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .3rem;
}
.cart-item-price {
  font-weight: 700;
  font-size: .9rem;
  color: var(--marron);
}
.cart-item-remove {
  background: none; border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--texto-claro);
  line-height: 1;
  transition: var(--transicion);
}
.cart-item-remove:hover { color: #c0392b; }

.cart-footer {
  padding: 1.25rem 1.5rem;
  border-top: 2px solid var(--beige-arena);
  background: white;
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1rem;
}

/* ---- SERVICIOS SECTION ---- */
.servicios-tabs {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  justify-content: center;
}
.tab-btn {
  background: var(--marfil);
  border: 2px solid var(--beige-arena);
  color: var(--texto-medio);
  padding: .65rem 1.5rem;
  border-radius: 2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transicion);
  letter-spacing: .03em;
}
.tab-btn:hover {
  border-color: var(--dorado);
  color: var(--marron);
}
.tab-btn.active {
  background: var(--dorado);
  border-color: var(--dorado);
  color: white;
}

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

.service-card {
  background: white;
  border-radius: var(--radio-grande);
  overflow: hidden;
  box-shadow: var(--sombra-suave);
  transition: var(--transicion);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-media);
}
.service-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.05); }

.service-card-cat {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(255,255,255,.92);
  color: var(--marron);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 2rem;
}

.service-card-body {
  padding: 1.5rem;
}
.service-card-meta {
  font-size: .72rem;
  color: var(--dorado);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}
.service-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: .6rem;
  line-height: 1.3;
}
.service-card-desc {
  font-size: .83rem;
  color: var(--texto-medio);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.btn-price {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--verde-salvia), var(--marron));
  color: white;
  border: none;
  padding: .85rem 1.5rem;
  border-radius: var(--radio);
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  cursor: pointer;
  transition: var(--transicion);
  text-align: center;
}
.btn-price:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(166,180,154,.4);
}
.btn-price:active { transform: translateY(0); }

/* ---- MODALS ---- */
.eh-modal {
  position: fixed; inset: 0;
  background: rgba(30,22,14,.55);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  backdrop-filter: blur(3px);
}
.eh-modal.active {
  opacity: 1; pointer-events: all;
}
.eh-modal--full { align-items: flex-start; padding-top: 4rem; }

.modal-box {
  background: var(--marfil);
  border-radius: var(--radio-grande);
  padding: 2.5rem 2rem;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--sombra-fuerte);
  animation: modalIn .3s cubic-bezier(.4,0,.2,1);
  width: 100%;
}
.modal-box--sm { max-width: 460px; }
.modal-box--md { max-width: 600px; }
.modal-box--lg { max-width: 800px; }
.modal-box--xl { max-width: 1000px; max-height: 85vh; }
.modal-box--video { max-width: 700px; }

@keyframes modalIn {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1.25rem;
  background: none; border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--texto-claro);
  line-height: 1;
  transition: var(--transicion);
}
.modal-close:hover { color: var(--texto-oscuro); }

.modal-brand { text-align: center; margin-bottom: 1.5rem; }

.modal-header {
  margin-bottom: 1.5rem;
}
.modal-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
}

/* ---- AUTH TABS ---- */
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.75rem;
  border-bottom: 2px solid var(--beige-arena);
}
.auth-tab {
  flex: 1;
  background: none;
  border: none;
  padding: .85rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--texto-claro);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transicion);
}
.auth-tab.active {
  color: var(--marron);
  border-bottom-color: var(--dorado);
}
.auth-panel { display: none; }
.auth-panel.active { display: block; }

/* ---- FORMS ---- */
.form-group {
  margin-bottom: 1.1rem;
}
.form-group label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--texto-medio);
  margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--beige-arena);
  border-radius: var(--radio);
  font-family: 'Montserrat', sans-serif;
  font-size: .9rem;
  color: var(--texto-oscuro);
  background: white;
  transition: var(--transicion);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--verde-salvia);
  box-shadow: 0 0 0 3px rgba(166,180,154,.15);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: .5rem 1rem; font-size: .78rem; }

/* ---- BOOKING ---- */
.booking-summary {
  background: white;
  border-radius: var(--radio);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border: 1.5px solid var(--beige-arena);
}
.booking-item {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  padding: .4rem 0;
  color: var(--texto-medio);
  border-bottom: 1px solid var(--beige-arena);
}
.booking-total {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  padding: .6rem 0 0;
  color: var(--texto-oscuro);
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin-top: .5rem;
}
.time-slot {
  background: white;
  border: 1.5px solid var(--beige-arena);
  border-radius: var(--radio);
  padding: .55rem;
  font-size: .8rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: var(--transicion);
}
.time-slot:hover:not(:disabled) {
  border-color: var(--verde-salvia);
  background: var(--marfil);
}
.time-slot.selected {
  background: var(--verde-salvia);
  border-color: var(--verde-salvia);
  color: white;
  font-weight: 700;
}
.time-slot.taken {
  background: var(--beige-arena);
  color: var(--texto-claro);
  cursor: not-allowed;
  text-decoration: line-through;
}

/* ---- PAYMENT MODAL ---- */
.payment-details {
  background: white;
  border-radius: var(--radio);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  border: 1.5px solid var(--beige-arena);
}
.payment-line {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  padding: .4rem 0;
  border-bottom: 1px solid var(--beige-arena);
  color: var(--texto-medio);
}
.payment-line.total {
  font-size: 1rem;
  font-weight: 700;
  color: var(--texto-oscuro);
  border-bottom: none;
  padding-top: .6rem;
}
.payment-sinpe {
  background: linear-gradient(135deg, rgba(166,180,154,.12), rgba(212,180,140,.08));
  border: 1.5px solid var(--verde-salvia);
  border-radius: var(--radio);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  text-align: center;
  font-size: .88rem;
}
.payment-sinpe strong { color: var(--marron); }
.payment-note {
  font-size: .78rem;
  color: var(--texto-medio);
  margin-top: .5rem;
}
.payment-method-selector { margin-bottom: 1rem; }
.payment-method-options { display: flex; gap: 1rem; flex-wrap: wrap; }
.payment-method-opt {
  display: flex; align-items: center; gap: .5rem;
  cursor: pointer; padding: .6rem 1.2rem;
  border: 2px solid var(--verde-salvia);
  border-radius: 30px; font-size: .9rem;
  transition: var(--transicion);
}
.payment-method-opt:has(input:checked) {
  background: var(--verde-salvia); color: var(--blanco);
}
.payment-method-opt input { display: none; }
.payment-sitio { padding: 1rem; background: var(--crema); border-radius: 10px; }
.payment-sitio p { margin-bottom: .4rem; }
.payment-actions { display: flex; flex-direction: column; gap: .75rem; }

/* ---- DASHBOARD ---- */
.dash-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--beige-arena);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.dash-user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}
.dash-avatar {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--verde-salvia), var(--dorado));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.dash-email { font-size: .82rem; color: var(--texto-claro); margin-top: .15rem; }
.dash-mem-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: .25rem .75rem;
  border-radius: 2rem;
  margin-top: .3rem;
}
.dash-mem-badge.active {
  background: rgba(45,106,79,.12);
  color: #2d6a4f;
}
.dash-mem-badge.inactive {
  background: var(--beige-arena);
  color: var(--texto-claro);
}

.dash-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--beige-arena);
  margin-bottom: 1.5rem;
  overflow-x: auto;
}
.dash-tab {
  background: none; border: none;
  padding: .85rem 1.25rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--texto-claro);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: var(--transicion);
}
.dash-tab.active {
  color: var(--marron);
  border-bottom-color: var(--dorado);
}

.dash-panel { display: none; }
.dash-panel.active { display: block; }
.dash-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--texto-oscuro);
}

.dash-apt-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: white;
  border-radius: var(--radio);
  border: 1.5px solid var(--beige-arena);
  margin-bottom: .75rem;
  gap: 1rem;
}
.dash-apt-info strong {
  display: block;
  font-size: .88rem;
  margin-bottom: .2rem;
}
.dash-apt-info span {
  font-size: .78rem;
  color: var(--texto-claro);
}
.apt-status {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 2rem;
  white-space: nowrap;
}
.apt-status--pendiente { background: rgba(212,180,140,.2); color: var(--marron); }
.apt-status--confirmada { background: rgba(45,106,79,.12); color: #2d6a4f; }
.apt-status--completada { background: rgba(166,180,154,.2); color: #4a7c59; }
.apt-status--cancelada { background: rgba(192,57,43,.1); color: #c0392b; }

.dash-empty {
  color: var(--texto-claro);
  font-size: .88rem;
  padding: 1.5rem 0;
}
.dash-empty a {
  color: var(--dorado);
  text-decoration: underline;
}

/* ---- ADMIN PANEL ---- */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--beige-arena);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.admin-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
}
.admin-header-actions { display: flex; gap: .75rem; align-items: center; }

.admin-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--beige-arena);
  margin-bottom: 1.5rem;
  overflow-x: auto;
}
.admin-tab {
  background: none; border: none;
  padding: .75rem 1.25rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--texto-claro);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: var(--transicion);
}
.admin-tab.active {
  color: var(--marron);
  border-bottom-color: var(--dorado);
}

.admin-panel { display: none; }
.admin-panel.active { display: block; }

.admin-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.admin-panel-header h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radio);
  border: 1.5px solid var(--beige-arena);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .82rem;
}
.admin-table thead {
  background: var(--beige-arena);
}
.admin-table th {
  padding: .75rem 1rem;
  text-align: left;
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--texto-medio);
  white-space: nowrap;
}
.admin-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--beige-arena);
  color: var(--texto-oscuro);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(247,244,237,.7); }

.admin-btn {
  border: none;
  border-radius: .5rem;
  padding: .35rem .75rem;
  font-size: .74rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transicion);
  margin-right: .25rem;
}
.admin-btn--edit {
  background: rgba(166,180,154,.2);
  color: #2d6a4f;
}
.admin-btn--edit:hover { background: rgba(166,180,154,.4); }
.admin-btn--del {
  background: rgba(192,57,43,.1);
  color: #c0392b;
}
.admin-btn--del:hover { background: rgba(192,57,43,.2); }

.apt-status-select {
  border: 1.5px solid var(--beige-arena);
  border-radius: .5rem;
  padding: .3rem .5rem;
  font-size: .76rem;
  font-family: 'Montserrat', sans-serif;
  background: white;
  cursor: pointer;
}

/* ---- ACADEMIA ---- */
.academia {
  background: linear-gradient(135deg, #f7f4ed 0%, #e8e2d6 100%);
}
.academia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.video-card {
  background: white;
  border-radius: var(--radio-grande);
  overflow: hidden;
  box-shadow: var(--sombra-suave);
  transition: var(--transicion);
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--sombra-media); }
.video-card.locked { opacity: .9; }

.video-card-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: var(--beige-arena);
}
.video-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.video-card:hover .video-card-thumb img { transform: scale(1.05); }

.video-play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.25);
  transition: var(--transicion);
}
.video-play-btn:hover, .video-card-thumb:hover .video-play-btn {
  background: rgba(0,0,0,.35);
}
.video-play-btn svg {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.18);
  border-radius: 50%;
  padding: 12px;
  backdrop-filter: blur(4px);
}

.video-lock-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(58,50,40,.5);
  backdrop-filter: blur(4px);
}
.video-duration {
  position: absolute;
  bottom: .6rem; right: .75rem;
  background: rgba(0,0,0,.65);
  color: white;
  font-size: .7rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: .4rem;
}

.video-card-body { padding: 1.25rem; }
.video-cat {
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dorado);
  display: block;
  margin-bottom: .4rem;
}
.video-card-body h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  margin-bottom: .5rem;
  line-height: 1.3;
}
.video-card-body p {
  font-size: .8rem;
  color: var(--texto-medio);
  line-height: 1.6;
}

.academia-cta {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: var(--radio-grande);
  box-shadow: var(--sombra-suave);
}
.academia-cta p {
  color: var(--texto-medio);
  margin-bottom: 1rem;
}

/* ---- VIDEO PLAYER ---- */
.video-player-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  padding-right: 2rem;
}
.video-player-wrap {
  border-radius: var(--radio);
  overflow: hidden;
  background: black;
  aspect-ratio: 16/9;
}
.video-player-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---- MEMBRESÍAS ---- */
.membresias {
  background: linear-gradient(160deg, var(--texto-oscuro) 0%, #5a4838 100%);
}
.membresias .section-header .section-label { color: var(--dorado); }
.membresias .section-header h2 { color: white; }
.membresias .section-header p { color: rgba(255,255,255,.7); }

.membresias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 780px;
  margin: 0 auto;
}

.membresia-card {
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--radio-grande);
  padding: 2.5rem 2rem;
  position: relative;
  transition: var(--transicion);
}
.membresia-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-4px);
}
.membresia-card--featured {
  background: var(--marfil);
  border-color: var(--dorado);
  border-width: 2px;
}
.membresia-card--featured .membresia-header h3,
.membresia-card--featured .price-amount,
.membresia-card--featured .price-period { color: var(--texto-oscuro); }
.membresia-card--featured .membresia-features li { color: var(--texto-medio); }

.membresia-badge {
  position: absolute;
  top: -14px; right: 1.5rem;
  background: var(--dorado);
  color: white;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .35rem 1rem;
  border-radius: 2rem;
}
.membresia-header { text-align: center; margin-bottom: 1.75rem; }
.membresia-icon { font-size: 2.5rem; display: block; margin-bottom: .75rem; }
.membresia-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: white;
  margin-bottom: .75rem;
}
.membresia-price { display: flex; align-items: baseline; justify-content: center; gap: .25rem; }
.price-amount {
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  font-family: 'Playfair Display', serif;
}
.price-period {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
}
.price-note {
  font-size: .77rem;
  color: rgba(255,255,255,.5);
  margin-top: .4rem;
}
.membresia-card--featured .price-note { color: var(--texto-claro); }

.membresia-features {
  list-style: none;
  margin-bottom: 2rem;
}
.membresia-features li {
  color: rgba(255,255,255,.8);
  font-size: .85rem;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.membresia-features li:last-child { border-bottom: none; }

/* ---- RESPONSIVE ADDITIONS ---- */
@media (max-width: 768px) {
  .servicios-grid { grid-template-columns: 1fr; }
  .academia-grid { grid-template-columns: 1fr; }
  .membresias-grid { grid-template-columns: 1fr; }
  .modal-box { padding: 2rem 1.25rem; }
  .modal-box--xl { max-height: 95vh; }
  .dash-header { flex-direction: column; align-items: flex-start; }
  .admin-table th, .admin-table td { padding: .5rem .75rem; }
  .time-slots-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-sidebar { max-width: 100%; }
  .btn-account span { display: none; }
}
@media (max-width: 480px) {
  .service-card-img { height: 160px; }
  .membresia-card { padding: 2rem 1.5rem; }
  .modal-box--xl { padding: 1.5rem 1rem; }
}

/* ============================================
   WEEKLY CALENDAR — Slot picker
   ============================================ */

.weekly-cal-wrap {
  border: 1.5px solid var(--beige-arena);
  border-radius: var(--radio);
  overflow: hidden;
  background: var(--marfil);
}

/* Nav bar */
.weekly-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: white;
  border-bottom: 1px solid var(--beige-arena);
}
.week-nav-btn {
  background: none;
  border: 1.5px solid var(--beige-arena);
  border-radius: 50%;
  width: 32px; height: 32px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--texto-medio);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transicion);
  line-height: 1;
}
.week-nav-btn:hover:not(:disabled) {
  background: var(--verde-salvia);
  color: white;
  border-color: var(--verde-salvia);
}
.week-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.week-range-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--texto-medio);
  letter-spacing: 0.05em;
  text-transform: capitalize;
}

/* Grid */
.weekly-cal-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  overflow-x: auto;
  min-width: 0;
}

/* Day column */
.week-day-col {
  border-right: 1px solid var(--beige-arena);
  min-width: 72px;
}
.week-day-col:last-child { border-right: none; }
.week-day-col.day-past { opacity: 0.45; }

.week-day-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.6rem 0.25rem;
  background: white;
  border-bottom: 1px solid var(--beige-arena);
  position: sticky;
  top: 0;
}
.week-day-name {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dorado);
}
.week-day-num {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--texto-oscuro);
  font-family: 'Playfair Display', serif;
}

/* Time slot buttons */
.week-slot {
  display: block;
  width: 100%;
  padding: 0.45rem 0.2rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--texto-oscuro);
  background: var(--marfil);
  border: none;
  border-bottom: 1px solid var(--beige-arena);
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, color 0.2s;
  line-height: 1.35;
}
.week-slot:last-child { border-bottom: none; }

.week-slot:not(.busy):not(.past):hover {
  background: #e6ede2;
  color: var(--texto-oscuro);
}
.week-slot.selected {
  background: var(--verde-salvia) !important;
  color: white !important;
  box-shadow: inset 0 0 0 2px var(--dorado);
  font-weight: 700;
}
.week-slot.busy {
  background: #f0ede8;
  color: var(--texto-claro);
  cursor: not-allowed;
}
.slot-busy-label {
  font-size: 0.62rem;
  display: block;
  color: var(--texto-claro);
}
.week-slot.past {
  background: #f7f5f2;
  color: var(--texto-claro);
  cursor: not-allowed;
}

/* GCal loading indicator */
.gcal-loading-msg {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
  color: var(--texto-medio);
  background: white;
  border-top: 1px solid var(--beige-arena);
}
.gcal-spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid var(--beige-arena);
  border-top-color: var(--verde-salvia);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Mobile: allow horizontal scroll on tight screens */
@media (max-width: 540px) {
  .weekly-cal-grid {
    grid-template-columns: repeat(6, minmax(60px, 1fr));
  }
  .week-slot { font-size: 0.62rem; padding: 0.4rem 0.1rem; }
  .week-day-num { font-size: 1rem; }
}

/* ============================================
   ADMIN INTEGRATIONS PANEL
   ============================================ */

.integ-section {
  background: white;
  border: 1.5px solid var(--beige-arena);
  border-radius: var(--radio);
  overflow: hidden;
}

.integ-section-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--marfil);
  border-bottom: 1px solid var(--beige-arena);
  flex-wrap: wrap;
}
.integ-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.integ-section-header > div { flex: 1; min-width: 180px; }
.integ-section-header h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--texto-oscuro);
  margin-bottom: 0.2rem;
}
.integ-section-header p {
  font-size: 0.78rem;
  color: var(--texto-medio);
  margin: 0;
}

.integ-badge {
  flex-shrink: 0;
  padding: 0.3rem 0.85rem;
  border-radius: 2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  align-self: flex-start;
}
.integ-badge--off  { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.integ-badge--on   { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }

.integ-fields {
  padding: 1.25rem 1.5rem;
}

.integ-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}
.integ-result {
  font-size: 0.8rem;
  color: var(--texto-medio);
  flex: 1;
  min-width: 0;
}

/* Accordion guide */
.integ-guide {
  border-top: 1px solid var(--beige-arena);
}
.integ-guide summary {
  padding: 0.85rem 1.5rem;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--texto-medio);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--marfil);
  transition: background 0.2s;
}
.integ-guide summary:hover { background: #f0ede8; }
.integ-guide[open] summary { color: var(--marron); }

.integ-steps {
  counter-reset: step;
  padding: 1rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.integ-steps li {
  font-size: 0.82rem;
  color: var(--texto-medio);
  padding-left: 1.75rem;
  position: relative;
  counter-increment: step;
  line-height: 1.5;
}
.integ-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--verde-salvia);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.integ-steps code {
  background: var(--beige-arena);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.8em;
  color: var(--marron);
}
.integ-steps strong { color: var(--texto-oscuro); }

/* Email template preview */
.integ-template-preview {
  margin: 1rem 0 0.5rem;
  border: 1px solid var(--beige-arena);
  border-radius: var(--radio);
  overflow: hidden;
}
.integ-template-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.85rem;
  background: var(--beige-arena);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--texto-medio);
}
.integ-template-code {
  font-family: 'Menlo', 'Consolas', monospace;
  font-size: 0.7rem;
  line-height: 1.45;
  color: var(--texto-oscuro);
  padding: 1rem;
  background: #1e1e2e;
  color: #cdd6f4;
  overflow-x: auto;
  max-height: 200px;
  white-space: pre;
}

/* Extra small button */
.btn-xs {
  font-size: 0.7rem;
  padding: 0.3rem 0.7rem;
}


/* ============================================
   BLOG POST MODAL
   ============================================ */
.modal-box--blog { max-height: 90vh; overflow-y: auto; }

.blog-post-cover {
  width: 100%; max-height: 340px;
  object-fit: cover; border-radius: 12px;
  margin-bottom: 1.5rem;
}
.blog-post-header { margin-bottom: 1.5rem; }
.blog-post-meta { display: flex; gap: .75rem; align-items: center; margin-bottom: .75rem; }
.blog-post-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--texto-oscuro); line-height: 1.25;
}
.blog-post-body {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; line-height: 1.8;
  color: var(--texto-medio);
}
.blog-post-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; color: var(--marron);
  margin: 1.5rem 0 .5rem;
}
.blog-post-body p { margin-bottom: 1rem; }
.blog-post-body ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.blog-post-body li { margin-bottom: .4rem; }
.blog-post-body img {
  max-width: 100%; border-radius: 10px;
  margin: 1rem 0; display: block;
}
.blog-post-body iframe {
  width: 100%; aspect-ratio: 16/9;
  border-radius: 10px; border: none;
  margin: 1rem 0; display: block;
}
.blog-post-footer { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--borde); }

/* Blog editor textarea */
.blog-editor { font-family: monospace; font-size: .9rem; resize: vertical; }
.form-hint { font-size: .78rem; color: #888; margin-bottom: .5rem; line-height: 1.5; }

/* ============================================
   IMAGE UPLOAD COMPONENT
   ============================================ */
.img-upload-group {
  display: flex; align-items: center;
  gap: .6rem; flex-wrap: wrap;
}
.img-upload-group .form-control { flex: 1; min-width: 160px; }
.img-upload-or { color: #999; font-size: .85rem; white-space: nowrap; }
.btn-upload {
  display: inline-flex; align-items: center; gap: .4rem;
  cursor: pointer; padding: .5rem 1rem;
  background: var(--crema); border: 1.5px solid var(--verde-salvia);
  border-radius: 8px; font-size: .85rem; color: var(--verde-salvia);
  font-weight: 500; transition: var(--transicion); white-space: nowrap;
}
.btn-upload:hover { background: var(--verde-salvia); color: var(--blanco); }
.btn-upload--sm { padding: .35rem .8rem; font-size: .8rem; }
.img-preview {
  width: 100%; max-height: 160px;
  object-fit: cover; border-radius: 8px;
  margin-top: .5rem; border: 1px solid var(--borde);
}
.form-hint-bar {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 1rem;
  margin-bottom: .4rem; flex-wrap: wrap;
}
