:root {
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --bg-dark: #090d1f;
  --bg-dark-card: #111834;
  --bg-dark-elevated: #192247;

  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;

  --accent-indigo: #4f46e5;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-emerald-bg: #ecfdf5;
  --accent-amber: #f59e0b;

  --text-main: #0f172a;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-dark-muted: #94a3b8;

  --border-light: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.1);

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.07), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 35px rgba(79, 70, 229, 0.28);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --container-max: 1200px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  --brand-primary: #2563eb;
  --brand-secondary: #06b6d4;
}

/* ==========================================================================
   RESET Y ESTILOS BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   BOTONES Y BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.96rem;
  line-height: 1.2;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-indigo) 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(37, 99, 235, 0.6);
  filter: brightness(1.05);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #16a34a;
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(22, 163, 74, 0.4);
}

.btn-whatsapp:hover {
  background-color: #15803d;
  transform: translateY(-2px);
}

.btn-light {
  background-color: #ffffff;
  color: var(--bg-dark);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-light:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
}

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

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  margin-bottom: 1rem;
}

.badge-dark {
  background: rgba(79, 70, 229, 0.22);
  color: #a5b4fc;
  border: 1px solid rgba(129, 140, 248, 0.35);
}

.badge-emerald {
  background-color: var(--accent-emerald-bg);
  color: #047857;
  border: 1px solid #a7f3d0;
}

.section-title {
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-indigo) 50%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   1. HEADER DE DOS NIVELES (COMPARTIDO)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.header-topbar {
  background-color: var(--bg-dark);
  color: #e2e8f0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding: 0.5rem 0;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
  font-weight: 500;
}

.topbar-item:hover {
  color: #ffffff;
}

.topbar-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.topbar-whatsapp svg { color: #34d399; }
.topbar-email svg { color: #60a5fa; }

.topbar-login {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: #ffffff;
  padding: 0.24rem 0.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.topbar-login:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.header-main {
  padding: 0.9rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.brand-text span {
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
}

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

.nav-link {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.4rem 0.2rem;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
  transition: width 0.25s ease;
  border-radius: 2px;
}

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

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

.nav-link-ia {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-indigo);
}

.nav-pill-ia {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-cyan));
  color: #ffffff;
  padding: 0.14rem 0.45rem;
  border-radius: var(--radius-full);
}

.mobile-toggle {
  display: none;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

/* ==========================================================================
   2. HERO DE PRODUCTOS
   ========================================================================== */
.products-hero {
  position: relative;
  padding: 4.5rem 0 4.75rem;
  background:
    radial-gradient(circle at 15% 15%, rgba(37, 99, 235, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(6, 182, 212, 0.09) 0%, transparent 45%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-body) 100%);
  overflow: hidden;
}

.hero-top-center {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-main-title {
  font-size: clamp(2.2rem, 4.4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.hero-main-desc {
  font-size: 1.13rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-quick-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-quick-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-quick-badges svg {
  color: var(--accent-emerald);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* ==========================================================================
   3. LOS 3 TIPOS DE AGENDA (CITAS, ESTADÍAS, CLASES)
   ========================================================================== */
.agendas-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

.agenda-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.agenda-card.featured {
  border-color: var(--brand-primary);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.035) 0%, #ffffff 45%);
  box-shadow: 0 20px 35px -12px rgba(37, 99, 235, 0.16);
}

.popular-tag {
  position: absolute;
  top: -13px;
  right: 24px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}

.agenda-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
}

.icon-citas {
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-primary);
}

.icon-estadias {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.icon-clases {
  background: rgba(6, 182, 212, 0.14);
  color: #0891b2;
}

.agenda-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.agenda-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.agenda-desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.agenda-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.agenda-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

.agenda-features li svg {
  color: var(--brand-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.agenda-ideal-box {
  background: var(--bg-body);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 1.35rem;
  border: 1px solid var(--border-light);
}

.agenda-ideal-box strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.2rem;
}

.agenda-card .btn {
  width: 100%;
}

.agendas-footer-link {
  text-align: center;
  margin-top: 2.5rem;
}

/* ==========================================================================
   4. ECOSISTEMA DE HERRAMIENTAS Y MÓDULOS
   ========================================================================== */
.modules-section {
  background-color: var(--bg-body);
}

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

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
}

.feature-card-highlight {
  background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
  border-color: var(--primary-border);
}

.feature-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-card:nth-child(even) .feature-icon {
  background: #eef2ff;
  color: var(--accent-indigo);
}

.feature-card:nth-child(3n) .feature-icon {
  background: var(--accent-emerald-bg);
  color: #059669;
}

.feature-title {
  font-size: 1.03rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.feature-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.pay-badge {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.22rem 0.65rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.pay-tbk {
  background: #fdf2f8;
  color: #be185d;
  border: 1px solid #fbcfe8;
}

.pay-mp {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

/* ==========================================================================
   5. BLOQUE DESTACADO OSCURO: ASISTENTE VIRTUAL CON IA
   ========================================================================== */
.ia-section {
  background:
    radial-gradient(circle at 85% 20%, rgba(79, 70, 229, 0.28) 0%, transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(6, 182, 212, 0.18) 0%, transparent 45%),
    var(--bg-dark);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.ia-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.ia-exclusive-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.83rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.ia-title {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.ia-title span {
  background: linear-gradient(135deg, #60a5fa 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ia-lead {
  font-size: 1.06rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.ia-capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.ia-cap-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 0.95rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.ia-cap-icon {
  color: #38bdf8;
  flex-shrink: 0;
  margin-top: 2px;
}

.ia-cap-item strong {
  display: block;
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.ia-cap-item span {
  font-size: 0.8rem;
  color: var(--text-dark-muted);
  line-height: 1.4;
  display: block;
}

.ia-chat-box {
  background: var(--bg-dark-card);
  border: 1px solid rgba(129, 140, 248, 0.28);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}

.ia-chat-header {
  background: var(--bg-dark-elevated);
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ia-agent-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ia-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
}

.ia-agent-info h3 {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
}

.ia-agent-info p {
  font-size: 0.76rem;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  display: inline-block;
}

.ia-role-tag {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.ia-chat-messages {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.msg {
  max-width: 90%;
  padding: 0.9rem 1.1rem;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.msg-user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--primary), var(--accent-indigo));
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.msg-ai {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  color: #e2e8f0;
  border-bottom-left-radius: 4px;
}

.msg-ai-header {
  font-size: 0.75rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.msg-ai ul {
  margin-top: 0.45rem;
  padding-left: 0.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.84rem;
  color: #cbd5e1;
}

/* ==========================================================================
   6. RESUMEN COMPARATIVO DE PLANES
   ========================================================================== */
.plans-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.06) 0%, transparent 55%),
    var(--bg-body);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.85rem;
  align-items: stretch;
}

.plan-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.35rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.plan-card-featured {
  border: 2px solid var(--primary);
  box-shadow: 0 20px 45px -10px rgba(37, 99, 235, 0.22);
  transform: scale(1.02);
  z-index: 2;
}

.plan-card-featured:hover {
  transform: scale(1.02) translateY(-6px);
}

.plan-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-indigo) 100%);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.32rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  white-space: nowrap;
}

.plan-card-elite {
  background:
    radial-gradient(circle at 85% 15%, rgba(79, 70, 229, 0.25) 0%, transparent 45%),
    var(--bg-dark);
  color: #ffffff;
  border: 1px solid rgba(129, 140, 248, 0.35);
  box-shadow: var(--shadow-glow);
}

.plan-tier {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 0.35rem;
  display: block;
}

.plan-card-elite .plan-tier {
  color: #38bdf8;
}

.plan-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.plan-card-elite .plan-name {
  color: #ffffff;
}

.plan-audience {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.plan-card-elite .plan-audience {
  color: #cbd5e1;
}

.plan-price-box {
  padding: 1.25rem 0;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.plan-card-elite .plan-price-box {
  border-color: rgba(255, 255, 255, 0.12);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.price-currency {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.plan-card-elite .price-currency {
  color: #94a3b8;
}

.price-amount {
  font-size: 2.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1;
}

.plan-card-elite .price-amount {
  color: #ffffff;
}

.price-period {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-card-elite .price-period {
  color: #94a3b8;
}

.price-note {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.79rem;
  color: var(--accent-emerald);
  font-weight: 600;
}

.plan-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.85rem;
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.plan-card-elite .plan-features-list li {
  color: #cbd5e1;
}

.plan-features-list li strong {
  color: var(--text-main);
}

.plan-card-elite .plan-features-list li strong {
  color: #ffffff;
}

.plan-features-list li svg {
  width: 17px;
  height: 17px;
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-card .btn {
  width: 100%;
}

.plans-compare-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ==========================================================================
   7. BANNER DE CONVERSIÓN FINAL (CTA)
   ========================================================================== */
.cta-section {
  padding: 2rem 0 5.5rem;
  background-color: var(--bg-body);
}

.cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 52%, #312e81 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner::after {
  content: "";
  position: absolute;
  bottom: -45%;
  left: -10%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-desc {
  font-size: 1.08rem;
  color: #cbd5e1;
  margin-bottom: 2.2rem;
  line-height: 1.65;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.cta-guarantees {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  font-size: 0.85rem;
  color: #93c5fd;
  font-weight: 500;
}

/* ==========================================================================
   8. FOOTER COMPARTIDO
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: #cbd5e1;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand .brand-logo {
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-brand .brand-logo .brand-text {
  color: #ffffff !important;
}

.footer-brand p {
  font-size: 0.92rem;
  color: var(--text-dark-muted);
  line-height: 1.65;
  margin-bottom: 1.35rem;
  max-width: 320px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
}

.footer-contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #e2e8f0;
}

.footer-contact-list a:hover {
  color: #38bdf8;
}

.footer-col h4,
.footer-col .title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
}

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

.footer-links a {
  font-size: 0.93rem;
  color: var(--text-dark-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-cta-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.footer-cta-card .title {
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 0.6rem;
}

.footer-cta-card p {
  font-size: 0.86rem;
  color: var(--text-dark-muted);
  margin-bottom: 1.1rem;
  line-height: 1.5;
}

.footer-cta-card .btn {
  width: 100%;
  padding: 0.75rem 1.2rem;
  font-size: 0.88rem;
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--text-dark-muted);
}

/* ==========================================================================
   9. RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .ia-grid,
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .plan-card-featured {
    transform: none;
  }

  .plan-card-featured:hover {
    transform: translateY(-6px);
  }

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

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

@media (max-width: 992px) {
  .agendas-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .topbar-inner {
    justify-content: center;
    gap: 0.5rem 1rem;
    font-size: 0.78rem;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem 1.75rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-link {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--bg-surface-alt);
  }

  .features-grid,
  .ia-capabilities {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 2.75rem 1.5rem;
  }

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