/* ================================================================
   CREANDO CONSCIENCIA CHILE - Design System
   Mystical dark theme with gold & emerald accents
   ================================================================ */

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

/* ---- CSS Custom Properties ---- */
:root {
  /* Colors - Mystical Palette */
  --color-bg-primary: #0a0a12;
  --color-bg-secondary: #0f0f1a;
  --color-bg-tertiary: #151525;
  --color-bg-card: rgba(20, 20, 40, 0.6);

  --color-gold-primary: #c5a55a;
  --color-gold-light: #dcc07a;
  --color-gold-dark: #8b7340;
  --color-gold-glow: rgba(197, 165, 90, 0.3);

  --color-emerald: #2d6b4f;
  --color-emerald-light: #3d8b66;
  --color-emerald-glow: rgba(45, 107, 79, 0.3);

  --color-purple-deep: #1a0a2e;
  --color-purple-medium: #2d1b4e;
  --color-purple-accent: #6b3fa0;
  --color-purple-glow: rgba(107, 63, 160, 0.2);

  --color-text-primary: #e8e0d0;
  --color-text-secondary: #b0a890;
  --color-text-muted: #7a7060;
  --color-text-accent: var(--color-gold-light);

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #c5a55a, #dcc07a, #c5a55a);
  --gradient-dark: linear-gradient(180deg, #0a0a12 0%, #0f0f1a 50%, #151525 100%);
  --gradient-mystical: linear-gradient(135deg, rgba(26, 10, 46, 0.8), rgba(10, 10, 18, 0.9));
  --gradient-card: linear-gradient(135deg, rgba(20, 20, 40, 0.8), rgba(15, 15, 30, 0.6));
  --gradient-hero-overlay: linear-gradient(180deg, 
    rgba(10, 10, 18, 0.3) 0%, 
    rgba(10, 10, 18, 0.6) 40%, 
    rgba(10, 10, 18, 0.85) 70%, 
    rgba(10, 10, 18, 1) 100%);

  /* Typography */
  --font-heading: 'Cinzel', serif;
  --font-body: 'Cormorant Garamond', serif;
  --font-ui: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-gold: 0 0 30px rgba(197, 165, 90, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 12px 48px rgba(197, 165, 90, 0.2);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);

  /* Z-index scale */
  --z-base: 1;
  --z-nav: 100;
  --z-modal: 200;
  --z-overlay: 300;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold-dark) var(--color-bg-primary);
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg-primary); }
::-webkit-scrollbar-thumb { background: var(--color-gold-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-gold-primary); }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ---- Utility Classes ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-padding {
  padding: var(--space-3xl) 0;
}

.text-center { text-align: center; }
.text-gold { color: var(--color-gold-primary); }
.text-emerald { color: var(--color-emerald-light); }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: 0.08em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.8rem); letter-spacing: 0.06em; }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); letter-spacing: 0.04em; }
h4 { font-size: clamp(1rem, 2vw, 1.2rem); letter-spacing: 0.03em; }

p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--color-text-secondary);
  font-weight: 300;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--color-gold-primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
  font-weight: 400;
}

.section-title {
  margin-bottom: var(--space-sm);
}

.section-description {
  max-width: 700px;
  margin: 0 auto var(--space-xl);
  font-style: italic;
}

/* ---- Decorative Divider ---- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: var(--space-md) auto;
}

.divider-line {
  width: 60px;
  height: 1px;
  background: var(--gradient-gold);
  opacity: 0.5;
}

.divider-symbol {
  font-size: 1.2rem;
  color: var(--color-gold-primary);
  opacity: 0.7;
}

/* ================================================================
   SACRED GEOMETRY BACKGROUND PARTICLES
   ================================================================ */
.sacred-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.sacred-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-gold-glow), transparent 70%);
  animation: float-particle linear infinite;
  opacity: 0;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: var(--space-sm) 0;
  transition: var(--transition-medium);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 18, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(197, 165, 90, 0.1);
  padding: 0.6rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px; /* Evita que el logo choque con el menú */
  max-width: 1400px; /* Da más ancho al contenedor para que quepan holgadamente */
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0; /* Evita que el logo se encoja */
}

.nav-logo img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  object-fit: cover;
  transition: var(--transition-medium);
}

.navbar.scrolled .nav-logo img {
  width: 40px;
  height: 40px;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--color-gold-primary);
  font-weight: 500;
  white-space: nowrap; /* Evita que el nombre se parta en varias líneas */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px; /* Aumenta el espacio entre los enlaces del índice */
  flex-wrap: nowrap;
}

.nav-link {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  transition: var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--color-gold-primary);
  transition: var(--transition-medium);
}

.nav-link:hover {
  color: #ffdf80; /* Un dorado más claro y brillante al pasar el ratón */
  text-shadow: 0 0 12px rgba(255, 223, 128, 0.8), 0 0 25px rgba(197, 165, 90, 0.6);
}

.nav-link:hover::after {
  width: 100%;
  background: #ffdf80;
  box-shadow: 0 0 15px rgba(255, 223, 128, 0.9);
}

.nav-cta {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid var(--color-gold-primary);
  color: var(--color-gold-primary);
  border-radius: var(--radius-xl);
  transition: var(--transition-medium);
  cursor: pointer;
  background: transparent;
}

.nav-cta:hover {
  background: var(--color-gold-primary);
  color: var(--color-bg-primary);
  box-shadow: var(--shadow-gold);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: var(--color-gold-primary);
  transition: var(--transition-fast);
  border-radius: 2px;
}

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

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

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

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(0.7);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-overlay);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  max-width: 900px;
}

.hero-logo {
  width: clamp(160px, 25vw, 260px);
  height: clamp(160px, 25vw, 260px);
  margin: 0 auto var(--space-lg);
  animation: logo-glow 4s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 30px rgba(197, 165, 90, 0.3));
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-full);
}

@keyframes logo-glow {
  0% { filter: drop-shadow(0 0 20px rgba(197, 165, 90, 0.2)); }
  100% { filter: drop-shadow(0 0 50px rgba(197, 165, 90, 0.45)); }
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--color-text-secondary);
  font-weight: 300;
  font-style: italic;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 1s ease 0.6s both;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.9s both;
}

.btn-primary {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 36px;
  background: var(--gradient-gold);
  color: var(--color-bg-primary);
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: var(--transition-medium);
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(197, 165, 90, 0.4);
}

.btn-outline {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 36px;
  background: transparent;
  color: var(--color-gold-primary);
  border: 1px solid var(--color-gold-dark);
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: var(--transition-medium);
  font-weight: 500;
}

.btn-outline:hover {
  border-color: var(--color-gold-primary);
  background: rgba(197, 165, 90, 0.1);
  transform: translateY(-2px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s ease infinite;
}

.hero-scroll-indicator svg {
  width: 28px;
  height: 28px;
  color: var(--color-gold-primary);
  opacity: 0.6;
}

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

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

/* ================================================================
   ABOUT SECTION
   ================================================================ */
.about {
  position: relative;
  background: var(--color-bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(197, 165, 90, 0.2);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.about-content h2 {
  margin-bottom: var(--space-md);
}

.about-content p {
  margin-bottom: var(--space-sm);
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.about-value {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.about-value-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(197, 165, 90, 0.1);
  color: var(--color-gold-primary);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ================================================================
   SERVICES / TEMATICAS
   ================================================================ */
.services {
  position: relative;
  background: var(--gradient-dark);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 80px;
  padding: 60px 0;
}

@keyframes floatBubble {
  0% { transform: translateY(0) translateX(0); }
  33% { transform: translateY(-15px) translateX(8px); }
  66% { transform: translateY(10px) translateX(-5px); }
  100% { transform: translateY(0) translateX(0); }
}

.service-card:nth-child(1) { animation: floatBubble 8s ease-in-out infinite; }
.service-card:nth-child(2) { animation: floatBubble 7s ease-in-out infinite 1s; }
.service-card:nth-child(3) { animation: floatBubble 9s ease-in-out infinite 2s; }
.service-card:nth-child(4) { animation: floatBubble 6s ease-in-out infinite 3s; }
.service-card:nth-child(5) { animation: floatBubble 8.5s ease-in-out infinite 1.5s; }

.service-card {
  position: relative;
  background: radial-gradient(circle at 30% 30%, rgba(197, 165, 90, 0.12) 0%, rgba(20, 20, 35, 0.6) 50%, rgba(10, 10, 15, 0.9) 100%);
  border: 1px solid rgba(197, 165, 90, 0.25);
  border-radius: 50%; /* Make it a circle */
  width: 320px;
  height: 320px;
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 30px rgba(197, 165, 90, 0.1), inset 0 0 20px rgba(197, 165, 90, 0.1);
  
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.service-card:hover {
  border-color: rgba(197, 165, 90, 0.8);
  box-shadow: 0 0 50px rgba(197, 165, 90, 0.4), inset 0 0 40px rgba(197, 165, 90, 0.25);
  background: radial-gradient(circle at 30% 30%, rgba(197, 165, 90, 0.25) 0%, rgba(20, 20, 35, 0.7) 60%, rgba(10, 10, 15, 0.9) 100%);
  z-index: 10;
  /* Override animation transform temporarily on hover to pop it out */
  transform: scale(1.05) translateY(-10px) !important;
  animation-play-state: paused;
}

.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(197, 165, 90, 0.1);
  border: 1px solid rgba(197, 165, 90, 0.2);
  margin-bottom: 12px;
  font-size: 1.8rem;
  transition: var(--transition-medium);
  box-shadow: 0 0 15px rgba(197, 165, 90, 0.2);
}

.service-card:hover .service-icon {
  background: rgba(197, 165, 90, 0.25);
  border-color: rgba(197, 165, 90, 0.5);
  box-shadow: 0 0 30px rgba(197, 165, 90, 0.5);
  transform: scale(1.15);
}

.service-card h3 {
  font-family: var(--font-heading);
  margin-bottom: 8px;
  color: var(--color-gold-light);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  line-height: 1.3;
  width: 90%;
}

.service-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  font-weight: 300;
  width: 95%;
  margin: 0;
}

/* ================================================================
   FEATURED EXPERIENCES (Image + Text sections)
   ================================================================ */
.featured {
  position: relative;
  background: var(--color-bg-secondary);
}

.featured-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-3xl);
}

.featured-item:nth-child(even) {
  direction: rtl;
}

.featured-item:nth-child(even) > * {
  direction: ltr;
}

.featured-item:last-child {
  margin-bottom: 0;
}

.featured-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/2;
  box-shadow: var(--shadow-card);
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
  filter: brightness(0.85) saturate(0.9);
}

.featured-image:hover img {
  transform: scale(1.05);
  filter: brightness(0.95) saturate(1);
}

.featured-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(197, 165, 90, 0.15);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.featured-content h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: var(--space-sm);
  color: var(--color-gold-light);
}

.featured-content p {
  margin-bottom: var(--space-sm);
  font-size: 1.05rem;
}

.featured-list {
  margin-top: var(--space-md);
}

.featured-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.featured-list li::before {
  content: '✦';
  color: var(--color-gold-primary);
  font-size: 0.7rem;
}

/* ================================================================
   TESTIMONIALS / QUOTE
   ================================================================ */
.testimonials {
  position: relative;
  background: var(--color-bg-primary);
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--color-purple-glow), transparent 70%);
}

.testimonial-quote {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-xl);
}

.testimonial-quote blockquote {
  font-family: var(--font-body);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: var(--color-text-primary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  position: relative;
}

.testimonial-quote blockquote::before {
  content: '"';
  position: absolute;
  top: -30px;
  left: -20px;
  font-size: 5rem;
  color: var(--color-gold-primary);
  opacity: 0.2;
  font-family: serif;
}

.testimonial-author {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--color-gold-primary);
  letter-spacing: 0.1em;
}

/* ================================================================
   UPCOMING EVENTS / WORKSHOPS
   ================================================================ */
.events {
  background: var(--gradient-dark);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-md);
}

.event-card {
  background: var(--gradient-card);
  border: 1px solid rgba(197, 165, 90, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-slow);
  backdrop-filter: blur(10px);
}

.event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 165, 90, 0.2);
  box-shadow: var(--shadow-hover);
}

.event-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
  filter: brightness(0.7);
}

.event-card:hover .event-card-image img {
  transform: scale(1.08);
  filter: brightness(0.85);
}

.event-card-body {
  padding: var(--space-md);
}

.event-date {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-primary);
  margin-bottom: var(--space-xs);
}

.event-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
  color: var(--color-text-primary);
}

.event-card-body p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.event-tag {
  display: inline-block;
  padding: 4px 14px;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(45, 107, 79, 0.4);
  color: var(--color-emerald-light);
  border-radius: var(--radius-xl);
  margin-right: 6px;
  margin-bottom: 6px;
}

/* ================================================================
   NEWSLETTER / CTA SECTION
   ================================================================ */
.newsletter {
  position: relative;
  background: var(--color-bg-secondary);
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, var(--color-gold-glow), transparent 60%),
              radial-gradient(ellipse at 70% 50%, var(--color-emerald-glow), transparent 60%);
  opacity: 0.3;
}

.newsletter-container {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-input {
  flex: 1;
  min-width: 250px;
  padding: 14px 24px;
  background: rgba(20, 20, 40, 0.8);
  border: 1px solid rgba(197, 165, 90, 0.2);
  border-radius: var(--radius-xl);
  color: var(--color-text-primary);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
}

.newsletter-input::placeholder {
  color: var(--color-text-muted);
}

.newsletter-input:focus {
  border-color: var(--color-gold-primary);
  box-shadow: 0 0 20px rgba(197, 165, 90, 0.1);
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--color-bg-primary);
  border-top: 1px solid rgba(197, 165, 90, 0.08);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
  object-fit: cover;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 300px;
  margin-bottom: var(--space-md);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid rgba(197, 165, 90, 0.2);
  color: var(--color-gold-primary);
  font-size: 1.1rem;
  transition: var(--transition-medium);
}

.footer-social a:hover {
  background: rgba(197, 165, 90, 0.15);
  border-color: var(--color-gold-primary);
  transform: translateY(-2px);
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--color-gold-primary);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding: 5px 0;
  transition: var(--transition-fast);
}

.footer-column a:hover {
  color: var(--color-gold-light);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(197, 165, 90, 0.08);
  padding-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-bottom p {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ================================================================
   SCROLL REVEAL ANIMATIONS
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(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; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ================================================================
   RESPONSIVE DESIGN
   ================================================================ */
@media (max-width: 992px) {
  .about-grid,
  .featured-item {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .featured-item:nth-child(even) {
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    flex-direction: column;
    background: rgba(10, 10, 18, 0.98);
    backdrop-filter: blur(30px);
    padding: var(--space-3xl) var(--space-lg);
    gap: var(--space-md);
    transition: var(--transition-medium);
    border-left: 1px solid rgba(197, 165, 90, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

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

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

  .about-values {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

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

  .section-padding {
    padding: var(--space-2xl) 0;
  }

  .hero-logo {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-outline {
    width: 100%;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-input {
    min-width: unset;
  }
}

/* ================================================================
   CONTACT SECTION
   ================================================================ */
.contact {
  background: var(--color-bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.contact-info-item {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(197, 165, 90, 0.08);
  color: var(--color-gold-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--color-gold-light);
  margin-bottom: 4px;
}

.contact-info-text p {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-input,
.form-textarea {
  padding: 12px 18px;
  background: rgba(20, 20, 40, 0.8);
  border: 1px solid rgba(197, 165, 90, 0.15);
  border-radius: var(--radius-sm);
  color: var(--color-text-primary);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-gold-primary);
  box-shadow: 0 0 15px rgba(197, 165, 90, 0.08);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   MOBILE OVERLAY
   ================================================================ */
/* ================================================================
   MOBILE OVERLAY
   ================================================================ */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: calc(var(--z-nav) - 1);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-medium);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ================================================================
   MARKETPLACE: FILTROS Y DIRECTORIO DE BUSQUEDA
   ================================================================ */
.directory-search-filters {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.search-input-box {
  flex: 2;
  min-width: 280px;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gold-primary);
  opacity: 0.7;
}

.search-input-box input {
  width: 100%;
  padding: 14px 20px 14px 45px;
  background: rgba(20, 20, 40, 0.8);
  border: 1px solid rgba(197, 165, 90, 0.15);
  border-radius: var(--radius-xl);
  color: var(--color-text-primary);
  font-family: var(--font-ui);
  outline: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.search-input-box input:focus {
  border-color: var(--color-gold-primary);
  box-shadow: 0 0 20px rgba(197, 165, 90, 0.12);
}

.search-select-box {
  flex: 1;
  min-width: 220px;
}

.search-select-box select {
  width: 100%;
  padding: 14px 20px;
  background: rgba(20, 20, 40, 0.8);
  border: 1px solid rgba(197, 165, 90, 0.15);
  border-radius: var(--radius-xl);
  color: var(--color-gold-primary);
  font-family: var(--font-ui);
  outline: none;
  font-size: 0.95rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23c5a55a' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 15px center;
}

.search-select-box select:focus {
  border-color: var(--color-gold-primary);
}

.directory-results-meta {
  margin-bottom: var(--space-lg);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

/* ================================================================
   MARKETPLACE: TARJETAS DE TERAPEUTA (LISTA)
   ================================================================ */
.therapist-card {
  background: var(--gradient-card);
  border: 1px solid rgba(197, 165, 90, 0.08);
  border-radius: var(--radius-md);
  transition: var(--transition-slow);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.therapist-card:hover {
  border-color: rgba(197, 165, 90, 0.25);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.therapist-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.therapist-header {
  display: flex;
  gap: 15px;
  margin-bottom: var(--space-sm);
  align-items: center;
}

.therapist-avatar {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-gold-primary);
  object-fit: cover;
  flex-shrink: 0;
}

.therapist-meta h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.therapist-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-gold-light);
  line-height: 1.3;
}

.therapist-cat-badge {
  display: inline-block;
  padding: 2px 10px;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(45, 107, 79, 0.15);
  color: var(--color-emerald-light);
  border: 1px solid rgba(45, 107, 79, 0.3);
  border-radius: var(--radius-xl);
  margin-bottom: 5px;
}

.rating-stars-container {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  margin-top: 4px;
}

.star-rating {
  color: var(--color-gold-primary);
  font-weight: 600;
}

.reviews-count {
  color: var(--color-text-muted);
}

.therapist-bio-short {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
  flex-grow: 1;
}

.therapist-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--space-md);
}

.spec-tag {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  background: rgba(20, 20, 40, 0.6);
  border: 1px solid rgba(197, 165, 90, 0.1);
  color: var(--color-text-secondary);
  padding: 3px 10px;
  border-radius: var(--radius-xl);
}

.therapist-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(197, 165, 90, 0.08);
  padding-top: var(--space-sm);
  margin-top: auto;
}

.therapist-price-info {
  display: flex;
  flex-direction: column;
}

.price-value {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-gold-primary);
  font-weight: bold;
}

.price-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ================================================================
   MARKETPLACE: VISTA DETALLADA DEL PERFIL
   ================================================================ */
.profile-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.profile-main-info {
  background: var(--gradient-card);
  border: 1px solid rgba(197, 165, 90, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.profile-header-details {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.profile-avatar {
  width: 130px;
  height: 130px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-gold-primary);
  object-fit: cover;
}

.profile-title-block h2 {
  font-size: 2rem;
  margin-bottom: var(--space-xs);
}

.profile-subtitle {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-gold-light);
  margin-bottom: var(--space-xs);
}

.profile-location {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 6px;
}

.profile-section {
  border-top: 1px solid rgba(197, 165, 90, 0.08);
  padding-top: var(--space-md);
  margin-top: var(--space-md);
}

.profile-section h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-gold-primary);
  margin-bottom: var(--space-sm);
}

.profile-bio {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.profile-specialties-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-left: 20px;
}

.profile-specialties-list li {
  list-style-type: square;
  color: var(--color-text-secondary);
  font-size: 1rem;
}

.profile-specialties-list li::marker {
  color: var(--color-gold-primary);
}

/* ================================================================
   MARKETPLACE: CALENDARIO INTERACTIVO DE AGENDA
   ================================================================ */
.profile-booking-sidebar {
  position: sticky;
  top: 90px;
}

.booking-card {
  background: var(--gradient-card);
  border: 1px solid rgba(197, 165, 90, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-gold);
}

.booking-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-gold-primary);
  margin-bottom: var(--space-xs);
}

.booking-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: var(--space-sm);
}

.booking-divider {
  height: 1px;
  background: rgba(197, 165, 90, 0.1);
  margin: var(--space-sm) 0;
}

.booking-card h4 {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.booking-schedule-container {
  max-height: 250px;
  overflow-y: auto;
  padding-right: 5px;
}

.schedule-day-group {
  margin-bottom: 15px;
}

.schedule-day-title {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--color-gold-light);
  margin-bottom: 6px;
  text-transform: capitalize;
}

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

.schedule-time-btn {
  padding: 8px;
  background: rgba(20, 20, 40, 0.8);
  border: 1.5px solid rgba(197, 165, 90, 0.15);
  border-radius: var(--radius-sm);
  color: var(--color-text-primary);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
}

.schedule-time-btn:hover {
  border-color: var(--color-gold-primary);
  background: rgba(197, 165, 90, 0.08);
}

.schedule-time-btn.selected {
  background: var(--color-gold-primary);
  color: var(--color-bg-primary);
  border-color: var(--color-gold-primary);
  box-shadow: 0 0 15px rgba(197, 165, 90, 0.3);
}

.selection-detail {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-bottom: 4px;
}

.no-slots-msg, .no-reviews-msg {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  text-align: center;
  padding: 15px 0;
}

/* Opiniones */
.review-item {
  border-bottom: 1px solid rgba(197, 165, 90, 0.05);
  padding: 15px 0;
}

.review-item:last-child {
  border-bottom: none;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 5px;
}

.review-author {
  font-weight: 600;
  color: var(--color-gold-light);
}

.review-stars {
  color: var(--color-gold-primary);
}

.review-date {
  color: var(--color-text-muted);
}

.review-text {
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

/* ================================================================
   MARKETPLACE: DASHBOARDS (CLIENTE Y PRESTADOR)
   ================================================================ */
.dashboard-header-block {
  border-bottom: 1px solid rgba(197, 165, 90, 0.1);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-xs);
}

.dashboard-section h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-gold-primary);
  margin-bottom: var(--space-md);
}

.bookings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

.booking-row-card {
  background: var(--gradient-card);
  border: 1px solid rgba(197, 165, 90, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.booking-row-card.past {
  border-color: rgba(255, 255, 255, 0.03);
  opacity: 0.85;
}

.booking-row-info h4 {
  font-size: 1.25rem;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.booking-row-info p {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.booking-status-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--radius-xl);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 8px;
}

.booking-status-tag.paid {
  background: rgba(45, 107, 79, 0.15);
  color: var(--color-emerald-light);
  border: 1px solid rgba(45, 107, 79, 0.3);
}

.booking-status-tag.past {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-status-tag.canceled {
  background: rgba(186, 45, 45, 0.1);
  color: #ff5f5f;
  border: 1px solid rgba(186, 45, 45, 0.25);
}

.review-completed-tag {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--color-emerald-light);
  font-weight: 500;
}

.btn-small {
  padding: 8px 18px;
  font-size: 0.75rem;
}

/* Dashboard Terapeuta */
.provider-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.stat-box {
  background: var(--gradient-card);
  border: 1px solid rgba(197, 165, 90, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-gold-primary);
  line-height: 1;
  margin-bottom: 6px;
}

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

.provider-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.dashboard-card-box {
  background: var(--gradient-card);
  border: 1px solid rgba(197, 165, 90, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.dashboard-card-box h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-gold-primary);
  margin-bottom: 5px;
}

.card-desc-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.form-group-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.form-group-row .form-group {
  flex: 1;
  min-width: 120px;
}

.form-group-row input,
.form-group-row select {
  width: 100%;
  padding: 10px 14px;
  background: rgba(20, 20, 40, 0.8);
  border: 1px solid rgba(197, 165, 90, 0.15);
  border-radius: var(--radius-sm);
  color: var(--color-text-primary);
  outline: none;
  font-family: var(--font-ui);
  font-size: 0.85rem;
}

.availability-slots-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 5px;
}

.availability-slot-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(20, 20, 40, 0.8);
  border: 1px solid rgba(197, 165, 90, 0.15);
  border-radius: var(--radius-xl);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

.availability-slot-badge.booked {
  border-color: rgba(45, 107, 79, 0.3);
  background: rgba(45, 107, 79, 0.1);
  color: var(--color-emerald-light);
}

.slot-info {
  font-size: 0.75rem;
  font-style: italic;
}

.remove-slot-btn {
  background: none;
  border: none;
  color: #ff5f5f;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  line-height: 1;
}

/* Tabla de Dashboard */
.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.dashboard-table th,
.dashboard-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(197, 165, 90, 0.08);
  font-family: var(--font-ui);
  font-size: 0.85rem;
}

.dashboard-table th {
  color: var(--color-gold-primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.dashboard-table td {
  color: var(--color-text-secondary);
}

.status-indicator {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-xl);
  font-size: 0.7rem;
  font-weight: 500;
}

.status-indicator.active {
  background: rgba(45, 107, 79, 0.15);
  color: var(--color-emerald-light);
}



/* ================================================================
   AUTH VIEW (LOGIN / REGISTER)
   ================================================================ */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.auth-box {
  background: var(--gradient-card);
  border: 1px solid rgba(197, 165, 90, 0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(197, 165, 90, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.auth-tabs {
  display: flex;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(197, 165, 90, 0.2);
}

.auth-tab {
  flex: 1;
  background: none;
  border: none;
  color: var(--color-text-secondary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  padding: 10px 0;
  cursor: pointer;
  transition: var(--transition-fast);
  border-bottom: 2px solid transparent;
}

.auth-tab:hover {
  color: var(--color-gold-light);
}

.auth-tab.active {
  color: var(--color-gold-primary);
  border-bottom-color: var(--color-gold-primary);
}

.role-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 10px;
}

.role-option input {
  display: none;
}

.role-card {
  border: 1px solid rgba(197, 165, 90, 0.2);
  border-radius: var(--radius-md);
  padding: 15px 10px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-medium);
  background: rgba(20, 20, 35, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.role-card:hover {
  background: rgba(197, 165, 90, 0.1);
}

.role-icon {
  font-size: 2rem;
}

.role-option input:checked + .role-card {
  background: rgba(197, 165, 90, 0.2);
  border-color: var(--color-gold-primary);
  box-shadow: 0 0 15px rgba(197, 165, 90, 0.3);
}

/* ================================================================
   RESPONSIVE OVERRIDES Y AJUSTES
   ================================================================ */
@media (max-width: 768px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }
  
  .profile-specialties-list {
    grid-template-columns: 1fr;
  }

  .provider-stats-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .provider-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

