.tc-wrap {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 80px 40px;
  max-width: 1100px;
  margin: 0 auto;
  font-family: inherit;
}

/* ── Izquierda ── */
.tc-left { flex: 1; min-width: 280px; }

.tc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.tc-stars { color: #FCBF1B; }

.tc-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  color: #053273;
  margin: 0 0 16px;
}
.tc-title span { color: #FCBF1B; }

.tc-subtitle {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 36px;
}

.tc-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.tc-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s;
  border: none; padding: 0;
}
.tc-dot.active {
  background: #053273;
  width: 28px;
  border-radius: 5px;
}

/* ── Derecha ── */
.tc-right {
  flex: 1;
  position: relative;
}

/*
 * El ancla es un elemento normal (no absoluto) cuyo alto fuerza
 * al padre a tomar espacio real en el layout.
 * Desktop: alto = card (230px) + niveles del stack (5×10px = 50px)
 * Móvil:   alto = solo la card visible (230px)
 */
.tc-anchor {
  display: block;
  visibility: hidden;
  pointer-events: none;
  /* altura la fija el JS según la card más alta */
}

/* Cards sobre el ancla */
.tc-card {
  position: absolute;
  top: 0; left: 0; right: 0;
  min-height: 230px;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  padding: 28px 28px 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1),
              opacity  0.55s cubic-bezier(0.4,0,0.2,1);
  will-change: transform, opacity;
}
.tc-card.no-transition { transition: none !important; }

.tc-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.tc-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #FCBF1B;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.tc-num {
  font-size: 40px;
  font-weight: 800;
  color: #e8e8e8;
  line-height: 1;
}
.tc-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #053273;
  margin: 0 0 8px;
}
.tc-card-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* ── Móvil ── */
@media (max-width: 768px) {
  .tc-wrap {
    flex-direction: column;
    gap: 40px;
    padding: 50px 20px;
  }
  .tc-title { font-size: 30px; }

  .tc-right {
    width: 100%;
    padding: 12px 16px 20px; /* espacio para las sombras */
  }

  .tc-card {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transition: transform 0.4s ease, opacity 0.4s ease;
  }
}
