/* 1. VARIABLES */
:root {
  --primary: #8B5CF6;
  --primary-light: #A78BFA;
  --primary-dark: #7C3AED;
  --accent: #EC4899;
  --accent-light: #F472B6;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #3B82F6;
  --text-dark: #1E293B;
  --text-medium: #475569;
  --text-light: #64748B;
  --bg-cream: #FDFBF7;
  --bg-warm: #F8F6F3;
  --bg-card: #fff;
  --bg-overlay: rgba(30, 41, 59, 0.6);
  --border-light: #E7E5E4;
  --border-medium: #D6D3D1;
  --quiz-accent: #FB923C;
  --roi-border: #F4E4D7;
  --panic-bg: #E0F2FE;
  --panic-color: #0284C7;
  --sleep-bg: #FCE7F3;
  --sleep-color: #DB2777;
  --gratitude-bg: #FEF3C7;
  --gratitude-color: #D97706;
  --facebook: #1877F2;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --font-sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: Outfit, Inter, sans-serif;
  --font-size-xs: 0.8rem;
  --font-size-sm: 0.85rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.15rem;
  --font-size-xl: 1.4rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.75rem;
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--accent));
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 12px 30px rgba(0, 0, 0, 0.12);
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.4s ease;
  --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 500;
  --z-header: 1000;
  --z-modal: 2000;
  --z-toast: 3000;
  --z-tooltip: 4000;
  --z-sos: 9999;
  --container-max: 1280px;
  --header-height: 60px;
  --header-height-scrolled: 55px;
}

/* 2. RESET Y BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--bg-cream);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.faq-question, .option-btn, .check-item, .read-more, .close-modal-btn, .btn-reason-header {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  display: block;
}

.read-more { display: inline-flex; width: auto; }
.close-modal-btn { display: flex; width: 36px; text-align: center; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 6px;
  background: var(--primary);
  color: #fff;
  padding: var(--space-sm);
  z-index: var(--z-tooltip);
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 6px; }

/* 3. LAYOUT PRINCIPAL */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: var(--z-header);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-base);
  height: var(--header-height);
  display: flex;
  align-items: center;
}
header.scrolled {
  height: var(--header-height-scrolled);
  box-shadow: var(--shadow-md);
}

nav {
  width: 100%;
  padding: 0 var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: transform var(--transition-base);
}
.logo:hover { transform: scale(1.05); }

.nav-links {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-base);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width var(--transition-base);
  border-radius: var(--radius-full);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active-link { color: var(--primary); font-weight: 700; }

.nav-cta {
  background: var(--gradient-primary);
  color: #fff !important;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 5px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition-base);
  border-radius: var(--radius-full);
  display: block;
}

footer {
  background: var(--text-dark);
  color: #fff;
  padding: 5rem var(--space-xl) 2.5rem;
}
.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}
.footer-section h3 { margin-bottom: 1.75rem; font-size: 1.3rem; font-weight: 700; }
.footer-section a, .footer-section p {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  margin-bottom: var(--space-md);
  transition: color var(--transition-base), padding-left var(--transition-base);
  line-height: 1.6;
}
.footer-section a:hover { color: var(--primary-light); padding-left: 8px; }
.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}
.footer-legal-link { color: rgba(255, 255, 255, 0.7); text-decoration: underline; }

section {
  padding: var(--space-4xl) var(--space-xl);
  max-width: var(--container-max);
  margin: 0 auto;
}

section:nth-of-type(odd) { background-color: var(--bg-cream); }
section:nth-of-type(2n) { background-color: var(--bg-warm); }

.hero, .testimonials, .quiz, .roi-calculator, .page-hero, 
.legal-hero, .jar-section, .emotions-section, .bg-transparent, 
.contact, .sos-trigger-section {
  background-color: transparent !important;
}

.section-header { text-align: center; margin-bottom: 5rem; }
.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  color: #fff;
  padding: 0.6rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-decoration: none;
}
.section-title {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  font-weight: 800;
}
.section-subtitle {
  color: var(--text-medium);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* 4. COMPONENTES */
.card, .service-card, .blog-card, .pricing-card, 
.stat-item, .process-step, .contact-item {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow);
}

.card:hover, .service-card:hover, .blog-card:hover, .pricing-card:hover,
.stat-item:hover, .process-step:hover, .contact-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.btn {
  padding: 1.1rem 2.25rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: none;
  cursor: pointer;
  font-size: var(--font-size-base);
  font-family: var(--font-sans);
}
.btn-primary { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn-secondary:hover { background: #fff; color: var(--primary); border-color: #fff; }

.btn-whatsapp {
  background: #fff;
  color: var(--whatsapp-dark);
  padding: 1.1rem 2.75rem;
  font-weight: 600;
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); }

.btn-tool {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-decoration: none;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform var(--transition-fast);
  width: 100%;
  max-width: 240px;
  position: relative;
  z-index: var(--z-base);
  text-align: center;
}
.btn-orange { background: linear-gradient(135deg, #FB923C, #EA580C); box-shadow: 0 4px 15px rgba(234, 88, 12, 0.25); }
.btn-green { background: linear-gradient(135deg, #34D399, #059669); box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25); }
.btn-purple { background: linear-gradient(135deg, #A78BFA, #7C3AED); box-shadow: 0 4px 15px rgba(124, 58, 237, 0.25); }
.btn-tool:hover { transform: scale(1.05); }

.facebook-brand { background: var(--facebook); border-color: var(--facebook); color: white; }
.btn-facebook-outline {
  color: var(--facebook) !important;
  border-color: var(--facebook) !important;
  margin-top: var(--space-md);
  background: white;
}

.service-card {
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition-slow);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}
.service-icon svg { width: 36px; height: 36px; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 1.25rem; color: var(--text-dark); }
.service-card p { color: var(--text-medium); line-height: 1.8; margin-bottom: 1.75rem; }

.service-link, .read-more {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: gap var(--transition-base), color var(--transition-base);
}
.service-link:hover, .read-more:hover { gap: 1.2rem; color: var(--accent); }
.read-more { gap: 0.4rem; }
.read-more:hover { gap: 1rem; }

.blog-card { overflow: hidden; }
.blog-image {
  height: 220px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-image svg { width: 90px; height: 90px; }
.blog-bg-anxiety { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.blog-bg-esteem { background: linear-gradient(135deg, #10B981, #34D399); }
.blog-bg-work { background: linear-gradient(135deg, #F59E0B, #FBBF24); }
.blog-bg-prod { background: linear-gradient(135deg, #3B82F6, #60A5FA); }
.blog-bg-rel { background: linear-gradient(135deg, #EC4899, #F472B6); }
.blog-bg-grow { background: linear-gradient(135deg, #8B5CF6, #A78BFA); }

.blog-content { padding: 2.5rem; }
.blog-category {
  display: inline-block;
  background: var(--bg-warm);
  color: var(--primary);
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.blog-content h3 { font-size: 1.4rem; margin-bottom: var(--space-md); color: var(--text-dark); }
.blog-content p { color: var(--text-medium); margin-bottom: 1.75rem; line-height: 1.7; }
.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}
.blog-date { color: var(--text-light); font-size: var(--font-size-sm); font-weight: 500; }

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  transition: transform var(--transition-slow), background var(--transition-slow), box-shadow var(--transition-slow);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.testimonial-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.testimonial-header { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.5rem; }
.testimonial-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.testimonial-avatar svg { width: 30px; height: 30px; }
.testimonial-info h4 { font-size: 1.15rem; margin-bottom: 0.4rem; font-weight: 600; }
.testimonial-stars { color: #fcd34d; font-size: 1.1rem; }
.testimonial-text { line-height: 1.8; font-style: italic; opacity: 0.95; font-size: 1.05rem; }

.pricing-card {
  padding: var(--space-2xl);
  border: 2px solid var(--border-light);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pricing-card.highlight {
  border-color: var(--accent);
  background: linear-gradient(145deg, var(--primary), var(--accent));
  color: #fff;
  transform: translateY(-12px);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.25);
}
.pricing-card.highlight:hover { transform: translateY(-16px); box-shadow: 0 16px 35px rgba(139, 92, 246, 0.3); }
.pricing-card.highlight .duration,
.pricing-card.highlight .price,
.pricing-card.highlight .price-info,
.pricing-card.highlight h3,
.pricing-card.highlight ul li,
.pricing-card.highlight ul li svg { color: #fff !important; }
.pricing-card.highlight .btn-primary { background: #fff; color: var(--primary); }
.pricing-card.highlight .btn-primary:hover { background: var(--bg-warm); }
.pricing-card h3 { font-size: 1.6rem; margin-bottom: 1.25rem; color: var(--text-dark); }
.pricing-card .price-group { margin-bottom: 1.75rem; }
.pricing-card .price {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
}
.pricing-card .price .currency { font-size: 1.6rem; margin-right: 0.3rem; }
.pricing-card .old-price {
  text-decoration: line-through;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-left: 0.6rem;
}
.pricing-card .duration, .pricing-card .price-info { color: var(--text-medium); }
.pricing-card .duration { font-size: 0.95rem; margin-top: 0.4rem; font-weight: 500; }
.pricing-card .price-info { font-size: 1.05rem; margin-bottom: 1.25rem; }
.pricing-card ul { list-style: none; margin-bottom: 2.5rem; flex-grow: 1; padding: 0; }
.pricing-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: var(--space-md);
  color: var(--text-medium);
  font-size: 0.95rem;
}
.pricing-card ul li svg {
  color: var(--success);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 0.15rem;
}
.pricing-card .btn { width: 100%; justify-content: center; }

.tool-card {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 30px;
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
}
.tool-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.12); }
.card-orange-theme { border-top: 6px solid #F59E0B; }
.card-green-theme { border-top: 6px solid #10B981; }
.card-purple-theme { border-top: 6px solid #8B5CF6; }

.tool-icon-wrapper {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -4.5rem auto 1.5rem auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border: 4px solid #FAFAF9;
}
.tool-icon-wrapper svg { width: 36px; height: 36px; }
.tool-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #1F2937;
  margin-bottom: 0.5rem;
}
.tool-desc {
  font-size: var(--font-size-base);
  color: #6B7280;
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}
.tool-content {
  display: none;
  margin-top: var(--space-xl);
  margin-left: calc(-1 * var(--space-xl));
  margin-right: calc(-1 * var(--space-xl));
  margin-bottom: calc(-1 * var(--space-2xl));
  padding: 2.5rem var(--space-xl) var(--space-2xl) var(--space-xl);
  text-align: left;
  animation: slideDown 0.4s ease-out;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.card-orange-theme .tool-content { background-color: #FFEDD5; border-top: 1px solid #FED7AA; }
.card-green-theme .tool-content { background-color: #DCFCE7; border-top: 1px solid #BBF7D0; }
.card-purple-theme .tool-content { background-color: #F3E8FF; border-top: 1px solid #E9D5FF; }
.tool-content.active { display: block; }

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-overlay);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  backdrop-filter: blur(5px);
}
.modal-overlay.active { display: flex; }

.modal-card {
  background: white;
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: modalPop 0.3s var(--transition-bounce);
}

.close-modal-btn {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: #F3F4F6;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4B5563;
  transition: var(--transition-fast);
}
.close-modal-btn:hover { background: #E5E7EB; color: #1F2937; }

.form-group { display: flex; flex-direction: column; gap: var(--space-sm); }
.form-group label {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group input, .form-group textarea, .reason-input {
  padding: var(--space-md) 1.25rem;
  border: 2px solid var(--border-medium);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  transition: border-color var(--transition-base), transform var(--transition-base);
  background: var(--bg-card);
  font-family: var(--font-sans);
  width: 100%;
}
.form-group input:focus, .form-group textarea:focus, .reason-input:focus {
  outline: 0;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.slider-container { display: flex; flex-direction: column; gap: var(--space-sm); }
.slider {
  width: 100%;
  height: 10px;
  border-radius: var(--radius-full);
  background: linear-gradient(to right, var(--border-medium), var(--primary-light));
  outline: 0;
  -webkit-appearance: none;
  appearance: none;
  margin: var(--space-sm) 0;
  cursor: pointer;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-primary);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
  transition: transform var(--transition-base);
}
.slider::-webkit-slider-thumb:hover { transform: scale(1.2); }

.slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-primary);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
  transition: transform var(--transition-base);
}
.slider::-moz-range-thumb:hover { transform: scale(1.2); }

.step-pill {
  display: inline-block;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--font-size-sm);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: var(--z-base);
}
.pill-orange { background: linear-gradient(135deg, #F59E0B, #EA580C); }
.pill-green { background: linear-gradient(135deg, #10B981, #059669); }
.pill-pink { background: linear-gradient(135deg, #EC4899, #BE185D); }
.pill-purple { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.pill-separator { margin: 0 8px; opacity: 0.6; }

.promo-badge {
  background: linear-gradient(135deg, var(--accent), #f59e0b);
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  will-change: transform;
  animation: pulse 2.5s ease-in-out infinite;
}

.article-tag {
  display: inline-block;
  background: #F3F4F6;
  color: #6366F1;
  font-size: var(--font-size-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
}

.contact-item {
  padding: var(--space-xl);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.contact-item:hover { transform: translateX(8px); }

.contact-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
}
.contact-icon svg { width: 26px; height: 26px; }
.contact-small-text { color: var(--text-light); font-size: var(--font-size-sm); }

.whatsapp-card {
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  padding: 3.5rem;
  border-radius: var(--radius-xl);
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}
.whatsapp-icon-big {
  width: 110px;
  height: 110px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  animation: pulse 2.5s ease-in-out infinite;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.whatsapp-icon-big svg { width: 56px; height: 56px; }
.whatsapp-card h3 { font-size: var(--font-size-2xl); margin-bottom: 1.25rem; font-weight: 800; }
.whatsapp-card p { margin-bottom: 2.5rem; opacity: 0.95; font-size: 1.05rem; line-height: 1.7; }
.whatsapp-small-text { margin-top: 1.25rem; font-size: 0.95rem; opacity: 0.9; }

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  will-change: transform, box-shadow;
  animation: pulse 2.5s ease-in-out infinite;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.whatsapp-float:hover { transform: scale(1.15); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5); }
.whatsapp-float svg { width: 34px; height: 34px; }

/* 5. SECCIONES DE PÁGINA */
.hero, .page-hero {
  margin-top: var(--header-height);
  background: linear-gradient(135deg, #6366f1 0, #8b5cf6 50%, #a855f7 100%);
  position: relative;
  overflow: hidden;
  padding: var(--space-4xl) var(--space-xl);
}
.hero { min-height: 90vh; display: flex; align-items: center; }
.hero::before, .page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0, transparent 50%);
  will-change: transform;
  animation: float 25s ease-in-out infinite;
}

.hero-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: var(--z-base);
}
.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero-text p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-features { display: flex; gap: var(--space-xl); margin-bottom: 2.5rem; flex-wrap: wrap; }
.hero-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-feature svg, .hero-svg-icon { width: 20px; height: 20px; flex-shrink: 0; }
.hero-cta { display: flex; gap: var(--space-md); flex-wrap: wrap; }

.hero-image-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-xl);
  transition: transform var(--transition-base);
}
.hero-image-container:hover { transform: scale(1.02); }
.hero-main-image { max-width: 100%; height: auto; display: block; border-radius: var(--radius-lg); }

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-card h3 { color: #fff; font-size: 1.9rem; margin-bottom: var(--space-md); }
.hero-card p { color: rgba(255, 255, 255, 0.95); margin-bottom: 1.5rem; font-size: 1.05rem; }
.hero-card ul { list-style: none; margin-bottom: var(--space-xl); padding: 0; }
.hero-card li {
  color: #fff;
  padding: 0.65rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
}
.hero-card li svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 0.15rem; }

.page-hero { padding-bottom: var(--space-3xl); text-align: center; color: white; }
.page-hero.full-center {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-badge-glass {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}
.hero-title-large {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 1.5rem 0;
  font-weight: 800;
}
.hero-desc { font-size: 1.2rem; opacity: 0.95; line-height: 1.6; }
.hero-content-wrapper { position: relative; z-index: var(--z-base); max-width: 800px; margin: 0 auto; }

.hero-shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 0;
  will-change: transform;
  animation: floatShape 20s infinite linear;
}
.shape-1 { width: 300px; height: 300px; top: -50px; left: -100px; }
.shape-2 { width: 200px; height: 200px; bottom: -50px; right: -50px; animation-duration: 15s; }

.error-code {
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 800;
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--space-md);
  user-select: none;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  border: 2px solid rgba(255, 255, 255, 0.4);
  animation: pulse 2s infinite;
}
.success-icon svg { width: 40px; height: 40px; }

.stats { background: var(--bg-warm); padding: 5rem var(--space-xl); }
.stats-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  text-align: center;
}
.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
  font-family: var(--font-display);
}
.stat-label { color: var(--text-medium); font-size: var(--font-size-base); font-weight: 500; }

.services-grid, .pricing-grid, .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}
.pricing-grid { align-items: start; }

.payment-methods { text-align: center; margin-top: var(--space-3xl); color: var(--text-medium); }
.payment-methods h4 { font-size: 1.2rem; margin-bottom: 1.5rem; color: var(--text-dark); font-weight: 600; }
.payment-icons { display: flex; justify-content: center; gap: var(--space-xl); flex-wrap: wrap; margin-bottom: 1.5rem; }
.payment-icons img {
  height: 32px;
  filter: grayscale(70%);
  opacity: 0.75;
  transition: filter var(--transition-base), opacity var(--transition-base), transform var(--transition-base);
}
.payment-icons img:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.1); }
.info-note { font-size: 0.95rem; margin-top: 1.5rem; color: var(--text-medium); line-height: 1.6; }

.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }
.process-step {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2.5rem;
}
.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
  font-family: var(--font-display);
}
.process-step h3 { font-size: 1.4rem; margin-bottom: var(--space-md); color: var(--text-dark); }
.process-step p { color: var(--text-medium); font-size: 0.98rem; line-height: 1.7; }

.faq-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); }
.faq-category { margin-bottom: var(--space-2xl); }
.faq-category h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-xl);
  color: var(--primary);
  text-align: center;
  font-weight: 700;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
  margin-bottom: var(--space-md);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.75rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition-base);
}
.faq-question:hover { background: var(--border-light); }
.faq-question.active {
  background: var(--gradient-primary);
  color: #fff;
  border-bottom: none;
}
.faq-question.active svg { transform: rotate(180deg); color: #fff; }
.faq-question svg {
  transition: transform var(--transition-base);
  color: var(--primary);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.faq-answer {
  padding: 0 1.75rem;
  color: var(--text-medium);
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  background: var(--bg-card);
}
.faq-answer.open { max-height: 600px; padding: 1.75rem; }

.testimonials {
  background: linear-gradient(135deg, #6366f1 0, #8b5cf6 50%, #a855f7 100%);
  padding: var(--space-4xl) var(--space-xl);
  color: #fff;
}
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; margin-top: var(--space-3xl); }
.testimonial-badge { background: rgba(255, 255, 255, 0.2); }
.testimonial-title { color: #fff; }
.testimonial-subtitle { color: rgba(255, 255, 255, 0.9); }

.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-image {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-image svg { width: 220px; height: 220px; z-index: var(--z-base); }
.about-text h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1.75rem; font-weight: 800; }
.about-text p { color: var(--text-medium); margin-bottom: 1.75rem; line-height: 1.8; font-size: 1.05rem; }

.credentials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.credential-item {
  background: var(--bg-warm);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  border: 1px solid var(--border-light);
  transition: transform var(--transition-base), border-color var(--transition-base);
}
.credential-item:hover { transform: translateX(5px); border-color: var(--primary-light); }
.credential-icon svg { width: 26px; height: 26px; color: var(--primary); }
.credential-text { font-size: 0.95rem; font-weight: 600; color: var(--text-dark); }

.blog { background: var(--bg-warm); }
.contact { background: var(--bg-cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3xl); }
.contact-info { display: flex; flex-direction: column; gap: var(--space-xl); }

/* 6. HERRAMIENTAS INTERACTIVAS */
.quiz { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }
.quiz-container {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, #fff4e6 0, #ffe4cc 100%);
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(251, 146, 60, 0.15);
  text-align: center;
  will-change: transform;
  animation: floatSubtle 3s ease-in-out infinite;
}
.quiz-container h2 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
  font-weight: 800;
  position: relative;
  z-index: var(--z-base);
}
.quiz-container > p {
  color: var(--text-medium);
  margin-bottom: 2.5rem;
  font-size: 1.15rem;
  line-height: 1.7;
  position: relative;
  z-index: var(--z-base);
}
.quiz-icon {
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  box-shadow: 0 4px 16px rgba(251, 146, 60, 0.15);
  position: relative;
  z-index: var(--z-base);
  will-change: box-shadow;
  animation: pulseGlow 2s ease-in-out infinite alternate;
}
.quiz-icon .question-mark-circle {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.quiz-icon svg { width: 32px; height: 32px; color: var(--quiz-accent); stroke-width: 2.5; }

.quiz-container .btn-primary {
  background: linear-gradient(135deg, var(--quiz-accent), #f59e0b);
  color: #fff;
  padding: var(--space-md) 2.5rem;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(251, 146, 60, 0.25);
  position: relative;
  z-index: var(--z-base);
}
.quiz-container .btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 6px 16px rgba(251, 146, 60, 0.35);
}

.quiz-start, .quiz-question { display: none; }
.quiz-question { text-align: left; }
.quiz-question.active { display: block; }
.quiz-progress {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-xl);
  font-size: 1.1rem;
  color: var(--text-medium);
  gap: 0.5rem;
}
.progress-bar {
  background: var(--border-light);
  height: 4px;
  border-radius: var(--radius-full);
  flex: 1;
  margin: 0 var(--space-md);
  overflow: hidden;
}
.progress-fill, .progress-bar-fill {
  background: var(--quiz-accent);
  height: 100%;
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
  width: 0%;
}
.quiz-question-text {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
.quiz-options { display: flex; flex-direction: column; gap: var(--space-md); margin-bottom: var(--space-xl); }
.quiz-option {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  background: var(--bg-card);
}
.quiz-option:hover { border-color: var(--quiz-accent); background: #fff4e6; transform: translateX(5px); }
.quiz-option input[type="radio"] { display: none; }
.quiz-option input[type="radio"]:checked + label, .quiz-option.selected {
  border-color: var(--quiz-accent);
  background: var(--quiz-accent);
  color: #fff;
}
.quiz-option label { flex: 1; cursor: pointer; font-size: var(--font-size-base); font-weight: 500; }

.quiz-next-btn {
  display: none;
  background: var(--quiz-accent);
  color: #fff;
  padding: var(--space-md) var(--space-xl);
  border: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  font-size: var(--font-size-base);
  margin: 0 auto;
}
.quiz-next-btn:hover { transform: translateY(-2px); box-shadow: 0 2px 8px rgba(251, 146, 60, 0.25); }

.quiz-result, .quiz-result-box {
  display: none;
  text-align: center;
  padding: var(--space-xl);
}
.quiz-result.show, .quiz-result-box.show { display: block; }
.quiz-result h3 { font-size: 1.8rem; margin-bottom: var(--space-md); color: var(--text-dark); }
.quiz-result p { font-size: 1.1rem; color: var(--text-medium); margin-bottom: 1.5rem; line-height: 1.6; }
.quiz-result-box {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: #fff;
  border-radius: var(--radius-md);
  border-left: 4px solid #F97316;
  box-shadow: var(--shadow-sm);
}
.quiz-result-label { color: #9A3412; font-weight: bold; }

.quiz-item { margin-bottom: 1.5rem; }
.quiz-label { font-weight: 700; color: #374151; margin-bottom: 0.8rem; display: block; }
.option-btn {
  padding: 12px;
  margin-bottom: 8px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-md);
  background: #fff;
  color: #4B5563;
  font-weight: 600;
  transition: var(--transition-fast);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  text-align: center;
}
.option-btn:hover { border-color: #FCD34D; transform: translateY(-1px); }
.option-btn.selected {
  background: #F59E0B;
  color: white;
  border-color: #F59E0B;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.load-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-md);
  background: #fff;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}
.check-item.active { border-color: #10B981; background: #F0FDF4; }
.check-box-custom {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}
.check-item.active .check-box-custom { background: #10B981; border-color: #10B981; }
.check-item.active .check-box-custom::after { content: '✓'; color: white; font-size: 12px; font-weight: bold; }
.load-question-text { font-size: 0.9rem; margin-bottom: var(--space-md); color: #64748B; font-weight: 600; }
.load-level-wrapper { margin-top: 1.5rem; }
.load-level-header { display: flex; justify-content: space-between; font-size: var(--font-size-sm); font-weight: 700; color: #064E3B; }
.progress-container {
  height: 10px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-full);
  margin-top: 1.5rem;
  overflow: hidden;
}

.roi-calculator { padding: var(--space-4xl) var(--space-xl); text-align: center; background: var(--bg-cream); }
.roi-container {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(145deg, #fef9f3 0, #fef3e8 100%);
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  border: 2px solid var(--roi-border);
  will-change: transform, opacity;
  animation: slideUp 0.6s ease-out;
}
.roi-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #f59e0b, #fb923c, #f97316);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.roi-container h2 { font-size: 2.5rem; margin-bottom: 1.25rem; color: var(--text-dark); font-weight: 800; position: relative; }
.roi-container > p { color: var(--text-medium); margin-bottom: var(--space-2xl); font-size: 1.15rem; line-height: 1.7; }
.roi-form { display: flex; flex-direction: column; gap: 1.75rem; margin-bottom: 2.5rem; text-align: left; }

.result {
  margin-top: var(--space-2xl);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fef9f3, var(--success));
  box-shadow: var(--shadow-md);
  display: none;
  text-align: left;
  border: 2px solid var(--border-light);
  border-left: 5px solid var(--primary);
  animation: revealResult 0.5s ease-out;
}
.result.show { display: block; }
.result h3 { margin-bottom: 1.5rem; color: var(--text-dark); font-size: 1.5rem; font-weight: 700; text-align: center; }
.result p { margin-bottom: var(--space-md); color: var(--text-medium); font-size: 1.05rem; line-height: 1.6; }
.result .cost, .result .benefit {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  margin: 1.5rem 0;
  font-family: var(--font-display);
  display: block;
  text-align: center;
}
.result .cost { color: #d97706; }
.result .benefit { color: #10b981; }

.roi-container .btn-primary {
  background: linear-gradient(135deg, var(--quiz-accent), #f97316);
  color: #fff;
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(251, 146, 60, 0.25);
  font-weight: 600;
  border-radius: var(--radius-full);
}
.roi-container .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(251, 146, 60, 0.3); }

/* FIN DE PARTE 1 */
/* 7. HERRAMIENTAS DE BIENESTAR - RESTANTES */

.emotions-section {
  position: relative;
  overflow: hidden;
  padding: var(--space-3xl) var(--space-xl);
  background: linear-gradient(to bottom, #FDFBF7, #F3E8FF);
}
.bubbles-container {
  position: relative;
  height: 500px;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
}
.emotion-bubble {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: all var(--transition-base) cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3), 0 10px 20px rgba(0, 0, 0, 0.1);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  user-select: none;
  will-change: transform;
  animation: floatBubble 6s ease-in-out infinite;
}
.emotion-bubble:hover {
  transform: scale(1.1) translateY(-10px);
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.5), 0 15px 30px rgba(0, 0, 0, 0.15);
  z-index: 10;
}
.bubble-sm { width: 100px; height: 100px; font-size: 0.9rem; }
.bubble-md { width: 140px; height: 140px; font-size: 1.1rem; }
.bubble-lg { width: 180px; height: 180px; font-size: 1.3rem; }

.emotion-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-overlay);
  backdrop-filter: blur(8px);
  z-index: var(--z-sos);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.emotion-overlay.active { display: flex; opacity: 1; }
.emotion-card {
  background: white;
  width: 100%;
  max-width: 450px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-bounce);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  position: relative;
}
.emotion-overlay.active .emotion-card { transform: scale(1) translateY(0); }
.emotion-header { height: 100px; display: flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0; }
.emotion-icon {
  font-size: 3rem;
  background: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: -40px;
  position: absolute;
  bottom: -40px;
}
.emotion-body { padding: 5rem var(--space-xl) var(--space-xl); text-align: center; overflow-y: auto; }
.emotion-description { color: var(--text-medium); margin-bottom: 1.5rem; line-height: 1.6; }
.emotion-tip-box {
  background: #F8FAFC;
  border: 1px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: left;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.jar-section { padding: var(--space-3xl) var(--space-xl); background: transparent; }
.jar-container {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(135deg, #E9D5FF 0%, #FBCFE8 100%);
  border: 2px solid #C084FC;
  border-radius: 30px;
  box-shadow: 0 15px 40px rgba(192, 132, 252, 0.15);
  padding: var(--space-2xl) 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #581C87;
}
.jar-icon {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
  will-change: transform;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.1));
}
.jar-content h3 { font-size: var(--font-size-2xl); color: #6B21A8; margin-bottom: 0.5rem; font-weight: 800; }
.jar-content p { color: #7E22CE; font-size: 1.1rem; margin-bottom: 2.5rem; font-weight: 500; }
.jar-message-box {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2.5rem;
  min-height: 140px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #E9D5FF;
  box-shadow: 0 10px 25px rgba(107, 33, 168, 0.05);
  transition: all var(--transition-base);
}
.jar-message-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #BE185D;
  line-height: 1.4;
  animation: fadeInText 0.8s ease-out;
}
.placeholder-text { color: #94A3B8; font-style: italic; font-weight: 600; }
.btn-jar {
  background: #6D28D9;
  color: white !important;
  padding: 1.2rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 8px 20px rgba(109, 40, 217, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
}
.btn-jar:hover { transform: translateY(-4px); background: #5B21B6; box-shadow: 0 12px 25px rgba(109, 40, 217, 0.5); }

.sos-trigger-section { background: #FEF2F2; border-bottom: 1px solid #FECACA; padding: var(--space-2xl) 1.5rem; text-align: center; }
.sos-preview-card {
  background: white;
  border: 2px dashed #FECACA;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: var(--space-xl);
  text-align: left;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.sos-preview-header { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; color: #991B1B; margin-bottom: var(--space-md); }
.sos-icon-small { font-size: 1.3rem; }
.sos-symptoms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: var(--space-md) 0; font-size: 0.9rem; color: #4B5563; font-weight: 500; }
.sos-preview-footer {
  background: #FEFCE8;
  padding: 0.6rem var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  display: flex;
  justify-content: space-between;
  color: #92400E;
  font-weight: 600;
  margin-top: var(--space-md);
}
.sos-disclaimer { opacity: 0.8; font-size: var(--font-size-xs); font-style: italic; }
.btn-sos-trigger {
  background: #EF4444;
  color: white;
  font-weight: 800;
  padding: 1.1rem 2.8rem;
  border-radius: var(--radius-full);
  border: 4px solid #FCA5A5;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
  transition: transform var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  will-change: transform, box-shadow;
  animation: pulse-red 2s infinite;
}
.btn-sos-trigger:hover { transform: scale(1.05); background: #DC2626; }
.sos-social-proof {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #166534;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}
.anon-user { display: block; font-size: var(--font-size-xs); margin-top: 5px; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.5px; }

.sos-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: #fff;
  z-index: var(--z-sos);
  display: none;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 0;
}
.sos-overlay.active { display: block; animation: fadeIn 0.3s ease-out; }
.sos-container {
  max-width: 600px;
  width: 100%;
  position: relative;
  margin: 0 auto;
  padding: var(--space-3xl) 1.5rem var(--space-4xl) 1.5rem;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sos-title { font-family: var(--font-display); font-size: var(--font-size-2xl); font-weight: 800; margin-bottom: 1.5rem; color: #1F2937; line-height: 1.2; }
.sos-subtitle-small {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #8B5CF6;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.sos-desc { font-size: 1.2rem; color: #4B5563; margin-bottom: var(--space-2xl); line-height: 1.6; }
.sos-screen { display: none; animation: slideUp 0.4s ease-out; }
.sos-screen.active { display: block; }
.sos-btn-group-vertical { display: flex; flex-direction: column; gap: 1.5rem; }

.btn-sos-option {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 2px solid #E5E7EB;
  background: white;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: #374151;
  text-align: left;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.btn-sos-option:hover { border-color: #3B82F6; background: #EFF6FF; transform: translateX(5px); }
.btn-content-large { display: flex; flex-direction: column; }
.btn-title-large { font-size: 1.3rem; font-weight: 800; display: block; margin-bottom: 4px; }
.btn-subtitle-large { font-size: 0.95rem; font-weight: 500; opacity: 0.9; }

.opt-suicide-large { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.opt-suicide-large:hover { background: #FEE2E2; border-color: #EF4444; }
.opt-calm-large, .btn-sos-option.opt-panic { background: #EFF6FF; border-color: #BFDBFE; color: #1E40AF; }
.opt-calm-large:hover, .btn-sos-option.opt-panic:hover { background: #DBEAFE; border-color: #3B82F6; }
.btn-sos-option.opt-risk { background: #FFF7ED; border-color: #FED7AA; color: #9A3412; }
.btn-sos-option.opt-disconnect { background: #F3E8FF; border-color: #D8B4FE; color: #6B21A8; }

.btn-link-simple { background: none; border: none; color: #6B7280; font-weight: 600; cursor: pointer; font-size: 0.95rem; text-decoration: underline; }
.btn-sos-close {
  position: fixed;
  top: 15px;
  right: 15px;
  background: #F3F4F6;
  color: #374151;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  font-weight: bold;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 10001;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-sos-next {
  background: #059669;
  color: white;
  padding: var(--space-md) var(--space-2xl);
  border-radius: var(--radius-full);
  font-weight: 700;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}
.btn-sos-final {
  padding: 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  border: none;
  width: 100%;
  margin-bottom: var(--space-md);
}
.btn-sos-final-success { background-color: #DCFCE7; color: #064E3B; border: 2px solid #10B981; }
.btn-sos-final-primary { background-color: #DBEAFE; color: #1E3A8A; border: 2px solid #3B82F6; }

.sos-emergency-box { background: #FEF2F2; border: 2px solid #FCA5A5; border-radius: var(--radius-xl); padding: var(--space-xl); margin-bottom: var(--space-xl); }
.sos-emergency-title { color: #DC2626; font-size: 1.5rem; font-weight: 800; margin-bottom: var(--space-md); }
.btn-emergency-call {
  display: block;
  width: 100%;
  background: #DC2626;
  color: white;
  padding: 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  margin-bottom: var(--space-md);
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}
.sos-info-card {
  background: #FEF9C3;
  border: 1px solid #FDE047;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xl);
  color: #854D0E;
  text-align: left;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.grounding-icon { font-size: 4rem; margin-bottom: var(--space-md); display: block; }
.grounding-step-text { font-size: 1.5rem; font-weight: 700; color: #059669; margin-bottom: var(--space-xl); }
.grounding-progress { display: flex; gap: 5px; justify-content: center; margin-bottom: var(--space-xl); }
.grounding-dot { width: 12px; height: 12px; border-radius: 50%; background: #E5E7EB; }
.grounding-dot.active { background: #059669; }

.bs-intro-box {
  background: #F3E8FF;
  border: 1px solid #D8B4FE;
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  text-align: left;
}
.bs-intro-box p { margin-bottom: var(--space-md); color: #581C87; font-size: 1.1rem; line-height: 1.6; }
.body-scan-svg-container { height: 350px; display: flex; justify-content: center; margin-bottom: 1.5rem; }
.body-scan-svg { height: 100%; width: auto; overflow: visible; }
.body-path {
  fill: #E2E8F0;
  stroke: #CBD5E1;
  stroke-width: 2;
  transition: fill 0.5s ease, transform 0.5s ease;
  transform-origin: center;
}
.body-path.fill-active { fill: #F97316; stroke: #EA580C; animation: pulseTensionSVG 1.5s infinite; }
.body-path.fill-relax { fill: #8B5CF6; stroke: #7C3AED; transition: fill 1s ease; }

.bs-instruction-area { min-height: 80px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.bs-main-text { font-size: 1.3rem; font-weight: 600; color: #1F2937; }
.bs-progress-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: var(--space-xl); }
.bs-dot { width: 12px; height: 12px; border-radius: 50%; background: #E5E7EB; transition: background var(--transition-base); }
.bs-dot.active { background: #8B5CF6; transform: scale(1.2); }
.bs-dot.completed { background: #10B981; }
.bs-controls { display: flex; justify-content: center; gap: var(--space-md); }
.btn-bs-control {
  background: white;
  border: 1px solid #CBD5E1;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  transition: all var(--transition-fast);
}
#btn-bs-pause.paused { background: #FEF3C7; color: #D97706; border-color: #FCD34D; }
.bs-success-icon { font-size: 4rem; margin-bottom: var(--space-md); animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }

.reason-item {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 0.8rem;
  transition: all var(--transition-base);
}
.reason-content-static { display: block; padding: 0 1.2rem 1.2rem 1.2rem; background: rgba(255, 255, 255, 0.6); }
.btn-reason-header {
  width: 100%;
  padding: 1.2rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  font-size: 1.05rem;
  display: block;
}
.tag-suggestion {
  display: inline-block;
  background: #E5E7EB;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  color: #4B5563;
  margin-top: 5px;
  cursor: default;
}

.item-blue { background: #EFF6FF !important; border-color: #BFDBFE !important; }
.item-green { background: #ECFDF5 !important; border-color: #A7F3D0 !important; }
.item-yellow { background: #FEFCE8 !important; border-color: #FEF08A !important; }
.item-purple { background: #F3E8FF !important; border-color: #E9D5FF !important; }

/* =========================================
   8. NUEVA HERRAMIENTA RESPIRACIÓN (v2)
   ========================================= */
.breathing-section-v2 {
    background: linear-gradient(to bottom, #F0FDF4, #fff);
    padding: var(--space-4xl) var(--space-xl);
}

.bt-container {
    max-width: 900px;
    margin: 0 auto;
}

.bt-mode-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.bt-mode-btn {
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    box-shadow: var(--shadow-sm);
}

.bt-mode-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.bt-mode-btn.active {
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}
/* Colores específicos por modo al estar activo */
.bt-mode-btn[data-mode="calm"].active { background: #3B82F6; border-color: #3B82F6; }
.bt-mode-btn[data-mode="focus"].active { background: #8B5CF6; border-color: #8B5CF6; }
.bt-mode-btn[data-mode="sleep"].active { background: #4F46E5; border-color: #4F46E5; }
.bt-mode-btn[data-mode="balance"].active { background: #10B981; border-color: #10B981; }

.bt-mode-icon { font-size: 1.5rem; }
.bt-mode-info { display: flex; flex-direction: column; }
.bt-mode-name { font-weight: 700; font-size: 0.95rem; line-height: 1.2; }
.bt-mode-subtitle { font-size: 0.8rem; opacity: 0.8; font-weight: 400; }

.bt-breathing-area {
    background: white;
    border-radius: 30px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
}

.bt-circle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
    height: 260px; /* Espacio reservado */
    align-items: center;
}

.bt-breathing-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E2E8F0;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    /* La animación se maneja con JS, pero la transición suaviza cambios bruscos */
    transition: background-color 0.5s ease; 
    will-change: transform;
}

.bt-phase-label {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.6rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.bt-live-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-medium);
}

.bt-instructions {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    min-height: 1.6em;
    font-weight: 500;
}

.bt-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.bt-control-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--border-medium);
    border-radius: var(--radius-full);
    background: white;
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-sans);
}

.bt-control-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    background: var(--bg-warm);
}

.bt-control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: var(--border-light);
}

.bt-disclaimer {
    background: #FEF3C7;
    border-left: 4px solid #F59E0B;
    padding: 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: #92400E;
    text-align: left;
    margin-top: 2rem;
}

/* 9. ANIMACIONES */
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, -20px) scale(1.05); }
}
@keyframes floatShape {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(20px, 20px) rotate(180deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}
@keyframes floatSubtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes floatBubble {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
@keyframes pulseGlow {
  from { box-shadow: 0 4px 16px rgba(251, 146, 60, 0.15); }
  to { box-shadow: 0 6px 20px rgba(251, 146, 60, 0.25); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInText {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes revealResult {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes pulseTensionSVG {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* 10. RESPONSIVE DESIGN */
@media (min-width: 1100px) {
  nav { width: fit-content; margin-left: auto; margin-right: 0; padding-right: var(--space-2xl); padding-left: 0; }
}

@media (max-width: 1099px) {
  .menu-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 65px;
    right: 20px;
    left: auto;
    width: fit-content;
    min-width: 200px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    align-items: center;
    padding: var(--space-xl) 1.2rem;
    gap: 1.5rem;
    z-index: 1001;
    border: 1px solid rgba(0, 0, 0, 0.05);
  }
  .nav-links.active { display: flex; animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
  .nav-links a { font-size: 1.1rem; font-weight: 700; color: #1E293B; text-align: center; width: 100%; white-space: nowrap; }
  .nav-links a::after { display: none; }
  .nav-cta { width: 100%; justify-content: center; padding: 0.8rem 1.5rem !important; margin-top: 0.5rem; box-shadow: 0 10px 20px rgba(139, 92, 246, 0.25); white-space: nowrap; }
}

@media (max-width: 768px) {
  .about-content, .contact-grid, .hero-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-image-container { order: -1; padding: 1.5rem; }
  .hero-card { order: 0; padding: 2.5rem; }
  .hero { padding: 5rem 1.5rem; min-height: auto; }
  section { padding: var(--space-3xl) 1.5rem; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 58px; height: 58px; }
  .credentials, .pricing-grid, .process-grid, .load-checklist { grid-template-columns: 1fr; }
  .faq-category h3, .legal-content p { text-align: left; }
  .hero-card ul li, .pricing-card ul li { font-size: 0.95rem; gap: 0.6rem; }
  .quiz-container, .roi-container { padding: 2.5rem; }
  .roi-form { gap: 1.25rem; }
  .form-group input { padding: 0.85rem var(--space-md); font-size: 0.95rem; }
  .result { padding: 1.75rem; }
  .page-hero { padding: var(--space-4xl) 1.5rem var(--space-3xl); }
  .tool-card { padding: 2.5rem 1.5rem; margin-top: var(--space-xl); }
  .tool-content { margin-left: -1.5rem; margin-right: -1.5rem; padding: var(--space-xl) 1.5rem; }
  .modal-card { padding: 1.5rem; }
  .bubbles-container { height: auto; min-height: 400px; padding: var(--space-xl) 0; }
  .emotion-bubble { margin: 0.5rem; }
  .emotion-card { max-height: 85vh; }
  .emotion-header { height: 80px; }
  .emotion-body { padding: var(--space-3xl) 1.5rem 1.5rem; }
  .emotion-icon { width: 70px; height: 70px; font-size: 2.5rem; bottom: -35px; }
}

@media (max-width: 600px) {
  .sos-title { font-size: 1.75rem; margin-bottom: var(--space-md); line-height: 1.2; }
  .sos-desc { font-size: 1.05rem; margin-bottom: var(--space-xl); }
  .btn-sos-option { padding: var(--space-md); font-size: var(--font-size-base); min-height: auto; }
  .btn-title-large { font-size: 1.15rem; }
  .btn-subtitle-large { font-size: var(--font-size-sm); }
  .sos-container { padding-bottom: 8rem; }
  .sos-symptoms-grid { grid-template-columns: 1fr; gap: 5px; }
  
  /* Ajustes Móviles Respiración v2 */
  .bt-mode-selector { grid-template-columns: 1fr; }
  .bt-live-info { gap: 1rem; font-size: 0.95rem; }
  .bt-breathing-circle { width: 180px; height: 180px; }
  .bt-phase-label { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .hero, section { padding: var(--space-2xl) var(--space-md); }
  .hero-text h1 { font-size: 1.75rem; line-height: 1.15; }
}

@media (max-height: 700px) {
  .sos-container { justify-content: flex-start; padding-top: 5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Suavizado específico para el círculo SOS */}

*:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }