:root {
  --cc-bg: #f7f8fb;
  --cc-bg-soft: #ffffff;
  --cc-bg-metal: linear-gradient(135deg, #ffffff 0%, #f6f8f8 46%, #e6eaea 100%);
  --cc-bg-surface: rgba(255,255,255,0.78);
  --cc-bg-glass: rgba(255,255,255,0.88);

  --cc-text: #111318;
  --cc-text-soft: #343946;
  --cc-muted: #697183;
  --cc-dim: #98a1b2;

  --cc-border: rgba(17,19,24,0.09);
  --cc-border-strong: rgba(17,19,24,0.16);

  --cc-shadow-soft: 0 18px 50px rgba(24,32,48,0.10);
  --cc-shadow-panel: 0 28px 90px rgba(24,32,48,0.16);
  --cc-shadow-card: 0 4px 24px rgba(24,32,48,0.08);

  --cc-accent: #ff3300;
  --cc-accent-soft: rgba(255,51,0,0.10);

  /* Clínicas: teal + violeta */
  --cc-vertical: #14b8a6;
  --cc-vertical-soft: rgba(20,184,166,0.10);
  --cc-vertical-2: #7c3aed;
  --cc-vertical-dark: #0f766e;

  --cc-radius-sm: 8px;
  --cc-radius-md: 12px;
  --cc-radius-lg: 16px;
  --cc-radius-xl: 24px;
  --cc-radius-full: 9999px;

  --cc-text-xs: clamp(0.72rem, 0.68rem + 0.18vw, 0.85rem);
  --cc-text-sm: clamp(0.875rem, 0.8rem + 0.3vw, 1rem);
  --cc-text-base: clamp(1rem, 0.9rem + 0.4vw, 1.125rem);
  --cc-text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
  --cc-text-xl: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --cc-text-2xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --cc-text-3xl: clamp(1.875rem, 1.4rem + 1.8vw, 2.5rem);
  --cc-text-4xl: clamp(2.25rem, 1.6rem + 2.5vw, 3.5rem);
  --cc-text-5xl: clamp(2.5rem, 1.8rem + 3vw, 4rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: #ffffff;
  color: var(--cc-text-soft);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--cc-text);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; }

/* ─── ANIMACIÓN PRINCIPAL ─── */
.cc-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.cc-animate.is-visible { opacity: 1; transform: none; }

/* Stagger */
.cc-stagger:nth-child(1) { transition-delay: 0ms; }
.cc-stagger:nth-child(2) { transition-delay: 70ms; }
.cc-stagger:nth-child(3) { transition-delay: 140ms; }
.cc-stagger:nth-child(4) { transition-delay: 210ms; }
.cc-stagger:nth-child(5) { transition-delay: 280ms; }

@media (prefers-reduced-motion: reduce) {
  .cc-animate { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ─── UTILIDADES ─── */
.cc-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.cc-section-light { background: #ffffff; }
.cc-section-alt { background: #f6f8f8; }
.cc-py { padding: 112px 0; }

.cc-badge {
  display: inline-block;
  background: var(--cc-vertical-soft);
  color: var(--cc-vertical-dark);
  font-weight: 600;
  font-size: var(--cc-text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: var(--cc-radius-full);
  margin-bottom: 16px;
  border: 1px solid rgba(20,184,166,0.18);
}

.cc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--cc-radius-sm);
  font-weight: 600;
  font-size: var(--cc-text-sm);
  letter-spacing: 0.02em;
  transition: all 200ms ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  text-decoration: none;
}
.cc-btn-primary {
  background: var(--cc-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,51,0,0.25);
}
.cc-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,51,0,0.3); }
.cc-btn-secondary {
  background: transparent;
  color: var(--cc-text);
  border: 1.5px solid var(--cc-border-strong);
}
.cc-btn-secondary:hover { background: var(--cc-accent-soft); border-color: var(--cc-accent); color: var(--cc-accent); }

/* Destaque de headline — sólido, sin gradient text */
.cc-grad {
  color: var(--cc-vertical);
  font-weight: 800;
}

/* ══════════════════════════════════════════════════
   0. NAVBAR
══════════════════════════════════════════════════ */
.cc-navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 72px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.cc-navbar.scrolled { border-bottom-color: var(--cc-border); background: rgba(255,255,255,0.96); }
.cc-navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.cc-logo img { height: 28px; }
.cc-nav-links { display: flex; gap: 2rem; align-items: center; }
.cc-nav-links a {
  font-size: var(--cc-text-sm); font-weight: 500; color: var(--cc-text-soft);
  transition: color 150ms ease;
}
.cc-nav-links a:hover { color: var(--cc-vertical); }
.cc-mobile-toggle {
  display: none; background: none; border: none;
  font-size: 22px; cursor: pointer; color: var(--cc-text);
}

/* ══════════════════════════════════════════════════
   1. HERO
══════════════════════════════════════════════════ */
.cc-hero {
  padding-top: 152px;
  padding-bottom: 96px;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 78% 22%, rgba(20,184,166,0.07), transparent 58%);
}
.cc-hero-grid {
  display: grid;
  grid-template-columns: 46% 54%;
  gap: 4rem;
  align-items: center;
}
.cc-hero-content h1 {
  font-size: var(--cc-text-5xl);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.08;
}
.cc-hero-content p { font-size: var(--cc-text-lg); margin-bottom: 36px; max-width: 520px; }
.cc-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Componente A: Vista de recompra ── */
.cc-comp-a {
  background: linear-gradient(145deg, #fff 0%, #f8fafa 100%);
  border-radius: var(--cc-radius-lg);
  border: 1px solid var(--cc-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 24px 60px rgba(20,184,166,0.12);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-3deg) rotateX(1.5deg);
  transition: transform 500ms ease;
}
.cc-comp-a:hover { transform: perspective(1200px) rotateY(0deg) rotateX(0deg); }

.cc-mac-bar {
  height: 40px;
  background: #f0f2f5;
  border-bottom: 1px solid var(--cc-border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
  flex-shrink: 0;
}
.cc-mac-dot { width: 12px; height: 12px; border-radius: 50%; background: #e2e5e9; }
.cc-mac-dot:nth-child(1) { background: #ff5f56; }
.cc-mac-dot:nth-child(2) { background: #ffbd2e; }
.cc-mac-dot:nth-child(3) { background: #27c93f; }
.cc-mac-url {
  margin-left: 12px; font-size: 11px; color: var(--cc-muted);
  background: #fff; padding: 3px 12px;
  border-radius: 4px; border: 1px solid var(--cc-border);
}

.cc-comp-a-body {
  display: flex;
  height: 400px;
}

/* Lista izquierda */
.cc-comp-a-left {
  width: 58%;
  border-right: 1px solid var(--cc-border);
  padding: 12px;
  overflow-y: auto;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cc-comp-a-left::-webkit-scrollbar { width: 4px; }
.cc-comp-a-left::-webkit-scrollbar-thumb { background: var(--cc-border); border-radius: 4px; }

.cc-paciente-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--cc-radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 150ms ease;
}
.cc-paciente-row:hover { background: #f6f8f8; }
.cc-paciente-row.active { background: var(--cc-vertical-soft); border-color: rgba(20,184,166,0.2); }

.cc-paciente-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--cc-vertical-soft);
  color: var(--cc-vertical-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.cc-paciente-info { flex: 1; min-width: 0; }
.cc-paciente-name { font-size: 13px; font-weight: 600; color: var(--cc-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-paciente-meta { font-size: 11px; color: var(--cc-muted); margin-top: 2px; }

.cc-badge-urgency {
  font-size: 10px; font-weight: 700; padding: 3px 8px;
  border-radius: 10px; white-space: nowrap; flex-shrink: 0;
}
.cc-badge-urgency.now { background: var(--cc-vertical); color: #fff; }
.cc-badge-urgency.soon { background: var(--cc-vertical-soft); color: var(--cc-vertical-dark); }
.cc-badge-urgency.ok { background: #f0f2f5; color: var(--cc-muted); }

/* Panel derecho */
.cc-comp-a-right {
  width: 42%;
  background: #fafbfc;
  padding: 20px;
  overflow: hidden;
  position: relative;
}

/* Todos los panels están hidden por JS */
.cc-message-panel {
  display: none;
  opacity: 0;
}
.cc-message-panel.active { display: block; opacity: 1; }

.cc-msg-header { margin-bottom: 14px; }
.cc-msg-name { font-weight: 600; font-size: 14px; color: var(--cc-text); }
.cc-msg-tel { font-size: 12px; color: var(--cc-muted); margin-top: 2px; }

.cc-msg-bubble {
  background: #e7f8f5;
  color: #0d5f59;
  padding: 14px 16px;
  border-radius: 12px 12px 12px 4px;
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(20,184,166,0.1);
}

.cc-msg-actions { display: flex; gap: 8px; }
.cc-msg-btn {
  padding: 8px 14px; font-size: 12px; font-weight: 600;
  border-radius: 6px; cursor: pointer; border: none; font-family: inherit;
}
.cc-msg-send { background: var(--cc-vertical); color: #fff; flex: 1; }
.cc-msg-send:hover { background: var(--cc-vertical-dark); }
.cc-msg-edit { background: transparent; border: 1px solid var(--cc-border-strong); color: var(--cc-text-soft); }

/* ══════════════════════════════════════════════════
   2. MÉTRICAS
══════════════════════════════════════════════════ */
.cc-metrics {
  background: var(--cc-bg-metal);
  border-top: 1px solid var(--cc-border);
  border-bottom: 1px solid var(--cc-border);
  padding: 64px 0;
}
.cc-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.cc-metric-item {
  padding: 0 24px;
  border-right: 1px solid var(--cc-border);
}
.cc-metric-item:last-child { border-right: none; }
.cc-metric-val {
  font-size: var(--cc-text-4xl);
  font-weight: 800;
  color: var(--cc-vertical);
  margin-bottom: 8px;
  display: block;
}
.cc-metric-label { font-size: var(--cc-text-sm); color: var(--cc-text-soft); line-height: 1.4; }

/* ══════════════════════════════════════════════════
   3. EL PROBLEMA
══════════════════════════════════════════════════ */
.cc-problem-grid {
  display: grid;
  grid-template-columns: 38% 58%;
  gap: 5%;
  align-items: start;
}
.cc-problem-sticky { position: sticky; top: 100px; }
.cc-problem-sticky h2 { font-size: var(--cc-text-4xl); }

.cc-pain-points { display: flex; flex-direction: column; }
.cc-pain-card {
  padding: 28px 0;
  border-top: 1px solid #e6eaea;
}
.cc-pain-card:first-child {
  border-top: none;
  padding: 28px 28px;
  margin: 0 -28px;
  border-radius: var(--cc-radius-md);
  background: var(--cc-vertical-soft);
}
.cc-pain-card:first-child h3 { font-size: var(--cc-text-xl); }
.cc-pain-card:first-child p { font-weight: 500; color: var(--cc-text); }
.cc-pain-icon {
  width: 40px; height: 40px;
  border-radius: var(--cc-radius-sm);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  color: var(--cc-vertical);
  box-shadow: var(--cc-shadow-card);
  border: 1px solid var(--cc-border);
}
.cc-pain-card h3 { font-size: var(--cc-text-lg); margin-bottom: 8px; }

/* ══════════════════════════════════════════════════
   4. SOLUCIÓN OVERVIEW
══════════════════════════════════════════════════ */
.cc-overview { text-align: center; }
.cc-overview h2 { font-size: var(--cc-text-4xl); margin-bottom: 16px; }
.cc-overview > p { font-size: var(--cc-text-lg); max-width: 820px; margin: 0 auto 56px; }
.cc-overview-img {
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-radius-xl);
  box-shadow: var(--cc-shadow-panel);
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}
.cc-overview-img img { width: 100%; }

/* ══════════════════════════════════════════════════
   5. FUNCIONES
══════════════════════════════════════════════════ */
.cc-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 112px;
}
.cc-feature-row:last-child { margin-bottom: 0; }

.cc-feature-content h3 { font-size: var(--cc-text-3xl); margin: 12px 0 16px; }
.cc-feature-content p { line-height: 1.7; color: var(--cc-text-soft); }

.cc-feature-visual {
  border-radius: var(--cc-radius-xl);
  border: 1px solid var(--cc-border);
  box-shadow: var(--cc-shadow-soft);
  overflow: hidden;
  background: var(--cc-bg-metal);
}
.cc-feature-visual img { width: 100%; display: block; }

/* Componente B: Mapa de cross-sell */
.cc-comp-b {
  background: #fff;
  padding: 28px;
}
.cc-cross-chain {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 20px;
}
.cc-cross-chain:last-child { margin-bottom: 0; }
.cc-cross-step {
  flex-shrink: 0;
  padding: 10px 14px;
  border: 1px solid var(--cc-border);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  min-width: 120px;
}
.cc-cross-step.final { background: var(--cc-vertical-soft); border-color: rgba(20,184,166,0.2); }
.cc-cross-step-name { font-weight: 600; font-size: 12px; color: var(--cc-text); line-height: 1.3; }
.cc-cross-step-time { font-size: 11px; color: var(--cc-vertical-dark); margin-top: 3px; }

.cc-cross-arrow-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 6px;
}
.cc-cross-arrow-label { font-size: 10px; color: var(--cc-muted); }
.cc-cross-arrow-line {
  width: 100%; height: 2px;
  background: var(--cc-border);
  position: relative;
}
.cc-cross-arrow-line::after {
  content: '';
  position: absolute;
  right: -1px; top: -4px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid var(--cc-border);
}
.cc-comp-b-caption { font-size: 12px; color: var(--cc-muted); text-align: center; margin-top: 20px; }

/* Componente C: Ficha + historial */
.cc-comp-c { background: #fff; padding: 24px; }
.cc-comp-c-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px; padding-bottom: 20px;
  border-bottom: 1px solid var(--cc-border);
}
.cc-comp-c-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--cc-vertical-soft);
  color: var(--cc-vertical-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px; flex-shrink: 0;
}
.cc-comp-c-name { font-size: 16px; font-weight: 600; color: var(--cc-text); }
.cc-comp-c-contact { font-size: 12px; color: var(--cc-muted); margin-top: 3px; }

.cc-timeline { position: relative; padding-left: 72px; }
.cc-timeline::before {
  content: '';
  position: absolute;
  left: 16px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--cc-border);
}
.cc-tl-item { position: relative; margin-bottom: 20px; }
.cc-tl-item:last-child { margin-bottom: 0; }

.cc-tl-date {
  position: absolute;
  left: -72px; top: 2px;
  font-size: 11px; color: var(--cc-muted);
  width: 50px; text-align: right;
}
.cc-tl-dot {
  position: absolute;
  left: -52px; top: 5px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cc-vertical);
  z-index: 2;
}
.cc-tl-item.future .cc-tl-dot {
  background: #fff;
  border: 2px solid var(--cc-vertical);
}
.cc-tl-title { font-weight: 600; font-size: 14px; color: var(--cc-text); }
.cc-tl-prof { font-size: 12px; color: var(--cc-muted); margin-top: 2px; }
.cc-tl-item.future {
  background: var(--cc-vertical-soft);
  padding: 10px 12px;
  border-radius: var(--cc-radius-sm);
  margin-left: -12px;
  padding-left: 12px;
}
.cc-tl-item.future .cc-tl-title { color: var(--cc-vertical-dark); }

/* Componente D: Selector turnos */
.cc-comp-d { background: #fff; overflow: hidden; }
.cc-tabs { display: flex; background: #f6f8f8; border-bottom: 1px solid var(--cc-border); }
.cc-tab {
  flex: 1; padding: 14px 8px; text-align: center; cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 150ms ease;
}
.cc-tab.active { background: #fff; border-bottom-color: var(--cc-vertical); }
.cc-tab-av {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--cc-vertical-soft); color: var(--cc-vertical-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; margin: 0 auto 6px;
}
.cc-tab-name { font-weight: 600; font-size: 12px; color: var(--cc-text); }
.cc-tab-spec { font-size: 11px; color: var(--cc-muted); margin-top: 2px; }

.cc-cal-wrap { padding: 20px; }
.cc-cal-header {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 6px; margin-bottom: 8px;
}
.cc-cal-day { text-align: center; font-size: 11px; font-weight: 600; color: var(--cc-muted); }
.cc-cal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.cc-cal-slot {
  padding: 7px 4px; text-align: center; font-size: 12px;
  border: 1px solid var(--cc-border);
  border-radius: 6px; cursor: pointer;
  transition: all 150ms ease; color: var(--cc-text);
}
.cc-cal-slot:hover { border-color: var(--cc-vertical); color: var(--cc-vertical); background: var(--cc-vertical-soft); }
.cc-cal-slot.occupied { background: #f0f2f5; color: var(--cc-dim); text-decoration: line-through; cursor: not-allowed; border-color: transparent; }
.cc-cal-slot.selected { background: var(--cc-vertical); color: #fff; border-color: var(--cc-vertical); }

.cc-cal-confirm {
  padding: 16px 20px;
  background: var(--cc-vertical-soft);
  border-top: 1px solid rgba(20,184,166,0.15);
  display: none;
}
.cc-cal-confirm.active { display: block; }
.cc-cal-confirm p { font-size: 13px; font-weight: 600; color: var(--cc-vertical-dark); margin-bottom: 12px; }
#btn-confirm-turno {
  width: 100%;
  background: var(--cc-vertical);
  color: #fff; border: none;
  padding: 10px; border-radius: var(--cc-radius-sm);
  font-weight: 600; font-size: 13px; cursor: pointer; font-family: inherit;
  transition: background 200ms ease;
}
#btn-confirm-turno:hover { background: var(--cc-vertical-dark); }

/* Componente E: Lista de espera */
.cc-comp-e { background: #fff; padding: 28px; }
.cc-wait-flow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cc-wait-card {
  border: 1px solid var(--cc-border);
  border-radius: 8px; padding: 14px;
  text-align: center; flex: 1; font-size: 13px; font-weight: 600;
}
.cc-wait-card.cancel { background: #fff5f5; border-color: #ffe0e0; color: #c92a2a; }
.cc-wait-card.cancel .cc-wc-name { text-decoration: line-through; color: #ffa0a0; }
.cc-wait-card.success { background: #ebfbee; border-color: #c3fae8; color: #2b8a3e; }
.cc-wait-stack { flex: 1; position: relative; height: 80px; }
.cc-wait-mini {
  position: absolute; width: calc(100% - 8px);
  background: #fff; border: 1px solid var(--cc-border);
  border-radius: 6px; padding: 8px 10px;
  font-size: 11px; color: var(--cc-text-soft);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.cc-wait-mini:nth-child(1) { top: 0; left: 0; z-index: 3; }
.cc-wait-mini:nth-child(2) { top: 10px; left: 8px; z-index: 2; opacity: 0.75; }
.cc-wait-mini:nth-child(3) { top: 20px; left: 16px; z-index: 1; opacity: 0.5; }
.cc-wait-arrow { font-size: 20px; color: var(--cc-dim); flex-shrink: 0; }

/* ══════════════════════════════════════════════════
   6. CÓMO FUNCIONA
══════════════════════════════════════════════════ */
.cc-steps { max-width: 600px; margin: 0 auto; }
.cc-step { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 48px; position: relative; }
.cc-step:last-child { margin-bottom: 0; }
.cc-step-left { position: relative; display: flex; flex-direction: column; align-items: center; }
.cc-step-num {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--cc-vertical-soft); color: var(--cc-vertical-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; z-index: 2;
  border: 2px solid rgba(20,184,166,0.2);
}
.cc-step-line {
  width: 2px; flex: 1; background: var(--cc-border); margin-top: 8px; min-height: 40px;
}
.cc-step:last-child .cc-step-line { display: none; }
.cc-step-content { padding-top: 8px; }
.cc-step-content h3 { font-size: var(--cc-text-xl); margin-bottom: 6px; }

/* ══════════════════════════════════════════════════
   7. ANTES VS DESPUÉS
══════════════════════════════════════════════════ */
.cc-bna-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.cc-bna-col { padding: 48px; border-radius: var(--cc-radius-xl); }
.cc-bna-before { background: #f6f8f8; border: 1px solid var(--cc-border); }
.cc-bna-after { background: linear-gradient(135deg, var(--cc-vertical-soft), rgba(20,184,166,0.02)); border: 1px solid rgba(20,184,166,0.18); }
.cc-bna-col h3 { font-size: var(--cc-text-2xl); margin-bottom: 28px; }
.cc-bna-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: var(--cc-text-base); }
.cc-bna-before .cc-bna-icon { color: #c92a2a; font-weight: 700; flex-shrink: 0; }
.cc-bna-after .cc-bna-icon { color: var(--cc-vertical); font-weight: 700; flex-shrink: 0; }

/* ══════════════════════════════════════════════════
   8. PLANES Y PRECIOS
══════════════════════════════════════════════════ */
.cc-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }

.cc-price-card {
  background: #fff;
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-radius-md);
  padding: 40px 36px;
  box-shadow: var(--cc-shadow-card);
  position: relative;
}
.cc-price-card.esencial { border-top: 3px solid #d6dbdb; }
.cc-price-card.featured {
  background: var(--cc-vertical);
  color: #fff;
  border-color: var(--cc-vertical);
  box-shadow: 0 20px 50px rgba(20,184,166,0.25);
}

.cc-price-badge {
  position: absolute; top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--cc-vertical-2); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  padding: 4px 12px; border-radius: 12px;
}

.cc-price-name { font-size: var(--cc-text-2xl); margin-bottom: 8px; }
.cc-price-card.featured .cc-price-name { color: #fff; }
.cc-price-desc { font-size: var(--cc-text-sm); color: var(--cc-text-soft); margin-bottom: 28px; min-height: 52px; }
.cc-price-card.featured .cc-price-desc { color: rgba(255,255,255,0.8); }

.cc-price-amount { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--cc-border); }
.cc-price-card.featured .cc-price-amount { border-bottom-color: rgba(255,255,255,0.2); }
.cc-price-val { font-size: var(--cc-text-3xl); font-weight: 800; color: var(--cc-text); }
.cc-price-card.featured .cc-price-val { color: #fff; }
.cc-price-label { font-size: 12px; color: var(--cc-muted); font-weight: 500; }
.cc-price-card.featured .cc-price-label { color: rgba(255,255,255,0.7); }
.cc-price-plus { font-size: 14px; font-weight: 600; margin: 6px 0; color: var(--cc-text); }
.cc-price-card.featured .cc-price-plus { color: #fff; }

.cc-price-features { margin-bottom: 32px; }
.cc-price-feature-item { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px; font-size: 14px; color: var(--cc-text-soft); }
.cc-price-feature-item span { color: var(--cc-vertical); font-weight: 700; flex-shrink: 0; }
.cc-price-card.featured .cc-price-feature-item { color: rgba(255,255,255,0.9); }
.cc-price-card.featured .cc-price-feature-item span { color: rgba(255,255,255,0.7); }

.cc-price-note { font-size: 11.5px; color: var(--cc-muted); margin-top: 16px; line-height: 1.5; }

/* ══════════════════════════════════════════════════
   9. TESTIMONIOS
══════════════════════════════════════════════════ */
.cc-testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cc-testimonial-card {
  background: #fff; border: 1px solid var(--cc-border);
  border-radius: var(--cc-radius-lg); padding: 32px;
  box-shadow: var(--cc-shadow-card);
  transition: transform 250ms ease, box-shadow 250ms ease;
}
.cc-testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--cc-shadow-panel); }
.cc-testi-quote { font-size: var(--cc-text-base); font-style: italic; margin-bottom: 24px; color: var(--cc-text); line-height: 1.65; }
.cc-testi-author { font-weight: 700; color: var(--cc-text); font-size: 14px; }
.cc-testi-role { font-size: 13px; color: var(--cc-muted); margin-top: 4px; }

/* ══════════════════════════════════════════════════
   10. FAQ
══════════════════════════════════════════════════ */
.cc-faq-list { max-width: 780px; margin: 0 auto; }
.cc-faq-item { border-bottom: 1px solid var(--cc-border); }
.cc-faq-q {
  width: 100%; text-align: left; padding: 22px 0;
  background: none; border: none;
  font-size: var(--cc-text-base); font-weight: 600; color: var(--cc-text);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; font-family: inherit;
}
.cc-faq-icon {
  font-size: 22px; color: var(--cc-vertical); flex-shrink: 0;
  transition: transform 250ms ease;
}
.cc-faq-item.active .cc-faq-icon { transform: rotate(45deg); }
.cc-faq-a {
  overflow: hidden; max-height: 0;
  padding-bottom: 0;
  color: var(--cc-text-soft); line-height: 1.7; font-size: var(--cc-text-base);
  transition: max-height 300ms ease, padding-bottom 300ms ease;
}

/* ══════════════════════════════════════════════════
   11. CTA FINAL
══════════════════════════════════════════════════ */
.cc-cta-wrap {
  background: linear-gradient(135deg, #f8fafa 0%, rgba(20,184,166,0.07) 100%);
  border-radius: var(--cc-radius-xl);
  padding: 88px 40px;
  text-align: center;
  border: 1px solid rgba(20,184,166,0.12);
}
.cc-cta-wrap h2 { font-size: var(--cc-text-4xl); margin-bottom: 16px; }
.cc-cta-wrap p { font-size: var(--cc-text-lg); margin-bottom: 40px; color: var(--cc-text-soft); }
.cc-cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════
   12. FOOTER
══════════════════════════════════════════════════ */
.cc-footer { background: var(--cc-bg-metal); padding: 80px 0 40px; border-top: 1px solid var(--cc-border); }
.cc-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 64px; }
.cc-footer-logo img { height: 24px; margin-bottom: 16px; }
.cc-footer-about { font-size: 13px; color: var(--cc-muted); line-height: 1.6; }
.cc-footer-col h4 { font-size: 14px; margin-bottom: 16px; color: var(--cc-text); }
.cc-footer-col ul li { margin-bottom: 8px; }
.cc-footer-col ul li a { font-size: 14px; color: var(--cc-muted); transition: color 150ms ease; }
.cc-footer-col ul li a:hover { color: var(--cc-vertical); }
.cc-footer-bottom {
  text-align: center; padding-top: 32px;
  border-top: 1px solid var(--cc-border);
  font-size: 13px; color: var(--cc-muted);
}
.cc-footer-back { color: var(--cc-text-soft); font-weight: 500; margin-left: 16px; transition: color 150ms ease; }
.cc-footer-back:hover { color: var(--cc-vertical); }

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .cc-hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .cc-problem-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cc-problem-sticky { position: static; margin-bottom: 2rem; }
  .cc-feature-row { grid-template-columns: 1fr; gap: 3rem; margin-bottom: 72px; }
  .cc-bna-grid { grid-template-columns: 1fr; }
  .cc-pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .cc-testimonials-grid { grid-template-columns: 1fr; }
  .cc-footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .cc-metrics-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .cc-metric-item:nth-child(2) { border-right: none; }
  .cc-metric-item:nth-child(3) { border-top: 1px solid var(--cc-border); }
  .cc-metric-item:nth-child(4) { border-top: 1px solid var(--cc-border); border-right: none; }
}

@media (max-width: 768px) {
  .cc-py { padding: 72px 0; }
  .cc-hero { padding-top: 112px; min-height: auto; }
  .cc-nav-links { display: none; }
  .cc-nav-links.cc-nav-open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; padding: 20px 24px;
    border-bottom: 1px solid var(--cc-border);
    gap: 16px;
    z-index: 999;
  }
  .cc-mobile-toggle { display: block; }
  .cc-comp-a-body { flex-direction: column; height: auto; }
  .cc-comp-a-left { width: 100%; border-right: none; border-bottom: 1px solid var(--cc-border); max-height: 220px; }
  .cc-comp-a-right { width: 100%; }
  .cc-bna-col { padding: 32px; }
  .cc-pricing-grid { max-width: 100%; }
  .cc-wait-flow { flex-direction: column; gap: 20px; }
  .cc-wait-stack { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .cc-animate { opacity: 1 !important; transform: none !important; transition: none !important; }
  .cc-comp-a { transform: none !important; transition: none !important; }
}
