/* --- VARIABLES GLOBALES Y MODO OSCURO --- */
:root {
  /* Fondo original oscurecido un poco para mayor contraste (#F5F5F7 -> #EBEBF0) */
  --bg-base: #ede8ef; 
  --text-main: #1D1D1F;
  --text-muted: #86868B;
  
  --brand-blue: #3E7BFA;
  --brand-blue-hover: #2B62D9;
  --brand-orange: #FF8A65;
  --brand-teal: #4DD0E1;
  --brand-purple: #BA68C8;

  --orb-shadow: inset -10px -10px 20px rgba(0,0,0,0.1), inset 10px 10px 20px rgba(255,255,255,0.6), 0 15px 30px rgba(0,0,0,0.08);
}

/* Variables para Modo Oscuro */
[data-theme="dark"] {
  --bg-base: #121212;
  --text-main: #F5F5F7;
  --text-muted: #A1A1A6;
  
  --orb-shadow: inset -10px -10px 20px rgba(0,0,0,0.5), inset 10px 10px 20px rgba(255,255,255,0.2), 0 15px 30px rgba(0,0,0,0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Modificadores globales para Modo Oscuro en tarjetas (Glassmorphism oscuro) */
[data-theme="dark"] .premium-glass-card,
[data-theme="dark"] .bento-card,
[data-theme="dark"] .feat-card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .specialist-card,
[data-theme="dark"] .trust-glass-pill {
  background: rgba(30, 30, 32, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}



/* --- Menú de Navegación (Header) --- */
.mente-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(235, 235, 240, 0.7); /* Adaptado al nuevo bg-base */
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

[data-theme="dark"] .mente-header {
  background: rgba(18, 18, 18, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 4vw;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 3rem;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 32px;
  margin-left: auto; 
  margin-right: 40px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--brand-blue);
}

/* Botones y acciones del Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.theme-toggle-btn:hover {
  background: rgba(134, 134, 139, 0.15);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 24px;
  border-radius: 100px;
  background-color: var(--text-main);
  color: var(--bg-base); /* Invierte colores nativamente */
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-login:hover {
  transform: scale(1.04);
  background-color: var(--brand-blue);
  color: white;
  box-shadow: 0 8px 16px rgba(62, 123, 250, 0.2);
}

.mobile-login {
  display: none;
}

.hamburger-btn {
  display: none;
  position: relative;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  -webkit-appearance: none;
}

.hamburger-line {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger-line:nth-child(1) { top: 0; }
.hamburger-line:nth-child(2) { top: 9px; }
.hamburger-line:nth-child(3) { bottom: 0; }

@media (max-width: 960px) {
  .logo-img { height: 36px; }

  .hamburger-btn {
    display: block;
    margin-left: 8px;
  }

  .desktop-login {
    display: none !important;
  }

  .mobile-login {
    display: inline-flex;
    margin-top: 24px;
    width: 200px;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-base);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }

  [data-theme="dark"] .main-nav {
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  }

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

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

  .hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* --- Fondo Mesh Premium --- */
.apple-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 4vw 60px 4vw;
  overflow: hidden;
}

.mesh-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.6;
  animation: float 15s ease-in-out infinite alternate;
}

/* Tonos más saturados para que se vean bien en Light y Dark */
.blob-blue { width: 50vw; height: 50vw; background: rgba(62, 123, 250, 0.3); top: -10%; left: -10%; }
.blob-orange { width: 45vw; height: 45vw; background: rgba(255, 138, 101, 0.3); top: -5%; right: -5%; animation-delay: -5s; }
.blob-teal { width: 50vw; height: 50vw; background: rgba(77, 208, 225, 0.3); bottom: -20%; right: 10%; animation-delay: -10s; }

/* --- Contenedor Principal --- */
.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.text-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.5);
  padding: 6px 16px;
  border-radius: 100px;
  width: max-content;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
}

.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-orange); }

h1 {
  font-size: clamp(2.5rem, 4vw, 4rem); 
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 4px;
}

.subtitle {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 90%;
}

.actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--brand-blue);
  color: white;
  box-shadow: 0 8px 20px rgba(62, 123, 250, 0.25);
}
.btn-primary:hover {
  background: var(--brand-blue-hover);
  transform: scale(1.02);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-main);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
[data-theme="dark"] .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.btn-secondary:hover { transform: scale(1.02); }

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.feat-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 16px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.feat-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 4px;
}

.feat-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.visual-column {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.premium-glass-card {
  position: relative;
  width: min(500px, 100%);
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 40px;
  backdrop-filter: blur(40px) saturate(150%);
  -webkit-backdrop-filter: blur(40px) saturate(150%);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #1D1D1F;
  padding: 10px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  z-index: 20;
}
[data-theme="dark"] .floating-badge { background: #2C2C2E; color: #F5F5F7; border: 1px solid rgba(255,255,255,0.1); }

.floating-badge .dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.orange { background: var(--brand-orange); }
.dot.blue { background: var(--brand-blue); }
.dot.teal { background: var(--brand-teal); }

.badge-top-left { top: 40px; left: -20px; }
.badge-bottom-left { bottom: 60px; left: -10px; }
.badge-bottom-right { bottom: 80px; right: -20px; }

.emotion-cluster {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cluster-backdrop {
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, transparent 70%);
  z-index: 0;
}
[data-theme="dark"] .cluster-backdrop { opacity: 0.1; }

.orb {
  position: absolute;
  border-radius: 50%;
  box-shadow: var(--orb-shadow);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.orb:hover { transform: scale(1.05); z-index: 15 !important; }

.orb-face { display: flex; gap: 12px; transform: translateY(-5px); }
.eye { width: 8px; height: 2px; background: rgba(0, 0, 0, 0.4); border-radius: 2px; }

.orb-face.face-calma .eye { width: 10px; height: 6px; background: transparent; border-bottom: 2px solid rgba(0, 0, 0, 0.4); border-radius: 0 0 10px 10px; }
.orb-face.face-reflexion { flex-direction: column; gap: 5px; align-items: center; }
.orb-face.face-reflexion .eyes-row { display: flex; gap: 12px; align-items: center; }
.orb-face.face-reflexion .eye:first-child { width: 6px; height: 6px; border-radius: 50%; }
.orb-face.face-reflexion .eye:last-child { width: 8px; height: 2px; }
.orb-face.face-reflexion .mouth { width: 6px; height: 2px; background: rgba(0, 0, 0, 0.4); border-radius: 2px; transform: translateX(4px); }
.orb-face.face-energia { flex-direction: column; gap: 4px; align-items: center; }
.orb-face.face-energia .eyes-row { display: flex; gap: 12px; }
.orb-face.face-energia .eye { width: 5px; height: 8px; border-radius: 4px; }
.orb-face.face-energia .mouth { width: 12px; height: 6px; background: transparent; border-bottom: 2px solid rgba(0, 0, 0, 0.4); border-radius: 0 0 12px 12px; }
.orb-face.face-serenidad .eye { width: 10px; height: 6px; background: transparent; border-top: 2px solid rgba(0, 0, 0, 0.4); border-radius: 10px 10px 0 0; transform: translateY(2px); }

.orb-blue { width: 140px; height: 140px; background: radial-gradient(circle at 30% 30%, #7AA8FF, var(--brand-blue)); top: 0; left: 20px; z-index: 1; animation: floatOrb 6s ease-in-out infinite; }
.orb-purple { width: 110px; height: 110px; background: radial-gradient(circle at 30% 30%, #D89CE3, var(--brand-purple)); bottom: 30px; left: 0; z-index: 2; animation: floatOrb 5s ease-in-out infinite reverse; }
.orb-orange { width: 130px; height: 130px; background: radial-gradient(circle at 30% 30%, #FFB59C, var(--brand-orange)); top: 20px; right: 10px; z-index: 3; animation: floatOrb 7s ease-in-out infinite 1s; }
.orb-teal { width: 100px; height: 100px; background: radial-gradient(circle at 30% 30%, #8EF0F8, var(--brand-teal)); bottom: 10px; right: 20px; z-index: 4; animation: floatOrb 6.5s ease-in-out infinite 0.5s; }

.center-heart-orb {
  position: absolute;
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
[data-theme="dark"] .center-heart-orb { background: #2C2C2E; }

.heart-icon { width: 24px; color: var(--brand-orange); }

.apple-tooltip {
  position: fixed;
  z-index: 999;
  background: rgba(29, 29, 31, 0.85);
  backdrop-filter: blur(10px);
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transform: translateY(5px) translateX(-50%);
  transition: all 0.2s ease;
}
.apple-tooltip.visible { opacity: 1; transform: translateY(-10px) translateX(-50%); }

@keyframes float { to { transform: translate(30px, -30px); } }
@keyframes floatOrb { 50% { transform: translateY(-10px); } }

@media (max-width: 960px) {
  .hero-container { grid-template-columns: 1fr; gap: 40px; }
  .text-column { align-items: center; text-align: center; }
  .subtitle { max-width: 100%; }
  h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .feature-cards { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 500px) {
  .feature-cards { grid-template-columns: 1fr; width: 100%; }
  .premium-glass-card { border-radius: 24px; }
  .badge-top-left, .badge-bottom-left, .badge-bottom-right { position: relative; inset: auto; margin: 10px; box-shadow: none; border: 1px solid #eee; }
  .visual-column { flex-direction: column; }
  .premium-glass-card { flex-direction: column; padding-bottom: 20px; }
}

.trust-wrapper {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 4vw;
  margin-top: -50px; 
  z-index: 30;
}

.trust-glass-pill {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 100px;
  padding: 16px 20px;
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.trust-item { display: flex; align-items: center; justify-content: center; gap: 16px; width: 100%; }
.trust-icon-box { width: 44px; height: 44px; border-radius: 50%; background: rgba(62, 123, 250, 0.1); color: var(--brand-blue); display: flex; justify-content: center; align-items: center; }
.trust-icon-box.orange { background: rgba(255, 138, 101, 0.1); color: var(--brand-orange); }
.trust-icon-box.blue { background: rgba(77, 208, 225, 0.1); color: var(--brand-teal); }
.trust-icon-box svg { width: 20px; height: 20px; }

.trust-text { display: flex; flex-direction: column; }
.trust-text strong { font-size: 0.95rem; font-weight: 600; color: var(--text-main); letter-spacing: -0.01em; }
.trust-text span { font-size: 0.8rem; color: var(--text-muted); }

.divider { width: 1px; height: 32px; background: rgba(0, 0, 0, 0.06); }
[data-theme="dark"] .divider { background: rgba(255, 255, 255, 0.1); }

.services-section {
  padding: 120px 4vw;
  background-color: var(--bg-base);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow.center { margin-bottom: 16px; background: rgba(0, 0, 0, 0.04); border: 1px solid rgba(0, 0, 0, 0.05); }

.section-title { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.04em; color: var(--text-main); margin-bottom: 20px; }
.section-subtitle { font-size: 1.1rem; line-height: 1.6; color: var(--text-muted); }

.bento-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.bento-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  padding: 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255, 255, 255, 1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.8);
}
[data-theme="dark"] .bento-card:hover { background: rgba(50, 50, 52, 0.8); }

.card-icon-wrapper { margin-bottom: 24px; }
.volumetric-orb { width: 56px; height: 56px; border-radius: 50%; box-shadow: inset -5px -5px 10px rgba(0,0,0,0.1), inset 5px 5px 10px rgba(255,255,255,0.8), 0 10px 20px rgba(0,0,0,0.05); }
.orb-blue-small { background: radial-gradient(circle at 30% 30%, #7AA8FF, var(--brand-blue)); }
.orb-orange-small { background: radial-gradient(circle at 30% 30%, #FFB59C, var(--brand-orange)); }
.orb-teal-small { background: radial-gradient(circle at 30% 30%, #8EF0F8, var(--brand-teal)); }

.bento-card h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; color: var(--text-main); }
.bento-card p { font-size: 0.95rem; line-height: 1.6; color: var(--text-muted); margin-bottom: 32px; flex-grow: 1; }

.card-link { font-size: 0.95rem; font-weight: 600; color: var(--brand-blue); text-decoration: none; display: inline-flex; align-items: center; transition: opacity 0.2s ease; }
.card-link span { margin-left: 6px; transition: transform 0.2s ease; }
.card-link:hover { opacity: 0.8; }
.card-link:hover span { transform: translateX(4px); }

@media (max-width: 1024px) {
  .trust-glass-pill { padding: 16px 24px; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .trust-wrapper { margin-top: -20px; }
  .trust-glass-pill { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; border-radius: 24px; padding: 24px; }
  .trust-item { justify-content: flex-start; }
  .divider { width: 100%; height: 1px; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card { padding: 32px 24px; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

.how-it-works-section { padding: 80px 4vw 120px 4vw; background-color: var(--bg-base); max-width: 1280px; margin: 0 auto; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.steps-grid::before { content: ''; position: absolute; top: 40px; left: 15%; right: 15%; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,0,0,0.12), transparent); z-index: 0; }
[data-theme="dark"] .steps-grid::before { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent); }

.step-card { position: relative; z-index: 1; background: transparent; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 20px; }
/* --- ESTILOS CORREGIDOS PARA LOS NÚMEROS DE PASOS --- */

.step-number {
  position: relative; 
  z-index: 2; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  width: 80px; 
  height: 80px; 
  margin: 0 auto 24px auto;
  border-radius: 50%; 
  /* Efecto Glassmorphism */
  background: rgba(255, 255, 255, 0.7); 
  backdrop-filter: blur(10px); 
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 1); 
  border: 1px solid rgba(255, 255, 255, 0.5);
  /* Tipografía */
  font-size: 2rem; 
  font-weight: 800; 
  letter-spacing: -0.02em; 
  color: var(--text-main); /* Corrección: Color sólido oscuro */
}

[data-theme="dark"] .step-card .step-number {
  /* Fondo oscuro transparente */
  background: rgba(40, 40, 42, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  /* Corrección: Texto blanco claro para contraste */
  color: #F5F5F7; 
}

.step-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--text-main); margin-bottom: 12px; }
.step-card p { font-size: 0.95rem; line-height: 1.6; color: var(--text-muted); }

/* --- SECCIÓN ESPECIALISTAS (CORREGIDA) --- */
.specialists-section { 
  padding: 120px 4vw; /* Espaciado simétrico arriba y abajo */
  background-color: transparent; /* Fluye de manera natural con el fondo del sitio */
}

[data-theme="dark"] .specialists-section { 
  background-color: transparent; 
  border-top: none; 
}

.specialists-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.specialist-card {
  background: #f0f0f7; border: 1px solid rgba(0, 0, 0, 0.04); border-radius: 32px; padding: 40px 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.02); transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.specialist-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06); }

.avatar-circle { width: 80px; height: 80px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; font-weight: 700; color: white; margin-bottom: 20px; box-shadow: inset 0 -4px 10px rgba(0,0,0,0.1); }
.avatar-blue { background: linear-gradient(135deg, #7AA8FF, var(--brand-blue)); }
.avatar-orange { background: linear-gradient(135deg, #FFB59C, var(--brand-orange)); }
.avatar-teal { background: linear-gradient(135deg, #8EF0F8, var(--brand-teal)); }

.specialty-tag { display: inline-block; font-size: 0.75rem; font-weight: 600; color: var(--brand-blue); background: rgba(62, 123, 250, 0.1); padding: 6px 12px; border-radius: 100px; margin: 8px 0 16px 0; }
.specialist-card h3 { font-size: 1.2rem; color: var(--text-main); font-weight: 700; }
.specialist-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 24px; flex-grow: 1; }

.testimonials-section { padding: 120px 4vw; background-color: var(--bg-base); }
.testimonials-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 32px; padding: 40px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  display: flex; flex-direction: column;
}

.quote-icon { width: 32px; height: 32px; color: rgba(62, 123, 250, 0.2); margin-bottom: 20px; }
.testimonial-text { font-size: 1.05rem; line-height: 1.6; color: var(--text-main); font-weight: 500; margin-bottom: 32px; flex-grow: 1; }
.testimonial-author { display: flex; flex-direction: column; gap: 4px; }
.testimonial-author strong { font-size: 0.95rem; color: var(--text-main); font-weight: 700; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-muted); }

@media (max-width: 1024px) {
  .steps-grid, .specialists-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
}

@media (max-width: 768px) {
  .steps-grid, .specialists-grid, .testimonials-grid { grid-template-columns: 1fr; gap: 32px; }
  .specialists-section { border-radius: 40px 40px 0 0; padding: 80px 4vw; }
  .testimonial-card, .specialist-card { padding: 32px 24px; }
}

.faq-section { padding: 100px 4vw; background-color: var(--bg-base); max-width: 800px; margin: 0 auto; }
.faq-container { display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(0, 0, 0, 0.05); border-radius: 20px;
  overflow: hidden; transition: background 0.3s ease;
}
.faq-item:hover { background: rgba(255, 255, 255, 0.9); }
[data-theme="dark"] .faq-item:hover { background: rgba(50, 50, 52, 0.8); }

.faq-question {
  width: 100%; text-align: left; background: none; border: none; padding: 24px; display: flex;
  justify-content: space-between; align-items: center; cursor: pointer; font-family: inherit;
  font-size: 1.05rem; font-weight: 600; color: var(--text-main); transition: color 0.2s ease;
}
.faq-icon { width: 24px; height: 24px; color: var(--text-muted); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); flex-shrink: 0; margin-left: 16px; }
.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--brand-blue); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-answer p { padding: 0 24px 24px 24px; font-size: 0.95rem; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* --- SECCIÓN CTA Y AJUSTES DE COLOR --- */
.cta-section { 
  padding: 60px 4vw 120px 4vw; 
  max-width: 1280px; 
  margin: 0 auto; 
}

.cta-container {
  position: relative;
  background-color: #d182ad11; /* Modo claro: fondo blanco premium */
  border: 1px solid rgba(0, 0, 0, 0.05); /* Borde sutil para dar volumen */
  border-radius: 40px;
  padding: 80px 4vw;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  
  /* FIX: Evita que el blur de los fondos rompa las esquinas redondeadas */
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  isolation: isolate;
}

/* Transición a Modo Oscuro del contenedor */
[data-theme="dark"] .cta-container {
  background-color: #1D1D1F; 
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Luces de fondo (Glows) */
.cta-glow { 
  position: absolute; 
  width: 400px; 
  height: 400px; 
  border-radius: 50%; 
  filter: blur(100px); 
  opacity: 0.15; /* Más suave y elegante sobre el fondo blanco */
  z-index: 0; 
  pointer-events: none; 
}

[data-theme="dark"] .cta-glow { 
  opacity: 0.4; /* Retoma intensidad sobre el fondo oscuro */
} 

.glow-blue { background: var(--brand-blue); top: -200px; left: -100px; }
.glow-orange { background: var(--brand-orange); bottom: -200px; right: -100px; }

.cta-content { 
  position: relative; 
  z-index: 1; 
  max-width: 600px; 
}

/* Textos Modo Claro */
.cta-content h2 { 
  font-size: clamp(2rem, 4vw, 3rem); 
  font-weight: 700; 
  letter-spacing: -0.04em; 
  margin-bottom: 20px; 
  line-height: 1.1; 
  color: var(--text-main); 
}
.cta-content p { 
  font-size: 1.1rem; 
  line-height: 1.6; 
  margin-bottom: 40px; 
  color: var(--text-muted); 
}

/* Textos Modo Oscuro */
[data-theme="dark"] .cta-content h2 { color: #FFFFFF; }
[data-theme="dark"] .cta-content p { color: #F5F5F7; }

.cta-actions { 
  display: flex; 
  gap: 16px; 
  justify-content: center; 
}

/* --- Botones Adaptativos --- */

/* Primario: Oscuro en fondo claro, Blanco en fondo oscuro */
.btn-primary-dark {
  display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 28px;
  border-radius: 100px; font-size: 0.95rem; font-weight: 600; text-decoration: none;
  background: var(--text-main); 
  color: #FFFFFF; 
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary-dark:hover { 
  transform: scale(1.02); opacity: 0.9; box-shadow: 0 8px 20px rgba(0,0,0,0.1); 
}

[data-theme="dark"] .btn-primary-dark { 
  background: #FFFFFF; color: #1D1D1F; 
}
[data-theme="dark"] .btn-primary-dark:hover { 
  box-shadow: 0 8px 20px rgba(255,255,255,0.1); 
}

/* Secundario: Gris transparente en fondo claro, cristalino en fondo oscuro */
.btn-secondary-dark {
  display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 28px;
  border-radius: 100px; font-size: 0.95rem; font-weight: 600; text-decoration: none;
  background: rgba(0, 0, 0, 0.04); 
  color: var(--text-main); 
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); 
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-secondary-dark:hover { 
  background: rgba(0, 0, 0, 0.08); transform: scale(1.02); 
}

[data-theme="dark"] .btn-secondary-dark {
  background: rgba(255, 255, 255, 0.1); color: #FFFFFF; border-color: rgba(255, 255, 255, 0.2);
}
[data-theme="dark"] .btn-secondary-dark:hover { 
  background: rgba(255, 255, 255, 0.15); 
}

/* Responsividad general del CTA */
@media (max-width: 768px) {
  .cta-container { padding: 60px 24px; border-radius: 32px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions a { width: 100%; }
}

/* --- FOOTER --- */
.mente-footer {
  background-color: var(--bg-base);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 80px 4vw 40px 4vw;
  font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .mente-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.8fr; gap: 30px; margin-bottom: 60px; }
.brand-col { padding-right: 40px; }
.footer-logo-img { height: 60px; width: auto; margin-bottom: 24px; }
.footer-description { font-size: 0.9rem; line-height: 1.6; color: var(--text-muted); margin-bottom: 24px; }
.crisis-disclaimer { font-size: 0.75rem; line-height: 1.5; color: var(--text-muted); background: rgba(255, 138, 101, 0.1); padding: 12px 16px; border-radius: 8px; border-left: 3px solid var(--brand-orange); }
.crisis-disclaimer strong { color: var(--brand-orange); }

.footer-heading { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-main); margin-bottom: 24px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.footer-links a { text-decoration: none; color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s ease, transform 0.2s ease; display: inline-block; }
.footer-links a:hover { color: var(--brand-blue); transform: translateX(4px); }

.footer-contact-info { list-style: none; padding: 0; margin: 0 0 24px 0; display: flex; flex-direction: column; gap: 16px; }
.footer-contact-info li { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 0.9rem; }
.footer-contact-info svg { width: 18px; height: 18px; color: var(--brand-blue); flex-shrink: 0; }

/* Redes Sociales - Base Modificada para color constante */
.social-links { display: flex; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white; 
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  text-decoration: none;
}
.social-icon svg { width: 18px; height: 18px; fill: currentColor !important; }

/* Colores de marca distintivos por defecto */
.social-icon.whatsapp { background: #25D366; }
.social-icon.linkedin { background: #0077B5; }
.social-icon.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

.social-icon:hover { transform: translateY(-4px) scale(1.1); opacity: 0.9; }

.footer-bottom {
  max-width: 1280px; margin: 0 auto; border-top: 1px solid rgba(0, 0, 0, 0.06); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; position: relative;
}

[data-theme="dark"] .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.05); }

.footer-bottom-content p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.footer-bottom-content .separator { margin: 0 8px; opacity: 0.5; }
.footer-bottom-content strong { color: var(--text-main); font-weight: 600; }

@media (max-width: 1024px) {
  .footer-container { grid-template-columns: repeat(2, 1fr); }
  .brand-col { grid-column: span 2; padding-right: 0; }
}

@media (max-width: 768px) {
  .mente-footer { padding: 60px 4vw 30px 4vw; }
  .footer-container { grid-template-columns: 1fr; gap: 32px; }
  .brand-col { grid-column: span 1; }
  .footer-bottom { flex-direction: column; gap: 20px; align-items: center; text-align: center; }
  .footer-bottom-content .separator { display: none; }
  .footer-bottom-content p { line-height: 2; }
  .footer-bottom-content span, .footer-bottom-content strong { display: block; }
}